Jump to content


* * * * * 2 votes

[Guide] Nexus 7 Bootloaders/Recoveries/Root/Back to Stock


  • Please log in to reply

#1 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 28 June 2012 - 12:39 PM

Thanks to:
Google
birdman

CWM
Team Win
chainfire
and any others whom I am unaware of (please pm and I will include you)

OEM UNLOCK:
WARNING: This will wipe your device. Backup all your photos and whatnot.
  • Boot device into bootloader.

  • Open a command prompt in the folder where your fastboot.exe lives. Typically this is the platform-tools directory in the SDK.

  • Type in
    fastboot oem unlock
    and press enter.


  • Follow prompts on device to unlock bootloader.

  • Profit!
BOOTLOADERS:
See Post 2 -> here

RECOVERIES:
See Post 3 -> here

BACK TO STOCK:
See Post 3 -> here

ROOT:
  • Load CWM onto your device as described in the RECOVERIES section

  • Download the SU binary for JB

  • Put it onto the device

  • Boot into recovery

  • Install zip from sd card

  • Choose zip

  • Navigate to the file you downloaded and put onto the device

  • Flash

  • Profit!

Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.

#2 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 28 June 2012 - 12:39 PM

BOOTLOADERS:

HOW TO FLASH:
  • Download bootloader to hard drive.
  • Boot device into bootloader.
  • Open a command prompt in the folder where your fastboot.exe lives. Typically this is the platform-tools directory in the SDK.
  • Type in
    fastboot flash bootloader <location/name_of_bootloader_file.img>
    and press enter.
  • Wait for successful flash.
  • Type in
    fastboot reboot-bootloader
    and press enter.
  • Profit!

Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.

#3 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 28 June 2012 - 12:40 PM

RECOVERIES:

HOW TO FLASH:
  • Download recovery to the computer.
  • Connect the device to the computer.
  • Boot device into bootloader.
  • Open a command prompt in the folder where your fastboot.exe lives. Typically this is the platform-tools directory in the SDK.
  • Type in
    fastboot flash recovery <location/name_of_recovery_file.img>
    and press enter.

  • Wait for successful flash.
  • Type in
    fastboot reboot-bootloader

  • Profit!
LIST OF AVAILABLE RECOVERIES: PREVENT RECOVERY OVERWRITE:
  • After flashing recovery as described above, BEFORE you boot into device, boot into recovery.
  • mounts and storage
  • mount system
  • Open a command prompt in the folder where your adb.exe lives. Typically this is the platform-tools directory in the SDK.
  • Type in
    adb shell
    and press enter.

  • Type in
    cd /system
    and press enter.

  • Type in
    mv recovery-from-boot.p recovery-from-boot.bak
    and press enter.

  • Profit!

Edited by k.electron, 28 July 2012 - 07:33 AM.

Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.

#4 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 28 June 2012 - 12:40 PM

BACK TO STOCK:

HOW TO DO:

WARNING: This will wipe your device. Backup all your photos and whatnot.
  • Download the Nexus 7 JOP40D OEM image -> here.
  • Extract the compressed file to the folder where your fastboot.exe lives. Typically this is the platform-tools directory in the SDK.
  • Open a command prompt window where your fastboot.exe lives.
  • Type in the following commands and press enter after each one.
  • fastboot erase boot

  • fastboot erase cache

  • fastboot erase recovery

  • fastboot erase system

  • fastboot erase userdata

  • fastboot flash bootloader nakasi-jop40d/bootloader-grouper-4.13.img

  • fastboot reboot-bootloader

  • fastboot -w update nakasi-jop40d/image-nakasi-jop40d.zip

  • Wait for the image to flash.
  • Type in
    fastboot reboot-bootloader
    and press enter.

  • If you just wanted to return to stock software and not relock, you are done here. Boot into the device.
  • If you want to relock the device, type in
    fastboot oem lock
    and follow the prompts on the device.

  • Profit!

Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.

#5 chengww

chengww

    Average Android

  • Members
  • 2 posts

Posted 28 June 2012 - 07:47 PM

Will there be much development, it is running easy to root android with nothing better the sweet goodness of purity. This might be the first device that I will not load a custom rom.

#6 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 29 June 2012 - 06:43 AM

there will always be awesome development on nexus devices.
Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.

#7 sfreemanoh

sfreemanoh

    Android Apprentice

  • Site Contributor
  • 1,017 posts

Posted 29 June 2012 - 07:29 AM

View Postchengww, on 28 June 2012 - 07:47 PM, said:

Will there be much development, it is running easy to root android with nothing better the sweet goodness of purity. This might be the first device that I will not load a custom rom.
I said the same thing when I got my GNex...but I was oh so very wrong. Just about every ROM out there improves on stock in one way or another (or in all ways). Either better battery life, better performance, both, built-in mods and tweaks, etc etc.
Bowties are cool.

If you want me to see a reply, please be sure to click Quote!

#8 Mustang302LX

Mustang302LX

    Android Guru

  • 7,690 posts

Posted 29 June 2012 - 08:32 AM

Stickied and added the "fastboot oem unlock" command for unlocking the bootloader as not everyone will be coming from a GNex or knows how to unlock. :) Great post so far and can't wait to see it once we all have the device!

#9 sfreemanoh

sfreemanoh

    Android Apprentice

  • Site Contributor
  • 1,017 posts

Posted 29 June 2012 - 09:05 AM

Since it's a wifi only device, is the radios section needed??
Bowties are cool.

If you want me to see a reply, please be sure to click Quote!

#10 k.electron (OP)

k.electron

    Malicious Droid

  • Members
  • 170 posts

Posted 29 June 2012 - 09:54 AM

View PostMustang302LX, on 29 June 2012 - 08:32 AM, said:

Stickied and added the "fastboot oem unlock" command for unlocking the bootloader as not everyone will be coming from a GNex or knows how to unlock. :) Great post so far and can't wait to see it once we all have the device!

thank you sir, i will try to keep it updated as often as possible. right now a little bit of a copy paste effort since i havent actually gotten mine yet. definitely will have lots more details once i get it.

im not sure i can edit the title, if i can let me know how, or else if you would remove the (placeholder) and replace it with "+ Root" or something.
Phone: Galaxy Nexus LTE | Carrier: VZW 4G | ROM: CM10 M1 | Kernel: Lean | Radio: FF02 / FG02 | Recovery: CWM 6.0.1.0 | Bootloader: PrimeLC03
Tablet: Nexus 7 | ROM: Stock Rooted | Kernel: Stock | Recovery: CWM 6.0.1.0 | Bootloader: Grouper 3.34
Dropbox is a great place to store files that you need on the go. Android apps like TiBu can leverage Dropbox. Sign up using http://db.tt/OGvqdBCp and we both get more space.