Convert Heimdall to Odin - Captivate Q&A, Help & Troubleshooting

IS there a way to convert a Heimdall package to ODIN package?

Anyone please. I haven't found anything on Google

If you have 7zip, I believe so.
Try this - take a Heimdall one-click and unzip it to a directory. 7zip should be able to unzip the .jar file.
Once it's unzipped, go to /com/AdamOutler/HeimdallOneClick/resources/ROMPackage. You'll see a HeimdallPackage.tar.gz file. Unzip that to a directory.
Then, open that directory and unzip the HeimdallPackage.tar file to a directory.
Once you've done that, you should have a directory with the files you're looking for. In my case, I have a .pit file, a dbata.rfs file, a factoryfs.rfs file, a cache.rfs file, and a zImage file.
I think Odin will be able to handle those.

Can we do Odin to Heimdall?

jmtheiss said:
If you have 7zip, I believe so.
Try this - take a Heimdall one-click and unzip it to a directory. 7zip should be able to unzip the .jar file.
Once it's unzipped, go to /com/AdamOutler/HeimdallOneClick/resources/ROMPackage. You'll see a HeimdallPackage.tar.gz file. Unzip that to a directory.
Then, open that directory and unzip the HeimdallPackage.tar file to a directory.
Once you've done that, you should have a directory with the files you're looking for. In my case, I have a .pit file, a dbata.rfs file, a factoryfs.rfs file, a cache.rfs file, and a zImage file.
I think Odin will be able to handle those.
Click to expand...
Click to collapse
I unzipped the Apex 12.4 Heimdall package using WinRAR, and only thing I see in there that screams ROM at me is a apex.system.ext4 with a size of around 280MB. The other stuff are kernels, and boot stuff.

To make an Odin flashable file, you will need a Linux machine or Cygwin for Windows machines. Do a Google search for "How to make an Odin flashable rom" by Darkyy

mrhaley30705 said:
To make an Odin flashable file, you will need a Linux machine or Cygwin for Windows machines. Do a Google search for "How to make an Odin flashable rom" by Darkyy
Click to expand...
Click to collapse
You need Cygwin to pull the files from phone not to make the ODIN .tar. Try to open that .ext4 file with 7 zip see if you can see other files in it. But That Apex file is off so you're going to have to do it with Cygwin or a linux OS (VM or similar would work) OR you can get Heimdall to work lol. Seems alot easier to get Heimdall to work than go through the trouble, Unless its for learning purpose.

prbassplayer said:
You need Cygwin to pull the files from phone not to make the ODIN .tar. Try to open that .ext4 file with 7 zip see if you can see other files in it. But That Apex file is off so you're going to have to do it with Cygwin or a linux OS (VM or similar would work) OR you can get Heimdall to work lol. Seems alot easier to get Heimdall to work than go through the trouble, Unless its for learning purpose.
Click to expand...
Click to collapse
Don't know about using cygwin to pull files from phone. I always use adb. Then i use cygwin to make my tar.md5 file.
It is much easier to make a flash package for Heimdall than Odin, in my opinion.
Did you find that thread by darkyy?

mrhaley30705 said:
Don't know about using cygwin to pull files from phone. I always use adb. Then i use cygwin to make my tar.md5 file.
It is much easier to make a flash package for Heimdall than Odin, in my opinion.
Did you find that thread by darkyy?
Click to expand...
Click to collapse
Now you are right. But I've been able to create .tar with a zipping program. I would need my pc to tell you exactly the method. But yes I learned with darkky' post.
Sent from my ICS powered Captivate using Tapatalk

prbassplayer said:
You need Cygwin to pull the files from phone not to make the ODIN .tar. Try to open that .ext4 file with 7 zip see if you can see other files in it. But That Apex file is off so you're going to have to do it with Cygwin or a linux OS (VM or similar would work) OR you can get Heimdall to work lol. Seems alot easier to get Heimdall to work than go through the trouble, Unless its for learning purpose.
Click to expand...
Click to collapse
Using 7zip to unzip the .ext4 file, I see the following:
assets folder
META-INF folder
res folder
AndroidManifest.xml
resources.arsc
Looks like I'll have to Heimdall...

