[Q] Odin vs Heimdall - T-Mobile Samsung Galaxy S 4

I understand the differences between the two but aren't packages that work for Odin supposed to work for Heimdall also? I run Linux so Heimdall v1.4RC1 is pretty much my only option, but whenever I try to flash an Odin package Heimdall won't flash it because it keeps on saying that the package is missing firmware.xml.
For example, My phone is currently boot looping and I need to reflash TWRP but I can't because even the Odin flashable package that they link to here doesn't work, so I have to wait until my roommate comes home so I can use his windows laptop to use Odin.
Why does Heimdall require firmware.xml but Odin doesn't? Are their Heimdall specific packages?

re: heimdall
brando56894 said:
I understand the differences between the two but aren't packages that work for Odin supposed to work for Heimdall also? I run Linux so Heimdall is pretty much my only option, but whenever I try to flash an Odin package Heimdall won't flash it because it keeps on saying that the package is missing firmware.xml.
For example, My phone is currently boot looping and I need to reflash TWRP but I can't because even the Odin flashable package that they link to here doesn't work, so I have to wait until my roommate comes home so I can use his windows laptop to use Odin.
Why does Heimdall require firmware.xml but Odin doesn't? Are their Heimdall specific packages?
Click to expand...
Click to collapse
I have no idea why heimdall requires firmware.xml but are many Mac users here on XDA who would know more about it..
Personally I like Odin much better although I have flashed many roms using Heimdall over a year ago.
Good luck,

It turns out it's a requirement of the front-end for some reason, it works fine with the command line version.
I flashed a kernel with sudo heimdall flash --20 boot.img and it worked just fine.

re: one click heimdall
brando56894 said:
It turns out it's a requirement of the front-end for some reason, it works fine with the command line version.
I flashed a kernel with sudo heimdall flash --20 boot.img and it worked just fine.
Click to expand...
Click to collapse
Here is the One Click Heimdall , it's latest version. Be sure you update your JAVA installation.
This 1 click heimdall looks so easy, it looks like the only option it has is to locate a TAR file
It opens/loads just fine without any errors..
Here is the download link: https://code.google.com/p/heimdall-one-click/downloads/detail?name=One-Click-Packager2.jar&can=2&q=
Good luck with it.

Related

[Q] Flashing recovery without Odin - Mac OSX

Hi, I'm working on rooting and setting up my Epic Touch, and I want to put Clockworkmod Recovery on it, but I don't have Odin because I have a Mac. Is there any way I can do this? Thanks a lot!
Its possible. You only need adb (and java) working to root and flash a custom recovery... I dont have the commands available right now but if you pick apart some of the existing threads, im sure you could figure it out... ;-)
[PROGRAM] Heimdall - Open-Source Cross-Platform Flashing Suite
Use Heimdall. It's an open source tool that works just like Odin. Check the development forum how-tos to learn more about it.
srkmagnus said:
Use Heimdall. It's an open source tool that works just like Odin. Check the development forum how-tos to learn more about it.
Click to expand...
Click to collapse
Okay, well I've downloaded Heimdall, only problem is I can't find a recovery image to flash using it - any suggestions where do get one?

[Q] Any Heimdall Firmware Packages for the SGH-T989?

I want to use Heimdall, (links 1,2), with my SGH-T989, NOT Odin. I just need to find the appropriate Heimdall Firmware Package to use with this phone, since I don't think I can roll my own. There's a great thread here that provides Heimdall Firmware Packages for stock GT-I9000 firmware, but I've not been able to find anything similar for the SGH-T989. BTW, I don't care if it's a stock, or custom firmware package, just something so I can get my feet wet using Heimdall with my phone.
Thanks..
extract the tar. load into appropriate slots in heimdall
Sent from my SGH-T989 using xda premium
I appreciate the response, however I tried to look into this, and I'm unsure of how to proceed. (Excuse any inaccurate terminology here..)
To be clear, what I would like to do, is use Heimdall to root my SGH-T989 and install CWM on it, just like the Odin method everyone is currently using. I assume that this means flashing, not an entire ROM, but a small amount of code, to the appropriate place on the T989. (Would it be correct to say that you're flashing a CWM "boot loader" to the phone?) I know that after using the Odin method, you have a phone with the exact same software on it as before, however you have root access to the OS, and you can boot into CWM recovery for flashing ROMs, or Themes, etc. So I know it's not a lot of code that initially gets flashed to the phone in order to accomplish this. (Would it be accurate to say you're only flashing a boot loader and an unrooted kernel?).
For example, the galaxys2root.com website has a howto for using Heimdall to root, the AT&T Galaxy S II (SGH-i777). The webpage howto includes the steps for installing Heimdall, and a Heimdall Firmware package, archived together in the GalaxyS2ATTRootZedomaxMacLinux.zip file downloadable from the webpage. I don't know if the zImage file included in the GalaxyS2ATTRootZedomaxMacLinux.zip archive, is the same Heimdall Firmware package I could use to root the SGH-T989. I've examined the file with a hex editor, but can't tell what's in it. Also, since it's possible to brick a phone by flashing the wrong thing to it, I've instead tried to ask if anyone already has an appropriate Heimdall Firmware package for accomplishing this.
If it's easy to create such a Firmware package using Heimdall, (I have it running on my Linux laptop right now), and the appropriate files, any help identifying the files and steps necessary to create the firmware package, would be very appreciated. Otherwise, if anyone knows of an appropriate Heimdall Firmware package for rooting the SGH-T989, please feel free to post the information.
Thanks again..
In case anyone searching for Heimdall SGH-T989 support, finds my posts. While it would be great to have Heimdall Firmware Packages available for the SGH-T989, it's not likely to happen until Heimdall can communicate correctly with the phone first. Hopefully it's something that will be added to a post 1.3.1 version.
Thanks..

How Can I get CWM Back on My Phone without AutoRoot Tool?

I am currently on the FD05 Kernel in which I don't have CWM on in order to flash any zips. I am wanting to switch themes on the Anakonda ROM. I understand I can get the FD02 Kernel w/ CWM through the autoroot.exe program but I'm currently at work and can't use that on my work PC. Is there any other way for me maybe to use Mobile ODIN or something to get CWM back on my phone? Even If i have to switch Kernels, thats ok. any help would be awesome
Yes, flash a repacked ICS kernel tar with recovery through mobile odin.
http://rootzwiki.com/topic/22428-kernelrecoveryicsrogue-stock-fd02-new-4712/
barnacles10 said:
Yes, flash a repacked ICS kernel tar with recovery through mobile odin.
Click to expand...
Click to collapse
SWEET...Thanks Man
powerstroke said:
SWEET...Thanks Man
Click to expand...
Click to collapse
Just make sure not to wipe anything through that recovery, as I'm sure you're aware of.
Also you can just download the autoroot zip package onto your phone and use Mobile ODIN to flash the zImages in the copy2sd-img/000root directory. In this manner auto root is just serving as an archive of a bunch of kernels in one place.
sfhub said:
Also you can just download the autoroot zip package onto your phone and use Mobile ODIN to flash the zImages in the copy2sd-img/000root directory. In this manner auto root is just serving as an archive of a bunch of kernels in one place.
Click to expand...
Click to collapse
Excellent gem!!

[RECOVERY] ClockworkMod 6.0.3.1 for Samsung Galaxy S2 (T-Mobile) SGH-T989

IMG Version:
Non-Touch: http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.3.1-hercules.img
Touch: http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.3.1-hercules.img
Click to expand...
Click to collapse
Zip Version:
Non-Touch: http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.3.1-hercules.zip
Touch: http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.3.1-hercules.zip
Click to expand...
Click to collapse
TAR MD5 Version: (Thanks for KRZ-2pa)
None-Touch: http://d-h.st/s3d
Touch: http://d-h.st/Xnq
Click to expand...
Click to collapse
Another way, if you have installed ROM and want to update CWM can use this tool:
- Google play app: https://play.google.com/store/apps/details?id=com.unstableapps.cwmrtouchinstaller
- Download older version: http://d-h.st/esM or http://d-h.st/M1y
Click to expand...
Click to collapse
*Required: SuperUser (ROOT access)
1. Download recovery version from here (img type): http://clockworkmod.com/rommanager/ and save to your sdcard or any folder easy to browse.
2. Install CWMR Touch Installer
3. Open app you will see FLash from other.... Choose that option and browse to your recovery.img file.
4. When flash finish. You can use reboot to recovery option on menu and see result
nguyenduytan said:
IMG Version:
Zip Version:
Anyone can help me convert it to tar md5 version for ODIN flash. I'm very thank you!
Click to expand...
Click to collapse
instructions are here: http://forum.xda-developers.com/showpost.php?p=39037837 for making flashable tar
Thanks for reply. But i not use linux or MacOS system so i need help about that
Anybody use linux plz help me convert it.
P/S: My phone now wait for root. So i can't use anything
Thanks!
here it is.
recovery-clockwork-6.0.3.1-hercules.tar.md5 - 6.88 MB
recovery-clockwork-touch-6.0.3.1-hercules.tar.md5 - 6.88 MB
OKay. Thank you! I will be copy your post to 1st topic.
You just flash the zip through CWM recovery like normal? I don't own this phone, I'm trying to upgrade my father in law's phone. I'm just trying to figure this all out before messing with his phone. I do NOT want to use Odin because I don't trust third party flashing utilities (have had bad luck in the past, particularly with Odin).
how do you go about doing it manually? I understand that the SGS2 doesn't have fastboot so something like
Code:
dd if=/sdcard/recovery-clockwork-touch-6.0.3.1-hercules.img of=/dev/block/mmcblk0p22
???
N00b-un-2 said:
You just flash the zip through CWM recovery like normal? I don't own this phone, I'm trying to upgrade my father in law's phone. I'm just trying to figure this all out before messing with his phone. I do NOT want to use Odin because I don't trust third party flashing utilities (have had bad luck in the past, particularly with Odin).
how do you go about doing it manually? I understand that the SGS2 doesn't have fastboot so something like
Code:
dd if=/sdcard/recovery-clockwork-touch-6.0.3.1-hercules.img of=/dev/block/mmcblk0p22
???
Click to expand...
Click to collapse
Odin is from samsung
Sent from my SGH-T989 using xda premium
If your want root rom. You need odin. My topic have 4 way to update cwm recovery. And you have best choice for you.
I tried update by using older cwm to flash new cwm zip. So after next reboot cwm still old version. I try way 4 and i done.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Rushing said:
Odin is from samsung
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I am aware. I had to download it from the official Samsung site when i flashed my father in laws phone the first time. But i am a mac/linux user. Odin is not a good solution because it complicates a process that should be really straightforward, eg
Code:
sudo fastboot flash recovery recovery.img
By third party software i mean not part of the android sdk. Odin is proprietary closed source and only works on Windows with a select few samsung phones, whereas fastboot is intended to be universally accessible.
But back to my initial question, do you just flash the. Zip in recovery like normal?
N00b-un-2 said:
I am aware. I had to download it from the official Samsung site when i flashed my father in laws phone the first time. But i am a mac/linux user. Odin is not a good solution because it complicates a process that should be really straightforward, eg
Code:
sudo fastboot flash recovery recovery.img
By third party software i mean not part of the android sdk. Odin is proprietary closed source and only works on Windows with a select few samsung phones, whereas fastboot is intended to be universally accessible.
But back to my initial question, do you just flash the. Zip in recovery like normal?
Click to expand...
Click to collapse
Really?
Download the latest .img file from here
Download the above file.
Using adb shell or terminal emulator:
su
dd if=/sdcard/openrecovery-twrp-hercules-[xxx].img of=/dev/block/mmcblk0p22
#! please note the [xxx] should be which ever # twrp .img you choose to use
Make certain that you get this command right. Typing the wrong number could result in a brick!
I just made a zip for myself lol
Sorry bout that bad rom wow just posted wrong rom is all... its not like horseshoes haha
Rushing said:
Really?
Download the latest .img file from here
Download the above file.
Using adb shell or terminal emulator:
su
dd if=/sdcard/openrecovery-twrp-hercules-[xxx].img of=/dev/block/mmcblk0p22
#! please note the [xxx] should be which ever # twrp .img you choose to use
Make certain that you get this command right. Typing the wrong number could result in a brick!
I just made a zip for myself and also TWRP2.5 is included in my newest build JELLYBEAST3.69 so dl it and you will have the best possible combo, peace.
Click to expand...
Click to collapse
he speaks the truth!!! if you want 4.1.2 official jellybeast is what your looking for more stable than stock4.1.2 imo
how to switch back to cwm from twrp?
edwarddlr said:
how to switch back to cwm from twrp?
Click to expand...
Click to collapse
Just install a flashable zip file version of CWM through TWRP and vise versa.
KRZ-2pa said:
Just install a flashable zip file version of CWM through TWRP and vise versa.
Click to expand...
Click to collapse
I did that. but it always failed.
im using twrp 2.5.0.0
edwarddlr said:
I did that. but it always failed.
im using twrp 2.5.0.0
Click to expand...
Click to collapse
It is harder to help you when you post the same question to different threads. I only gave you the link to this thread so you could download the Odin flashable CWM tar file from the OP IF you are not able to install CWM using ROM manager. Have you tried ROM manager already?
meekrawb said:
It is harder to help you when you post the same question to different threads. I only gave you the link to this thread so you could download the Odin flashable CWM tar file from the OP IF you are not able to install CWM using ROM manager. Have you tried ROM manager already?
Click to expand...
Click to collapse
can anyone PLEASE post a cwm 6.0.3.1 for hercules sgh-T989 in .tar format
not .tar.md5 or .zip JUST a .tar to be flashed thru Odin
thanx:cyclops:
sam.balia1012 said:
can anyone PLEASE post a cwm 6.0.3.1 for hercules sgh-T989 in .tar format
not .tar.md5 or .zip JUST a .tar to be flashed thru Odin
thanx:cyclops:
Click to expand...
Click to collapse
Have you tried installing the .tard.md5 posted in the OP, it should work through Odin.
Edit: I've tested the files and Odin crashes.
Has anyone had luck installing the .tar.md5 files, there's a bunch of downloads but no feedback.
KRZ-2pa said:
Have you tried installing the .tard.md5 posted in the OP, it should work through Odin.
Edit: I've tested the files and Odin crashes.
Has anyone had luck installing the .tar.md5 files, there's a bunch of downloads but no feedback.
Click to expand...
Click to collapse
.tar.md5 file posted has crashed odin every time. (tried & verified)
CWM 6.0.3.1 Touch Odin Flashable
I made and tested this one and it worked. I think the problem is that you have to rename the img file to recovery.img before making the tar file. Let me know if it works for you.
meekrawb said:
I made and tested this one and it worked. I think the problem is that you have to rename the img file to recovery.img before making the tar file. Let me know if it works for you.
Click to expand...
Click to collapse
how did u make the .tar file out of the .tar.md5 file ?

Heimdall doesn't work with SM-T320 (8.4")?

Hi, I'm trying to use Heimdall to flash a custom recovery to the tablet, so that I can install CM11. The tablet is unrooted stock with all latest updates.
I'm using the latest Heimdall built from source (cloned from https://github.com/Benjamin-Dobell/Heimdall.git) on Ubuntu 14.04. (I first tried the Heimdall from the Ubuntu packages, with identical results.)
Whether I try to flash --RECOVERY, or simply print-pit, the error is the same:
Downloading device's PIT file...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
Re-attaching kernel driver...
Anyone know what this means and if it's possible to get it to work?!
(I should mention that Windows is not an option, I don't have it and don't know a single person in real life who does )
Also: is there a temproot method that can be used to install recovery without Heimdall?
Nathan2 said:
Hi, I'm trying to use Heimdall to flash a custom recovery to the tablet, so that I can install CM11. The tablet is unrooted stock with all latest updates.
I'm using the latest Heimdall built from source (cloned from https://github.com/Benjamin-Dobell/Heimdall.git) on Ubuntu 14.04. (I first tried the Heimdall from the Ubuntu packages, with identical results.)
Whether I try to flash --RECOVERY, or simply print-pit, the error is the same:
Downloading device's PIT file...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
Re-attaching kernel driver...
Anyone know what this means and if it's possible to get it to work?!
(I should mention that Windows is not an option, I don't have it and don't know a single person in real life who does )
Also: is there a temproot method that can be used to install recovery without Heimdall?
Click to expand...
Click to collapse
You need to be rooted to install a custom recovery. After that to flash a recovery, look up flashify and it will auto install cm recovery, twrp or philz (you get to choose), and it will flash it for you.
https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en
A little late, but just in case anyone is having the same problem, it seems that Heimdall is known not to work on this device. There's an open issue in the Heimdall github tracker discussing this:
https://github.com/Benjamin-Dobell/Heimdall/issues/209#issuecomment-59784895
Unfortunately it doesn't seem very active and so I don't know if it will be fixed. The good news is that Windows+Odin worked from inside a VM, as suggested there. So at least you don't have to dual boot the damn thing
bigmike35 said:
You need to be rooted to install a custom recovery. After that to flash a recovery, look up flashify and it will auto install cm recovery, twrp or philz (you get to choose), and it will flash it for you.
https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en
Click to expand...
Click to collapse
Awesome, thanks. I didn't actually know how to temproot the stock ROM, which is why I didn't go this route first. At least now I can update the recovery from within CM11 without going back to Odin, so that's quite helpful as well.
Nathan2 said:
A little late, but just in case anyone is having the same problem, it seems that Heimdall is known not to work on this device. There's an open issue in the Heimdall github tracker discussing this:
Click to expand...
Click to collapse
Heimdall doesn't work with picassowifi (10.1) either (although cyanogenmod instructions clearly say it works).
Oddly enough, the only ODIN that worked was the latest one (3.09 IIRC), no previous versions worked.
I have the exact same issue. Does anyone know a way to make this work?
hajkan said:
I have the exact same issue. Does anyone know a way to make this work?
Click to expand...
Click to collapse
Seems like the only option is to use odin on windows at the moment. Even manually loading a pit backup won't work for me.
Quick update:
I was able to find odin and hop on a windows box and perform a flash right away. for those struggling to find the correct files for odin you can locate them with the following hashes
e79370eb92859b063ae6bec5b85729d8 SAMSUNG_USB_Driver_for_Mobile_Phones.exe
9f2080faa9e4a4e9d1858e120d0af6d9 Odin3_v3.09.rar

Categories

Resources