Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,597 Members 52,134 Now Online
XDA Developers Android and Mobile Development Forum

[Heimdall][Odin][Stock][Root]UCLE5 Stock ICS 4.0.3 with Root

Tip us?
 
creepyncrawly
Old
(Last edited by creepyncrawly; 11th May 2013 at 03:31 PM.)
#1  
Recognized Contributor - OP
Thanks Meter 3,022
Posts: 2,478
Join Date: Sep 2010

 
DONATE TO ME
Default [Heimdall][Odin][Stock][Root]UCLE5 Stock ICS 4.0.3 with Root

This is a Heimdall/Odin flashable pre-rooted stock UCLE5. This is the exact version that was released over Kies, and contains the bone stock kernel, plus rooted system, modem, cache.img and hidden.img. There are no bootloaders in this package. With this package, you can root stock ICS without incrementing the flash counter.

WARNING: THIS ALMOST CERTAINLY CONTAINS THE eMMC SUPERBRICK BUG.
See this for my considered opinion.

This package is safe to use as long as you read and follow the instructions here, and replace the stock kernel with a known good kernel.

Before 7/8/2012 there were no actual reports of damage from the eMMC brick bug in this firmware release. However, someone has bricked their phone by doing a wipe data/factory reset from a phone with UCLE5 installed and the stock kernel still installed on the phone. Please see this thread. Read the whole thread, but especially pay attention to posts #12 and 16 by Entropy512, one of our elite developers who is very knowledgable about this phone. The person with the bricked phone has confirmed by testing that eMMC memory block mmcblk0p10 was damaged during the wipe data/facotry reset, thus appearantly confirming that the eMMC brick bug is present in the UCLE5 stock kernel. It is particularly important for anyone using this firmware to be careful. It will be completely safe to use this firmware with a known safe kernel. But with the stock kernel still installed, anyone's phone could potentially be at risk.

If flashing this from another base, you should perform a wipe data/factory reset before you flash this package. The stock kernel in this package can potentially cause eMMC chip damage to phones with suseptable memory chips while performing certain memory erase operations. Therefore, it is imperative to avoid doing a wipe data/factory reset with this kernel, and also a very good idea to replace this kernel with a known safe kernel. If flashing this package from UCLE5 to obtain root, it should be fine to flash it without doing a wipe, and retain your personal settings.

This Rooted package does not include busybox. If you need busybox, you can install it from the Google Play Store.

Kernel + Modem + Cache + Rooted UCLE5 System Package: Hotfile | Dev-Host 292.18 MB

Download and extract the tar package using 7-Zip, which can be downloaded from http://www.7-zip.org/download.html. Put UCLE5_Stock_Rooted.tar in the PDA slot in Odin.

Download the Odin3 v1.85 package from MediaFire or xda-developers, or another source of your choice. Odin3 v1.82 will also work.

To flash with Heimdall command line, extract the individual files from the tar and flash the components with heimdall from the commandline as follows:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.img --modem modem.bin --cache cache.img --hidden hidden.img
Download and install the latest version of Heimdall Command Line for your operating system from here. (Latest version 1.3.2 at this writing.)



Three different ways to install a customized kernel containing ClockworkMod Recovery onto your Rooted phone without incrementing the flash counter.
You must use an ICS kernel, and it must work with Samsung firmware, and be the no-mic-swap version. If you install a Gingerbread kernel the phone will not boot.

The main Kernel options are: Siyah v4.3.3 by Ktoonsez | Siyah v5.1.1 by AJ Newkirk (use the one without mic swap)
Kernel options are: AJ Newkirk/Siyah v3.3.3d ICS | ktoonsez/Siyah v3.4.3 ICS | N.E.A.K. ICS

How to Install a customized kernel containing ClockworkMod Recovery onto your Rooted phone from your phone, using Mobile Odin Lite or Mobile Odin Pro
  • This is the preferred method to install a customized kernel onto your phone. In addition, Mobile Odin is a very useful tool that will allow you to install custom software directly on your phone without using a computer.
  • Mobile Odin Lite (free) can be downloaded and installed directly on your phone, or it can be downloaded to your computer and installed with adb. Alternatively, you can purchase Mobile Odin Pro for under $5.00 and install it directly from the Google Play Store. It's easier, and you'll support the developer!
  • To use Mobile Odin Lite, download the file attached to the OP of this thread. You may need to be a registerd member of xda forums to download this file. Download directly on your phone, or to your computer and move or copy it to your phones sdcard. Using any file manager such as MyFiles or Root Explorer, select the file and install it. You can also install it from your computer using the following adb command:
    Code:
    adb install MobileODINLite-v2.45.apk
  • Download the file containing the kernel you want to flash, and extract from it the zImage, which contains the actual kernel.
  • Transfer the zImage to the root of your phone's internal or external sdcard, using a usb cable or another method such as dropbox.
  • On your phone, open the Mobile Odin program. If you installed Mobile Odin Lite, when it prompts you to install the add-in, click cancel. If you installed Mobile Odin Pro, you will have already downloaded and installed the add-in to activate all the features in the program. With Mobile Odin Lite, you will still be able to install the kernel.
  • In Mobile Odin, click on Kernel or Install Kernel, find and select the zImage on your internal or external SD card, and then click on Flash Firmware.
  • Mobile Odin will flash the kernel and then reboot the phone. You have now installed a custom kernel containing clockworkMod Recovery without changing the flash counter.
  • If you want to confirm installation of the new kernel, reboot into recovery to verify that you now have ClockworkMod Recovery. (The stock kernel has 3e recovery.) Or install CPU Spy from the Google Play Store (before you root) and compare the Kernel Info it displays with the same info from the stock kernel.
  • To reboot into recovery on the SGH-I777: With the phone powered off, hold down the vol up + vol down + power buttons continuously until the initial boot screen appears a second time.
  • The 5.0.2.3 and later versions of ClockworkMod Recovery have a different button configuration. Home = select, Back = back, Power = back from submenu or toggle logo/main menu. The 5.0.2.7 and later versions of ClockworkMod Recovery retain this button configuration but change it to Power = select.
  • If you installed Mobile Odin Lite, and you don't want to keep it, you can uninstall it now. If you want to keep it and activate all its features, download the add-on MobileODIN_FlashKernel_I777-v1.0.apk from here and install it on your phone with adb using the instructions above.

How to Install a customized kernel containing ClockworkMod Recovery onto your Rooted phone from a pc, using Android Debug Bridge (Windows, Linux and Mac OS)
  • Download and install the Android Software Developer Kit (SDK) from here. You may need to run SDK Manager with administrator privledges.
  • You need to have the USB drivers for SGH-I777 installed on your computer. (It will be "Samsung USB Driver for Mobile Phones" in Control Panel\Uninstall Programs.) Download and install the latest drivers from this thread. (x86 and x64)
  • You will need busybox. If not already installed, download and install busybox from the Google Play Store.
  • Download the file containing the kernel you want to flash, and extract from it the zImage, which contains the actual kernel.
  • Move or copy the zImage into the platform-tools directory (on older installations it is the tools directory) where adb.exe resides. This will be something like (on Windows) c:\android-sdk-windows\platform-tools.
  • On your phone, first enable USB Debugging (Menu\Settings\Applications\Development\USB Debugging) and then plug in your USB cable, connecting your phone to your computer.
  • Open a command prompt. Change directory to the tools directory, then enter the following at the command line:
    Code:
    adb push zImage /sdcard/zImage
    adb shell
    $ su
    # dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
    # exit
    $ exit
  • The dd command requires superuser permission on the phone represented by a # prompt. After you type su and hit enter, look for a superuser window on your phone and give the permission. If the permission request doesn't pop up, open superuser on your phone to force the phone to prompt for superuser permission. After approval, the adb session will be listed as Unknown in superuser.
  • After you've finished, the code in the Command prompt window will look something like this (your command prompt and some numbers will be different):
    Code:
    C:\android-sdk-windows\platform-tools>adb push zImage /sdcard/zImage
    4279 KB/s <4776784 bytes in 1.090s>
    C:\android-sdk-windows\platform-tools>adb shell
    $ su
    su
    # dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
    dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
    10153+1 records in
    10153+1 records out
    5198492 bytes transferred in 2.558 secs <2032248 bytes/sec>
    # exit
    exit
    $ exit
    exit
  • Reboot the phone. You have now installed a custom kernel containing clockworkMod Recovery without changing the flash counter.
  • If you want to confirm installation of the new kernel, reboot into recovery to verify that you now have ClockworkMod Recovery. (The stock kernel has 3e recovery.) Or install CPU Spy from the Google Play Store (before you root) and compare the Kernel Info it displays with the same info from the stock kernel.
  • To reboot into recovery on the SGH-I777: With the phone powered off, hold down the vol up + vol down + power buttons continuously until the initial boot screen appears a second time.
  • The 5.0.2.3 and later versions of ClockworkMod Recovery have a different button configuration. Home = select, Back = back, Power = back from submenu or toggle logo/main menu. The 5.0.2.7 and later versions of ClockworkMod Recovery retain this button configuration but change it to Power = select.

How to Install a customized kernel containing ClockworkMod Recovery onto your Rooted phone from your phone, using Android Terminal Emulator
  • Download and Install Android Terminal Emulator onto your phone from the Google Play Store.
  • You will need busybox. If not already installed, download and install busybox from the Google Play Store.
  • Download (onto your PC) the file containing the kernel you want to flash, and extract from it the zImage, which contains the actual kernel.
  • Transfer the zImage to the root of your phone's sdcard, using a usb cable or another method such as dropbox.
  • On the phone, open a terminal session with Android Terminal Emulator.
  • A few points to be aware of:
    Android is a version of linux so you are using linux commands. Linux commands are case sensitive, so you must for instance type "zImage" and not "zimage", if that is the way the file is spelled on the sd card.
    Since this will be the first time you have used superuser.apk with the terminal, you may need to approve it on you phone. After that, superuser permission will be remembered.
    When you first open a terminal session, you will be at the root of the phone, or essentially "/". The $ prompt means shell access, the # prompt means root file access.
    You need a # prompt to complete this Step.
    If your keyboard goes away, use the menu button options to get it back.
  • In the terminal session, type su and then enter. You will get a superuser request. Once you approve it, you will get the # prompt.
  • Then type the following:
    Code:
    dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
  • Press enter, wait till the zImage is copied over to the named block. (takes about 2 or 3 seconds)
  • To close the root session, type "exit" and enter. Use the back button to close Android Terminal Emulator.
  • Reboot the phone. You have now installed a custom kernel containing clockworkMod Recovery without changing the flash counter.
  • If you want to confirm installation of the new kernel, reboot into recovery to verify that you now have ClockworkMod Recovery. (The stock kernel has 3e recovery.) Or install CPU Spy from the Google Play Store (before you root) and compare the Kernel Info it displays with the same info from the stock kernel.
  • To reboot into recovery on the SGH-I777: With the phone powered off, hold down the vol up + vol down + power buttons continuously until the initial boot screen appears a second time.
  • The 5.0.2.3 and later versions of ClockworkMod Recovery have a different button configuration. Home = select, Back = back, Power = back from submenu or toggle logo/main menu. The 5.0.2.7 and later versions of ClockworkMod Recovery retain this button configuration but change it to Power = select.
The Following 45 Users Say Thank You to creepyncrawly For This Useful Post: [ Click to Expand ]
 
kamots
Old
#2  
kamots's Avatar
Senior Member
Thanks Meter 302
Posts: 1,503
Join Date: Jun 2010
Location: Atlanta
You are awesome
Thank you for this creepy!
Sent from my SGH-I777 using Tapatalk 2
 
yaswanth.y.s
Old
#3  
Member
Thanks Meter 6
Posts: 74
Join Date: Sep 2008
Thumbs up You da man!!!!

Been having issues with broken CWM for awhile. Used your guides to unroot... then root again and flash custom Kernel with CWM again. Thanks fixed all my issues.
 
Noz85
Old
#4  
Noz85's Avatar
Senior Member
Thanks Meter 146
Posts: 625
Join Date: Aug 2010
Location: California
Thanks I will be using this later
HTC One
Unlocked,S-Off and SuperCID


Samsung Galaxy S3-Rooted


Samsung Galaxy S2-Sold
HTC Inspire 4G-Given away
HTC Aria-Sold

Twitter:Nozx85
 
erad1
Old
#5  
erad1's Avatar
Senior Member
Thanks Meter 325
Posts: 912
Join Date: Dec 2010
Location: Miami
Excellent write-up creepy (as usual)...this is what alot of people have been waiting for and you have delivered! Covered all the bases too...now all anyone needs to get the official ICS is this thread and some reading comprehension!
It matters not whether you win or lose; what matters is whether I win or lose.
 
Tophaholic
Old
#6  
Tophaholic's Avatar
Senior Member
Thanks Meter 69
Posts: 286
Join Date: Jul 2008
Location: Columbus, IN
Hi - can this tar be installed using Mobile Odin Lite and the i777 flash kernel? Or do I have to use heimdall or desktop odin only?
Device: Galaxy Note 2 - Verizon
ROM/Kernel: Never settle long enuf on one
Previous devices: iphone 3Gs, Blackberry 9800, Palm Pre+, SGS2, HTC One X, SGS3, Galaxy Nexus GSM
 
jack man
Old
#7  
jack man's Avatar
Senior Member
Thanks Meter 127
Posts: 511
Join Date: Nov 2009
Quote:
Originally Posted by Tophaholic View Post
Hi - can this tar be installed using Mobile Odin Lite and the i777 flash kernel? Or do I have to use heimdall or desktop odin only?
Did you even read the OP?
Jack Man

AT&T Samsung Galaxy S3 i747
Current Rom: Stock 4.4.2

AT&T Samsung Galaxy S2 i777
Current ROM: ShoStock3 Jelly Bean by Shoman94

AT&T Samsung Galaxy S i897
Current ROM: Stock GB (given to my Dad)
-----------------------
Barnes and Noble Nook HD+ (Stock; all of my flashing is done on my phones.)
 
Tophaholic
Old
#8  
Tophaholic's Avatar
Senior Member
Thanks Meter 69
Posts: 286
Join Date: Jul 2008
Location: Columbus, IN
Quote:
Originally Posted by jack man View Post
Did you even read the OP?
Dude...i am not asking about custom kernel - my question is can i use mobile odin to flash the root injected stock tar.
Device: Galaxy Note 2 - Verizon
ROM/Kernel: Never settle long enuf on one
Previous devices: iphone 3Gs, Blackberry 9800, Palm Pre+, SGS2, HTC One X, SGS3, Galaxy Nexus GSM
 
Noz85
Old
#9  
Noz85's Avatar
Senior Member
Thanks Meter 146
Posts: 625
Join Date: Aug 2010
Location: California
Quote:
Originally Posted by Tophaholic View Post
Dude...i am not asking about custom kernel - my question is can i use mobile odin to flash the root injected stock tar.
Like he said he says you can in the op

transmitted from the Dark Obelisk
HTC One
Unlocked,S-Off and SuperCID


Samsung Galaxy S3-Rooted


Samsung Galaxy S2-Sold
HTC Inspire 4G-Given away
HTC Aria-Sold

Twitter:Nozx85
 
creepyncrawly
Old
#10  
Recognized Contributor - OP
Thanks Meter 3,022
Posts: 2,478
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by Tophaholic View Post
Hi - can this tar be installed using Mobile Odin Lite and the i777 flash kernel? Or do I have to use heimdall or desktop odin only?
Mobile Oden will flash from a tar file. I haven't tested it but I assume it will flash everything in this tar file, since there are no boot loaders. Since you are asking, I assume you are already rooted in have mobile oden.

Sent from my SGH-I777 using xda app-developers app

The Following 2 Users Say Thank You to creepyncrawly For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes