yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] FadedLite:
Did you download the new version of the sdk? I have heard of problems similar, but not exact, to this, but I think it might be a drivers problem. The thing is that you had it working before though. Sorry about that.
[Nexus 7 General] FadedLite:
Are you suggesting that people should boot into recovery then flash CWM? I've personally never had to actually boot into recover nor do i know if it will work in recovery. It could very well be a possible that it does work, I just have never tried to use fastboot in the stock recovery.

I just do it from the bootloader.
[Nexus 7 General] khaytsus:
Nope, I screwed up, thanks for noticing so I could fix it! Supposed to be reboot-bootloader, I fixed my post. The reason I put this there is when I tried to unlock immediately followed by flash, it just hung, but as soon as I had fastboot reboot into bootloader, it flashed fine.
[Nexus 7 General] jewnersey:
muffed soemthing up..... in CWM and getting error mounting sdcard. im trying to flash su right now..

helllp please

--edit.

dunno what happened, ran through it again and it worked this time.

THANKS!
[Nexus 7 General] malaeum:
I don't actually need the SDK for anything. I have a fastboot binary for linux, I've been using it for years (its been updated, and I did grab it again yesterday from the CM website just to be sure). I boot the phone into fastboot (vol down + power), run fastboot oem unlock (which worked even without the device ID showing). With the device now wiped, I rebooted into Stock, copied SU, CM10, and gapps onto the SD card. Rebooted back into fastboot, flashed the recovery and tried to boot to it. I was having a hard time getting it to boot into the recovery, I tried it about 20 times and it worked randomly, but once into recovery I was able to root, flash CM10 and gapps. Booted into CM10 and everything is running just fine now. I can reboot to recovery reliably from CM10 and from fastboot. Its like the data pipe into and out of fastboot was being corrupted frequently. I have no idea what caused this, I am guessing my device has something defective with it as I had the same behavior with the stock recovery. Plus even before unlocking it (i.e. it was completely factory), I was unable to get the device ID to show up more than about 5% of the time when I ran fastboot devices.

I have since updated from the recovery posted in the OP to the latest 6.0.1.0. Again, everything is working as expected there so seems to be past its little hissy fit.

No idea what the hell was causing my trouble but I think I have somehow worked around it. I don't like not knowing, but everything is working for now so I'm not going to push my luck digging into it.

Thanks for your suggestions.
[Nexus 7 General] dislplin01:
One last question after I do this I still get ota as long as don't flash a new ROM right ????cause I don't think I will flashing one till we get a stable cm10
[Nexus 7 General] FadedLite:
You can still get the OTA, but i believe you will have to reflash su. I have personally never done an ota after rooting, so i wouldn't know.

My team is actually working on a 4.1.1 Custom ROM for the Nexus 7 called KRAKD 7. It isn't 4.1.1 yet, but i'm actually working on it at this moment and should be out really soon.
[Nexus 7 General] Land Master:
Shot in the dark but are you connected directly to a USB port or through a hub by any chance?

I know you said it works fine with your gnex but different devices have different power draws. Could be a faulty hub or USB port.

Like I said... shot in the dark but figured I would chime in.
[Nexus 7 General] dislplin01:
OK cool I will probably end up flashing a ROM just right cause stock is aosp I don't see ,much point but knowing me I probably will
[Nexus 7 General] FadedLite:
I might have found an answer to your problem. Check the first post for a link to the guide i just made. I ended up having problems after flashing aosp, and cwm got erased. I had to change the 51-android.rules part, add in Nexus 7 stuff, and ya. Here's the link [GUIDE]Fix Fastboot and USB
[Nexus 7 General] josefmawas:
4.1.1

Doas the root also work with Android version 4.1.1?:confused:
[Nexus 7 General] FadedLite:
Yes it does.I actually just did it after flashing aosp.
[Nexus 7 General] exzacklyright:
Got bored tonight. Made an even noobier guide. haha

http://exzacklyright.blogspot.com/2012/07/nexus-7-guide-for-adbunlocking-rooting.html
[Nexus 7 General] Damov3:
If anyone is having problems rooting with a Mac a made a short guide.

https://www.youtube.com/watch?v=L0XtZMnijg8&feature=youtube_gdata_player
[Nexus 7 General] FadedLite:
There's no difference from using a mac to a windows to linux computer....
[Nexus 7 General] FadedLite:
There is a problem when mounting the "sdcard" because the storage is now located in "/storage/sdcard0" and i don't think cwm developers put that in on the version i previously posted.That's what my friend and I thought. /sdcard is just a symlink so it didn't mount correctly. (Those are my thoughts at least). But yes, it still does work :D
[Nexus 7 General] Damov3:
Didn't say there was did I?
[Nexus 7 General] tseven:
Should read:

2. Type adb push path-to-zip/JB-SuperSU.zip /sdcard/

The extra forward slash on the end signifies you want the place the file INSIDE the directory, not overwrite the directory.
[Nexus 7 General] lazl0:
This method works perfectly with mine. I prefer using the CLI since I am a Linux person. The key is to follow the steps exactly. One thing that helps is to do a factory reset before you start that way you begin with a clean or fresh tablet. Then do a basic setup and go to Dev. Option enable debugging. I have had problems before with nexus devices if I had any security features enabled.
[Nexus 7 General] xfinrodx:
+ 1/2

Personally, I'd recommend putting adb in your PATH, then with a terminal in the same directory as your zip:

adb push jb-supersu.zip /sdcard/super.zip

It uses relative paths/filenames as error checking rather than a means to achieve lazy typing ;). Just a friendly suggestion from someone who has done "GCC -o source.c" one too many times...
[Nexus 7 General] jozkam:
Okay I don't know what's going on but I'm struggling to download the image for the Nexus 7 and I'm stuck as it wont boot up in normal mode.

When I go to to the links for the roms, everytime I click on the image it opens it in 'code' and all scrambled characters and even when I say try to save it direct it shows it as a html file.
[Nexus 7 General] Land Master:
Let me guess you're using Safari? Try a different browser. If no other browser is available then it must be a browser setting. I had the same issue and simply switched to Internet Explorer in a parallels virtual machine and it downloaded fine.
[Nexus 7 General] jozkam:
I am using Internet Explorer, so not sure what it is.
[Nexus 7 General] rowanparker:
Mine is too. Did you ever find a fix?

In the mean time can somebody guide me through the options to flash a zip file blind? (I'll rename it to zsu.zip or something so I know it's bottom and can just press up.)
[Nexus 7 General] jozkam:
I have gone into the Mounts and Storage section but hit a wall, when going to mount /system it states at the bottom error mounting /system!

Is there anyway of just doing a complete reset recovery to its original state so I can start again?
[Nexus 7 General] rowanparker:
It was already mounted for me. Check with:

cd /system
ls
[Nexus 7 General] jozkam:
Done that in the cmd prompt and got ls followed by bin below it.

Try mount others like sdcard and got the same error.
[Nexus 7 General] rowanparker:
To answer your previous question. You can reboot recovery by using an option the 'advanced' menu.

And to your current one, I'm not entirely sure what you meant. If you run 'mount' in an 'adb shell' it will tell you what's already mounted or not. If /system isn't mount, what's the error when you run this?

mount /system
[Nexus 7 General] flimsy888:
HELP!

After I booted up after flashing recovery my device was suddenly encrypted and I don't know the password!!!!!
[Nexus 7 General] jozkam:
Okay now I'm getting somewhere, I'm pretty much stuck on the last bit, the section on typing in the terminal

adb shell

cd /system

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

When I type in the last line it states "can't rename 'recover-from-boot.p': no such file or directory.

I don't recall missing out on anything, the device boots okay so is there anything else I need to do?

Thanks for your help on this guys!
[Nexus 7 General] rowanparker:
Are you sure /system is mounted?
[Nexus 7 General] mmegalodon:
You can rename it yourself using a file explorer like Root Explorer.
[Nexus 7 General] rowanparker:
Hey, wait, it should be 'recovery' not 'recover'.
[Nexus 7 General] jozkam:
On the Mounts and Storage Menu its states unmount /system meaning its currently mounted.

I ran that command you mentioned in an earlier response of mount /system in adb shell and got the following

mount: mounting /dev/block/platform/sdhci-tegra.3/by-name/APP on /system failed:

Device or resource busy

So when I unmount it and ran this again it worked without error.

I suppose my point is, do I really need to run that adb shell bit? What will happen to the device if I don't?
[Nexus 7 General] jozkam:
In my addition in annoying the hell out of everyone here in relation to the aw launcher plus and getting it all setup I have come across an issue with the Live Wallpaper and icons on the screen.

One, I have set the individual settings for each screen to look at a particular folder for pictures. Even with this set I only see the Nexus background, bloody annoying!

Secondly, I have attached a picture image, this image contains the icons on my 4th screen and as you can see they sit in warped mode, as soon as I rotate the tablet they look okay and back again it looks as it should. Can't explain why that happens, its very random.
[Nexus 7 General] rowanparker:
That means it was mounted but I think you were just spelling it wrong as per my previous post.

If you don't run it then when you first boot up (unless you're on a custom rom) it restores recovery back to stock so you'd need to fastboot flash recovery every time. (I think!)
[Nexus 7 General] jozkam:
That was an error on my part, just forgot to spell it as recovery so it was correct.

I'm using ClockWorkMod Recovery v6.0.1.0 and have mounted the system then ran the adb shell part and again no progress.
[Nexus 7 General] rowanparker:
If you can boot into recovery after having booted the device normally you shouldn't need to do anything. If not then what is the output from 'ls /system'?
[Nexus 7 General] jozkam:
Thanks for the response. See below for info when typing ls /system. Also I have installed Root Explorer, everytime I reboot my device after unlocking the screen it asks what launcher I want to use so I suppose it keeps on resetting.

255|shell@android:/ $ ls /system

ls /system

app

bin

build.prop

etc

fonts

framework

lib

media

usr

vendor

xbin

shell@android:/ $
[Nexus 7 General] rowanparker:
Okay, If you run 'adb reboot recovery' does clockwork load?
[Nexus 7 General] jozkam:
Once I type that command in yes it goes into ClockWorkMod Recovery v6.0.1.0

Just to note no recovery.img exists in the system folder
[Nexus 7 General] rowanparker:
You don't need to do anything then. You're sorted :)
[Nexus 7 General] tornadog:
ok did everything till the last step. when I go to install SU, I select install zip from sdcard, I get error "file not found". so I reboot the device and now stuck at the boot screen with google and a lock showing on the screen. adb says no devices attached. Am I SOL?
[Nexus 7 General] rowanparker:
You sure you didn't press the option that's something like 'install update.zip'?

Since you didn't make recovery permanent you need to fastboot flash it again before trying again. If you're stuck you can hold all three buttons for 10 seconds (let go of power first) then it should boot into bootloader where you can try again.

Hope this helps :)
[Nexus 7 General] shinji257:
Nice guide. I used it to root my Nexus 7 but I opted to leave the stock recovery in place. It may already be mentioned but I found that you can just do a fastboot boot to get to CWM from the bootloader rather than flashing it then using the buttons on the device to get there.

fastboot boot [cwm recovery img]

That command should work fine. It takes a sec but I tested it on the normal cwm and it loaded fine. When you are done select restart device followed by one of many "no" options so it doesn't try to make it permanent.
[Nexus 7 General] 5implelove:
When I try to make the CWM permanent, I get the same error metioned before(can't rename 'recover-from-boot.p': no such file or directory.), do you know the reason, or how to make it permanent?
[Nexus 7 General] FadedLite:
I've actually come into this situation recently when re-rooting my nexus 7. What I found out was that you don't necessarily have to rename it to have it stick. I just stuck with the flash and cwm 6 stuck to my device. As weird as it may be, I didn't have to do that.

Hope that helps.
[Nexus 7 General] rowanparker:
It's permanent if that file doesn't exist. As the title suggests it restores recovery when booted so if it isn't there it can't be restored.

(At least, that is my understanding of it.)
[Nexus 7 General] :
This is the real way to root. ;) No idea why anyone would use a toolkit on a Nexus. That's like getting in your vehicle from the passenger door or something. One thing I love about Nexus is they are soooo simple to work with. I had mine rooted about 2-3 mins outa the box. Love my Nexuss!:D

Sent from my Nexus 7 CodeName Trinity alpha20
[Nexus 7 General] smirkis:
Same here. Best way to root, is manually. And they don't make it any easier on a nexus device!
[Nexus 7 General] sbello81:
same here. I kept thinking I was doing something wrong, but I used a file explorer and that file isn't there. unnecessary step.
[Nexus 7 General] Caifan09:
Nice guide, very simple steps, remember way back when I rooted my htc legend, it took me hours to root it. Rooting the nexus 7 was so simple and it only took me a couple of minutes.
[Nexus 7 General] SENSATION_XE:
is there a guide for noobs? dont even know what adb and sdk is and the things in terminal mean. i am using windows
[Nexus 7 General] e8hffff:
Has anyone found the Official Device Patches aren't being applied after you root the device?

When I get the Google notification to upgrade the device software, it downloads then reboots and goes into recovery, then I choose to boot the system, and the device starts as normal. Then days later I get an update message again. When I look at the system version it's still stuck on JRN84D.

Any help?
[Nexus 7 General] Altadroid:
Go back in this thread to (page 21 for me) post #202 by sleeplessninja, there's a video tutorial there. Comprehensive Guide to Rooting Nexus 7
[Nexus 7 General] sbello81:
same thing happened to me. I dl'd the updates and flashed them myself
[Nexus 7 General] sleeplessninja:
OP I have no problem if you addendum the videos, if it makes it easier for people to find, and you think they are beneficial
[Nexus 7 General] Cor-master:
I'm really surprised a nexus device even has a locked boot loader, but at least its easy to unlock. Not crazy about losing my data but as an HTC owner I know how that goes. Now is there any permanent indicator to tell Asus you unlocked and relocked and your warranty is void? Didn't realize till I sold my flyer that HTC devices show "relocked" in the boot loader menu if you relock, and no real easy way to fix that. And fast boot commands are easy FYI to anyone who is a bit confused by it.
[Nexus 7 General] Ir0nLy0n:
When I type sudo fastboot oem unlock it tells me it cant find fastboot

I tried this http://xdaforums.com/showthread.php?t=1796109 but it still tells me command not found.

I'm on Ubuntu 12.04 and I can see fastboot in my platform tools folder.

jeremy@Jeremy-Ubuntu:~/android-sdk-linux/platform-tools$ ls
aapt dexdump llvm-rs-cc source.properties
adb dx NOTICE.txt SuperSU.zip
aidl fastboot recovery-clockwork-touch-6.0.1.0-grouper.img
api lib renderscript

jeremy@Jeremy-Ubuntu:~/android-sdk-linux/platform-tools$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
015d2109895c1403	device

jeremy@Jeremy-Ubuntu:~/android-sdk-linux/platform-tools$ adb reboot bootloader
jeremy@Jeremy-Ubuntu:~/android-sdk-linux/platform-tools$ fastboot devices
fastboot: command not found
[Nexus 7 General] Ir0nLy0n:
Ok. I had to put my full path to adb in. *facepalm

However still not able to get adb to recognize while in cwm or twrp
[Nexus 7 General] madeincanon:
I get this error when trying to unlock the boot loader..

Edit: I'm on a mac. Just found out about "chmod 775 *" and "./fastboot-mac" instead of "fastboot"
[Nexus 7 General] khaytsus:
Bah, I'd heard that CWM should install these without any fuss, perhaps not, that sucks. Could always go back to stock recovery easily I suppose, if that makes it easier, but then you'll likely have to re-flash CWM and the superuser zip. Either way probably have to re-flash superuser.zip.
[Nexus 7 General] Yorzua:
External storage

some guy said:

"i have a challenge for you kind sir your mission is to add a usb 2.0 port to the device so that you can use external storage"

So use a microUSB to usb female cable with pins 4-5 tied together (aka. OTG cable).

Hook it up as shown below.

code as follows:

su -c "mkdir /data/mnt; mount -t vfat /dev/block/sda1 /data/mnt;"

Enjoy it :cool:
[Nexus 7 General] objectuser:
I do the same, but use Stickmount for the actual mounting (I'm guessing it does exactly what you have above). It's in Google Play if you have root.

You can then scan your media (like using Rescan Media) so that apps will see your music, videos, etc.
[Nexus 7 General] JVogler:
Hopefully everyone here will be understanding of my situation, and I won't get yelled at to use the search :) I've been searching around the Nexus 7 forums for the past 1/2 hour and haven't come up with an answer yet. So I'm fairly proficient with Android and rooting, recoveries, flashing ROMs, etc. But I've only done my work on phones. My mom [in her 60's, not computer friendly] just bought a Nexus 7. I'm at her house and was going to root it for her so she could use Titanium Backup...but she doesn't have a computer here. Is there anyway for me to root without a computer, or do I have to take it with me to my house? I got flash up and running from the forum already...so thanks for all the work everyone puts in, and sharing the how-to's. Or does anyone have a better backup program that doesn't require root [with user friendly UI older people could use easily]? I have just always used Titanium is the only reason I was going to set her up with that, so I could walk her through it over the phone if she needs help.

Thanks in advance.
[Nexus 7 General] lord dredd:
Thanks a bunch
[Nexus 7 General] FadedLite:
That's awesome man. I want to try that later haha
[Nexus 7 General] gunner1937:
Root

Following your guide to root I had a difficult time trying to make CWM permanent (step 5 of your guide).

During the process of flashing CWM a window pop up requesting a driver. I ignored the request (2 times) and I could not go to step 5.

At my 3rd try I followed the request of installing the driver. Out of curiosity and being cautious I checked Device Manager: Nexus7 shown a yellow !.

I installed the driver and could complete step 5 making CWM permanent.

Taking into account that at the beginning of the process (step 4 for me) N7 had its driver and the ADB interface driver (adb device acknowledged N7 and fastboot flashed CWM) what is the specific reason for asking a driver in the middle of the process?

I would like to thank you for your guide, your time to develop it, and to follow and answer the reactions of the Forum members.
[Nexus 7 General] iElvis:
Don't attempt this late on a Friday night after you've been drinking! I got mixed up and accidentally flashed the superuser zip as recovery. Ha!

Fortunately, I was able to get back into bootloader after some false starts and flash CWM.

I could not, however, get into shell to make CWM permanent. So instead I flashed SuperSU, then booted up. Being rooted, I could now flash TWRP in Goomanager, then go into ES File Explorer and make the change in system to make it stick. So far so good.
[Nexus 7 General] ripeart:
FAILED (remote: (InvalidSize))

Moved here

Sorry for the slow responses, account not approved yet.
[Nexus 7 General] FadedLite:
Responded to the thread if you check.
[Nexus 7 General] 350d:
Problem.

After device be unlocked, I fastbooted cwm recovery ( nexus 7 latest 6.0.1.0 version), but unfortunately that I can't go into this recovery! Just stay "google unlock"....
[Nexus 7 General] ZENGURU:
FadedLite,

I have a question for you and will explain scenario first:

1- Rooted Nexus 7 with toolkit (no issues)

2- Flash zip with CWM and stayed in boot loop screen. (possible bad dl) re-dl and re-flashed zip. Same issue.

3- After a few tries was able to get CWM with Power vol-up vol-dn buttons.

4- Used toolkit (V1.5.3) to unroot and flash stock. Process says it is dl and good to know wait for boot and whole nine yards.

5- Screen with Google and lock logo flashing.

How do i go bout manual adb if possible since i cannot check debugging???

Thank you in advance.

Edit- issue silved by developer.
[Nexus 7 General] jasnn:
Thanks for the guide.

As some in thread have pointed out, you have a typo in the Pre-Steps;

should read;

adb push path-to-zip/JB-SuperSU.zip /sdcard/​

and another typo at the end of step 5;

should read

If you're having trouble gaining shell, try "adb kill-server" then "adb start-server".​

You also pointed out that;

I also didn't have to rename /system/recovery-from-boot.p in order to make the CWM flash stick but the first time I booted CWM and then selected reboot, it asks if you want to disable the restore stock recovery. I selected that, and everything works correctly.

Thanks again..
[Nexus 7 General] Cetin:
This one doesnt work for me. All my devices needed this command too "fastboot erase recovery" than "fastboot flash new recovery"
[Nexus 7 General] Thorgoth:
owner of a nexus S and 2 gnexus i only had some "probs" finding the usb drivers...

btw TY for the guide OP..

just a notice..

when i unlocked the bootloader on my N7 i saw that some info were missing like baseband and device name....

is that what other pps also have??
[Nexus 7 General] DickesC°:
Hey there,

i can't get into CWM after i flashed

sudo ./fastboot flash recovery ~/Downloads/recovery-clockwork-6.0.1.0-grouper.img
sending 'recovery' (6480 KB)...
OKAY [ 0.971s]
writing 'recovery'...
OKAY [ 0.379s]
finished. total time: 1.350s
./adb shell
error: device not found

Even when i restart the adb server it still says "device not found"

I just can restart the N7... after the reboot i can connect with adb again.

When i do:

adb reboot recovery

i get a Droid with a red exclamation mark.

Any tips? "fastboot erase recovery" and then "fastboot flash new recovery" as Cetin mentioned?
[Nexus 7 General] ikslawlok:
Re-install Recovery
[Nexus 7 General] DickesC°:
i installed the recovery three times now. still the same.

i tried the touch an the non-touch version.
[Nexus 7 General] ikslawlok:
Then, after install boot un recovery.

I had this issue.

I try to remember my self.

---------- Post added at 09:29 PM ---------- Previous post was at 08:32 PM ----------

So, what I did to fix this problem :

android-sdks/platform-tools/fastboot

Then :

android-sdks/platform-tools/fastboot flash recovery [/.../]recovery-clockwork-touch-6.0.1.0-grouper.img

or

android-sdks/platform-tools/fastboot flash recovery [/.../]openrecovery-twrp-2.2.2.0-grouper.img

Then :

android-sdks/platform-tools/fastboot reboot

And go immediately in Recovery mode pressing Volume Key

I think in Recovery Mode,

there is an option in settings to turn this Recovery as default.

Remember the OP:

I hope this will help you
[Nexus 7 General] DickesC°:
that worked! N7 rooted and CWM ready to go!

Thank you! :D