How to unpack system.img.ext4 ! ! ! ! - Galaxy S 4 Q&A, Help & Troubleshooting

How to unpack system.img.ext4 taken from the side SAMMOBILE.com of the phone SGS4 and SGS5 !?

Search "Diskinternals Linux Reader" on Google, download and install it.
Open the program and mount image, choose your ext4 file, that's all
Inviato dal mio GT-I9505

AntaresOne said:
Search "Diskinternals Linux Reader" on Google, download and install it.
Open the program and mount image, choose your ext4 file, that's all
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
Doesn't work. When you open system.img.ext4 with it, it errors out saying "File system not supported." There's an extra step for Samsung firmwares, unfortunately the sgs2ext4.jar tool posted around XDA no longer works (it's over two years old anyway).

siraltus said:
Doesn't work. When you open system.img.ext4 with it, it errors out saying "File system not supported." There's an extra step for Samsung firmwares, unfortunately the sgs2ext4.jar tool posted around XDA no longer works (it's over two years old anyway).
Click to expand...
Click to collapse
your right, Linux Reader will not work with the SGS4 img files.
So I was looking for the same thing and put together a way that worked for me on windows 7 64bit...
1. download the sgs2toext4.jar from rwilco12's website or the xda thread
2. run sgs2toext4.jar and then drag your "system.img.ext4" file that you got from your tar.md5 file into the main window that says "Drag Here"
3. it will take a couple minutes to create the new "system.img.ext4.img" file, so let it run until it says in the window that it is done...then close the program
4. download ext2explore-2.2.71 from the sourceforge website
5. once downloaded, extract the .exe file and right click on ext2explore.exe to "run as administrator"
6. then click on File at top left and then Open Image...select your "system.img.ext4.img" file
7. Highlight the file in the right window pane and click Save
8. then save the contents to a folder of your choosing and VIOLA!!
hope that helps!

Linux reader works perfect, you just need to use an older version, not the latest

onelovekir said:
run sgs2toext4.jar and then drag your "system.img.ext4" file that you got from your tar.md5 file into the main window that says "Drag Here"
Click to expand...
Click to collapse
Except that when I drag my system.img.ext4 file to the sgs2ext4.jar window, it just keeps saying "0 bytes" forever and ever and extracts nothing. I left it for an hour once and it just created a 0-byte file.

siraltus said:
Except that when I drag my system.img.ext4 file to the sgs2ext4.jar window, it just keeps saying "0 bytes" forever and ever and extracts nothing. I left it for an hour once and it just created a 0-byte file.
Click to expand...
Click to collapse
Have you by any chance installed the Java SDK? If not, try installing that first before running the applet.

onelovekir said:
Have you by any chance installed the Java SDK? If not, try installing that first before running the applet.
Click to expand...
Click to collapse
I have the latest Java Runtime Environment (JRE) installed. Why would I need the entire SDK?

siraltus said:
I have the latest Java Runtime Environment (JRE) installed. Why would I need the entire SDK?
Click to expand...
Click to collapse
Yeah I don't see why you would but that might be the difference from mine and yours, cuz mine worked no problems

onelovekir said:
Yeah I don't see why you would but that might be the difference from mine and yours, cuz mine worked no problems
Click to expand...
Click to collapse
Maybe because I was trying to extract a Note 3 and Note 4 firmware and not an S4 firmware and Samsung changed the formats...

siraltus said:
Maybe because I was trying to extract a Note 3 and Note 4 firmware and not an S4 firmware and Samsung changed the formats...
Click to expand...
Click to collapse
aaahhh could be, its very possible...then i'm not sure, you could always host your img file on the cloud and maybe I could try and do it for you, just send me a PM with the link

siraltus said:
Maybe because I was trying to extract a Note 3 and Note 4 firmware and not an S4 firmware and Samsung changed the formats...
Click to expand...
Click to collapse
Buddy. Have to you found out the solution for this?
Even I am trying to extract Note 4 Lollipop rom but not possible.
Any work around?
Thanks.

Try this guys: You have to emulate Linux in windows using cygwin and that will unpack the system.img.ext4 files
Use the modified android kitchenHere and learn the way to install it in the original thread here
Run android kitchen and then choose the rom and voila! unpacked! Now I don't know if it will work with lollipop but you can give it a try
too complicated? for simpler ways try : this

Related

[GUIDE] How to extract System.img

For Windows Version Only
Required Files:
1. Obviously Windows Operating System
2. Ext4 Unpacker
3.Ext2Explore
4. System.img of your ROM​
Step 1
Launch Ext4 Unpacker softwareand then select open button
Step 2
Select the System.img of your ROM which you want to extract
Step 3
Now press the "Save as EXT4 button"
Step 4
Now select where you want to save the .ext4 file and enter a name with extension ".ext4" ,then press save
Step 5
Have some tea till the ext4 image is being unpacked
Step 6
Now launch "ext2explore" software. Select it and right click then select "Run as administrator" .
Step 7
Now select File then Open image
Step 8
Select the file you saved earlier with Ext4 Unpacked software and then select "Open".
Step 9
Now select t the file you just have imported in EXT2Explore and then press the "Save" button.
Step 10
Select the folder where you want the unpacked system files to be placed.
Step 11
It will take around 5-10 minutes to get unpacked.
​
And finally go the folder which you selected. The system files should be placed there
Reserved 1
so u finally got it...i was just about to give u this....lol....
k2wl said:
so u finally got it...i was just about to give u this....lol....
Click to expand...
Click to collapse
Lol
Press thanks if you like my work/advice
May we know the purpose/importance of this? After extract what now?
Sent from my GT-I9082 using xda app-developers app
bongski55 said:
May we know the purpose/importance of this? After extract what now?
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
After cygwin extracts the firmware, there is system.img. I was unable to extract it even if the explore2fs opened up, so I found up this method.
anything more to ask?
Press thanks if you like my work/advice
Razor! said:
After cygwin extracts the firmware, there is system.img. I was unable to extract it even if the explore2fs opened up, so I found up this method.
anything more to ask?
Press thanks if you like my work/advice
Click to expand...
Click to collapse
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
bongski55 said:
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
u can use to extract system folder in cygwin...sometimes it is useful...to have options...
u almost must know 2 to 3 different methods...
like i can do this diffrently as follows...
download http://www.rwilco12.com/Files/Misc Files/SGS2 to Ext4 Utility/sgs2toext4.zip
extract it somewhere.
make sure u have java installed
in the folder extracted right click with shift button ppressed...u will get option to open command window here.
when cmd is open give this command
java -jar sgs2toext4.jar
it will open up.
then just drag and drop ur system.img there and u get system.ext4.img
download disk internal linux reader from internet
after installing disk internal linux reader ...click on mount image.>>raw image>>next>>browse to our ext4.img file created.
and u can browse ur system.img there and can save it. u can also mount hidden.ext4.img,cache.ext4.img like wise.
this can be very usefull if u want to extract chache,hidden,system imgs. (u might get bored of linux and want to do some fun on ur windows pc).
bongski55 said:
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Do I forcibly told you follow this guide? And I think neither I asked what will you do with system.img ?
So it's better not to troll me.
Razor! said:
Do I forcibly told you follow this guide? And I think neither I asked what will you do with system.img ?
So it's better not to troll me.
Click to expand...
Click to collapse
Idid not mean to offend you. At least k2wl give a proper response. When you give a "guide" you should at least give a reason or purpose. I am interested on the system folder as a lot of things there pertaining to the rom. Maybe you found a way in windows to put it back to "img" ? We don't know because you did not explain. So please stop being emotional and give a proper response like k2wl did.
Sent from my GT-I9082 using xda app-developers app
bongski55 said:
Idid not mean to offend you. At least k2wl give a proper response. When you give a "guide" you should at least give a reason or purpose. I am interested on the system folder as a lot of things there pertaining to the rom. Maybe you found a way in windows to put it back to "img" ? We don't know because you did not explain. So please stop being emotional and give a proper response like k2wl did.
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
I thought you must be knowing that would "system.img" is.
After cygwin setup working folder system.img is present inside it. I was not able to extract it using the cygwin as it was not responding. So I found an alternate method, this method will extract the system files. And then you can place it inside the working folder.
First Thanks on the First Post. Jonahly.
jonahly said:
First Thanks on the First Post. Jonahly.
Click to expand...
Click to collapse
Hope you find it useful
Make.Believe
If you're good at something
Never Do It For Free - JOkER
thank you for this usefull tuto
and how to save it aguain to .img after extract and make some mod
hi
how to extract boot.img in kernel file??
javad938 said:
hi
how to extract boot.img in kernel file??
Click to expand...
Click to collapse
Follow the steps.
This is not for decompiling kernel.
works very good here. i'm developer for Nexus 4 . Do you know tutorial about META-INF?
Thanks for the awesome tut brother.
Download Original Samsung USB Driver
Download: http://androidmtk.com/download-samsung-usb-drivers

How to view & unpack system.img.ext4?

So I was trying to get the media folder from the Galaxy s4 black.
Downloaded the firmware, extracted it until system.img.ext4.
Now how do I open this?
Tried with ext2explore - it did nothing when I chose the file
Tried with diskinternals - raw disk image - File system not supported
Anybody?
bungadudu said:
So I was trying to get the media folder from the Galaxy s4 black.
Downloaded the firmware, extracted it until system.img.ext4.
Now how do I open this?
Tried with ext2explore - it did nothing when I chose the file
Tried with diskinternals - raw disk image - File system not supported
Anybody?
Click to expand...
Click to collapse
Have you tried this :
http://forum.xda-developers.com/showthread.php?t=2294909
I use it all the time
I also cannot open the system.img.ext4 file with ext4 unpacker. ( it crashes after working for 15 minutes), is there another solution?
Just rename system.img.ext4 to system.img
I was having the same problem and it worked once I did this.
Not working
OmarEinea said:
Have you tried this :
http://forum.xda-developers.com/showthread.php?t=2294909
I use it all the time
Click to expand...
Click to collapse
I've done this numerous times, tried renaming it and all, I swear I did this the exact same way a few weeks ago and it worked no problem. Ext2Explorer doesn't do anything and the ext4 Unpacker freezes and always makes me force close it now. I'm using Windows 8.1 but I also tried this by mounting in Linux and I get an error as well, "wrong fs type, bad option, bad superblock on /dev/loop0," etc... So I'm not sure what happened I've downloaded the firmware from 2 different sources and from one of the sources I downloaded it from 4 different mirrors totaling 5 different downloads so there is no way my files are corrupt it won't work with ANY of them. I'm honestly so confused I don't even know where to look anymore so here I am posting along with the last few people that seem to share my pain. Hopefully someone can help us.
This is the firmware I'm using download and try it out for me pretty please let me know if your system has any issues?
N900TUVUENK3
Solved below
Open Galaxy S4 system.img.ext4
This is my tested method on SHV-E330L, a korean variant of Galaxy S4.
1) Unpack with sgstoex4.
2) Open unpacked file with ext2explore.
No other method works like ext4_unpacker etc., if it helps please hit thanks
Thanks!
galliard said:
This is my tested method on SHV-E330L, a korean variant of Galaxy S4.
1) Unpack with sgstoex4.
2) Open unpacked file with ext2explore.
No other method works like ext4_unpacker etc., if it helps please hit thanks
Click to expand...
Click to collapse
Wowzers I literally just ran across that method and was about to post then I saw you already said it, good to know if I didn't find it I wouldn't have been left in the dark as you are right that is THE ONLY method that works at the moment for a lot of different people.
Change to system.tar.gz
OmarEinea said:
Have you tried this :
http://forum.xda-developers.com/showthread.php?t=2294909
I use it all the time
Click to expand...
Click to collapse
Change to system.tar.gz then extract
Open system.img.ext4 in windows easily with 2 tools!
First download this 2 tools
1. linux reader
2.jar file
http://www.diskinternals.com/download/ (linux reader)
http://forum.xda-developers.com/attachment.php?attachmentid=645192&d=1309768531
DOne 50 %:good:
Step 1)
Download Diskinternals Linux reader and open it up.
Step 2)
Download sgs2ext4.jar and open it up.
Step 3)
Take you system.img and move it into the sgs2ext4.jar application and wait until it is done.
Step 4)
Now you should get a system.img.ext4 file or something like that just make sure ext4/ext is in the name
Step 5)
Now in Diskinternals click on Drives –> mount image, now a window will pop-up, leave the box on RAW disk image and click next, now search for the system.img ext4 file and choose it.
Step 6)
Now you see a new drive which looks like this: Linux EXT Volume 1 (Number can be different) Open the drive and click on commands and then select all.
Step 7)
Now do Ctrl+S to save the files where you want them, i suggest you to make a folder on you desktop called system and save it there.
Good Luck !:laugh:
hit thanks if helped
can please provide the link to download sgstoex4. file
galliard said:
This is my tested method on SHV-E330L, a korean variant of Galaxy S4.
1) Unpack with sgstoex4.
2) Open unpacked file with ext2explore.
No other method works like ext4_unpacker etc., if it helps please hit thanks
Click to expand...
Click to collapse
can please provide the link to download sgstoex4. file .. i could not find it..
sparky vicky said:
First download this 2 tools
Click to expand...
Click to collapse
First, read the topic "Extract Deodex Sign and Zipalign an official ROM" and there credits.
Wow, I could not realize that you posted it more than a year ago. I really appreciate and thank you for your help. Finally, I can achieve single file I'm looking for inside ???

[FIRMWARE][SM-T700] Galaxy Tab 8.4 (Wifi) T700XXU1ANF7 No-Wipe Factory Image

This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model.
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358554636
Click to expand...
Click to collapse
No 10.5 love?
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
+1, can't forget us 10.5 owners
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
Stock Firmware SM-T800 (Wi-FI)
Stock Firmware SM-T805 (LTE)
Now all I need is a rom to screw my rig up with so I'll need this
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
suzook said:
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
Click to expand...
Click to collapse
Please don't coming from the one that said root is okay from the note 10.1 2014 edition. Root and profit. Sound familiar. You mean root and brick.
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
ewells38 said:
+1, can't forget us 10.5 owners
Click to expand...
Click to collapse
Apologies for the delay folks. It's now uploaded.
http://forum.xda-developers.com/showthread.php?t=2800372
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
well, we need some step by step instruction here
anyone able to extract system files??
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Chainfire needs recovery.img to make cf autoroot for us. Are u able to extract the recovery.img for the q0.5 as well as 8.4 so I can post it in the cf auto root thread so we can get root?
FYI for those of you who have PMed me I have fixed the corrupt download and updated the OP link.
Zip
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Can you please zip extracted and provide a link!!
Thanks
No
jazzespresso said:
well, we need some step by step instruction here
anyone able to extract system files??
Click to expand...
Click to collapse
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
EMSpilot said:
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
Click to expand...
Click to collapse
bare with me on that one since I tried too many different options, following worked for me - required files attached here (I ziped, so hopefully XDA did not blocked it)
This is for Windows PC:
1. Download sgs4ext4fs.exe, and download firmware, unzip firmware up until you see system.img.
2. Open command prompt (on windows, click start, type cmd) where system.img, and type
sgs4ext4fs --trim system.img systemt.img
........ > you will see bunch of ............., but wait until it finishes.
3. Once it finishes it creates systemt.img, get sgs2toext4.jar (save it to the same folder), and open sgs2toext4.jar, and drag and drop newly created systemt.img to the window (sgs2toext4.jar's window), wait until it finishes, when it finishes it will create systemt.ext4.img
4. Now last step, download ext2explore.exe, and open it, and go to file --> open image and pick systemt.ext4.img, it will show the img file there (on both side of window), on the left side, select the systemt.ext4.img (should be showing full path), right click your mouse, and select save to your desktop or any other folder location you pick.
Obviously, next step will be odexing everything:laugh:
Yorgo1982 said:
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Click to expand...
Click to collapse
Here you go:
System img from Galaxy Tab 10.5
How about a custom recovery .the build your own recovery with stock recovery.IMG leads to a http// 404 error online after it builds it.any of you smarter than me individuals know how to build a custom CWM/TWRP img ?
Nexus 5 via Tapatalk
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
Click to expand...
Click to collapse
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
restore
jball said:
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
Click to expand...
Click to collapse
Thanks this worked like a charm!!! Great work!!!

[Q] Needed secsettings.apk and secsettings.odex for NH1, quickly!

Hey guys!
So I was just installing S5 Settings from balliboxer
and now I am an idiot to backup the secsettings apk and odex.
After I installed it, it gone FC.
Please somebody have an stock 4.4.2 SecSettings.apk and odex file please?
I'm running on 4.4.2 G7102 NH1.
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
maxx35000 said:
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
Click to expand...
Click to collapse
Thanks dude! And sorry for those 4 threads. Gonna download it!
This will take soooooo long! My Internet connection is slow and can complete in 9-10 hours!
Just be patient and people will see your thread and help you! But making FOUR posts...?
maxx35000 said:
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
Click to expand...
Click to collapse
Unfortunately this doesn't work. When you drop the system.img.ext4 file onto the sgs2ext4 tool, no file is produced. The tool just keeps endlessly repeating:
"system.img.ext4 32 B 0 B/s"
I think that tool is too old (2.5 years old) and doesn't support the newest Samsung firmwares.
siraltus said:
Unfortunately this doesn't work. When you drop the system.img.ext4 file onto the sgs2ext4 tool, no file is produced. The tool just keeps endlessly repeating:
"system.img.ext4 32 B 0 B/s"
I think that tool is too old (2.5 years old) and doesn't support the newest Samsung firmwares.
Click to expand...
Click to collapse
witch firmware do you want to extract ?and whitch file you want ?
i 've extract my latest firmware 09/2014 so it work fine for me
maxx35000 said:
witch firmware do you want to extract ?and whitch file you want ?
i 've extract my latest firmware 09/2014 so it work fine for me
Click to expand...
Click to collapse
The T-Mobile Galaxy Note 4 (SM-N910T) NK4 firmware. I can't find any instructions online on extracting Samsung firmwares other than these, which were originally written up by rwilco12 a long time ago and reposted endlessly.
siraltus said:
The T-Mobile Galaxy Note 4 (SM-N910T) NK4 firmware. I can't find any instructions online on extracting Samsung firmwares other than these, which were originally written up by rwilco12 a long time ago and reposted endlessly.
Click to expand...
Click to collapse
you have one solution try to extract md5 file
and direct mount system.img in ubunt it work for me then copy the file you want
maxx35000 said:
you have one solution try to extract md5 file
and direct mount system.img in ubunt it work for me then copy the file you want
Click to expand...
Click to collapse
I'll try doing that in a Linux VM. I'm on Windows and the Diskinternals Linux Reader keeps saying the filesystem is invalid.
siraltus said:
I'll try doing that in a Linux VM. I'm on Windows and the Diskinternals Linux Reader keeps saying the filesystem is invalid.
Click to expand...
Click to collapse
give me a link to download the system.img i try to extract it
maxx35000 said:
give me a link to download the system.img i try to extract it
Click to expand...
Click to collapse
Thank you for your help. It's this firmware: http://www.sammobile.com/firmwares/download/39224/N910TUVU1ANK4_N910TTMB1ANK4_TMB.zip/
Anything? Is this a no-go?
siraltus said:
Thank you for your help. It's this firmware: http://www.sammobile.com/firmwares/download/39224/N910TUVU1ANK4_N910TTMB1ANK4_TMB.zip/
Click to expand...
Click to collapse
sorry i have forget to do it i download the file now
but what the files needed in ?
maxx35000 said:
sorry i have forget to do it i download the file now
but what the files needed in ?
Click to expand...
Click to collapse
I just want to find a method that works for extracting the Note 4 firmware because none I found online work.
siraltus said:
I just want to find a method that works for extracting the Note 4 firmware because none I found online work.
Click to expand...
Click to collapse
I found that the Linux method works on my Mac. Took a ton of tinkering and restarting the emulator on my machine.
sgs2ext4.jar did not work for me in Windows. It just hangs.
sbrownla said:
I found that the Linux method works on my Mac. Took a ton of tinkering and restarting the emulator on my machine.
sgs2ext4.jar did not work for me in Windows. It just hangs.
Click to expand...
Click to collapse
yes sgs2ext4.jar work with some of system.img but not all but you can mount in linux i have extracted note 4 img :good:
maxx35000 said:
give me a link to download the system.img i try to extract it
Click to expand...
Click to collapse
The SAMMOBILE firmware or the system.img? I'm not yet downloading it. Let's see if I can resume the download.

Trying to install Wear 2.0 developer preview 3 on Huawei Watch

I'm trying to install Wear 2.0 Developer Preview 3 on Huawei Watch. I'm currently using Developer Preview 2, so I thought I'd be familiar with the flashing process.
Anyhow, all the tutorials I managed to find include a part with running a flash-all.bat, which for some reason isn't included in the preview image package I downloaded from https://developer.android.com/wear/...ampaign=android_discussion_wearpreview_092916 .
Where can I get the flash-all.bat?
Edit: Umm, I decided not to go with DP3 at least for now. I thought I'd return to the official stock firmware, but how do I perform the flashing? Do I manually have to edit the file names in flash-all.bat to match the file name of the stock rom's name? Does it matter that the stock rom came as a .tgz even though the files mentioned in the flash-all.bat are .img and .zip? Damn this is confusing, and googling isn't helping at all...
This page is what I'm using as a guide. Worked fine though did take a bit to get the flash-all.bat to run. All files are included in the downloads. Top download is preview image. Bottom is to go back to stock.
https://developer.android.com/wear/preview/downloads.html
Sent from my SM-G935F using XDA-Developers mobile app
The stock download from that page does not contain a flash-all.bat.
I used stock download for flashing and ewerything goes just fine. Just extract all packages in same folder. But if you are interested use this link http://rootjunkysdl.com/files/?dir=Huawei Watch/Firmware. There is all revisions.
highaltitude said:
This page is what I'm using as a guide. Worked fine though did take a bit to get the flash-all.bat to run. All files are included in the downloads. Top download is preview image. Bottom is to go back to stock.
https://developer.android.com/wear/preview/downloads.html
Click to expand...
Click to collapse
The downloadable files there are .tgz and do not include any .bats or .zips (I tried opening with 7-Zip).
cerisu said:
I used stock download for flashing and ewerything goes just fine. Just extract all packages in same folder. But if you are interested use this link http://rootjunkysdl.com/files/?dir=Huawei Watch/Firmware. There is all revisions.
Click to expand...
Click to collapse
Thanks, I'll try that page :good:
Edit: Thanks @cerisu, the downloads on rootjunkysdl.com included the files I needed I wonder why they're not on the official Android development page...?
submin_ said:
The downloadable files there are .tgz and do not include any .bats or .zips (I tried opening with 7-Zip).
Click to expand...
Click to collapse
You have to extract .tgz file too. And all files has to be in same folder beore flashing.
Android Wear 2 Developer Preview 3- LGUrbane Watch 2
cerisu said:
You have to extract .tgz file too. And all files has to be in same folder beore flashing.
Click to expand...
Click to collapse
Personally, I would be grateful if someone can provide me with the set of documents already downloaded and extracted; and, if I am not asking too much, to please give me a dumbman's procedure to get the Wear 2 software to work on my watch.
Having to now wait until early 2017 will surely drive me crazy!

Categories

Resources