Related

[Q] how do i create a clockwork flashable zip?

recently i tried to replace the kernel that came with a version of Phoenix with an updated kernel before flashing, but it did not work out. I simply extracted the original, replaced the zimage, and created a new zip file with the new kernel in the rom, using windows to package the zip. is this what i should do, or is it more complex than this? the flash failed.
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
newter55 said:
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
Click to expand...
Click to collapse
thanks! that makes sense. can i just do what you said using windows explorer?
7zip is free and handles many more file extension types.
Install it then right click on the file in windows explorer, select 7 zip, then open archive. This allows you to make changes without actually extracting the entire file.
newter55 said:
7zip is free and handles many more file extension types.
Click to expand...
Click to collapse
yes i know, but when just dealing with a zip file, can i use windows explorer to delete contents inside the zip and replace them?
You are too quick....edited my post above
newter55 said:
You are too quick....edited my post above
Click to expand...
Click to collapse
so when i double click on a zip file in windows explorer, and it opens it as if it were just another folder, can i not replace stuff directly in windows explorer where im at?
That extracts everything and you may have issues after zipping it back up
newter55 said:
That extracts everything and you may have issues after zipping it back up
Click to expand...
Click to collapse
in windows explorer, you can right click and select extract files, but when you double click the zip it appears that it is allowing you to edit the contents without completely unzipping. am i wrong in thinking this?
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
newter55 said:
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
Click to expand...
Click to collapse
alright, thanks bud =D
I am using winzip. When I right click the zip file it gives me the option to "open" with winzip. When I do it shows me files like windows does. So my question is can I use winzip to replace the file and then close it?
winzip works as well

Why do i get a tar file instead of a img file

Why do i get a .tar file instead of a .img file when unzipping tar.gz files
I've tried winraw and bitzipper run as admin or not
The files I'm trying to unzip are these
http://forum.xda-developers.com/showthread.php?t=922870
I've been browsing these forums all day trying to find someone thats had the same problem, guess I'm out of my league here
Thanks in advance
*.tar.gz files are. Zipped (the .gz) and Tar'd so it's a 2 step process.
Basically TAR is a grouping of the files and GZ is the compression.
Check out 7-zip:
http://www.7-zip.org/
Un-Gzip the file you have a *.tar file. Un-Tar the file and you have all the files.
YES! Thanks
I had tried to winrar and bitzipper them twice but the file was useless
But with 7-zip Ive got a img. file, seems like all the instructions I've been following said uncompress but I guess the assume that you know to do both
Now I can get on with my next nightmare getting this NC back to stock
Thank you

[Q] How to get files from system.img.ext4 file of i9001?

I download the rom of i9001 and I want o modify the rom(make a zip file and install it from recovery). Iside the tar.md5 file, there is a system.img.ext4 file. Based on my expeience, this is the file where the system file located.
So anyone know how to open/extract the system.img.ext4 file and get its content?
ext2explore
http://sourceforge.net/projects/ext2read/files/Ext2Read%20version%202.1/ext2explore-2.1.65.zip/download
Thanks, I will try it.
ok, I will answer this question myself. With ext2explorer, you can open the .img.ext4 file, but it's not convenient to extract those files.
Later I mount the .img.ext4 file in Linux and then get all the files easily.
quest221 said:
ok, I will answer this question myself. With ext2explorer, you can open the .img.ext4 file, but it's not convenient to extract those files.
Later I mount the .img.ext4 file in Linux and then get all the files easily.
Click to expand...
Click to collapse
please show me how to unpack system.img.ext4 with ubuntu linux
may i have your yahoo messenger
tks u verry much:good:
my yahoo phuccnc9
Download DiskInternals Linux Reader, I always use it
its kinda too late but here's what they need for future references;
http://forum.xda-developers.com/showthread.php?t=2268538
Not able to download. Any alternate location

Help Using Odin To Upgrade Stock Firmware

I would like to upgrade my stock firmware to KL4 using Odin and am unsure if I need a Pit file or will the tar file be all that I need. Also, do I need to select "Re-Partition" in Odin?
Thanks for any help
you dont need the pit file, you just need the tar file or the files containe within the tar file
Richy99 said:
you dont need the pit file, you just need the tar file or the files containe within the tar file
Click to expand...
Click to collapse
Thanks for your reply. Do I need to select re-partition?
Gaugerer said:
I would like to upgrade my stock firmware to KL4 using Odin and am unsure if I need a Pit file or will the tar file be all that I need. Also, do I need to select "Re-Partition" in Odin?
Thanks for any help
Click to expand...
Click to collapse
If you have 3 files after extracting (CODE,MODEM,CSC) then attach these three files as PDA=CODE , PHONE=MODEM, CSC=CSC, if you have one file the attach it in PDA,
Then UnCheck Re-partition,
no need to select Pit file,
Put your phone in download mode,
Attach phone to PC
Once your PC detects your Phone Click Start
After Flashing Device restarts twice. Done..
ranjan.alva said:
If you have 3 files after extracting (CODE,MODEM,CSC) then attach these three files as PDA=CODE , PHONE=MODEM, CSC=CSC, if you have one file the attach it in PDA,
Then UnCheck Re-partition,
no need to select Pit file,
Put your phone in download mode,
Attach phone to PC
Once your PC detects your Phone Click Start
After Flashing Device restarts twice. Done..
Click to expand...
Click to collapse
Thanks very much for your very helpful reply.
Remember using PC Odin to update, you are closing way to Root your device, If you want to Root it, just Root before it. See installation guide on my signature for further detail
dr.ketan said:
Remember using PC Odin to update, you are closing way to Root your device, If you want to Root it, just Root before it. See installation guide on my signature for further detail
Click to expand...
Click to collapse
Thanks for your advice and the guides which are very helpful. I've downloaded the German stock ROM (LA4) from your list but I've been unable to extract the tar file using Winzip, so I'm stuck at the moment. Any further help from anyone how to extract the files would be appreciated.
Gaugerer said:
Thanks for your advice and the guides which are very helpful. I've downloaded the German stock ROM (LA4) from your list but I've been unable to extract the tar file using Winzip, so I'm stuck at the moment. Any further help from anyone how to extract the files would be appreciated.
Click to expand...
Click to collapse
Dont use winzip to extract . Use 7z Extractor. its free.
Link to 7z
http://www.7-zip.org/download.html
ranjan.alva said:
Dont use winzip to extract . Use 7z Extractor. its free.
Link to 7z
http://www.7-zip.org/download.html
Click to expand...
Click to collapse
Thanks once again for your help. I didn't know that Winzip did not work and that I needed 7z which I have downloaded and extracted the tar file.
I had a problem with Odin. Could not get it to flash la4 no matter what I tried.
So I bought mobile odin , put the relevant file on my phone and I was upgraded in under ten min Awesome app, sometimes its worth payin some money to get the job done
Sent from my GT-N7000 using XDA App

magisk manager gives me a file named magisk_patched.img, but I need a tar file instea

I need a tar file because ODIN doesn't accept img files. Magisk used to be able to give a tar file, what happened?
As long as I'm unable to figure out how to make this work, rooting my device will be impossible. I don't want to give up now, not after getting through so many headaches...
Did you feed it a tar file? If you do it should give a tar file as output.
Didgeridoohan said:
Did you feed it a tar file? If you do it should give a tar file as output.
Click to expand...
Click to collapse
That's the problem, I only have a .img file, and have no idea how to turn it into a .tar file, or how to get one from my firmware. There are plenty of guides around on how to convert .img into .tar, but I don't know whether they work for this purpose. I would appreciate some guidance here.

Categories

Resources