FORUMS
Remove All Ads from XDA
H10 Turbo

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

14,095 posts
Thanks Meter: 25,474
 
By Entropy512, Senior Recognized Developer on 2nd October 2011, 10:38 PM
Post Reply Email Thread
Multiupload links removed - MU seems to be gone forever. I will repost an unrooted UCKH7 package in the next week along with a modem package - Until then, use the rooted package and then remove:
/system/xbin/su
/system/bin/su
/system/app/Superuser.apk
And then reboot

I have uploaded Heimdall/Odin flashable kernel ,rooted system, and modem images to dev-host. This should be sufficient to unbrick most hosed-up phones, as long as you didn't flash a bad .pit. Note that after flashing this, you might need to wipe data depending on what ROM you were coming from. If you bootloop or things behave wacky, enter 3e recovery (stock kernel means stock recovery) and do a Wipe Data/Factory Reset. If you are reverting from UCKK6 back to UCKH7 you MUST perform this step or wifi will not work. If you're coming from a 100% stock ROM and only using this to gain root, you should be able to keep all your data and not need to wipe.

The kernel is 100% bone stock, the system image is stock except that it is pre-rooted (su binary and Superuser.apk)

I am including the modem in a separate package since that goes in a separate modem slot, and I don't want to reupload a 200+ MB file if I don't have to.

The kernel + rooted UCKH7 system package is here: http://dev-host.org/UWm
Kernel + cache + rooted UCKK6 system package: http://dev-host.org/8LA

Download, extract the package using 7-Zip, which can be downloaded from http://www.7-zip.org/download.html, then either:
1) (Tested on Linux, should work on MacOS) - Extract the tar and flash the components with heimdall from the commandline as follows:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.img
for the kernel + system package, and:
Code:
heimdall flash --modem modem.bin
for the modem package

I've never had good results with the Heimdall Frontend GUI.

2) (Tested by Jivy26 for kernel + system, untested for modem) - Flash the .tar in Odin. I'm a Linux user, so I have only tested this with Heimdall so far.
Kernel + system package goes in PDA slot I believe, modem package in Phone slot.

If you are wondering why I used 7-Zip to compress the archive:
7-Zip provides better compression ratios than Zip
7-Zip is open source unlike RAR
If it were a zip file, some doofus would probably think it was CWM-flashable and complain that it didn't flash.

Also - great thanks goes to Jivy26 for providing a stock /system dump. Without that it would not have been possible to make the system image or get a kernel dump.

Coming in the next few days - stock unrooted /system package.

Also just added - a param.lfs backup from my device. This is NOT contained in an Odin-flashable .tar file yet, I'll work on cleaning up my packages when I'm feeling better. I came down with a nasty cold a few days ago.

UPDATE:
creepyncrawly has written an EXCELLENT step-by-step guide for flashing this with Odin. The guide is at:
http://forum.xda-developers.com/show....php?t=1313659

In addition, he posted an Odin-flashable tar package for just the stock kernel, for those who want to do a ! removal. I have mirrored the file (I don't trust Dropbox for long-term hosting) at http://www.multiupload.com/MD7SMMNG24 - his original post is at http://forum.xda-developers.com/show...&postcount=174
Attached Files
File Type: 7z param.lfs.7z - [Click for QR Code] (540.5 KB, 4797 views)
The Following 124 Users Say Thank You to Entropy512 For This Useful Post: [ View ]
 
 
2nd October 2011, 11:18 PM |#2  
Junior Member
Thanks Meter: 3
 
More
Thumbs up
Awesome, thanks. Downloading now.
The Following User Says Thank You to H_Scrappy For This Useful Post: [ View ] Gift H_Scrappy Ad-Free
2nd October 2011, 11:33 PM |#3  
serialtoon's Avatar
Senior Member
Flag Long Beach, CA
Thanks Meter: 116
 
Donate to Me
More
*If it were a zip file, some doofus would probably think it was CWM-flashable and complain that it didn't flash.*

LOL! Enough said right there. Thanks Ent!
2nd October 2011, 11:40 PM |#4  
jivy26's Avatar
Inactive Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,123
 
Donate to Me
More
Worked great with odin, thanks.
The Following 2 Users Say Thank You to jivy26 For This Useful Post: [ View ] Gift jivy26 Ad-Free
2nd October 2011, 11:44 PM |#5  
dayv's Avatar
Senior Member
Thanks Meter: 135
 
More
If one was to add the correct pit file to your package would that fix a bad pit flash, as well as fix if one had messed up partitions?

They would be useful for flashing back from cm7 wouldn't it? Or am I completely off?

Sent from my SAMSUNG-SGH-I777 using XDA App
2nd October 2011, 11:47 PM |#6  
jivy26's Avatar
Inactive Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,123
 
Donate to Me
More
Quote:
Originally Posted by dayv

If one was to add the correct pit file to your package would that fix a bad pit flash, as well as fix if one had messed up partitions?

They would be useful for flashing back from cm7 wouldn't it? Or am I completely off?

Sent from my SAMSUNG-SGH-I777 using XDA App

Flashed from CM7 using just the PDA
2nd October 2011, 11:51 PM |#7  
dayv's Avatar
Senior Member
Thanks Meter: 135
 
More
Quote:
Originally Posted by jivy26

Flashed from CM7 using just the PDA

Was that without or with a .pit file?



Sent from my SAMSUNG-SGH-I777 using XDA App
2nd October 2011, 11:57 PM |#8  
OP Senior Recognized Developer
Flag Owego, NY
Thanks Meter: 25,474
 
Donate to Me
More
With a good .pit file, yes it could recover from a bad .pit flash.

As far as going back/forth to CM7 - I believe that differences in architecture between the original GS and the GSII (mainly no FSR/RFS proprietary modules) make going to/from CM7 much less painful.
The Following 3 Users Say Thank You to Entropy512 For This Useful Post: [ View ]
3rd October 2011, 12:02 AM |#9  
jivy26's Avatar
Inactive Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,123
 
Donate to Me
More
Quote:
Originally Posted by dayv

Was that without or with a .pit file?


Sent from my SAMSUNG-SGH-I777 using XDA App

Yes without a .pit file
The Following 4 Users Say Thank You to jivy26 For This Useful Post: [ View ] Gift jivy26 Ad-Free
3rd October 2011, 12:04 AM |#10  
dayv's Avatar
Senior Member
Thanks Meter: 135
 
More
thank you for all your work and for educating me. I will make sure and hit the thanks button next time I'm on a PC.

Wish we could hit thanks button from xda app.


Sent from my SAMSUNG-SGH-I777 using XDA App
3rd October 2011, 02:07 AM |#11  
Drew489's Avatar
Senior Member
Flag New Hampshire
Thanks Meter: 26
 
Donate to Me
More
Flashed w/ Odin...stuck in a boot loop. Any other suggestion? I had CM7 on there but had no sound when making calls. Tried to go back to stock...SOL.

Had the phone 9 hours and haven't been able to make a single call yet.
Post Reply Subscribe to Thread

Tags
heimdall, i777 unroot, stock, unbrick

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes