yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] matt68000:
I get this far with my Nexus 7. When I boot in to recovery, it comes up with the CMW list of items. When I select "Mounts and Storage", I get a screen with a grey tophat overlaying an orange, circular arrow on top of a gear (the CWM logo) but no further options to Mount /System or anything else. Pressing the power button brings me back to the mane ClockworkMod Recovery menu though.

Any thoughts? I'm still here in SF a block away from I/O, happy to buy a beer or coffee for an assist. Thanks for re-writing the guide in more detail!

Update 1:

Since I could not actually do anything from the menu driven "Mounts and Storage" I simply used "adb shell" and mounted /system with

mount /dev/block/platform/sdhci-tegra.3/by-name/APP /system

Then I was able to move recovery-from-boot.p

Unfortunately, the "Install zip from sdcard" menu option also leaves me with a blank CWM screen. I'm guessing there must be a way to install that zip from the adb shell?

Update 2: On the Galaxy Nexus (JellyBean from I/O 2012)

I did a "fastboot erase recover" and then flashed the recovery with a touch version of CWM found here. dl.dropbox.com/u/3727513/cwm_touch_alpha2_toro.img

This version of CWM worked great, I was able to mount /system as well as run the JB-SuperSU.zip install

Both devices from Google I/O are now rooted!

Thanks!
[Nexus 7 General] FadedLite:
Umm, there is. Extract the zip, navigate to. The su binary and push that to /system/xbin. Then take the apk and put that in system/app. You have to set permissions on the binary, and I'll get back to you once I find out the right chmod args

Update:

You'll need to chmod 06755 the su binary after you pushed it into xbin.
[Nexus 7 General] jutley:
you will have to relock bootloader if you want to go back to stock rom and stock recovery once custom roms surface.
[Nexus 7 General] antiochasylum:
JBQ said you need to run fastboot erase before flashing a specific partition. Since it does not automatically do it now.
[Nexus 7 General] RMXO:
method works great & TYVM!
[Nexus 7 General] FadedLite:
It works for me the way I wrote it... I mean, you can do it I guess.
[Nexus 7 General] antiochasylum:
Was only curious if you did it or not. Seems unnecessary to me. But the man himself said to lol.
[Nexus 7 General] wis3m0nkey:
Unlock?

I must have misunderstood something.

What is the meaning of unlocking nexus 7, I thought the device is not locked with any carrier?
[Nexus 7 General] climo:
It means unlocking the bootloader....the device needs the bootloader unlocked to gain root, and flash custom roms.

The one you are describing is a SIM unlock. This is used to unlock the phone's SIM card so it can be used on different carriers. But this is not a phone since there is no SIM card.
[Nexus 7 General] SladeNoctis:
Hey so far i was able to unlock the bl but my only issue is that my computer is not finding the drivers for my nexus 7 when its on recovery, causing me an issue to perm the cwm. A driver for "grouper" would be grateful.
[Nexus 7 General] nandihno:
It basically unlocks the bootloader so that you can install a custom recovery for which you can do a nandroid backup ;) and install other future custom roms

This will be the first thing I do when I get it and before rooting is advice able to have a nandroid copy of an un rooted image :) just in case you want to go back to pure stock
[Nexus 7 General] Arcadia310:
Any ETA for the one click root script?
[Nexus 7 General] FadedLite:
I'll work on it today. I have an 8 hour drive back to socal from San Francisco and I'm not driving (thank god). So ya, we'll see. Hopefully today.
[Nexus 7 General] antiochasylum:
Take your time. People need to learn how to do things in steps. Makes people READ.

Not everything is 1 click.
[Nexus 7 General] Arcadia310:
Cool thanks. Really appreciate it man.
[Nexus 7 General] FadedLite:
I do not know of a driver right now. I'm using Ubuntu so I guess it just worked for me. If i come across any drivers, I'll post them in the thread, but until then, i'm not too sure :/

sorry man. :(

If you find them, please tell me so i can post them to help others with the same problem.

Though, i would think that windows would pick it up automatically being that it's just adb drivers.
[Nexus 7 General] rockstar283:
This helped me..Thank you underwaterjr:laugh:
[Nexus 7 General] OldDogEyes:
Dumb question... read this...

But when I look at SuperSU it clearly states that it requires root to work.

How can flashing this per the instructions above provide root when the developer says root is needed to use it?

What am I missing?

Thanks for humoring the ignorant (me)... !!
[Nexus 7 General] janedoesmith:
It means:

After you have flashed the custom recovery of your choice, acquire the SuperSU zip file from this site, and place this zip file in your device's internal memory.

There should be an option in your custom recovery to flash a zip file. Pick this option and direct it the location of your SuperSU zip file you placed in your device's internal memory.

Once successfully flashed, reboot your device and go into your app drawer. SuperSU should be in there.
[Nexus 7 General] underwaterjr:
I think he is referring to the ones available in the play store.
[Nexus 7 General] Andrew025:
No... He has the understanding that SuperSu is what makes the rom rooted. So he's asking why root is required for SuperSu.
[Nexus 7 General] jsk23:
So I got the new Nexus 7 today. CWM probably doesn't support it yet right? Is my only option to just unlock it at this point? I imagine I have to wait for a new root method as well thanks to 4.3.
[Nexus 7 General] FadedLite:
Yeah, unlocking it would be the only thing you could do until they come out with CWM for your device. CM is coming out for the device really soon since they already have it booting on the other nexus devices. I'd Just wait until then.
[Nexus 7 General] L.iam:
Nexus 7 Root Question

Possibly the wrong area to post this but...

I have a Nexus 7 (2012)

running 4.4.2 - Build KOT49H

Is it possible to root? I've looked at numerous sources for guides and information and I haven't found anything solid yet.

I'm no stranger to root and custom ROM's & Recovery

I just want to make sure I do things the correct way if it's at all possible?

I'd like to be able to root and install twrp recovery. I'll keep the stock ROM I actually quite like it, it just needs tweaking

Any help would be much appreciated.

Thanks all & Merry Christmas!
[Nexus 7 General] stevedawg85:
Any luck evilm0narch? I'm on 4.4.2 and in the same situation. Want to dust off the nexus and root this thing.
[Nexus 7 General] L.iam:
Not yet, but I'll give it another look tomorrow at some point and let you know what I find.

I'm not sure if this thread is just stale or it's just not possible...

Check back soon :good:
[Nexus 7 General] FadedLite:
Sorry for not being active here, this is a thread back from I/O 2012 when we first got our Nexus 7s. If you have the og Nexus 7, then this will work. It may be a bit outdated, but just get the new cwm recoveries as well as a new super su package.
[Nexus 7 General] stevedawg85:
check this link out!

http://nexus7.wonderhowto.com/how-t...rooting-installing-custom-recoveries-0144705/

Worked like a charm, now I'm just having a hell of a time install CM on it. but in the end, its rooted like I wanted.
[Nexus 7 General] L.iam:
After a lot of consideration, decided to sell my Samsung Galaxy S 4, and purchase a Nexus 5. So waiting for that to arrive :victory:

Drawing my attention back to my 2012 Nexus 7.

Running 4.2.2 KOT49H and wishing to root, I've found a few methods that should solve the problem...

http://www.teamandroid.com/2013/12/10/root-nexus-7-android-442-kot49h-kitkat-install-cwm/2/

or

http://www.ibtimes.co.uk/nexus5-android442-kitkat-kot49h-root-update-release-529012

My only problem here is I'm not familiar with CWM, I've always used TWRP...

Does anyone have a guide for this build using TWRP?

More to the point, has anyone rooted the device on the KOT49H build?
[Nexus 7 General] badjaguar007:
Hey I have just rooted my nexus 7 2012 running kitkat. SU i initially used as 1.91 only. but it wasnt working. said binaries weren't present. now i went back to 1.81 and then back to latest and somehow it works. Wierd but finally done with it.
[Nexus 7 General] cptsashimi:
Yes I've rooted using the same procedure as in your first link from team android. Do everything the same except just put the full filename for the version of TWRP that you downloaded and placed in platform tools directory after the command "fastboot flash recovery"
[Nexus 7 General] XxbloodxrushxX:
Did I just break my nexus? had it for an hour :c

did fastboot oem unlock and flashed CWM for Flo, and didn't have SU on my sd, when i press reboot it asks:

"The stock rom may flash a stock recovery, fix?" and i clicked no, then it says "do you want to root from /system/xbin/su"? i click no because i have not yet installed SU to my /sdcard. Now when i boot I'm stuck on the X screen.

Please help ASAP:crying:
[Nexus 7 General] sportscrazed2:
Will this work on a 2013 model? I just decided to upgrade because I found a deal for $130 and figured I can get at least $50 for my 2012 model. I do have access to a windows netbook that's collecting dust in a corner but, would prefer to use my ubuntu desktop with adb and fastboot installed from the repos. Hate to bump but, I'm interested in doing this when I wake up in the morning. Will this work for the new model?
[Nexus 7 General] happy-kat:
Just wanted to say thanks, I have been able to root and install clockworkmod on my Nexus 7 2012 which is running much better with Lollipop 5.1.1

If followed the first post but I could not flash SuperSU zip because the oem unlock command had wiped all data.

The device reboot and took about 5 minutes to load into Lollipop, be patient.

A free root checker from the app store confirmed the device was rooted but SuperSU app said there were no binanries which I guess is because I had not yet intalled the zip file.

Put the superSU zip back on the Nexus and did a checksum check on the file.

Anyway getting back into clockworkmod meant I could install the superSU zip file. (though I had to use fastboot flash again as CWM had not stuck).

Job done, Nexus is rooted and SuperSU is happy.

Thank you., I am glad I went for the manual method using Androind-SDK tools as I had a better handle on what I was doing.

Off to build it now with the KitKat gallery apk file I found and other nice things that rooting brings..
[Nexus 7 General] FiveOhFour:
This may be a ignorant or ill advised suggestion and if so please correct me I'm just throwing it out there but with the skills you guys have I'm quite sure its not necessary and has already been thought of but if there is a windows driver lacking atm and it works for ubuntu a LiveCD or flash drive with a live image of Ubuntu may make it more feasible to be able to used by someone only booting into windows.
[Nexus 7 General] sparkym3:
When I updated the Android SDK it also had an update for the "Google USB Driver". When I look at this driver it now includes the Nexus 7.

I have attached the new Windows drivers for those who don't have the SDK installed.

EDIT: It appears there are some problems with XDA uploads lately (at least for me) so I have shared it here

https://skydrive.live.com/redir?resid=DC89975E3CE960E5!219
[Nexus 7 General] movieaddict:
to download the driver, it says 404 error-not found
[Nexus 7 General] sparkym3:
Updated post with external link until XDA is fixed.
[Nexus 7 General] iwantanandroid:
Hey Guys

I'm new to the whole rooting thing, I just have a few questions if anyone could help me out I would be grateful.

So when i get my new Nexus 7 i would like to root to enable the USB OTG as mentioned in another thread, this would allow me to transfer files between my flash drive and tablet so long as i use 'StickMount'

But i was wondering is it easy to root? I know the OP said they are working on a One Click Root (for idiots like me haha)

Also once rooted do i need to install any specific apps to make the root work and do i have to flash ROM's or can i keep the standard JB that comes with it?

Finally despite rooting will the Nexus 7 still update when google sends updates or do i need to unroot?

PS - Will google play movies work if my tablet is rooted? if not does that mean unrooting and re-rooting constantly?

Help is much appreciated
[Nexus 7 General] FadedLite:
It is easy to root.

All you have to do is unlock the bootloader (one command and a click)

Flash Clockwork Mod Recovery: download a file, two commands

Flash Root: you do it inside of the recovery

Google Will not send OTA software updates, apps, will still update, and google movies does work. have already tried it streaming on my Q :D

Just follow the guide and you'll be fine.
[Nexus 7 General] RMXO:
When trying to run this command, I get directory not found error

mv recovery-from-boot.p recovery-from-boot.bak

I've reloaded back to stock & that is the only issue I've ran into when trying to root & install a perm recovery
[Nexus 7 General] iwantanandroid:
How do I get updates then?
[Nexus 7 General] RumDrools:
People will post them on XDA~
[Nexus 7 General] sparkym3:
They will be available from Google here, as it is a nexus

https://developers.google.com/android/nexus/images
[Nexus 7 General] pham818:
What does "Unlock" mean? I always thought it was a phone reference to allow use on other carriers.
[Nexus 7 General] Ir0nLy0n:
This is about unlocking your bootloaders to be able to flash the cwm and su.
[Nexus 7 General] vinvinvinster:
Did you mount /system in CWM and then cd to /system/ first?
[Nexus 7 General] matt68000:
What wasn't clear at first is that while you can up and down arrow with the volume keys, the interface it touch driven. Touching an item selects it, the power key is the back button. You don't have to reboot between steps, just back up the menu using the power button.
[Nexus 7 General] FadedLite:
After i made this, i thought it was vol- and power, but thanks for correcting me. didn't really know that. I've never had a touch recovery
[Nexus 7 General] TahrirSquare:
What's the difference between this and the 1-clock tool in the development thread? I mean do they accomplish the same goal in different ways or is there some advantage to this method here?
[Nexus 7 General] sparksco:
As far as I can tell this is the manual method which is probably the method I'll be using on linux since I'm not a big fan of windows. The one click root pretty much does everything this does just auto. You just need to unlock the bootloader to be able to flash cwm to the recovery partition so you can install supersu/superuser to the system partition.

Another reason I like this method is I can make a nandroid backup of the stock unrooted rom and boot image just prior to flashing supersu/superuser to the system in recovery.
[Nexus 7 General] TahrirSquare:
Yeah but the instructions say "You must run this as sudo in Linux", I don't have Linux and I never really used it. I am coming over from the kindle fire, everything was done in windows in command prompt. I guess that's the setback for this method, wish it can be made for windows only users like me :o

Edit: Wait maybe it means if you are using Linux then you must run it as sudo, not that you have to run it in Linux as sudo?
[Nexus 7 General] jptech:
correct. sudo (soo doo) is a way of running a command with the same permissions as root while not being root. On windows this would mean, administrative permissions.
[Nexus 7 General] TahrirSquare:
Step 5: To boot into recovery from fastboot do you just press the power button and use the volume- key to navigate to the recovery option then press the power button again?
[Nexus 7 General] raafaell:
Ice been using ubuntu Linux for a few years now, so my question is, don't you news the proper drivers from Google in order to use and? Correct if I'm wrong... I use winXP in virtualbox to accomplish that.

sudo shutdown -now :)
[Nexus 7 General] FadedLite:
Well, ya you do. Just grab the version of the SDK for Linux and download the drivers there. Those will always be updated. I couldn't imagine using a virtual to just develop D:
[Nexus 7 General] iwantanandroid:
When rooted can you still get OTA updates from google? Someone on here mentioned an app that let's u switch between rooting and unrooting to allow updates is that right?
[Nexus 7 General] FadedLite:
If your on a custom ROM, no. Root only, I would think. Your not changing anything, just adding two files. Will it cause problems if rooted? There's a chance. Most Roms will follow the update so I would just stick with a rom like KRAKD-7. And I haven't seen a post about that app.
[Nexus 7 General] iwantanandroid:
I want to keep the stock ROM as I'm new to all this....so do you think I still get updates? Oh it was some app called OTA ROOTKEEPER if I remember right.
[Nexus 7 General] cammykool:
Pitot on the sdcard? Did you mean internal storage
[Nexus 7 General] smirkis:
theres a spot on internal storage, called /sdcard
[Nexus 7 General] FadedLite:
Ya, the internal storage on the latest nexus devices is sdcard. Recently, they changed the partition to /storage/sdcard0/.
[Nexus 7 General] TjPhysicist:
Just to clear things up, since ICS they have been experimenting (i think) with where to put the "your media and ****" partition (basically stuff that would orignally be in an external sdcard), before it was /data/media (with ICS) with JB they now have it at /storage/sdcard0.

I assume this was done so that devices that ACTUALLY HAVE AN EXTERNEL can do it as /storage/sdcard1 and /storage/sdcard2 and so on.

Most importantly, there are a lot of apps that are still used to finding "your non OS storage in /sdcard" thus forcing google to basically create a /sdcard folder which is basically a symbolic link (for you windows users read: bad ass shortcut) to /storage/sdcard0. For those devices taht don't have an internal partition for sdcard/user storage /storage/sdcard0 will be the external one, and will again, be symlinked to /sdcard for backwards compatibility.
[Nexus 7 General] rmm200:
I really do not want a one-click root tool;

I want what this topic promises: a step-by-step guide to unlocking and rooting.

The OP started this topic off without a device yet, and the topic has gotten cluttered along the way. Many pages cluttered...

Can you revisit this topic and update the guide on the first page when you actually have a Nexus 7 to try it on? It would be nice in the Guide was in a Wiki...

It would be much appreciated! Thanks!
[Nexus 7 General] FadedLite:
I do have the nexus 7... im part of the development team for KRAKD... I was the second attendee allowed into the first keynote and blah blah blah. Plus I put out this guide during a session :P
[Nexus 7 General] rmm200:
In that case, I apologize. I really thought you did the Guide before having the device.

I will take the first page of this topic as both current and accurate then.

There sure is a lot of fluff after your Guide in this topic though.
[Nexus 7 General] FadedLite:
It's fine. No worries.

And yes, there is.
[Nexus 7 General] smirkis:
it does require a bit of know how with adb and fastboot but its very straight forward and adb/fastboot are good to know with android
[Nexus 7 General] TahrirSquare:
I only have one note, you said in prestep #2 to push the SU file to Sd card, but wouldn't that file be erased after the bootloader is unlocked since unlocking the bootloader wipes all data? Should that be done after the bootloader is unlocked?
[Nexus 7 General] dijonemon:
AFAIK no - /sdcard is untouched by the oem unlock, only /data.
[Nexus 7 General] UnknownFearNG:
Not sure if this was mentioned or not, but where do we get the Nexus 7 USB drivers? Are they already updated in SDK Manager and a quick re-install will do it? I'd rather follow this guide then use a one-click solution as I love seeing how it works and actually typing the commands in :P [Geeky, I know :P]
[Nexus 7 General] FadedLite:
The drivers already out on the sdk. They came out on the first day of google io. You doing after reinstall, all I have to do is just update the drivers.
[Nexus 7 General] rmm200:
The latest USB driver, at the moment, is Version 6 dated 6/27/2012.

Google signed it 6/23/2012.

Note this is only used for Windows.

After you connect your Nexus 7, you can use Device Manager to see what version of the driver got loaded.
[Nexus 7 General] UnknownFearNG:
That worked. I just checked the Android SDK and I updated to version 6 for the USB Drivers. All set and ready to roll...if I had my Nexus 7 :P Can't wait till it gets here!!! :D
[Nexus 7 General] RMXO:
yeap but still get same results. I even tried the method from post #25 but to no avail

http://xdaforums.com/showpost.php?p=28076028&postcount=25
[Nexus 7 General] xm0067:
Is there any way someone could make this more painfully, obviously, clear-as-an-unmuddied-lake-sir spelled out? For people who've never used ADB?
[Nexus 7 General] BigArea:
This is not rocket science. You can literally copy and past most of what has been provided from OP into a terminal and it will work. Replace "path-to-" with the name of the directory that file is in.

It does not get any more simple.

If you are uncomfortable with adb there are unlimited resources explaining it elsewhere. Go find them.

The community is willing to help with legitimate issues. I doubt anyone here will be any good at helping you pull your head out of your own backside.

Edit: I normally wouldn't do this but I'm feeling unusually susceptible to karma tonight.

http://xdaforums.com/showthread.php?t=1474956

This appears to provide a nice tutorial (even a video) on adb.

Next time try googling "into to android adb"

Mod note: he asked for painfully, obviously
[Nexus 7 General] the_mentor:
Re-Lock

I was reading somewhere that in previews Nexus devices it was possible to Re-Lock the device if it has the stock image.

I wonder if this is the case with the Nexus 7.
[Nexus 7 General] rmm200:
The Nexus 7 bootloader can be locked or unlocked any time.

Root does not matter, but an unlocked bootloader is a prerequisite to rooting.

Google actually recommends relocking the bootloader after you root, for security.

Don't ask me where I read this stuff...
[Nexus 7 General] trampino96:
does anyone plan on making a video of this? hate to be annoying but im sure many would appreciate it
[Nexus 7 General] TahrirSquare:
Wait till Nexus 7 starts shipping you'll see tons of those videos on youtube.
[Nexus 7 General] altrikdout21:
Can't wait. I love the baby step by baby step instructions...at least until I understand everything!
[Nexus 7 General] thebobp:
Noob question: should the device be plugged in the whole time? Is there any point in the original instructions at which we should unplug the device?
[Nexus 7 General] androidkid311:
Yeah...I'll defo wait for the one click tool! Lol xD. Can't waaait to see the devs and themes on this bad boy :D.
[Nexus 7 General] jimczyz:
What about this?

http://xdaforums.com/showthread.php?t=1742919
[Nexus 7 General] RMXO:
This works with the latest 4.1.1 OTA
[Nexus 7 General] the_mentor:
I guess I'm wondering if re-locking the device will make it covered by warranty again.
[Nexus 7 General] FadedLite:
It will. People have done it before. Remove root, go back to just plain stock, then lock the phone again. I had to do that with my incredible when I gave it to my dad when he needed a new phone and had to take it to verizon so they could set it up for him... bringing him kicking and screaming into the 21st century.
[Nexus 7 General] FadedLite:
You have to keep it plugged in for the terminal stuff (obviously) but after cwm, you don't have to keep it plugged in. Just make sure you moved the recovery part or else it won't stick :)
[Nexus 7 General] belig1234:
I've read the 10 first pages and I didn't understand something:

why would you backup the device before it's even rooted ? Isn't that possible (for warranty purpose) to unroot and re-lock the bootloader ?

If that's possible, how do we unroot re-lock the bootloader ? :o

Thank you ! :highfive: