[Heimdall][Odin][Stock][Root]UCKH7/KK6 Return/Unbrick to Stock (or Root)

thundertroy

Senior Member
Oct 16, 2010
171
4
48
Orangevale
Sorry, I'm a little confused.
If I want to root my SII from AT&T, I put the pda.tar in pda section, and I put the .pit in the PIT section, what do I do with the MODEM.tar? Does that go in the PHONE area?
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
Sorry, I'm a little confused.
If I want to root my SII from AT&T, I put the pda.tar in pda section, and I put the .pit in the PIT section, what do I do with the MODEM.tar? Does that go in the PHONE area?
What .pit? I didn't include one, and there's a reason - don't flash PITs unless you absolutely have to.

Right now the only reason you'd ever have to flash a PIT is because you flashed a bad one.

And the modem is only for people who screwed up their modems by flashing an international one.
 

jetarpon

Senior Member
Aug 10, 2010
66
10
0
Alaska
Thanks Entropy. I went this route to root, since I just wanted root, but wasn't really looking for a custom ROM this time around.

I had a few scary minutes after the heimdall flash failed on my linux box at 46% of the factoryfs image. After that the interface setup kept failing. After staring at it for 10 minutes, I pulled the battery and on reboot got the yellow triangle. I moved over to a windows box, used ODIN, and was able to get everything up and running again, now with root.

I didn't realize that the modem wasn't necessary, so flashed that too.
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
Thanks Entropy. I went this route to root, since I just wanted root, but wasn't really looking for a custom ROM this time around.

I had a few scary minutes after the heimdall flash failed on my linux box at 46% of the factoryfs image. After that the interface setup kept failing. After staring at it for 10 minutes, I pulled the battery and on reboot got the yellow triangle. I moved over to a windows box, used ODIN, and was able to get everything up and running again, now with root.

I didn't realize that the modem wasn't necessary, so flashed that too.
Sounds like something got hosed up on your machine mid-flash... Could be loose cable that hosed up the USB stack until a reboot.

Oh, and if a Heimdall/Odin flash fails, you'll usually have to battery pull or long-power-press to reset it. Good news is that it's next to impossible to hardbrick a Samsung device as long as you don't have a flash fail while you're flashing bootloaders. Hopefully we'll never have to mess with bootloaders on this device.
 

nyamoV2

Senior Member
Mar 17, 2011
426
47
0
Des Moines
so after reading around, i'm a bit confused.... not used to using odin as a flash tool yet (new to samsung) can i use the kernal posted and flash with odin and have root without having to use superoneclick or the likes?
thanks in advance
 

mrRobinson

Senior Member
Dec 20, 2010
2,669
12,257
0
What do you get a out put when you enter

Code:
sudo apt-get install libusb
into terminal?
Its installed. but installed version in lucid is 1.0.0 and heimdall wants/depends on 1.0.8 or 1.0.6 (I forget). If i just grab that libusb from natty it fails as it depends on libc6-udeb that is newer than in lucid. I don't know if it is wise to use the natty versions of libc6-udeb and libusb with no other repercussions.

---------- Post added at 11:20 AM ---------- Previous post was at 11:18 AM ----------

If you want to, you can flash this system and codeworkx's zImage in one go - then you'll get CWM and root without needing to do the SuperOneClick steps.
This is what i did. powerup + power isn't getting me into recovery. is there some other way?
and when it boots the initial splash screen says samsung galaxy s2 i9100. did it always say that?
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
Its installed. but installed version in lucid is 1.0.0 and heimdall wants/depends on 1.0.8 or 1.0.6 (I forget). If i just grab that libusb from natty it fails as it depends on libc6-udeb that is newer than in lucid. I don't know if it is wise to use the natty versions of libc6-udeb and libusb with no other repercussions.

---------- Post added at 11:20 AM ---------- Previous post was at 11:18 AM ----------



This is what i did. powerup + power isn't getting me into recovery. is there some other way?
and when it boots the initial splash screen says samsung galaxy s2 i9100. did it always say that?
I9100 with yellow triangle - It will say this if any custom kernel is installed.

Recovery, from power-off:
Hold VolUp + VolDn
Hold Power until the screen turns on
Release Power, keep holding VolUp + VolDn
 

thundertroy

Senior Member
Oct 16, 2010
171
4
48
Orangevale
What .pit? I didn't include one, and there's a reason - don't flash PITs unless you absolutely have to.

Right now the only reason you'd ever have to flash a PIT is because you flashed a bad one.

And the modem is only for people who screwed up their modems by flashing an international one.
Alright thanks, I found out after I did a little more research and just flashed CWM 5.0.2.3, and everything is working amazing.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone