Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 2 12 LastLast
Results 1 to 25 of 29
Like Tree6Likes
  1. Thread Author  Thread Author    #1  

    Default How-To Unlock Bootloader/Factory Restore/Root any NEXUS device

    I tried making this guide as generic as possible so that any future Nexus devices can be Unlocked/Factory Restored/Rooted/Locked. Detailed guide.

    Nexus S,Galaxy Nexus,Nexus 7 ALL Variant
    If you have any issues or find any issue in the guide let me know.

    Here are the list of things you can do from this Nexus guide.

    0. Setting up Your PC
    1. Unlock Bootloader Note: Will wipe all data
    2. Factory restore Android
    3. Flash Custom Recovery
    4. Root
    5. Lock Bootloader Note: Will wipe all data

    Warning:
    I take no responsponsibilty blah blah blah
    unlocking bootloader and factory restore will wipe all data SO TAKE BACKUP OF ALL DATA

    0. Setting up your PC:
    a) Prerequisite:

    Install Java Platform, Standard Edition-
    JDK Download here : Latest version 7 x86 or x64 based on your OS Java SE Downloads
    Java runtime Download here:Download Free Java Software

    Android SDK -
    Download here Android SDK | Android Developers

    Java is needed to install Android SDK.


    Remember the destination folder: "C:\Users\[User Name]\AppData\Local\Android\android-sdk"
    Run Android SDK Manager after install
    Check Android SDK tools, Android SDK platform-tools and Google USB Driver as below image
    Uncheck any other checked packages
    click Install
    Accept both license agreement. Install
    b) Install USB Drivers in PC:

    You need to properly install the USB drivers so that your PC can talk to your Nexus device.
    b.1) Power off your Nexus device
    b.2) Connect Your Nexus with Computer using USB cable.
    b.3) Boot into fastboot mode by holding down both Volume Up and Power buttons together.

    b.4) Open Device Manager and you might see some thing like this


    Right Click and click "Update device Software"
    Click "Browse your Computer for driver Software"
    Click "Let me Pick from a list of device drivers on my Computer"
    Click Next, for the device list shown.
    Click "Have a Disk" button
    Go to "C:\Users\[User Name]\AppData\Local\Android\android-sdk\extras\google\usb_driver"
    select "android_winusb" and click OK
    Select "Android ADB Interface" and click Next. It will give you a warning. click OK and Install.

    If you dont see the warning like before in device manager your PC is setup
    Before we go to next step. Lets open CMD we will be using command prompt for the rest of the steps.
    Open CMD and type
    cd C:\Users\[User Name]\AppData\Local\Android\android-sdk\platform-tools
    Enter
    1. Unlock Bootloader: Warning: will wipe all data

    a) To Unlock BootLoader Type this in cmd promt above with out quotes
    "fastboot oem unlock"
    b) Hit the Volume Up button once(Will select "YES") and then the Power button(To CONFIRM) to unlock your Nexus Devices.

    Feeling geek?? You are now a Geek!!! DONOT Close the Command Promt Just yet.
    2. Factory Restore Android:
    Download Nexus Factory image from Google https://developers.google.com/android/nexus/images

    Download the latest for your Nexus Device/Android OS. I recommend the latest factory Image for your device.

    a) Once downloaded. Right click the file and extract the tgz file using winrar or winzip.

    b) In the extracted file you will see many file Move all of the extracted files to platform-tools folder("C:\Users\[User Name]\AppData\Local\Android\android-sdk\platform-tools ") except these two files flash-all.sh and flash-base.sh

    c) Now open flash-all.sh file in word document. Notepad seem to display it weird.

    you will see some comments and at the end you will see something like below.
    The below is for Galaxy Nexus GSM. It will be different for other devices. Check the file.
    Remove Sleep 5 from those codes. we dont need it.

    ONLY FOR Galaxy Nexus GSM. See the downloaded file for your device
    Code:
    fastboot flash bootloader bootloader-maguro-primelc03.img
    fastboot reboot-bootloader
    
    fastboot flash radio radio-maguro-i9250xxlf1.img
    fastboot reboot-bootloader
    
    fastboot -w update image-yakju-jro03c.zip
    Copy each line one by one in the order given in file and run in the Command prompt we opened previously.

    DONE!! We just Factory restored the Nexus.
    3. Flash Custom Recovery: (If you dont need to Root Skip step 3 and 4)

    a) Download clockwork recovery from here. Search for your device and download recovery ClockworkMod ROM Manager - Recoveries

    b) Place the recovery file in SDK folder.

    c) Run this to flash recovery
    fastboot flash recovery [clockwork recovery filename].img
    4. Root: You need to do step 3 to root
    a) Download root from official superuser website here Superuser ARM devices (2.0 4.1) or any future devices current version is 3.1.3.

    b) Place the superuser zip file in your devices SD card by booting up ur device. Enable USB when it popsup.

    c) Shut down Nexus and Boot into fastboot mode by holding down both Volume Up and Power buttons together.

    d) select recovery by using Voulme Up/Down button in your device and click Power button to select recovery.

    e) In ClockWorkMod recovery select
    Install zip from sdcard-->choose zip from sdcard-->[navigate to the superuser zip file]-->Click Power button. and then select Yes and Power button when prompted.

    DONE! You are rooted.
    5. Lock Bootloader
    If you skipped step 3 and 4 and wanted to have a pure stock just like you bought from the store. do this.

    run this command in command prompt.
    fastboot oem lock

    DONE!
    Attached Thumbnails Attached Thumbnails How-To Unlock Bootloader/Factory Restore/Root any NEXUS device-sdk-manager.png   How-To Unlock Bootloader/Factory Restore/Root any NEXUS device-devicemanager.png  
    Last edited by still1; 02-28-2013 at 10:43 PM.
  2. Thread Author  Thread Author    #2  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    3. Flash Custom Recovery: (If you dont need to Root Skip step 3 and 4)
    To Install TWRP recovery

    a) Download TWRP recovery from here. Search for your device in the top right and download.
    TeamWin Projects - TWRP 2.2 | TeamWin

    b) Place the recovery file in SDK folder.

    c) Run this to flash recovery
    fastboot flash recovery [clockwork recovery filename].img
    Thanked by:
    wpbfjr 
  3. #3  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    C:\Users\[User Name]\AppData\Local\Android\android-sdk\extras\google\usb_driver

    I'm running Win XP so this doesn't actually exist for me ...

    I do have C:\Program Files\Android\android-sdk\extras\google\usb_driver\android_winusb.inf.
    Is this correct?
  4. Thread Author  Thread Author    #4  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by birdbird View Post
    C:\Users\[User Name]\AppData\Local\Android\android-sdk\extras\google\usb_driver

    I'm running Win XP so this doesn't actually exist for me ...

    I do have C:\Program Files\Android\android-sdk\extras\google\usb_driver\android_winusb.inf.
    Is this correct?
    thats correct. its the actual sdk install folder. so it depends on where it is installed.

    so through out the guide make this path instead of the path i mentioned.
  5. #5  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Wow! this is a great thread! Im definitely gonna bookmark this! Thanks!

    Just a couple of quick questions though:
    1. What if I want to root but I cant find my device/brand in the ClockworkMod ROM Manager - Recoveries site? Mine is this an Iview CyberPad iView-792TPC (shown here: amazon dot com//dp/B00A35WHT4?tag=thebeny-20 when I check its build info it just says: Bootloader: "unknown" | Brand/Manufacturer: alps | Device: yecon75_tb_ics | Display: ALPS.ICS.MP.V2.2 and its current OS is: ICS 4.04

    2. Also, in relation to the above....how do I know which factory image I should download and install in the Nexus Factory image site?
    Would any do? Im hoping I wont mess this up too much ..i most likely will...but just in case...

    Thanks in advance!
  6. #6  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Thank you very much for your clear and to the point instructions. A rooting technique was recommended to me which completely messed up my device.

    With your aide, I restored everything. Definitely one for the book marks.
  7. Thread Author  Thread Author    #7  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by detartrated View Post
    Wow! this is a great thread! Im definitely gonna bookmark this! Thanks!

    Just a couple of quick questions though:
    1. What if I want to root but I cant find my device/brand in the ClockworkMod ROM Manager - Recoveries site? Mine is this an Iview CyberPad iView-792TPC (shown here: amazon dot com//dp/B00A35WHT4?tag=thebeny-20 when I check its build info it just says: Bootloader: "unknown" | Brand/Manufacturer: alps | Device: yecon75_tb_ics | Display: ALPS.ICS.MP.V2.2 and its current OS is: ICS 4.04

    2. Also, in relation to the above....how do I know which factory image I should download and install in the Nexus Factory image site?
    Would any do? Im hoping I wont mess this up too much ..i most likely will...but just in case...

    Thanks in advance!
    since your tablet is not a popular device clockworkmod or other teams wont make a recovery for your device.
    its unfortunate and a sad truth. you might want to search google to find if any other recovery exist for your tablet. it always dont have to be clockworkmod. there is also twrp recoveries.

    Quote Originally Posted by sauvignonblanc0 View Post
    Thank you very much for your clear and to the point instructions. A rooting technique was recommended to me which completely messed up my device.

    With your aide, I restored everything. Definitely one for the book marks.
    Thanks.
  8. #8  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    i tried to do the last code "fastboot flash radio radio-maguro-i9250xxlf1.img" and it said error cannot load fastboot flash radio radio-maguro-i9250xxlf1.img what sould i do now ??
  9. Thread Author  Thread Author    #9  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by bayarbileg batbileg View Post
    i tried to do the last code "fastboot flash radio radio-maguro-i9250xxlf1.img" and it said error cannot load fastboot flash radio radio-maguro-i9250xxlf1.img what sould i do now ??
    that code is for Galaxy nexus GSM. what phone are you using? you have to download the appropriate factory image from here https://developers.google.com/android/nexus/images
  10. #10  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    OK you directed me here from another thread, but i am having an issue. When I try to go into the bootloader all I get is one option. It is the screen that says "DOWNLOADING... Do not turn off target!!"
    Nexus 4
    Nexus 10
  11. Thread Author  Thread Author    #11  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by Edgraham75 View Post
    OK you directed me here from another thread, but i am having an issue. When I try to go into the bootloader all I get is one option. It is the screen that says "DOWNLOADING... Do not turn off target!!"
    I think you went to fail safe recovery mode. reboot device and try again. what step are you at?
  12. #12  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by still1 View Post
    I think you went to fail safe recovery mode. reboot device and try again. what step are you at?
    0 B Trying to get PC to recognize Tablet... it works fine for my Nexus 4 but 10 wont recognize. When i try to boot regular i just hang at the google screen. Tried the Power and Vol Up like 3 times and just get downloding screen
    Nexus 4
    Nexus 10
  13. Thread Author  Thread Author    #13  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by Edgraham75 View Post
    0 B Trying to get PC to recognize Tablet... it works fine for my Nexus 4 but 10 wont recognize. When i try to boot regular i just hang at the google screen. Tried the Power and Vol Up like 3 times and just get downloding screen
    install the drivers again while nexus 10 is connected in fastboot mode. which is step 0)b)

    drivers previously installed was for Nexus 4 and Nexus 10 use a different drivers. do the driver installation and it will update for Nexus 10.

    after unlocking the bootloader, if you are stuck at Nexus 10 logo. do a factory reset. thats a known issue with nexus 10
  14. #14  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by still1 View Post
    install the drivers again while nexus 10 is connected in fastboot mode. which is step 0)b)

    drivers previously installed was for Nexus 4 and Nexus 10 use a different drivers. do the driver installation and it will update for Nexus 10.

    after unlocking the bootloader, if you are stuck at Nexus 10 logo. do a factory reset. thats a known issue with nexus 10
    at this point I cant even get it into fastboot mode cant get 0)b)

    IT SHOWS SAMSUNG DEVICE IN DEVICE MANAGER BUT THATS IT
    Nexus 4
    Nexus 10
  15. Thread Author  Thread Author    #15  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by Edgraham75 View Post
    at this point I cant even get it into fastboot mode cant get 0)b)
    do it from the "DOWNLOADING... Do not turn off target!!" screen
    Thanked by:
    Edgraham75 likes this.
  16. #16  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    thank you so much.... appears to be working now.
    loading from command prompt as we speak
    Nexus 4
    Nexus 10
  17. Thread Author  Thread Author    #17  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by Edgraham75 View Post
    thank you so much.... appears to be working now.
    loading from command prompt as we speak
    glad to help.
  18. #18  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Before this happened I had tried to unlock the device and found it to be already unlocked. So at that time I got the error:

    ...
    FAILED ,remote: Already Unlocked.
    finished. total time: 0.023s

    I figured I was at least where the directions wanted me and continued to the next step. I then get this error message.

    error: cannot load 'fastboot flash bootloader bootloader-crespo4g-d720sprke1.img': Unknown error
    Last edited by tqless; 02-19-2013 at 02:18 AM.
    Thanked by:
  19. Thread Author  Thread Author    #19  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by tqless View Post
    Before this happened I had tried to unlock the device and found it to be already unlocked. So at that time I got the error:

    ...
    FAILED ,remote: Already Unlocked.
    finished. total time: 0.023s

    I figured I was at least where the directions wanted me and continued to the next step. I then get this error message.

    error: cannot load 'fastboot flash bootloader bootloader-crespo4g-d720sprke1.img': Unknown error
    are you using the right factory image?
    are you on fastboot sdk folder?
    try updating fastboot files
  20. #20  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by still1 View Post
    are you using the right factory image?
    are you on fastboot sdk folder?
    try updating fastboot files
    My phone is a Nexus S 4G. I'm using "Factory Images "sojus" for Nexus S 4G (d720)" version "2.3.7 (GWK74)". My phone was rooted when it was new and has never updated to 4.0.4 because of it being rooted. I also am not the person who rooted it, and now I'm needing to figure this out for myself. I'm into cars, not phones!

    I'm using Fastboot sdk. I can try updating it.
  21. #21  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    To make things a little more complicated, my last USB plug died (out of the three I have on my netbook). So I guess it doesn't really matter anymore. I'm stuck like this for now.

    EDIT: Figured out how to fix the USB drives.
    Last edited by tqless; 02-22-2013 at 12:33 PM.
  22. #22  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    C:\Users\xxxxxxxxxx\AppData\Local\Android\android-sdk\platform-tools>fastboot -w update image-sojus-gwk74.zip
    archive does not contain 'boot.sig'
    archive does not contain 'recovery.sig'
    archive does not contain 'system.sig'
    ----------------------------------------------
    Bootloader Version..: D720SPRKE1
    Baseband Version....: D720SPRKL2
    Serial Number.......: 3134DFCF545700EC
    ----------------------------------------------
    checking product...
    OKAY [ 0.023s]
    checking version-bootloader...
    OKAY [ 0.017s]
    checking version-baseband...
    FAILED

    Device version-baseband is 'D720SPRKL2'.
    Update requires 'D720SPRKC9' or 'D720SPRKD8' or 'D720SPRKE5' or 'D720SPRKH1'.

    finished. total time: 0.390s


    Which now I'm hearing that some Nexus S 4Gs erronously report as D720SPRKE1, instead of D720SPRKH1. Apparently that includes my phone.
    D720SPRKE1 radio is actually D720SPRKH1 - xda-developers
  23. Thread Author  Thread Author    #23  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by tqless View Post
    C:\Users\xxxxxxxxxx\AppData\Local\Android\android-sdk\platform-tools>fastboot -w update image-sojus-gwk74.zip
    archive does not contain 'boot.sig'
    archive does not contain 'recovery.sig'
    archive does not contain 'system.sig'
    ----------------------------------------------
    Bootloader Version..: D720SPRKE1
    Baseband Version....: D720SPRKL2
    Serial Number.......: 3134DFCF545700EC
    ----------------------------------------------
    checking product...
    OKAY [ 0.023s]
    checking version-bootloader...
    OKAY [ 0.017s]
    checking version-baseband...
    FAILED

    Device version-baseband is 'D720SPRKL2'.
    Update requires 'D720SPRKC9' or 'D720SPRKD8' or 'D720SPRKE5' or 'D720SPRKH1'.

    finished. total time: 0.390s


    Which now I'm hearing that some Nexus S 4Gs erronously report as D720SPRKE1, instead of D720SPRKH1. Apparently that includes my phone.
    D720SPRKE1 radio is actually D720SPRKH1 - xda-developers
    you have to extract the zip file like mentioned in the guide. The files have to be on the fastboot folder.

    follow step 2. Factory Restore Android: a,b and c.
  24. Thread Author  Thread Author    #24  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Quote Originally Posted by tqless View Post
    C:\Users\xxxxxxxxxx\AppData\Local\Android\android-sdk\platform-tools>fastboot -w update image-sojus-gwk74.zip
    archive does not contain 'boot.sig'
    archive does not contain 'recovery.sig'
    archive does not contain 'system.sig'
    ok here are the steps. assuming you opened command promt on the fastboot folder run each line one at a time. make sure the phone is connected

    fastboot flash bootloader bootloader-crespo4g-d720sprlc1.img
    fastboot reboot-bootloader
    fastboot flash radio radio-crespo4g-d720sprlf2.img
    fastboot reboot-bootloader
    fastboot -w update image-sojus-jro03r.zip
    NOTE: file bootloader-crespo4g-d720sprlc1.img radio-crespo4g-d720sprlf2.img and image-sojus-jro03r.zip has to be on the fastboot folder.

    dont miss any steps posted. I assume you downloaded the wrong file. here is the direct download https://dl.google.com/dl/android/aos...y-59a247f5.tgz
    Thanked by:
  25. #25  

    Default Re: How-To Unlock Bootloader/Factory Restore/Root any NEXUS devic

    Hi
    I did everything to restore my Nexus S, but I'm stuck at "select "android_winusb" and click OK" at the step "0. Setting up your PC". My PC doesnt find the driver in the SDK. I downloaded and installed the installer_r22.0.1-windows.exe file... Is it possible that there are other versions of the SDK? I'm under Windows Vista.
    Thanks!!
Page 1 of 2 12 LastLast

Posting Permissions