Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
4 votes

[How-To] Step by Step OEM Unlock and Root

  • Please log in to reply

OP birdman

birdman

Super Amazing Elite Recognized Developer

Posted 15 December 2011 - 04:21 PM #1

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:
    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
    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:
    adb shell
  • then run:
    mount -o rw,remount /system
  • then run:
    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

Edited by razorloves, 07 March 2013 - 10:10 PM.
linked to newest cwm recoveries

  • 48 Likes

r2doesinc

r2doesinc

Just here for teh bewbs

Posted 15 December 2011 - 04:32 PM #2

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.androi...itializing.html

sudo nano /etc/udev/rules.d/51-android.rules

and add these lines with your username substituted in

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

Edited by r2doesinc, 15 December 2011 - 04:43 PM.

  • 2 Likes

OMFG
OMGB

OMX
I can't speel for shit and cus like a sailor. Deal with it.

Join us on #omfx on Freenode.

Posted Image


winner00

winner00

Carbon Dev

Posted 15 December 2011 - 04:39 PM #3

Shouldn't you only boot the recovery and not flash it until one thats meant for the LTE Nexus comes out?
  • 0 Likes
Member of Team Carbon.
Devices: Nexus 4 and Nexus 7.
"Swagger is nothing. Talent is everything."

r2doesinc

r2doesinc

Just here for teh bewbs

Posted 15 December 2011 - 04:44 PM #4

I think b16 mentioned something about that possibly being the cause of his brick.
  • 0 Likes

OMFG
OMGB

OMX
I can't speel for shit and cus like a sailor. Deal with it.

Join us on #omfx on Freenode.

Posted Image


OP birdman

birdman

Super Amazing Elite Recognized Developer

Posted 15 December 2011 - 04:50 PM #5

the current recovery for gsm devices works fine. just dont be an idiot....ONLY flash things meant for the device YOU use.
  • 1 Likes

tcpsyn

tcpsyn

Member

Posted 15 December 2011 - 05:00 PM #6

the current recovery for gsm devices works fine. just dont be an idiot....ONLY flash things ment for the device YOU use.


I registered an account just to be the douche that says...

... You mean like don't flash the GSM recovery on your CDMA phone?
  • 0 Likes

b16

b16

Developer Relations

Posted 15 December 2011 - 05:02 PM #7

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.
  • 0 Likes

Remember - Remain respectful to others as you would wish to be treated.
Please read the RULES before posting.

Want to sign up to be a developer? Check the requirements.


OP birdman

birdman

Super Amazing Elite Recognized Developer

Posted 15 December 2011 - 05:03 PM #8

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.
  • 0 Likes

Mustang302LX

Mustang302LX

Android Guru

Posted 15 December 2011 - 05:08 PM #9

Nevermind I'm dumb lol.
  • 0 Likes

GTvert90

GTvert90

Average Android

Posted 15 December 2011 - 05:10 PM #10

Having trouble running the clockwork image... working on windows comes back saying can not load clockwork.. blah blah blah. help? thanks!
  • 0 Likes