08-20-2013 12:39 AM
312 123 ...
tools
  1. ragnarokx's Avatar
    Rooting the Nexus 7 - Video Walkthrough


    This is a step-by-step video guide on manually rooting the Nexus 7 tablet using Windows. No toolboxes, kits, or one-clicks. You get to see exactly what is being done to your tablet, and can easily pinpoint any problems you might have. If you'd still prefer an automated method, or if you are using OSX or Linux, Zero Neck has got you covered.


    [NOTE]Materials needed:
    1. Nexus 7 tablet
    2. Windows computer
    3. USB cable
    [/NOTE]

    [WARN]Unlocking your bootloader (which is required to root) will completely wipe your device, so make sure to backup anything you need before starting.
    Also make sure your tablet is fully charged.[/WARN]

    Step 1
    Here are the files you'll need (pick the appropriate Nexus7.zip based on your device). Download them and extract the folders inside onto your desktop:

    Nexus7.zip for WiFi only tablets (no SIM card version)
    Nexus7.zip for GSM tablets (version with SIM card)

    Universal_Naked_Driver.zip - mirror

    Step 2
    Take note: ClockworkMod Recovery has been updated since this video was made, and looks a little different as seen below:


    A new feature has also been added to Clockwork since the making of this video, as seen below:

    Do you want to be rooted only, and keep the ability to install OTA updates? If so, select No from the above menu. Alternatively, if you aren't worried about applying OTA updates and want to be able to flash ROMs/kernels/etc, select Yes from the menu above. This is completely reversibile by flashing recovery again, so if you aren't sure what to choose just pick No. You'll be presented with the above screen toward the end of the video.

    With that in mind, proceed to the video below:

    [YT]http://www.youtube.com/watch?v=kd0aHglMagY[/YT]

    [note]See Troubleshooting in post 3 if you have any problems.
    I cannot answer technical questions through PM - please post any questions in the thread, thanks.[/note]
    07-16-2012 07:07 PM
  2. ragnarokx's Avatar
    [info]In case any of the Windows command prompt (cmd) commands in the video were not clear, I'm going to list them below along with their functions.[/info]

    Code:
    fastboot devices
    uses the fastboot.exe program in the nexus7 folder to check what Android devices are connected to the computer

    Code:
    fastboot oem unlock
    fastboot.exe unlocks the Nexus 7 bootloader, letting you install Clockwork/SuperSU

    Code:
    fastboot flash recovery clockwork.img
    fastboot.exe flashes clockwork.img, installing ClockworkMod Recovery

    Code:
    fastboot reboot-bootloader
    (don't forget the hyphen!) fastboot.exe restarts the bootloader

    Code:
    fastboot boot clockwork.img
    fastboot.exe boots into ClockworkMod Recovery

    Code:
    adb reboot recovery
    (not in video, may be needed if problems pushing/flashing supersu.zip) adb.exe reboots recovery while in recovery

    Code:
    adb push supersu.zip /sdcard/
    copies SuperSU to your tablet
    07-16-2012 07:08 PM
  3. ragnarokx's Avatar
    Troubleshooting

    Installing the driver worked like a charm after this.

    The folder contents were encrypted and Windows needed them to be decrypted for the driver to install properly. To decrypt, right-click on the folder -> properties -> Advanced (under "General" tab) -> deselect "encrypt contents to secure data".
    I couldn't mount the sdcard in recovery. I was also getting several error messages at the bottom of the screen about being unable to mount or read some cache folders.

    I actually gave up and just let the tablet boot up to the welcome screen, and then powered it back down and booted to the bootloader and then into recovery. Once I did this - the errors were gone, and it was able to mount the sdcard to flash the supersu file.
    Hey ragnarokx

    Everything went great, but I have a question. The Nexus7 wants to do the update to 4.1.1, when I tell it yes, it reboots and goes into Clockwork and says the update fails? Any ideas? I do not tell it to go into Clockwork, just to reboot when the Nexus7 asks. Thanks!!
    You need stock recovery to install an OTA update. To get stock recovery back, you repeat the same steps that you used to install Clockwork. do the following:

    1) download stock-recovery.img, extract the file inside, place the file in the nexus7 folder (C:\nexus7)
    2) reboot into bootloader (power off, hold vol down+power), plug in tablet to PC via USB
    3) open Windows command prompt (cmd), navigate to the nexus7 folder in the command prompt (cd c:\nexus7)
    4) in command prompt, type "fastboot devices" to make sure your tablet is connected properly, then type "fastboot flash recovery stock-recovery.img" to get stock recovery back, then reboot the bootloader by typing "fastboot reboot-bootloader" to finish installation
    5) using the volume keys, go to "Recovery mode" on the bootloader screen and press power to select it
    6) you should now see stock recovery, which is a little Android laying down with an exclamation point over him. if you see this, then you're ready to apply the OTA update. reboot and apply the 4.1.1 update as normal.
    7) after you apply the OTA update, if you want Clockwork back repeat the above steps but instead of using "stock-reocvery.img" use "clockwork.img" from the video (it should already be in your nexus7 folder).

    if you lose root access after the OTA update, check to see if SuperSU is still in your app list. if it is, open it and tap yes when it asks to install binaries, then you'll have root access back.
    So I flashed Clockwork, it alerted me to the OTA. I chose to download and install... couldn't from Clockwork.

    So today I reflashed stock recovery. It's no longer alerting me to an OTA, says I'm up-to-date on 4.1, and I don't see an update.zip on my sdcard.

    Any ideas? :\


    Nevermind, got it. Had to clear data/force stop on Google Services Framework. Now it's downloading OTA.
    First: Basically if you can only see the N7 mounted as the Samsung device, do not worry, it roots fine using that. I simply could not get the naked drives mounted but it was not a big deal in the end. As a matter of fact somewhere along the line it changed to the Android ADB Interface.

    Second I also had the issue of the N7 not seeing the "SD card" and when i did I did not see the supersu.zip file to install, "

    So this will fix both. Just restart the N7 and boot it as normal from the recovery screen.

    Let it mount a USB drive, it will be called Nexus 7 in the My Computer list of devices and the drive will be called Internal Storage.

    Copy the c:\nexus7\supersu.zip file to this N7 drive. Just stick it in the root along with the folder, Android, DCIM etc...

    Then shut down the N7, hold power and Vol down and go from there to install supersu.zip. After I coped the file there manually I could then see the SD card and install it.
    There are two boot issues. One as you described...bootloader will not boot to recovery on key presses without a PC.

    The other is that the zip version of this CWM causes it to only boot to recovery...no way to boot back to system. Kind of the opposite problem in a way
    If you type fastboot oem unlock and it returns

    "... FAILED "

    Try typing "fastboot reboot-bootloader" then "fastboot oem unlock"
    I had an issue that prevented installing the unsigned driver in Windows 8. To fix that issue I did the following:

    • From the Metro or Desktop
    • Bring up Charms by mouseing over to the right of the screen
    • Go to Settings
    • More PC Settings
    • General
    • Advanced Startup > Restart Now
    • Trouble shoot
    • Advanced options
    • Windows startup options
    • Restart
    • Click on 'Disable driver signature enforcement
    • Reboot
    For anyone having a problem pushing the supersu zip to your Nexus 7, I followed the instructions from top to bottom, starting over each time but at the "choose zip from sd card" stage, there was no zip file to select. After several attempts, my fix turned out to be quite simple; just repeat the 'adb push supersu.zip /sdcard/' and 'adb reboot recovery' commands rather than starting again from the beginning.

    An indication that the push probably didn't work is if your command prompt returns '* daemon not running. starting it now *' and '* daemon started successfully *' during the push command.
    07-16-2012 07:09 PM
  4. ragnarokx's Avatar
    File Contents and Credits

    Nexus7.zip
    ADB & Fastboot - Google
    ClockworkMod Recovery - Koush
    SuperSU - Chainfire
    Universal_Naked_Driver.zip
    Driver package - 1wayjonny

    07-16-2012
    Clockwork v5.8.0.2 r2
    SuperSU v0.94
    Universal Naked Driver v0.7

    07-17-2012
    updated Clockwork to v6.0.0.4 r3
    reverted to Clockwork v5.8.0.2 r2 due to problems with newer version

    07-19-2012
    updated Clockwork to v6.0.0.6

    07-21-2012
    updated Clockwork to v6.0.1.0

    12-24-2012
    updated Clockwork to v6.0.2.3
    updated SuperSU to v0.99
    added GSM (Tilapia) version of Clockwork
    07-16-2012 07:10 PM
  5. 2defmouze's Avatar
    "No toolboxes, kits or 1-clicks.."

    Love it. Nice job!

    Sent from my Galaxy Nexus using Tapatalk 2
    oxymoron, ChromeJob and ragnarokx like this.
    07-16-2012 07:29 PM
  6. Jerry Hildenbrand's Avatar
    Best tutorial ever.
    07-16-2012 07:31 PM
  7. jbuggydroid's Avatar
    awesome video. Thanks
    07-16-2012 08:04 PM
  8. Paul627g's Avatar
    Makes me jealous I don't have one! Great job Rag!
    07-16-2012 09:46 PM
  9. tntdroid's Avatar
    This was awesome. I'll use it tomorrow.

    Sent from my Galaxy Nexus using Android Central Forums
    07-16-2012 10:35 PM
  10. ilkhan's Avatar
    unlocked and ROMd my Gnexus on basically its first boot. This will help me do the same for my Nexus7 when it arrives later today.

    Thanks.
    07-17-2012 02:38 AM
  11. Miffo's Avatar
    Great tutorial - I will be using it when my Nexus 7 finally arrives!

    I've got a suggestion to make it even clearer for the super-inept like myself. At 5:10 we're told to type "fastboot reboot bootloader" verbally but you can just make out on the screen (just) that it's "fastboot reboot-bootloader". I spotted that one - don't know if there are others so perhaps a .txt file with a transcript of the commands I have to type would be nice.

    Thanks again.

    Peter.
    bigbood1 and ragnarokx like this.
    07-17-2012 05:40 AM
  12. eze036's Avatar
    great video....
    07-17-2012 09:10 AM
  13. dekan54's Avatar
    Thanks for the great "How To"....
    07-17-2012 09:32 AM
  14. SHWELL's Avatar
    I was unable to complete the root...

    I had success unlocking it, but root access escapes me..

    "E:cannot mount /sdcard/" is what I am getting..
    michaelschiffer likes this.
    07-17-2012 09:41 AM
  15. ragnarokx's Avatar
    I was unable to complete the root...

    I had success unlocking it, but root access escapes me..

    "E:cannot mount /sdcard/" is what I am getting..
    Are you getting that message when trying to push supersu to your tablet? Did you get Clockwork installed ok?
    07-17-2012 10:44 AM
  16. zero neck's Avatar
    Great tutorial, rag!
    07-17-2012 10:46 AM
  17. SHWELL's Avatar
    Are you getting that message when trying to push supersu to your tablet? Did you get Clockwork installed ok?
    I couldnt tell you if Clockwork was installed correctly.. I couldnt backtrack to verify.. I have a local buddy who has done this with success.. He will walk me through the Root access.


    Thank you are responding.
    07-17-2012 11:08 AM
  18. jchice2's Avatar
    SHWELL

    I had the same issue, I just started over skipping the unlock step and everything worked correctly.
    SHWELL likes this.
    07-17-2012 11:11 AM
  19. ragnarokx's Avatar
    If both of you were attempting to push supersu.zip while in Clockwork (black screen with yellow letters), rebooting Clockwork may have fixed your problem. You can reboot Clockwork by typing "adb reboot recovery" in Windows command prompt, or going to Advanced>Reboot recovery on the tablet.
    SHWELL likes this.
    07-17-2012 11:23 AM
  20. jchice2's Avatar
    Hey ragnarokx

    Everything went great, but I have a question. The Nexus7 wants to do the update to 4.1.1, when I tell it yes, it reboots and goes into Clockwork and says the update fails? Any ideas? I do not tell it to go into Clockwork, just to reboot when the Nexus7 asks. Thanks!!
    07-17-2012 11:25 AM
  21. ragnarokx's Avatar
    Hey ragnarokx

    Everything went great, but I have a question. The Nexus7 wants to do the update to 4.1.1, when I tell it yes, it reboots and goes into Clockwork and says the update fails? Any ideas? I do not tell it to go into Clockwork, just to reboot when the Nexus7 asks. Thanks!!
    You need stock recovery to install an OTA update. To get stock recovery back, you repeat the same steps that you used to install Clockwork. do the following:

    1) download stock-recovery.img, extract the file inside, place the file in the nexus7 folder (C:\nexus7)
    2) reboot into bootloader (power off, hold vol down+power), plug in tablet to PC via USB
    3) open Windows command prompt (cmd), navigate to the nexus7 folder in the command prompt (cd c:\nexus7)
    4) in command prompt, type "fastboot devices" to make sure your tablet is connected properly, then type "fastboot flash recovery stock-recovery.img" to get stock recovery back, then reboot the bootloader by typing "fastboot reboot-bootloader" to finish installation
    5) using the volume keys, go to "Recovery mode" on the bootloader screen and press power to select it
    6) you should now see stock recovery, which is a little Android laying down with an exclamation point over him. if you see this, then you're ready to apply the OTA update. reboot and apply the 4.1.1 update as normal.
    7) after you apply the OTA update, if you want Clockwork back repeat the above steps but instead of using "stock-reocvery.img" use "clockwork.img" from the video (it should already be in your nexus7 folder).

    if you lose root access after the OTA update, check to see if SuperSU is still in your app list. if it is, open it and tap yes when it asks to install binaries, then you'll have root access back.
    07-17-2012 11:38 AM
  22. jchice2's Avatar
    You rock ragnarokx !!

    Thank you again!
    07-17-2012 11:42 AM
  23. pahern's Avatar
    At this point I don't need root (total newbie to unlocking/rooting - never did it on my phone) but I may want to root it later, so the best thing at this point would just be to unlock it right?

    If I just unlock it now I'll still get the OTA updates directly and it will be "root ready" without wiping it when the day comes that I want to root it?
    07-17-2012 11:46 AM
  24. zero neck's Avatar
    At this point I don't need root (total newbie to unlocking/rooting - never did it on my phone) but I may want to root it later, so the best thing at this point would just be to unlock it right?

    If I just unlock it now I'll still get the OTA updates directly and it will be "root ready" without wiping it when the day comes that I want to root it?
    yes. you can even root it if you want, just don't flash a custom recovery and you can get updates.
    07-17-2012 11:50 AM
  25. ragnarokx's Avatar
    At this point I don't need root (total newbie to unlocking/rooting - never did it on my phone) but I may want to root it later, so the best thing at this point would just be to unlock it right?

    If I just unlock it now I'll still get the OTA updates directly and it will be "root ready" without wiping it when the day comes that I want to root it?
    If you're worried about your device being wiped, then yes - unlocking before you do anything will save you the trouble of getting your device wiped later when you root.
    07-17-2012 11:59 AM
312 123 ...
LINK TO POST COPIED TO CLIPBOARD