Hello,
I'm just wondering how I can make the .tar file with the recovery.img file in it and flash with Odin? Does anyone have a guide to how to do this? I recently downloaded the latest recovery from Clockworkmod website, but don't know what to do from there. I know how to flash with Odin of course, but don't know how to make the .tar file with the recovery.img file in it. I tried to (NOOB) rename the recovery file I got from cwm website to "recovery.img" and put it as a .tar file using 7Zip, thinking it would work, but didn't work. So I'm guessing there's another way, I'm sure I can figure it out with a good guide. Thanks!
P.S: Only reason why I want to know how to do this is because there's no actual place to my knowledge where I can update my cwm recovery automatically, but if anyone knows an automatic way of updating cwm that would be a big plus. Thanks.
you could use rom manager. As long as your device is rooted, Rom Manager will download and flash your recovery for you.
or...
You can also put your recovery file on your sdcard so that the path would be /sdcard/recovery.img Then using either adb shell or terminal emulator, the command would be
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
lordmorphous said:
you could use rom manager. As long as your device is rooted, Rom Manager will download and flash your recovery for you.
or...
You can also put your recovery file on your sdcard so that the path would be /sdcard/recovery.img Then using either adb shell or terminal emulator, the command would be
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
Click to expand...
Click to collapse
Oh yeah I know about rom manager, I just want to know how to make the file so I can, in the future update my cwm recovery version. I use Rom Manager to flash the recovery and do what I want in the recovery, that's not an issue, just updating it to a later version if one comes out is why I want to know how to make the file. I tried to download the latest cwm from Rom Manager, but when it gives me the devices list to download, the Galaxy S3 is not there.
A day or two ago I opened rom manager and it prompted me that there was an update for my recovery downloaded it and flashed it no problem
You are in luck, I needed a ODIN flashable tar of CWM 6.1.0.8 yesterday, and I made a flashable tar.
http://forum.xda-developers.com/showthread.php?p=30494477#post30494477
I run linux, and I"m not positive how to make your own ODIN flashable .tar from a .img file in Windows, but on Linux the commands are as follows.
Download the recovery from the CWM website.
Rename the file from <WhateverItsCalled>.img to recovery.img
Open a terminal window and get to the folder that recovery.img is in.
Type in the following command without the quotes: "tar -H ustar -c recovery.img > recovery.tar"
You will not have an ODIN flashable file called recovery.tar.
To flash it, open ODIN, make sure your phone is in download mode and ODIN sees it. Click on the PDA button, choose recovery.tar, hit start. The phone will reboot when its done.
DeathKoil said:
You are in luck, I needed a ODIN flashable tar of CWM 6.1.0.8 yesterday, and I made a flashable tar.
http://forum.xda-developers.com/showthread.php?p=30494477#post30494477
I run linux, and I"m not positive how to make your own ODIN flashable .tar from a .img file in Windows, but on Linux the commands are as follows.
Download the recovery from the CWM website.
Rename the file from <WhateverItsCalled>.img to recovery.img
Open a terminal window and get to the folder that recovery.img is in.
Type in the following command without the quotes: "tar -H ustar -c recovery.img > recovery.tar"
You will not have an ODIN flashable file called recovery.tar.
To flash it, open ODIN, make sure your phone is in download mode and ODIN sees it. Click on the PDA button, choose recovery.tar, hit start. The phone will reboot when its done.
Click to expand...
Click to collapse
Ah thanks! I downloaded that tar file and updated successfully! I will try that command guide out and see if it works. Thanks again! :fingers-crossed:
lordmorphous said:
A day or two ago I opened rom manager and it prompted me that there was an update for my recovery downloaded it and flashed it no problem
Click to expand...
Click to collapse
Hmm...that's really weird..I never got such a message.
EDIT: Tried the command guide, and it didn't work unfortunately, but it does show the recovery.tar file, won't let me open saying it is damaged. On the cmd it tells me: 'tar' is not recognized as an internal or external command operable program or batch file.
The recovery.tar file is made though, but can't be opened. Any tips?
Thr toolkit posted lets you do that
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
is 6.0.1.2 much better than the version from the toolkit?
No I'm saying that the toolkit Lets you make img files into Odin flashable tar files
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
drakeymcmb said:
No I'm saying that the toolkit Lets you make img files into Odin flashable tar files
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Yes you're right! Thanks a lot. Made one using a recovery image downloaded from cwm website, makes tar file and everything, worked when flashing with Odin. Thanks again.
DeathKoil said:
You are in luck, I needed a ODIN flashable tar of CWM 6.1.0.8 yesterday, and I made a flashable tar.
http://forum.xda-developers.com/showthread.php?p=30494477#post30494477
I run linux, and I"m not positive how to make your own ODIN flashable .tar from a .img file in Windows, but on Linux the commands are as follows.
Download the recovery from the CWM website.
Rename the file from <WhateverItsCalled>.img to recovery.img
Open a terminal window and get to the folder that recovery.img is in.
Type in the following command without the quotes: "tar -H ustar -c recovery.img > recovery.tar"
You will not have an ODIN flashable file called recovery.tar.
To flash it, open ODIN, make sure your phone is in download mode and ODIN sees it. Click on the PDA button, choose recovery.tar, hit start. The phone will reboot when its done.
Click to expand...
Click to collapse
To do the same thing in windows, you need to use Cygwin.
what is the toolkit u guys are talking about? Is there a link?:silly:
http://forum.xda-developers.com/showthread.php?t=1746665
I think this is the one they are referring to.
mrhaley30705 said:
To do the same thing in windows, you need to use Cygwin.
Click to expand...
Click to collapse
I happened to have Cygwin installed so I used it to tar the image, but you could probably use 7-z
DeathKoil said:
You are in luck, I needed a ODIN flashable tar of CWM 6.1.0.8 yesterday, and I made a flashable tar.
http://forum.xda-developers.com/showthread.php?p=30494477#post30494477
I run linux, and I"m not positive how to make your own ODIN flashable .tar from a .img file in Windows, but on Linux the commands are as follows.
Download the recovery from the CWM website.
Rename the file from <WhateverItsCalled>.img to recovery.img
Open a terminal window and get to the folder that recovery.img is in.
Type in the following command without the quotes: "tar -H ustar -c recovery.img > recovery.tar"
You will not have an ODIN flashable file called recovery.tar.
To flash it, open ODIN, make sure your phone is in download mode and ODIN sees it. Click on the PDA button, choose recovery.tar, hit start. The phone will reboot when its done.
Click to expand...
Click to collapse
I'm also running Linux, but my computer seems to have problems communicating with my S GS3 (T999V). It doesn't help that I'm new to linux, but where do you get a driver for the gs3 for linux? Also, if I were to package a ROM into a .tar or .tar.gz to be flashed with Heimdall, what do? just unzip my rom, repackage as .tar.gz and try with heimdall?
I stall out on flashing recovery image. Here's what I get. I'm using a tar where I manually swapped in the recovery image on my own.
<ID:0/004> Added!!
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> recovery.img
Click to expand...
Click to collapse
And it just stalls. The screen of the phone appears as if nothing happened. I don't see the progress bar or anything.
Odin shows the first blue bar of the progress bar but it never goes beyond that.
Any help?
EDIT - it worked fine using one of the tars from this thread. - http://forum.xda-developers.com/showthread.php?t=2015369 - So what am I doing wrong when substituting a recovery image on my own?
Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Go to an Internet Cafe or something.
Not being a jerk, but i'd rather go to kinko's than do it with a mac
That being said check out zedomax's
Video
Sent from my SGH-M919 using xda app-developers app
---------- Post added at 09:09 PM ---------- Previous post was at 09:09 PM ----------
http://forum.xda-developers.com/showthread.php?t=2252500
Sent from my SGH-M919 using xda app-developers app
Android_Monsters said:
Go to an Internet Cafe or something.
Not being a jerk, but i'd rather go to kinko's than do it with a mac
That being said check out zedomax's
Video
Click to expand...
Click to collapse
Unfortunately this is a matter of not having time on my hands. I have these random little bits of 10 minutes here and there in my life lately and I can only hope to root this phone during one of them lol
I'm going to Google this video though, really appreciate the heads up.
Edit: After searching, are one of these videos Mac specific and geared towards post-May 7th-update users? They're all kind of looking the same to me and I can't open them all.
re: Heimdall flash
caffeineighted said:
Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Click to expand...
Click to collapse
Download this Heimdall Suite for MAC here: https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-suite-1.3.2-mac.dmg
After it's downloaded install the suite.
The Suites package contains the frontend which uses a Graphical User Interface simular to Odin for windows.
Here is the link for the STOCK Tmobile Heimdall flashable Samsung Galaxy S4 Touchwiz Jellybean 4.2.2 official firmware:
http://k0nane.info/rom/M919UVUAMDL_M919TMBAMDL_TMB.zip
After you download the firmware, unzip and extract the TAR file and then extract all the files which are inside the TAR file
into a new folder on your computers desktop.
Be sure that you have installed the proper samsung usb drivers for your phone before trying to use Heimdall.
Download and Install the Heimdall Suite. (this is a Odin replacement for the MAC)
Using Heimdall
Step 1: Run/Execute “heimdall-frontend”
Step 2: When Heimdall opens there will be different slots to put files into, the filenames correspond to the name of the slots.
Navigate to the new folder on your desktop which has all the files you have extracted out of the .tar file
Example: Under FactoryFS click browse and find the FactoryFS.rfs file that you extracted out of the .tar file into your new folder.
When you’re finish double check that the correct files are in the correct slots.
Make sure that you do not checkmark the repartition device!
Step 3: Check to be sure that all the necessary files are in the right slots and the necessary checkboxes are checked.
When you’re finish reboot your phone into download mode and connect it to the usb port that you installed the drivers to.
Wait for about 5 secs. to let your computer recognize that your phone is plugged in the usb then click START.
Wait for Heimdall to complete finish the flashing.
You should get a “flash completed successfully” after it's done and the phone will now restart.
Good Luck!
Misterjunky said:
Good Luck!
Click to expand...
Click to collapse
Hey thank you so much for laying that out!
One question; How do you extract the TAR.md5? From what I'm reading, you need a Windows PC and a special application and all this crazy stuff to do it. Can I do it with a Mac application?
Edit: Wait, can I just rename the md5 to zip? Duh?
Edit 2: Yes, you can, I did, and I'm all set lol Gonna go for it now, thank you!
Misterjunky said:
<snip>
Click to expand...
Click to collapse
Ok, so I think I may be having an issue due to using the latest version of Heimdall. I've checked out the guide on Heimdall here and it's based on version 1.1. I have version 1.3.2 and I don't see anywhere to select certain files. All I seem to be able to do under "Flash" is select a PIT file, which I don't have.
I tried to "Load Package" on the first screen, but it's telling me it's not the right file size.
re: MD5
caffeineighted said:
Hey thank you so much for laying that out!
One question; How do you extract the TAR.md5? From what I'm reading, you need a Windows PC and a special application and all this crazy stuff to do it. Can I do it with a Mac application?
Edit: Wait, can I just rename the md5 to zip? Duh?
Edit 2: Yes, you can, I did, and I'm all set lol Gonna go for it now, thank you!
Click to expand...
Click to collapse
Sorry, I forgot about the MD5, just remove the md5 from the filename so the extension is simply .zip
then unzip it into a new folder on your desktop...
And NO you do not need a PC.
Good luck!
---------- Post added at 07:09 AM ---------- Previous post was at 06:55 AM ----------
caffeineighted said:
Ok, so I think I may be having an issue due to using the latest version of Heimdall. I've checked out the guide on Heimdall here and it's based on version 1.1. I have version 1.3.2 and I don't see anywhere to select certain files. All I seem to be able to do under "Flash" is select a PIT file, which I don't have.
I tried to "Load Package" on the first screen, but it's telling me it's not the right file size.
Click to expand...
Click to collapse
It's been so long since I used a mac, I know I am forgetting things.
You need to click the BROWSE box in Heimdall Suite's Front-End which opens another window where you can "navigate"
to the TAR file which is located in the zipfile. (you don't need to use pit or any other files besides the TAR for anything).
Just unzip the ZIP file so Heimdall can see the TAR file when you navigate to it with the Heimdall's Front-End.
Good luck!
Misterjunky said:
Sorry, I forgot about the MD5, just remove the md5 from the filename so the extension is simply .zip
then unzip it into a new folder on your desktop...
And NO you do not need a PC.
Good luck!
Click to expand...
Click to collapse
Ok, haha, I feel so bad because I'm being a pest at this point.
I've got the files, 12 of them, extracted to a folder.
I'm using Heimdall version 1.3.1.
When I open Heimdall-frontend, I'm presented with two options (others are greyed out): Either load a Heimdall Firmware Package under "Load Package" tab, or load a PIT under "Flash"
I see a space for "Partitions (Files)" where I'm assuming I would add the individual files, but again, it's greyed out.
What am I missing here? I checked out the Heimdall guide here and it looks totally different given that it's version 1.1.
re: Heimdall
caffeineighted said:
Ok, haha, I feel so bad because I'm being a pest at this point.
I've got the files, 12 of them, extracted to a folder.
I'm using Heimdall version 1.3.1.
When I open Heimdall-frontend, I'm presented with two options (others are greyed out): Either load a Heimdall Firmware Package under "Load Package" tab, or load a PIT under "Flash"
I see a space for "Partitions (Files)" where I'm assuming I would add the individual files, but again, it's greyed out.
What am I missing here? I checked out the Heimdall guide here and it looks totally different given that it's version 1.1.
Click to expand...
Click to collapse
Do you see a "Browse" box?
Click the BROWSE box and it will be looking for a TAR file which you navigate to.
Also, don't do anything with PIT files, you don't need it and if done wrong or incomplete your phone will be bricked
exactly the same way as if you were to flash a pit file in Odin.
The PIT file is the partition information file, and once that's on your phone it never needs to be replaced or over-written
unless your phone is bricked.
Misterjunky said:
Do you see a "Browse" box?
Click the BROWSE box and it will be looking for a TAR file which you navigate to
Click to expand...
Click to collapse
You're talking about a Browse button under Heimdall Firmware Package? Yes.
Do I just navigate to the TAR.md5 that I extracted from the original zip? Or am I navigating to a TAR file in the folder I made with the 12 files? Because if it's the second one, I don't have any TAR files in there.
Sorry man, I know this is a pain. I really appreciate the help though.
re: heimdall
caffeineighted said:
Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Click to expand...
Click to collapse
I think I found something better and easier for you.......
Check this out: https://code.google.com/p/heimdall-one-click/downloads/list
Download and install both of the files, both of them are JAR free standing apps and they work on Mac OR PC since
they are both written in JAVA.
.
I forgot already, but on a PC before these files can be used the latest version of Sun System JAVA has to be installed
or updated..
But I think if I recall correctly, on a mac it's perhaps not needed.
Misterjunky said:
I think I found something better and easier for you.
Click to expand...
Click to collapse
Oh fancy. Java is needed and I'm downloading it now. Thanks. So this is basically the Heimdall suite but simplified?
Misterjunky said:
<snip>
Click to expand...
Click to collapse
So I've got it all running, however, the one-click asks for a "tar.gz file" and I don't have one. I'm reading that the Heimdall front-end creates a tar.gz file, but since browsing to the .zip I originally downloaded leads to an error, I'm not sure how this is done.
re: Heimdall One-Click
caffeineighted said:
Oh fancy. Java is needed and I'm downloading it now. Thanks. So this is basically the Heimdall suite but simplified?
Click to expand...
Click to collapse
Yes, about an hour ago I recalled a guy here on XDA called Adam Outler and he is
the one who designed and made these two JAR Heimdall applications.
He used to be around here in XDA about a year ago and I just recalled his name
about an hour ago because we were talking about MAC and Heimdall.
He made many other projects for us here in XDA who had MAC computers
and had no access to a PC.
Misterjunky said:
Yes, about an hour ago I recalled a guy here on XDA called Adam Outler and he is
the one who designed and made these two JAR Heimdall applications.
He used to be around here in XDA about a year ago and I just recalled his name
about an hour ago because we were talking about MAC and Heimdall.
He made many other projects for us here in XDA who had MAC computers
and had no access to a PC.
Click to expand...
Click to collapse
That's amazing. The never ending kindness of the community at its best lol
I'm still trying to figure out how to make a tar.gz file. I'm understanding that front-end makes it, and I've even watched a video guide, but no one specifies what file to use when you click "Browse..." and choose a file to put in as "Heimdall Firmware File"
I've been using the original .zip I downloaded from the rooting guide, but I get that error about the file being the wrong size or something.
So I tried to download the PIT just to see if I can even make parts of this program work. It failed.
When I researched the error "Claiming interface failed" I found this.
It describes some sort of issue with the fact that I've installed Kies.
Is this part of my problem?
re: Heimdall
caffeineighted said:
That's amazing. The never ending kindness of the community at its best lol
I'm still trying to figure out how to make a tar.gz file. I'm understanding that front-end makes it, and I've even watched a video guide, but no one specifies what file to use when you click "Browse..." and choose a file to put in as "Heimdall Firmware File"
I've been using the original .zip I downloaded from the rooting guide, but I get that error about the file being the wrong size or something.
Click to expand...
Click to collapse
Did you rename the TAR file? - if you did try naming it back to the original name.
All firmware TAR files are fully compatible with Heimdall and Odin plus Heimdall One-Click..
Also I know one thing for sure, that when you press the "Browse" button it's looking for a TAR file.
The MD5 just tells the winzip or winrar if the checksum of the file is the same as it's sopposed to be.
Another thing, the Heimdall One-Click JAR file also wants the TAR file, none of these things work
with Zipfiles with the exception of Mobile Odin, but that has a problem now, it's not yet compatible
with any of the Galaxy S4 variants like the M919 , I9500 and all the others.
Misterjunky said:
Did you rename the TAR file? - if you did try naming it back to the original name.
Click to expand...
Click to collapse
Here's exactly what I've done so far, and I've re-downloaded everything so I have fresh files and filenames/extensions just to clear any mucking up I did:
I downloaded this file from this thread as I understand this is the stock firmware necessary to use here.
I unzipped the file, and used 7-zip to extract the tar.md5 which also extracted a .dll.
The tar.md5 file is named: M919UVUAMDL_M919TMBAMDL_M919UVUAMDL_HOME_.tar.md5
I have installed Heimdall version 1.3.1 as the download site claims that version 1.3.2 broke compatability with many devices.
I downloaded the two .jar files you linked to which make up the one-click.
If all of this is correct so far, I'm understanding that I need to now feed a tar.gz file to heimdall one-click, however, I don't have any files that end in .gz. Just the tar.md5, which the one-click does not accept.
The button on the one-click literally says, "Select a Heimdall tar.gz for one-click" - So I'm lost there.
I'm reading that the front-end GUI is what would be used to create a tar.gz, but it seems to require downloading the PIT file from your phone, and this is failing now, possible due to me having installed Kies and now having different kernel extensions that apparently need to be unloaded (no idea how to do that lol).
This is so complicated! Makes me want to go buy a cheap netbook lol
re: gz
caffeineighted said:
So I've got it all running, however, the one-click asks for a "tar.gz file" and I don't have one. I'm reading that the Heimdall front-end creates a tar.gz file, but since browsing to the .zip I originally downloaded leads to an error, I'm not sure how this is done.
Click to expand...
Click to collapse
Why not browse to the TAR file, you can also add the .gz to the filename.tar and see if it helps.
Misterjunky said:
Why not browse to the TAR file, you can also add the .gz to the filename.tar and see if it helps.
Click to expand...
Click to collapse
I've tried that too, and it just says, "error Could not write to temp folder" and then "Could not write to file"
Hi guys, I would like to extract boot.img from a Stock ROM without the need of installing it on my (Galaxy Note 2 T-mobile). All I found on the internet is how to extract it from an installed ROM.
So I would like to:
1. Extract the boot.img
2. Then flash it through ODIN to my custom ROM (Jedi Master 14)
Thanks in advance and please help me :crying:
Why would you do that?
Hastily spouted for your befuddlement
I don't know how you going to use boot.img to fix your problem. But the .md5 rom files are just zipped files. unzip and you will find the boot.img file. Are you sure that this will fix your problem?
Are you trying to change your boot image?
Use a tar archive program (7-Zip, Winzip, Winrar, PKZip, this format is pretty universal) to extract what you need from the official Samsung ROM images. (Check out sammobile.com if you haven't already, you will need to register.)
You might get some error message about the end of the archive, that's normal and due to the presence of the MD5 hash at the end of the file, which most programs will be able to work around nonetheless.
Repack the relevant file with a *nix tar binary, or under Cygwin on a Windows machine. (YMMV, but those are the two only ways I've managed to have the files work with Odin.)
Reboot phone to download mode and flash with Odin as usual.
Done.
Thanks a lot. Thats exactly what I am looking for.
Sent from my SGH-T889 using xda app-developers app
Darkshado said:
Use a tar archive program (7-Zip, Winzip, Winrar, PKZip, this format is pretty universal) to extract what you need from the official Samsung ROM images. (Check out sammobile.com if you haven't already, you will need to register.)
You might get some error message about the end of the archive, that's normal and due to the presence of the MD5 hash at the end of the file, which most programs will be able to work around nonetheless.
Repack the relevant file with a *nix tar binary, or under Cygwin on a Windows machine. (YMMV, but those are the two only ways I've managed to have the files work with Odin.)
Reboot phone to download mode and flash with Odin as usual.
Done.
Click to expand...
Click to collapse
and how do we do?
i flash the file without pepacking it so i can t bot, kernel error!
I'm really annoyed if you can explained to me how do we do it
thx