I recently got the Z1s and decided I wanted to lighten it up a bit (coming from an N4, the SYSTEM footprint of the Z1s seems huge). Since the bootloader is locked (thanks, T-Mobile) I was just going to modify the stock ROM. So, I grabbed the newest FTF C6916_14.5.B.0.236_T-mobile_US.ftf, extracted the system.sin with 7-zip, and then extracted that to EXT4 using Flashtool 0.9.18.6. However, the resulting EXT4 can't be read by EXT4 Unpacker.
I also tried downloading and unpacking the FTF with XperiFirm (now built in to Flashtool), but the system.ext4 was still unreadable.
Does anyone have some tips on what I may be doing wrong?
elmerohueso said:
I recently got the Z1s and decided I wanted to lighten it up a bit (coming from an N4, the SYSTEM footprint of the Z1s seems huge). Since the bootloader is locked (thanks, T-Mobile) I was just going to modify the stock ROM. So, I grabbed the newest FTF C6916_14.5.B.0.236_T-mobile_US.ftf, extracted the system.sin with 7-zip, and then extracted that to EXT4 using Flashtool 0.9.18.6. However, the resulting EXT4 can't be read by EXT4 Unpacker.
I also tried downloading and unpacking the FTF with XperiFirm (now built in to Flashtool), but the system.ext4 was still unreadable.
Does anyone have some tips on what I may be doing wrong?
Click to expand...
Click to collapse
You're not doing anything wrong, I've had the same problem back in the days when my Z1 was alive. Anyways, I've found 1 app to extract system back in the days, I don't remember the name but I belive it's still somewhere on my PC/HDD I'll tell you if I find it.
And I don't think it'll be useful for modding the ftf as you can't re-pack it (or at least that was my case back in the days)
Regards,
~J2C
Just2Cause said:
You're not doing anything wrong, I've had the same problem back in the days when my Z1 was alive. Anyways, I've found 1 app to extract system back in the days, I don't remember the name but I belive it's still somewhere on my PC/HDD I'll tell you if I find it.
And I don't think it'll be useful for modding the ftf as you can't re-pack it (or at least that was my case back in the days)
Regards,
~J2C
Click to expand...
Click to collapse
Thanks, that would be helpful.
I'm actually going to try making a flashable ZIP/ROM rather than repack it as an FTF. I'm just wanting to use the FTF as a source as I don't remember getting a NANDROID of my SYSTEM prior to any modifications.
Use PRFCreator http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904 then you can unpack the system.ext4 file.
Thanks for the tips. I found that AccessData's Imager Lite, a tool for reading various disk images, was able to properly read the System.ext4 and export its whole file tree. Now it's on to the next step: seeing if I can make the system dump flashable.
Related
Been looking around and I cannot get info(or I may have missed it) on how to convert system.sin to system.img.
The reason I want the system.img is I'd like to try deodexing my own JB(HKversion) stock rom.
how can I manage it in dsixda's kitchen, it says I need a system.img or either one of the following:
The format for each ROM must be one of the following:
- system.img + optional boot.img/lib.img (e.g. stock ROM or Nandroid)
- ZIP file for a custom ROM (e.g. update.zip)
- ZIP file containing *.img (e.g. stock rom.zip)
- ZIP file containing shipped ROM in SYSTEM + BOOT folder format
- Working folder made with this kitchen (e.g. WORKING_old_rom)
What I've already done so far was pulled out the system.sin from an FTF and made it system.ext4 in flashtool. And I also have extracted all the system files but I don't know how to go from here LoL.
Thanks in advance for any inputs guys.
Rycon33 said:
Been looking around and I cannot get info(or I may have missed it) on how to convert system.sin to system.img.
The reason I want the system.img is I'd like to try deodexing my own JB(HKversion) stock rom.
how can I manage it in dsixda's kitchen, it says I need a system.img or either one of the following:
The format for each ROM must be one of the following:
- system.img + optional boot.img/lib.img (e.g. stock ROM or Nandroid)
- ZIP file for a custom ROM (e.g. update.zip)
- ZIP file containing *.img (e.g. stock rom.zip)
- ZIP file containing shipped ROM in SYSTEM + BOOT folder format
- Working folder made with this kitchen (e.g. WORKING_old_rom)
What I've already done so far was pulled out the system.sin from an FTF and made it system.ext4 in flashtool. And I also have extracted all the system files but I don't know how to go from here LoL.
Thanks in advance for any inputs guys.
Click to expand...
Click to collapse
Just rename it.
That works if you want to use system.sin in dsixdas kitchen to make your own rom.
The instructions say to rename system.sin to system.img
PS, in fact you can just use system.sin, check in the first post for supported devices, it tlks about what to do for sony phones
gregbradley said:
Just rename it.
That works if you want to use system.sin in dsixdas kitchen to make your own rom.
The instructions say to rename system.sin to system.img
PS, in fact you can just use system.sin, check in the first post for supported devices, it tlks about what to do for sony phones
Click to expand...
Click to collapse
- If using stock FTF for kitchen:
1) Unzip FTF file, extract the system.sin
2) Dump system image from system.sin w/ Flashtool
(Advanced-> SIN Editor)
3) Rename dumped file to system.img
mate, I tried renaming it and put it on "original_update" folder but still the file cannot be detected I still cannot create a working folder and says
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
I also tried renaming the flashtool's dumped data(system.ext4) to system.img but still to no avail.
Any other way aside from system.img thing?
Rycon33 said:
- If using stock FTF for kitchen:
1) Unzip FTF file, extract the system.sin
2) Dump system image from system.sin w/ Flashtool
(Advanced-> SIN Editor)
3) Rename dumped file to system.img
mate, I tried renaming it and put it on "original_update" folder but still the file cannot be detected I still cannot create a working folder and says
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
I also tried renaming the flashtool's dumped data(system.ext4) to system.img but still to no avail.
Any other way aside from system.img thing?
Click to expand...
Click to collapse
wait, let me boot into linux and I will check
gregbradley said:
wait, let me boot into linux and I will check
Click to expand...
Click to collapse
mate, btw I'm only using cygwin in win7 if that matters on my issue
Rycon33 said:
mate, btw I'm only using cygwin in win7 if that matters on my issue
Click to expand...
Click to collapse
No, it doesnt matter, I did it with that setup, but its much easier with a ubuntu dual boot.
What you did should work.
Extract system.sin
Dump it with flash tool to get system.ext4, rename to system.img and put in original input folder.
then choose create working folder....
try it again,
gregbradley said:
No, it doesnt matter, I did it with that setup, but its much easier with a ubuntu dual boot.
What you did should work.
Extract system.sin
Dump it with flash tool to get system.ext4, rename to system.img and put in original input folder.
then choose create working folder....
try it again,
Click to expand...
Click to collapse
thanks mate, after I re-do the dump-data in flashtool, now system.img(renamed from system.ext4) can be detected
got another question again, just to confirm what's the API level? is it 16 for Android 4.1.2? coz I only see 4.1.1 for level 16
Rycon33 said:
thanks mate, after I re-do the dump-data in flashtool, now system.img(renamed from system.ext4) can be detected
got another question again, just to confirm what's the API level? is it 16 for Android 4.1.2? coz I only see 4.1.1 for level 16
Click to expand...
Click to collapse
if you have the latest version of everything it should be OK.
Just give it a go and see...
I used the same setup I have for my latest release as I did for my original ICS release, so the api level should be OK
EDIT
I do love your sig pic, where did you get it from? Or did you make it yourself?
gregbradley said:
if you have the latest version of everything it should be OK.
Just give it a go and see...
I used the same setup I have for my latest release as I did for my original ICS release, so the api level should be OK
EDIT
I do love your sig pic, where did you get it from? Or did you make it yourself?
Click to expand...
Click to collapse
with regards to my sig banner, i got it from one of the post from G+ last time, here's a copy of the actual file -> https://dl.dropbox.com/u/28587036/Android/Android_Evolution.jpg
ok I used 16, another question , what will I do to the one file that was never deodexed? it is the playstationcertified.odex
Could not deodex the following (you can try to deodex these files again):
playstationcertified.odex
A summary of the deodexing has been logged in deodex_040813_020606.log
71 *.odex files remain in system/app
1 *.odex files remain in system/framework
Rycon33 said:
with regards to my sig banner, i got it from one of the post from G+ last time, here's a copy of the actual file -> https://dl.dropbox.com/u/28587036/Android/Android_Evolution.jpg
ok I used 16, another question , what will I do to the one file that was never deodexed? it is the playstationcertified.odex
Could not deodex the following (you can try to deodex these files again):
playstationcertified.odex
A summary of the deodexing has been logged in deodex_040813_020606.log
71 *.odex files remain in system/app
1 *.odex files remain in system/framework
Click to expand...
Click to collapse
I have always just left it in for my releases, but seeing as I dont use it, i have personally deleted both the file and the odex file.
I think its the same for all stock based roms...there will be some aditional sony security on that file as it enables you to download sony play station games so the kitchen is not set up to integrate the odex file into the original one.
gregbradley said:
I have always just left it in for my releases, but seeing as I dont use it, i have personally deleted both the file and the odex file.
I think its the same for all stock based roms...there will be some aditional sony security on that file as it enables you to download sony play station games so the kitchen is not set up to integrate the odex file into the original one.
Click to expand...
Click to collapse
oh ok.
mate, apologies for many questions, this is my first try so I'm still confuse of many things
so after I de-odexed, what's next?
> ADVANCED OPTIONS
11 - De-odex files in your ROM
12 - Tools for boot image (unpack/re-pack/etc.)
13 - Add /data/app functionality
14 - Add /etc/init.d scripts support (busybox run-parts)
15 - Unpack data.img
16 - Sign APK or ZIP file(s)
17 - Convert update-script or updater-script
18 - Plugin scripts
99 - Build ROM from working folder
0 - BACK TO MAIN MENU
basically I only want a deodexed ROM and the CWM and root retained
Rycon33 said:
oh ok.
mate, apologies for many questions, this is my first try so I'm still confuse of many things
so after I de-odexed, what's next?
> ADVANCED OPTIONS
11 - De-odex files in your ROM
12 - Tools for boot image (unpack/re-pack/etc.)
13 - Add /data/app functionality
14 - Add /etc/init.d scripts support (busybox run-parts)
15 - Unpack data.img
16 - Sign APK or ZIP file(s)
17 - Convert update-script or updater-script
18 - Plugin scripts
99 - Build ROM from working folder
0 - BACK TO MAIN MENU
basically I only want a deodexed ROM and the CWM and root retained
Click to expand...
Click to collapse
What do you want to do?
You cant do (12) use championshipswimmers kernel kitchen for that.
But i do suggest adding 14, and rooting it (thats in the main menu)
also, zipalign apks...but it will ask you to do that when you compile it
Other than that its up to you. Just try some different options out and see what you think...thats the best way to learn, if you see my releases, the first two versions were not released because I was learning and playing around with it
Make sure though that you dont use the updater script it produces, its wrong for our phones.
"Borrow" one from a working ROM in our dev section, just ask permission first.
Rycon33 said:
thanks mate, after I re-do the dump-data in flashtool, now system.img(renamed from system.ext4) can be detected
got another question again, just to confirm what's the API level? is it 16 for Android 4.1.2? coz I only see 4.1.1 for level 16
Click to expand...
Click to collapse
For android 4.1.2 api must be set @16 othervise it wont boot
Sent from my LT29i using xda app-developers app
gregbradley said:
What do you want to do?
You cant do (12) use championshipswimmers kernel kitchen for that.
But i do suggest adding 14, and rooting it (thats in the main menu)
also, zipalign apks...but it will ask you to do that when you compile it
Other than that its up to you. Just try some different options out and see what you think...thats the best way to learn, if you see my releases, the first two versions were not released because I was learning and playing around with it
Make sure though that you dont use the updater script it produces, its wrong for our phones.
"Borrow" one from a working ROM in our dev section, just ask permission first.
Click to expand...
Click to collapse
asterix005 said:
For android 4.1.2 api must be set @16 othervise it wont boot
Sent from my LT29i using xda app-developers app
Click to expand...
Click to collapse
ok mates, thank you very much, I managed to de-odexed my stock ROM:good:
This is what I did. Using flashtool, I dumped my system.sin file to get a ext4 file. Then I open it with ext4 reader and extracted the contents. I then placed it in a folder called 'system' and proceed with the android kitchen.
Humans have evolved to be smarter, but there's one thing we can't get rid off. It's human stupidity.
If you still want to deodex playstationcertified.odex rename it to com.playstation.playstationcertified.odex.
That did the trick for me in earlier firmware versions.
Sent from my phone using XDA Premium
i try many times but it's all show this
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
any idea or should i press enter to continue?
i try with system.img from xperia TX rom 1.67
lucky92 said:
i try many times but it's all show this
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
any idea or should i press enter to continue?
i try with system.img from xperia TX rom 1.67
Click to expand...
Click to collapse
why don't you press it an see?
anyway, have you used flashtool to extract the system.sin into an ext4 extension yet?
gregbradley said:
why don't you press it an see?
anyway, have you used flashtool to extract the system.sin into an ext4 extension yet?
Click to expand...
Click to collapse
i tried extract thee system.sin into ext4 and rename it to sysmtem.img but no luck
update: after re-dump system.sin and press countinue, it's seem ok, maybe my fault.
Thank you anyway :laugh:
Sorry but I have another question, after i make a flashable zip and flash through CWM, it always stuck at Sony logo, any idea ?
I need some help, I don't seem to be able to extract the sytem.sin, then I get a gZ archive witch I can't open with 7zip, annyone has a method that works? or a ext4 extractor?
extract system.sin from archive, then use flashtool and option sin editor, it will make .ext4 file...and last step use ext2explore-2.1.65 and open ext4 file
ArmaNineTSeven said:
I need some help, I don't seem to be able to extract the sytem.sin, then I get a gZ archive witch I can't open with 7zip, annyone has a method that works? or a ext4 extractor?
Click to expand...
Click to collapse
as our friend said, the procedure is that easy, and that was complete, just for making your burdun a bit lighter, this is link for that explorer you need at the last step
wish you luck bro
http://sourceforge.net/projects/ext...xt2explore-2.1.65.zip/download?use_mirror=dfn
hoping to make a stock based rom for LT30p so we can keep the polished stock rom, with maybe some nexus look-a-like xp I'll see
No need for the ext2 explorer.
Once you have dumped the data in flash tool just use that ext4 file as the working file for your Rom in dsixdas kitchen
Sent whilst sat on the toilet.
I put the system.ext4 in the original update folder , but still get this: Ensure there is at least one ROM under the 'original_update' folder!
ArmaNineTSeven said:
I put the system.ext4 in the original update folder , but still get this: Ensure there is at least one ROM under the 'original_update' folder!
Click to expand...
Click to collapse
Make sure you read the instructions in the kitchen OP and post 2
Sony Xperia 2011-12 devices, specifically:
- TX, P, U, Sola
- Active, Arc, Arc S, Mini, Mini Pro, Neo, Neo V, Neo L,
Play, Ray (follow steps below):
- Can only build ROM without boot.img
- If using stock FTF for kitchen:
1) Unzip FTF file, extract the system.sin
2) Dump system image from system.sin w/ Flashtool
(Advanced-> SIN Editor)
3) Rename dumped file to system.img
- OR If using Nandroid backups: Rename system.yaffs2.img to system.img
- Use this system.img in kitchen's original_update folder
- WARNING - If using a ROM made from system.sin (not Nandroid), it
is recommended to flash from the temporary (fastboot) Clockwork
Recovery, rather than the regular Clockwork Recovery, otherwise
device may not boot (possibly because custom recovery files in
system folder are not added to ROM? e.g. recovery.tar).
Click to expand...
Click to collapse
Hello!
Is there any tool for windows 7 to extract, read, write EXT4 or .SIN files? Tried ext2extract tool but it can only extract, I need something that can read/write, anyway to do it? Or should I install linux for that?
Thanks
You can dump the system.sin (and other .sin files) to .ext4 using flashtool
Then you can use ext2explorer to read and extract individual files.
If you want to write a .sin....that going to be difficult. Unless you have signatures from Sony you wont be able to do it.
gregbradley said:
You can dump the system.sin (and other .sin files) to .ext4 using flashtool
Then you can use ext2explorer to read and extract individual files.
If you want to write a .sin....that going to be difficult. Unless you have signatures from Sony you wont be able to do it.
Click to expand...
Click to collapse
Hmm.. I need something to write EXT4, it's easy to extract it, how can I repack EXT4?
Yeah, i know that
What is it you want to do? If I knew what your goal was I could suggest something
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
What is it you want to do? If I knew what your goal was I could suggest something
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm trying to make prerooted FTF with preinstalled dual recovery, is that possible?
No, this is what you need
http://forum.xda-developers.com/showthread.php?t=2307311
FTF's cannot be pre rooted or have anything added to them, unless you work for Sony and have their security keys
you need a pre rooted .zip file
gregbradley said:
No, this is what you need
http://forum.xda-developers.com/showthread.php?t=2307311
FTF's cannot be pre rooted or have anything added to them, unless you work for Sony and have their security keys
you need a pre rooted .zip file
Click to expand...
Click to collapse
Hi, I know that it is 3-year-old post but want to ask. So I've already unpacked ftf file and extracted system.sin file to .ext4. My question is I wanted to remove all that bloatware software I don't need or use so can I remove files directly from ext4 or first extract ext4 files repack it to .ext4 and then it to .sin . I know it's wishful thinking but wanted to know is this possible.
hi
can i add an old feature to the .ftf file?
with the flash tool last version i can't dumb the system.sin?
what the version flash tool compatible withe xz2 compact?
thanks in adevance
Hello, guys, i need some help...does someone know how to unpack or extract the files from userdata.sin, located in the FTF? Ive searched all the threads, but with the methods there i can only unpack system.sin...for some reason userdata.sin shows only empty folders when i unpack it...no files inside....which is impossible i think....i guess userdata.sin content the preloaded photos, videos etc....can you please tell me a way i could extract them?
AFAIK this should work, only ever used it on system.sin though.
Use flash tool to dump the data into an .ext file, then use ext2explorer to open the .ext file.
PS, I have already asked the mods to move your QUESTION to the QUESTION AND ANSWER section
Im sorry for posting it in the wrong section, i wondered where to post it. Can you please assist me on how exactly should I do this? Because I used the same method, first extract the sin file using flash tool, than it makes a big ext4 file. After that I was using ext2read, but in the extracted folder there was nothing except emtpy folders. Now I downloaded ext2explore (its the same penguin icon as ext2read), but i cant seem to get it working, it doesnt find any file on my system...?
I have just done it, and it works.
If you are after the preloaded photos and videos you wont get them from FTF, however, I have them so will upload them for you when I get a moment
Ok, so how it works? If you do it that way what do you get in the extracted folder?
http://prntscr.com/45jyx1
So obviously the problem is not in me, i thought im doing something wrong...wondering where those preloaded pics and videos and songs are then...Thank you very much for your attention and time!
They come preloaded on the internal storage and you lose them if you flash a FTF or repair your phone.
I will upload them later tonight and put a link here. PM me if I forget
Mmm so they should be somewhere in system.sin in the FTF? Strange, i cant find them there
No, they are not in FTF.
They come preloaded on the internal storage and if you flash a FTF you lose them.
They are not included in a FTF, that's why you can not find them
I will upload them for you later
Thank you very much...dont worry about them, i have them, i just wanted to check them out on every model of sony, just to see what preloaded files there are.....but obviously they are not in the FTF...very strange, on symbian they could be found on every system flash file...so you mean that after they are produced and installed, they put those files afterwards, and they cant be found anywhere in the flash files
Hello,
Everything seemed OK about KitKat release for E1 but I'm having GPS issues like described in here http://talk.sonymobile.com/t5/Xperia-E1-E1-Dual/KItKat-virtually-killed-GPS-on-xPeria-E1/td-p/802553
I'm on firmware 20.0.B.0.68 right now and looks like GPS works OK. My problem now is that I cant find a CWM copy for this firmware.
I'm going to try compiling CWM for this firmware but I cannot dump boot.img from the phone. I tried any tutorials I could find on internet but without success. 'romdump' program can't map partitions and I was unable to find the images to use 'dd'. They are not at /proc/mtd and I couldn't find em on the file system. I could extract kernel.sin from the TFT but I'm really not confident about mkbootimg options and thus afraid of bricking my phone.
Any clue on how to extract boot.img from the Xperia E1/E1 dual or the correct parameters to use with mkbootimg?
Thanks!