[Q] Anyone used Heimdall on SGSIII yet? - Galaxy S III Q&A, Help & Troubleshooting

I'm keen to get my SGSIII rooted, but don't have access to a Windows machine, so I am waiting on news of success stories with Heimdall and the SGSIII.
Has anyone tried the current version yet? http://forum.xda-developers.com/showpost.php?p=26950875&postcount=3 gives some promise for the future.

Recovery:
heimdall flash --recovery recovery.img
Boot image:
heimdall flash --5 boot.img

Related

Galaxy S II I9100 fastboot mode?

Hi
I just got my new Samsung Galaxy S II, I read, that the bootloader is unlocked; but I cannot seem to get the phone into fastboot mode.
I can get it to the recovery, or "odin" mode; but I cannot seem to get info fastboot/bootloader mode (an `adb reboot bootloader` just does a normal reboot).
Actually I want to load CWM recovery, to be able to make a backup of my current firmware (nandroid or dd of the nand partition's), the recovery on the phone has neither nandroid, nor adb support.
And a second question:
what protocol does this Odin program use? I do not use Windows; but it does look like odin runs under wine, tough the usb communication is properly not so good through wine. Would be nice if I could do this directly from Linux.
follow instructions in this thread to root including cwm
http://forum.xda-developers.com/showthread.php?t=1103399..
odin is written for windows pc, you would need to find a windows emulator that can handle the job or search for an odin version that is compatible with linux.
the author may have created one.
You should use Heimdall for flashing under linux, (http://forum.xda-developers.com/showthread.php?t=1104826&highlight=heimdall) then find a CF-Root kernel which matches your firmware and flash that. It will include CWM. These phones don't come with fastboot.
Hope that helps

Flashing with heimdall

Hey guys, i used to flash with odin, but those times are now gone. moved to linux for real, so i installed heimdall (and heimdall-frontend).
Honestly it seems that command line is easier to understand. My question is: how do i flash only the bootloader?
I need to use the jig, so i need the old bootloader. i already have the TAR.
to execute a normal rom installation, it seems these are the commands:
heimdall flash --factoryfs factoryfs.rfs --cache cache.rfs --param param.lfs --kernel zImage --modem modem.bin --pit s1_odin_20100512.pit
Click to expand...
Click to collapse
But how about flashing just the bootloader?
Also, i didn't install any samsung drivers...is that possible on ubuntu?
This is linuxmint, but anyway, is ubuntu based. thanks
Well, nevermind guys... i'm going to flash it on a friend's computer. However i would like to learn some more about heimdall. the videos i see on youtube, and on google, are from an early version. as the interface changed, i'm kinda lost now.
appreciate any tips. ty
If you just type "heimdall" in Terminal, then there will be a list of possible arguments you can use.
As far as i know you just have to type:
sudo heimdall flash --primary-boot "boot.bin" --secondary-boot "Sbl.bin"
Click to expand...
Click to collapse
I never flashed only a bootloader, so i don't know if there will be any compatibility problems. But command should work.

Heimdall problem

I can't flash a recovery image through heimdall every time i try to it either says "heimdall crashed!" or "handshaking with loke...failed"

[Q] Flashing CWM recovery with heimdall fails

I'm trying to flash a recovery with heimdall, and when I do it, it says it's successful, reboots. So when it boots normally, I restart the unit with
Code:
adb reboot recovery
or by holding down the up volume button, however it still boots into the stock recovery.
I thought for a second the flash was happening to the wrong memory address/parition, so I downloaded the pit file and reapplied the recovery flash with the pit file.
Can anyone suggest what I might be doing wrong?
Code:
1819 sudo heimdall flash --recovery recovery-cwmtouch-6.0.2.7-GTI9300.tar
1821 sudo heimdall flash --recovery recovery.img
1824 sudo heimdall download-pit --output YP70-michael.pit
1826 sudo heimdall flash --recovery recovery.img --pit YP70-michael.pit
Promethyl said:
I'm trying to flash a recovery with heimdall, and when I do it, it says it's successful, reboots. So when it boots normally, I restart the unit with
Code:
adb reboot recovery
or by holding down the up volume button, however it still boots into the stock recovery.
I thought for a second the flash was happening to the wrong memory address/parition, so I downloaded the pit file and reapplied the recovery flash with the pit file.
Can anyone suggest what I might be doing wrong?
Code:
1819 sudo heimdall flash --recovery recovery-cwmtouch-6.0.2.7-GTI9300.tar
1821 sudo heimdall flash --recovery recovery.img
1824 sudo heimdall download-pit --output YP70-michael.pit
1826 sudo heimdall flash --recovery recovery.img --pit YP70-michael.pit
Click to expand...
Click to collapse
I suggest just flashing a kernel that has CWM for your device using Odin. This should solve your problem.
Can you suggest one? I'm having a hard time figuring out which are compatible with Odin/Heimdall.
joshm95 said:
I suggest just flashing a kernel that has CWM for your device using Odin. This should solve your problem.
Click to expand...
Click to collapse
Promethyl said:
Can you suggest one? I'm having a hard time figuring out which are compatible with Odin/Heimdall.
Click to expand...
Click to collapse
I've heard that Steve's Kernel is CWM-compatable, but I can't confirm or deny this

Can't boot into recovery after flashing the recovery image

Hi!
I have a problem with a I9100. I follow the instructions on CyanogenMod wiki for flashing the recovery, but something went wrong.
I used heimdall 1.4.0 in GNU/Linux and execute
Code:
sudo heimdall flash --kernel zImage --no-reboot
All worked well and the blue progress bar appears on the screen. When it finished, I tried to enter recovery using the VolUp+Home+PowerUp buttons combination, the Samsung Galaxy S2 logo appears on the screen but it is stuck on this screen.
I tried to re-download the zImage file (using another link, different from the CM wiki one, but the same happened.
Is there an easy way to reboot into recovery from Heimdall, like with fastboot on other devices?
Is possible to install a recovery in another way?
Best regards and thanks in advance
Lk2 said:
Hi!
I have a problem with a I9100. I follow the instructions on CyanogenMod wiki for flashing the recovery, but something went wrong.
I used heimdall 1.4.0 in GNU/Linux and execute
Code:
sudo heimdall flash --kernel zImage --no-reboot
All worked well and the blue progress bar appears on the screen. When it finished, I tried to enter recovery using the VolUp+Home+PowerUp buttons combination, the Samsung Galaxy S2 logo appears on the screen but it is stuck on this screen.
I tried to re-download the zImage file (using another link, different from the CM wiki one, but the same happened.
Is there an easy way to reboot into recovery from Heimdall, like with fastboot on other devices?
Is possible to install a recovery in another way?
Best regards and thanks in advance
Click to expand...
Click to collapse
try 'Odin flash' of a recovery file from a windows Pc and see
Thanks for your answer.
I tried to flash the TAR package with zImage inside from Odin, and same result.
I tried to flash a stock ROM with Odin, and it gives me a non-readable error (a lot of []).
I tried to decompress the stock ROM and flashing with heimdall:
Code:
sudo heimdall flash --primary-boot boot.bin --cache cache.img --factoryfs factoryfs.img --hidden hidden.img --modem modem.bin --param param.lfs --secondary-boot Sbl.bin --kernel zImage --no-reboot
And it fails (primary-boot not recognized):
Beginning session...
Session begun.
Downloading device's PIT file...
PIT file download successful.
ERROR: Partition name for "primary-boot" could not be located
Ending session...
Releasing device interface...
Re-attaching kernel driver...
Click to expand...
Click to collapse
Any idea?
Type this in android terminal emulator:
Su
Reboot recovery
Send from my SGS2 I9100 with HassanROM and latest DorimanX 8.xx kernel
I can't do "reboot recovery" from Android Terminal because I have another issue (read bellow)
Something went wrong with Heimdall. After all, using Odin I was able to boot into recovery mode and flash the ROMs, but when I tried to reboot in "normal mode" I got a "kernel panic upload mode rst_stat=0x200000000" screen.
I did a little research and it appears to be mandatory to flash a stock ROM and begin again with all the process.
I tried it, with the latest stock ROM for my country and company, but Odin return an extrange error when I press in "Start" button. The popup Windows puts the filename and a lot of "squares" (character with a different encoding, like chinese).
EDITED: I was able to flash the stock ROM, but the phone still doesn't boot. The yellow triangle disappeared but it cannot but
What can I try next?

Categories

Resources