5,598,086 Members 42,920 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Unlock and Root a Nexus 7

Tip us?
 
FadedLite
Old
(Last edited by FadedLite; 1st August 2012 at 03:55 PM.) Reason: Added Reference to adb/fastboot fix, updated cwm link
#1  
FadedLite's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 165
Join Date: Jul 2010
Location: California

 
DONATE TO ME
Tutorial [GUIDE] Unlock and Root a Nexus 7

I found less detailed guide on rootzwiki created by birdman, but i decided to repost it here in more detail.

* Disclaimer: I do not take any responsibility for anything you do to your phone, whether be brick, break, or somehow mess it up.


Requirements
1. You must have the sdk installed and you are able to access, and use adb and fastboot.
2. You must have debugging enabled on your Nexus 7.
3. Download Su here (Chainfire's thread for supersu) (Thanks Eric_Eric_Eric)
4. Download CWM here. Scroll down to Nexus 7 and choose whether touch or regular.

Pre-Steps
To make this easier, you should put the su zip on the sdcard for later.

1. In terminal, cd to the directory you have your sdk in. Then cd into platform-tools.
2. Type adb push path-to-zip/JB-SuperSU.zip /sdcard


Unlocking Your Nexus 7

To unlock your device
1. cd to platform-tools
2. Reboot to the bootloader - adb reboot bootloader
3. Unlock your device* -
fastboot oem unlock
*You will have to accept and erase all the user data on the tablet.
*You must run this as sudo in Linux


Flash Clockwork Mod Recovery
(You're still inside the bootloader)

4. Flash CWM -
fastboot flash recovery path-to-img/CWM-grouper-recovery.img

5. Make CWM Permanent -
1. Boot into recovery
2. Go to Mounts and Storage
3. Mount /System
4. Type in Terminal*
adb shell
cd /system
mv recovery-from-boot.p recovery-from-boot.bak
If your having trouble gaining shell, try "adb kill-server" then "abd start-server". Couple of my friends had this problem, and this should hopefully fix it.
* For some people, it has been reported that you don't have to replace recovery-from-boot.bak. The flash is enough to make the recovery stick.

Flash Su
1. Go back by pressing power button
2. Install the zip in the sdcard
Reboot and your device is now rooted!!

For anybody having trouble trying to use fastboot and come up with a no-permissions error or adb ????????? problem, I created a guide to fix the problem here: [GUIDE]Fix Fastboot and USB
HTC One (M8)
ChromeCast
HP Touchpad
Nexus Q
LG G2 (D801)
Samsung Galaxy Nexus CDMA/LTE
Nexus 7 Developer EditionStolen
Droid Incredible Retired
SoCal Devs Developer
http://socaldevs.com
The Following 114 Users Say Thank You to FadedLite For This Useful Post: [ Click to Expand ]
 
khaytsus
Old
#2  
Senior Member
Thanks Meter 1011
Posts: 6,711
Join Date: Apr 2008
Location: Central Kentucky
Any ugly splash screens indicating it has been unlocked?
AT&T LG G2 - 4.3, AOKP
Samsung Note i717 - 4.2.2, Unofficial AOKP
Nexus 7 Wifi 2012 - 4.4.2, Stock Rooted (m-kernel)
Try my Alternative XDA CSS Themes (including 2010!)

--
http://theblackmoor.net
http://unlimitedphoto.com
The Following User Says Thank You to khaytsus For This Useful Post: [ Click to Expand ]
 
jorge_culv
Old
#3  
Senior Member
Thanks Meter 3
Posts: 171
Join Date: Dec 2005
Default No SD Card!

Not to be a jackass or anything, but this tablet has no SD Card slot...might that require slightly different steps than what you outlined?
Devices: HTC Wallaby, HTC Wizard, HTC Titan, now HTC Flyer
The Following User Says Thank You to jorge_culv For This Useful Post: [ Click to Expand ]
 
cesjr02
Old
#4  
cesjr02's Avatar
Senior Member
Thanks Meter 51
Posts: 698
Join Date: Jul 2010
Quote:
Originally Posted by jorge_culv View Post
Not to be a jackass or anything, but this tablet has no SD Card slot...might that require slightly different steps than what you outlined?
I'm sure he meant internal storage.
Samsung Galaxy S III (SPH-L710)
ROM: CyanogenMod 11 2014-02-17 Nightly


HTC Evo 4G
ROM: ICS Deck PreBeta 22
Kernel: Mason I series - v0.14 SBC FSO
The Following 2 Users Say Thank You to cesjr02 For This Useful Post: [ Click to Expand ]
 
movieaddict
Old
#5  
movieaddict's Avatar
Senior Member
Thanks Meter 353
Posts: 2,105
Join Date: Jul 2010

 
DONATE TO ME
Is there a way to do this without adb? I'm sort of new to adb....any help would be greatly appreciated. Ty

Sent from my SAMSUNG-SGH-T989 using xda premium
Quote:
Originally Posted by geoffcorey View Post
You don't have to do anything in life except die. But unless you don't want any headaches, listen to the people giving you advice, they know what they're talking about.

IF ur a Noob watch this!
http://www.youtube.com/watch?v=JmvCpR45LKA

IF I HAVE HELPED U, I WOULD LOVE TO BE THANKED

My phone: Tmobil Samsung Galaxy S 4-rooted loving it!!


NEXus 7: rooted and loving it
The Following 4 Users Say Thank You to movieaddict For This Useful Post: [ Click to Expand ]
 
paddycr
Old
#6  
Senior Member
Thanks Meter 133
Posts: 571
Join Date: Jan 2012
Quote:
Originally Posted by jorge_culv View Post
Not to be a jackass or anything, but this tablet has no SD Card slot...might that require slightly different steps than what you outlined?
What he wrote about pushing SU to /sdcard is correct. I have a Transformer Prime and ASUS called the internal storage /sdcard, which is a little counter intuitive. I presume the same situation exists with the Nexus 7.
The Following 2 Users Say Thank You to paddycr For This Useful Post: [ Click to Expand ]
 
FadedLite
Old
#7  
FadedLite's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 165
Join Date: Jul 2010
Location: California

 
DONATE TO ME
Quote:
Originally Posted by paddycr View Post
What he wrote about pushing SU to /sdcard is correct. I have a Transformer Prime and ASUS called the internal storage /sdcard, which is a little counter intuitive. I presume the same situation exists with the Nexus 7.
This is correct. There is no emmc internal storage. Its just called sdcard

Sent from my Galaxy Nexus using xda app-developers app
HTC One (M8)
ChromeCast
HP Touchpad
Nexus Q
LG G2 (D801)
Samsung Galaxy Nexus CDMA/LTE
Nexus 7 Developer EditionStolen
Droid Incredible Retired
SoCal Devs Developer
http://socaldevs.com
The Following 2 Users Say Thank You to FadedLite For This Useful Post: [ Click to Expand ]
 
FadedLite
Old
#8  
FadedLite's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 165
Join Date: Jul 2010
Location: California

 
DONATE TO ME
Quote:
Originally Posted by movieaddict View Post
Is there a way to do this without adb? I'm sort of new to adb....any help would be greatly appreciated. Ty

Sent from my SAMSUNG-SGH-T989 using xda premium
Umm, this no way to do this without adb. I'm working on a one click script which i will be posting later. I am currently in IO Sessions and should have it in the next couple of days.

But an answer, again, no, there isn't. You need to download the sdk, and install the tools. then just cd to platform-tools, and use adb like i said. If your in windows, use adb.exe then the arguments, but if your in linux, just use ./adb. Same thing with fastboot.
HTC One (M8)
ChromeCast
HP Touchpad
Nexus Q
LG G2 (D801)
Samsung Galaxy Nexus CDMA/LTE
Nexus 7 Developer EditionStolen
Droid Incredible Retired
SoCal Devs Developer
http://socaldevs.com
The Following 3 Users Say Thank You to FadedLite For This Useful Post: [ Click to Expand ]
 
FadedLite
Old
#9  
FadedLite's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 165
Join Date: Jul 2010
Location: California

 
DONATE TO ME
Quote:
Originally Posted by khaytsus View Post
Any ugly splash screens indicating it has been unlocked?
Ya, there is, its the Google logo with the unlocked sign at the bottom, just like the galaxy nexus.
HTC One (M8)
ChromeCast
HP Touchpad
Nexus Q
LG G2 (D801)
Samsung Galaxy Nexus CDMA/LTE
Nexus 7 Developer EditionStolen
Droid Incredible Retired
SoCal Devs Developer
http://socaldevs.com
The Following 3 Users Say Thank You to FadedLite For This Useful Post: [ Click to Expand ]
 
movieaddict
Old
#10  
movieaddict's Avatar
Senior Member
Thanks Meter 353
Posts: 2,105
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by FadedLite View Post
Umm, this no way to do this without adb. I'm working on a one click script which i will be posting later. I am currently in IO Sessions and should have it in the next couple of days.

But an answer, again, no, there isn't. You need to download the sdk, and install the tools. then just cd to platform-tools, and use adb like i said. If your in windows, use adb.exe then the arguments, but if your in linux, just use ./adb. Same thing with fastboot.
TY very much faded, looking forward to ur one click script!
Quote:
Originally Posted by geoffcorey View Post
You don't have to do anything in life except die. But unless you don't want any headaches, listen to the people giving you advice, they know what they're talking about.

IF ur a Noob watch this!
http://www.youtube.com/watch?v=JmvCpR45LKA

IF I HAVE HELPED U, I WOULD LOVE TO BE THANKED

My phone: Tmobil Samsung Galaxy S 4-rooted loving it!!


NEXus 7: rooted and loving it

The Following 2 Users Say Thank You to movieaddict For This Useful Post: [ Click to Expand ]
Tags
cwm, nexus 7, nexus 7 root, root, unlocked bootloader
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes