Android OS Forum banner
1 - 20 of 277 Posts

·
Super Amazing Elite Recognized Developer
Joined
·
523 Posts
DO NOT USE THIS WITH ANY OTHER ROOT METHODS, THIS DOES IT ALL.

CONVERSATION WITH OTHER ROOT METHODS SHOULD BE IN ANOTHER THREAD

As people seem to be having trouble with this, heres a general walkthrough.

BEFORE DOING THIS - I recommend you install all updates.

THIS SHOULD WORK FOR BOTH CDMA AND GSM

General credits to Koush here - https://plus.google....sts/1Jsh9xPwnQP

Prerequisites:
  • ADB installed and ready to go
Get Downloads:

Fastboot#LINUX#
  • For proper set up of UDEV rules in case your machine doesn't recognize your device use this guide by dusinmj to get ALL device id's working.
!WINDOWS! (one of these driver packages will work, i suggest trying the first one first and going to the second one only if you get "waiting for device" in fastboot.)Choose one Custom Recovery and one Root Manager
Let us begin

How to unlock your phone

WARNING: Unlocking your phone does a factory reset. Everything will be erased.
  • open terminal (command prompt for windows) and change to directory of the fastboot binary (or add to path...but if you can do that then why are you reading this)
  • power off your phone
  • Hold your volume up and down and power button, wait for a vibrate and let go of buttons. (if in windows, wait for drivers to install)
  • run:
    Code:
    fastboot oem unlock
  • choose yes on the unlock option on your phone screen.
  • press volume down till you get the "restart" option, then press power to select it.
  • phone will reboot a couple times then boot up.
  • Make sure phone has booted.
*YOUR PHONE IS NOW UNLOCKED*

Now to install the Custom Recovery and Root Manager
  • Copy the root manager zip to your sdcard in android
  • power off your phone
  • boot into fastboot mode
  • Place the recovery img file in the same folder as fastboot
    Note: For the next step replace "nameofrecovery" with the file name of the recovery you downloaded.
  • run
    Code:
    fastboot flash recovery nameofrecovery.img
  • press volume down till you get the "recovery mode" option, press power to select recovery.
  • select install zip from sdcard
  • select the root manager zip you put on your sdcard
YOU ARE NOW ROOTED, BUT YOUR CUSTOM RECOVERY WILL NOT STAY AROUND IF YOU UPDATED TO 4.0.2 VIA OTA UPDATE, AS I RECOMMENDED AT THE BEGINNING OF THIS POST. SOO....
  • in terminal run:
    Code:
    adb shell
  • then run:
    Code:
    mount -o rw,remount /system
  • then run:
    Code:
    mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
IF YOU HAVE TROUBLE DOING THIS STEP, JUST USE ROOT EXPLORER TO DELETE THE install-recovery.sh FILE. OR GO INTO ROM MANAGER AND REFLASH CLOCKWORK. EITHER METHOD WORKS
 

·
Just here for teh bewbs
Joined
·
846 Posts
you should mention setting up your udev rules in linux. i got caught up there for a while.

EDIT - The guide you linked ot in the post in incomplete. You need fastboot rules setup as well. I had my ADB rules setup, but not fastboot. Caused fastboot to hang at < Waiting for device >. My info was taken from here. http://source.android.com/source/initializing.html

Code:
<br />
sudo nano /etc/udev/rules.d/51-android.rules<br />
and add these lines with your username substituted in

Code:
# adb protocol on maguro (Galaxy Nexus)<br />
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="<username>"<br />
# fastboot protocol on maguro (Galaxy Nexus)<br />
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="<username>"
 

·
Premium Member
Joined
·
638 Posts
Shouldn't you only boot the recovery and not flash it until one thats meant for the LTE Nexus comes out?
 

·
Premium Member
Joined
·
1,900 Posts
I registered an account just to be the douche that says...

... You mean like don't flash the GSM recovery on your CDMA phone?
Quoted from Koush himself: It can be used.
 

·
Super Amazing Elite Recognized Developer
Joined
·
523 Posts
I registered an account just to be the douche that says...

... You mean like don't flash the GSM recovery on your CDMA phone?
lol, touche

the partitions that matter are all the same. i men't like flashing a gsm ROM on your CDMA phone. recovery works flawlessly for backup/restore and wipes.
 

·
I just hide here
Joined
·
2,237 Posts
Having trouble running the clockwork image... working on windows comes back saying can not load clockwork.. blah blah blah. help? thanks!
blahblahblah.img <--- you prob forgot the .img part of the filename
 

·
I just hide here
Joined
·
2,237 Posts
you cheated kind sir.
20k thanks my tushy >.<

EDIT. 22 million. Thats much more believable. my bad.
who cheats? i dn what your talking about lol
 

·
Average Android
Joined
·
446 Posts
blahblahblah.img <--- you prob forgot the .img part of the filename
Nah I had the .img part. it still says can't load.. when in fastboot it won't let me go to adb shell says device not found.. hm

I'm already unlocked will there be any wiping from here on out? or can i set it up and worry about flashing cwm and SU.zip later?
 
1 - 20 of 277 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top