How to create a tar file - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Can any one tell me how to create a tar file from a .img file. I'd like to take the recovery.img and create an odin flashable file.

I did that for my S3 last year. Just the one time though so I'm not super familiar with the process at the moment. I used Cygwin.
Cheers, buddy

xBeerdroiDx said:
I did that for my S3 last year. Just the one time though so I'm not super familiar with the process at the moment. I used Cygwin.
Cheers, buddy
Click to expand...
Click to collapse
Thanks,I play around with that.

Related

[ROM] Samsung i9020 Nexus S Firmware from Samsung [Leaked]

Code:
hxxp://rapidshare.com/files/431445698/asdwq4ehfqpqyurqaew.rar
Enjoy.
Good job on using Rapidshare!
The modem is in a tar.md5 file. How do I extract that? The other files when extracted end up as img. How do I look inside for content?
rajendra82 said:
The modem is in a tar.md5 file. How do I extract that? The other files when extracted end up as img. How do I look inside for content?
Click to expand...
Click to collapse
7zip for the md5
poweriso for the .img
krylon360 said:
7zip for the md5
poweriso for the .img
Click to expand...
Click to collapse
7zip gives an error on this .tar.md5. The other .tar files open fine.
rajendra82 said:
7zip gives an error on this .tar.md5. The other .tar files open fine.
Click to expand...
Click to collapse
rename the .tar.md5 to .tar
designgears said:
rename the .tar.md5 to .tar
Click to expand...
Click to collapse
yep, was just about to post that. Thanks DG.
btw. You never responded to my text. LOL
krylon360 said:
yep, was just about to post that. Thanks DG.
btw. You never responded to my text. LOL
Click to expand...
Click to collapse
Already tried that. Doesn't want to open.
Going through gnu tar gives this error:
$ tar -xf MODEM_I9020XXJK1.tar.md5
tar: Skipping to next header
tar: A lone zero block at 24628
tar: Exiting with failure status due to previous errors
What next?
P.S. - gnu tar actually extracted the radio.img file despite the error. I am still trying to get inside the img files.
rajendra82 said:
Already tried that. Doesn't want to open.
Going through gnu tar gives this error:
$ tar -xf MODEM_I9020XXJK1.tar.md5
tar: Skipping to next header
tar: A lone zero block at 24628
tar: Exiting with failure status due to previous errors
What next?
P.S. - gnu tar actually extracted the radio.img file despite the error. I am still trying to get inside the img files.
Click to expand...
Click to collapse
That would be because your file is still called "MODEM_I9020XXJK1.tar.md5" rename the file and remove the .md5 at the end.
i just fastboot flashed the boot.img and my nexus s won't boot now. you have all been warned with those leaked files!
Delgoth said:
That would be because your file is still called "MODEM_I9020XXJK1.tar.md5" rename the file and remove the .md5 at the end.
Click to expand...
Click to collapse
Not the issue. Same result. Try it for yourself.
http://rapidshare.com/files/431445698/asdwq4ehfqpqyurqaew.rar
bubby323 said:
http://rapidshare.com/files/431445698/asdwq4ehfqpqyurqaew.rar
Click to expand...
Click to collapse
<3 BLUBBY!!!!!
Jr33 said:
i just fastboot flashed the boot.img and my nexus s won't boot now. you have all been warned with those leaked files!
Click to expand...
Click to collapse
Want to try restoring with the stock boot.img from here:
http://forum.xda-developers.com/showpost.php?p=9869067&postcount=38
[email protected] said:
Want to try restoring with the stock boot.img from here:
http://forum.xda-developers.com/showpost.php?p=9869067&postcount=38
Click to expand...
Click to collapse
yeah i recovered with koush's boot.img. i dunno what is up withthis leak but 100% it is not what was shipped with the phone!
Jr33 said:
i just fastboot flashed the boot.img and my nexus s won't boot now. you have all been warned with those leaked files!
Click to expand...
Click to collapse
Jr33 said:
yeah i recovered with koush's boot.img. i dunno what is up withthis leak but 100% it is not what was shipped with the phone!
Click to expand...
Click to collapse
Forgive asking the obvious, but did you check the md5 match on the download? Is the hash even available?
distortedloop said:
Forgive asking the obvious, but did you check the md5 match on the download? Is the hash even available?
Click to expand...
Click to collapse
what did we even have to compare it to? those were the only files "leaked". supercurio couldn't get the kernel to boot as well.
WinRAR gives an error that the archive is corrupt when trying to extract the radio.img.
it sounds **** you guys need samsung kies to odin flash that firmware, check out the vibrant or galaxy s threads for more info.
Sent from my GT-I9000 using XDA App
orells said:
it sounds **** you guys need samsung kies to odin flash that firmware, check out the vibrant or galaxy s threads for more info.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
nexus s doesn't have a download mode. we have fastboot

[Q] Only 3 files in I5800XXJPM.zip

HI I have downloaded the I5800XXJPM.zip firmware but it has only 3 files in it. Now i am confused how to flash it in Odin. I have flashed earlier using both the method like different files and one package but this file is different. I think i need to make a tar file before.
files that is under the zip file is: factoryfs.rfs, modem.bin and zImage.
Please suggest me the right way.
probably you open the tar file, those three files are inside the tar.
brjshshrma said:
HI I have downloaded the I5800XXJPM.zip firmware but it has only 3 files in it. Now i am confused how to flash it in Odin. I have flashed earlier using both the method like different files and one package but this file is different. I think i need to make a tar file before.
files that is under the zip file is: factoryfs.rfs, modem.bin and zImage.
Please suggest me the right way.
Click to expand...
Click to collapse
hey for me there are 6 files. U may have downloaded the wrong one!!...
and its not a .zip its a .tar file after extracting
neo1691 said:
hey for me there are 6 files. U may have downloaded the wrong one!!...
and its not a .zip its a .tar file after extracting
Click to expand...
Click to collapse
not its a zip file which has a size of 125 Mb. Previously I flashed my odin with both ways (one package and also with 4 different files) but both of those files were different. Can u give me a link so that I download the right file. Make sure its XXJPM coz i will then flash to Indroid 4.1, currently i m in XXJPF.
brjshshrma said:
not its a zip file which has a size of 125 Mb. Previously I flashed my odin with both ways (one package and also with 4 different files) but both of those files were different. Can u give me a link so that I download the right file. Make sure its XXJPM coz i will then flash to Indroid 4.1, currently i m in XXJPF.
Click to expand...
Click to collapse
Try this..
Hope it works
Leave it guys, the file was incomplete. I have downloaded a new file and now flashed it successfully. The matter stands closed, thanks for taking interest.
I had given you a link to a new file
seems you overlooked!!
anyways good to see your problem is solved
neo1691 said:
I had given you a link to a new file
seems you overlooked!!
anyways good to see your problem is solved
Click to expand...
Click to collapse
yes, I downloaded a new file before seeing ur link. anyways can u help me with themes and 1% battery mode?
brjshshrma said:
yes, I downloaded a new file before seeing ur link. anyways can u help me with themes and 1% battery mode?
Click to expand...
Click to collapse
1% battery mod is working only with fugumod 2.4 kernals!!
what you want to know about themes../??
Just go to themes section download any theme you like..
read all the instructions..
generally there are two to three files which you have to replace with old files in system/framework folder.
some have themed apks also.
you have to replace them with old apks in system/app
that should be helpful!!
PS A thanks buttob do exist there if u dont know !!
The missing files were logo.png and cache.rfs.
I think that missing logo.png is not big deal, but I don't know what cahe.rfs is supposed to do.
LarryMetal said:
Forget it... False reading...
The missing files were logo.png and cache.rfs.
I think that missing logo.png is not big deal, but I don't know what cahe.rfs is supposed to do.
Click to expand...
Click to collapse
false reading means???
Good!! i was confused earlier! Thanks for editing
neo1691 said:
false reading means???
Click to expand...
Click to collapse
My bad! I had edited my initial post(because I didn't understand right), and then I just added my opinion. With my t"h"urd edit is no more confusing!
LarryMetal said:
My bad! I had edited my initial post(because I didn't understand right), and then I just added my opinion. With my t"h"urd edit is no more confusing!
Click to expand...
Click to collapse
its just fine..!!
happens with everyone!

SGS won't pass this screen with a picture. Phone/YellowTriangle/Computer

Ok so i was trying to root my SGS and got stuck in the first step.
It says after u download the zip u unzip and there is supposed to be a .tar file.
But after i unzipped mine was another zip so i unzipped that and there was some weird file called : zImage
Its not a tar file so says my computer. Is it supposed to be like that? Any help will be thanked.
So i tried rooting my phone and it didn't work, i am on gingerbread and have no experience about SGS but have some experience about android.
So after i failed my root i tried turning on the phone but this weird picture of a phone/yellow triangle/computer
And it won't let me turn on the phone fully, i can only go to download mode and nothing else. i have tried hard reset but not working.
Please help!
Simliar problem as this http://forum.xda-developers.com/showthread.php?t=805923.
just unzip it first one and its tar file just put it in pda in odin and flash it. don't
Sent from my GT-I9100 using Tapatalk 2
yahyoh said:
just unzip it first one and its tar file just put it in pda in odin and flash it. don't
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
From properties it said that the zImage file is a tar file so should i flash using that?
Edited description
cuz u have to flash the kernel and the phone will boot. as i said before just unzip the downloaded file the put the unziped file in pda in odin
don't extract the zimage file from the tar file
Sent from my GT-I9100 using Tapatalk 2
androidboss7 said:
From properties it said that the zImage file is a tar file so should i flash using that?
Click to expand...
Click to collapse
the zimage is inside the tar file don't extract it just flash the tar file
Sent from my GT-I9100 using Tapatalk 2
You have to flash a complete stock rom to get the phone to work
Gesendet von meinem GT-I9000 mit Tapatalk
Start with settings in Windows file manager = show file extensions (like .tar .zip .txt .exe)
Depending on what program used to unzip, .zip and .tar might have same icons. Show file extension to see difference.
Sent from my GT-I9000
yahyoh said:
the zimage is inside the tar file don't extract it just flash the tar file
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
thats what i did and this is what happened.
do i have to flash to stock rom again or can i just root again and it will
boot?
The zimage file is contained in the .tar, but still you need to flash the .tar file...
.Tar files seem like zip files and can be extracted, so to solve the windows showing the file as zipped do as O-T said:
O-T said:
Start with settings in Windows file manager = show file extensions (like .tar .zip .txt .exe)
Depending on what program used to unzip, .zip and .tar might have same icons. Show file extension to see difference.
Sent from my GT-I9000
Click to expand...
Click to collapse
Then start ODIN with administrator privileges and use the .tar file (ONLY TAR FILES) as PHONE, do not choose any other file and certainly dont tick re-partition, after all are ready (and your phone is in download mode and recognized by ODIN) press start.
If you failed and see the screen with "Phone/YellowTriangle/Computer" do not worry, just pull out the phone battery, leave it with battery off for 30 secs, put the battery back in, get your phone to download mode (guess you are putting your phone to download mode before flashing, right?) and try again using the instructions that you have read in all those posts!
Coolgreek said:
The zimage file is contained in the .tar, but still you need to flash the .tar file...
.Tar files seem like zip files and can be extracted, so to solve the windows showing the file as zipped do as O-T said:
Then start ODIN with administrator privileges and use the .tar file (ONLY TAR FILES) as PHONE, do not choose any other file and certainly dont tick re-partition, after all are ready (and your phone is in download mode and recognized by ODIN) press start.
If you failed and see the screen with "Phone/YellowTriangle/Computer" do not worry, just pull out the phone battery, leave it with battery off for 30 secs, put the battery back in, get your phone to download mode (guess you are putting your phone to download mode before flashing, right?) and try again using the instructions that you have read in all those posts!
Click to expand...
Click to collapse
Thanks mate!
After i read ur post i flashed again and it works again with root!
So final question. if i want to unroot do i just flash stock kernel and i am unrooted?
androidboss7 said:
Thanks mate!
After i read ur post i flashed again and it works again with root!
So final question. if i want to unroot do i just flash stock kernel and i am unrooted?
Click to expand...
Click to collapse
Glad to be of help!
About your question: Exactly. Flashing original kernel will remove root!
Coolgreek said:
Glad to be of help!
About your question: Exactly. Flashing original kernel will remove root!
Click to expand...
Click to collapse
thanks for ur help dude

[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!!!

OMG

Every single firmware I have donloaded is corupt , Wtf is that? I tried like 5-6 of them. ( 5.1.1 lollipop)
Probably your internet connection.
Download from trusted sources
[email protected]@!3Z said:
Probably your internet connection.
Download from trusted sources
Click to expand...
Click to collapse
I have downloaded with 2 browsers , and my friend donloaded some of it and it isnt working for him too
Wow really?
7
Ragazzza said:
Wow really?
Click to expand...
Click to collapse
Yeessss!
Rnder said:
Yeessss!
Click to expand...
Click to collapse
I highly doubt it.
They are in tar format and need to be unzipped first then flashed with odin.
At which point is the alleged corruption happening?
download from here
http://updato.com/firmware-archive-select-model?record=AE652F7C216B11E6949E0CC47A44B7B2
ashyx said:
I highly doubt it.
They are in tar format and need to be unzipped first then flashed with odin.
At which point is the alleged corruption happening?
Click to expand...
Click to collapse
I download in win-rar arhive and then extract it . While extracking it shows me corrupt and then finishes....
Rnder said:
I download in win-rar arhive and then extract it . While extracking it shows me corrupt and then finishes....
Click to expand...
Click to collapse
You either have a issue with your download method or you need to use 7zip to extract the zip to md5.
Do not unpack the md5 or you will get payload errors.
ashyx said:
Yo6u either have a issue with your download method or you need to use 7zip to extract the zip to md5.
Do not unpack the md5 or you will get payload errors.
Click to expand...
Click to collapse
Okey . I am going to do a new system in next days , and I'll try then. Ty for your advice.
Rnder said:
Okey . I am going to do a new system in next days , and I'll try then. Ty for your advice.
Click to expand...
Click to collapse
You can try using a download manager like this https://play.google.com/store/apps/details?id=com.dv.adm
Sent from my Samsung Galaxy J5 using XDA Labs

Categories

Resources