yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] smirkis:
backup stock, unrooted, so u can restore stock, unrooted if necessary.

I'm guessing to go stock

restore unooted backup in cwm

fastboot OEM lock

fastboot flash stockrecovery.img

fastboot reboot

it "should" return you to stock if the fastboot OEM lock is the relocking command. but honestly I'm not sure yet
[Nexus 7 General] munkimatt:
Hope someone can help, I'm getting stuck here. After I enter the mv recovery-from-boot.p recovery-from-boot.bak line I'm getting an error message of mv: can't rename 'recovery-from-boot.p' : No such file or directory.

Any advice?
[Nexus 7 General] FadedLite:
hmm, never had that problem. your in cwm right? and you already mounted system.
[Nexus 7 General] jtc276:
Does anyone know if unlocking and rooting remove the 25 dollar option from Google Play?
[Nexus 7 General] FadedLite:
I super highly doubt it. I would just get the 25, then root it. The money stays after you rooted.
[Nexus 7 General] jtc276:
Ok. That's what I'll do. I don't have a credit card at the moment so I'll have to do it later this evening.
[Nexus 7 General] FadedLite:
It actually adds it as like a pre-paid thing on your account. When you choose to buy something, you're normally prompted to choose which credit card. this actually acts like a pre-paid one. Kind of like how wallet is. but wait if you want.
[Nexus 7 General] sbello81:
any update on this? I'm getting the same error. did mount /system first, then command and got the error.
[Nexus 7 General] patass:
sorry, this is probably answered somewhere in the thread, but if i could just get a quick answer...I've unlocked it, and flashed recovery...but I dont get the bit about makiing recovery stick. I'm assuming im supposed to hit recovery on the device itself, in which case the first time i did it it bootlooped for awhile, booted into jellybean, then i shut it down, loaded back into the bootloader, and hit recovery again and it came up. ADB device wasnt found, and now I can't seem to get back into recovery, even after flashing it. What's up?
[Nexus 7 General] sbello81:
did you turn USB Debugging after you unlocked the phone? it wipes everything, therefore turns USB Debugging back off. that's what happened to me.
[Nexus 7 General] patass:
oh, ****, that's probably it >_>. So I turn on usb debugging, boot into recovery, mount system, then do the command right

edit - i did what i said above, and im getting can't rename recover-from-boot.p no such file or directory

second edit - seems i'm the third to have this problem...recently, at that. Got my Nexus 7 at gamestop today...
[Nexus 7 General] sbello81:
that was just to solve the adb device not being found. I can't figure out how to make the recovery stick either. I just kept the device plugged into usb and it would still reboot to recovery and I got root that way. screw it.
[Nexus 7 General] Glod:
<deleted>
[Nexus 7 General] sincerity:
i dont understand the section to get it to stick either...you say type in termanal whlie device is in cwm? does this mean some terminal in cwm or on pc? I can't get device to adb while in cwm....just says device not found...thanks...

my tablet is listed as "grouper" under device manager with yellow ! fwiw
[Nexus 7 General] Glod:
i had the same issue with the grouper thing, i used this driver and it worked like a charm http://xdaforums.com/showthread.php?t=1766220 afterwards i was able to access adb in the recovery.
[Nexus 7 General] sincerity:
brilliant! thank you! So strange because I had Win7 recognizing it with the proper usb from sdk manager and everything...could adb whilst booted up perfectly. As soon as hit cwm though, the grouper would surface lol.

THANKS!
[Nexus 7 General] cpom1:
im rooted and everything but when trying to run a command in the terminal app i get the access is denied...
[Nexus 7 General] kendallc123:
Have you typed "su" in before for root command?

Kendall
[Nexus 7 General] kungfoochef:
Painfully obvious: Don't mod your {insert device} if you can't handle reading directions.
[Nexus 7 General] qoncept:
Is there hope for a root method that won't r require wiping data? I want root but i just don't have the time these days to completely reconfigure my devices. Or maybe there's an easier way to recover from a wipe?
[Nexus 7 General] smirkis:
u can't root without unlocking bootloader, an cant unlock bootloader without wiping data. its, required.
[Nexus 7 General] thebobp:
File not found
[Nexus 7 General] qoncept:
Why? Every phone in the world can. Not being a smart ass, just curious.

And, given that, there's not going to be any way to recover other than manually, eh?
[Nexus 7 General] Land Master:
Been a couple of days since this post but I'll take a shot....

I as well get this error ..... when I ls (list) the system directory this file is not there. I am wondering if this file gets added as part of the update to 4.1.1?

This is my assumption because I have not updated and I am NOT losing access to Clockwork (it is not being overwritten with the stock recovery) upon a reboot which is the reason these steps were included.

And, for what it's worth, I am not seeing the 4.1.1 update now that I have installed Clockwork and I have seen this behavior on prior devices where it won't take an OTA unless the stock recovery is in place.

These are all assumptions on my part but they make sense to me. Those of you that have been unable to complete the mv command ... are you still on 4.1 or have you updated?
[Nexus 7 General] kungfoochef:
Why? It is for your own security. And for the record, its how all the nexus devices work AFAIK (and its how all the devices should work). My Nexus S 4G (crespo4g) did the exact same thing when unlocking the bootloader.

Manual restore is the only option... other than if you don't have time to root and don't root.
[Nexus 7 General] brizey:
It took months and months for someone to figure out how to do it on the thunderbolt, and the solution was quite involved.
[Nexus 7 General] jarjar124:
im sorry if this was mentioned but can this be done on linux? or has to b windows? thanks in advance
[Nexus 7 General] kirbfucius:
It can be done in Linux just fine assuming you're doing the manual unlock/root. The one-touch ones tend to be Windows/Mac specific, but if you're using Linux I'm assuming you can use basic terminal navigation and commands so it's not too bad.

---------- Post added at 04:15 AM ---------- Previous post was at 03:58 AM ----------

I'm having some troubles with this (and every other) root/unlock method. My N7 simply won't read as an ADB device in Windows 7. I have removed every Android driver, reinstalled SDK and the Google USB driver v6 that's in it, but it still won't connect. I get successful driver installs for USB Composite Device and Nexus 7 (internal memory), but a big fat red X on the device Nexus, which is presumably the ADB read.

USB Debugging is checked, otherwise I do not get the "Nexus" device and only the "Nexus 7" when I plug it in. Any ideas?
[Nexus 7 General] qoncept:
That's because the thunderbolt was a horrible phone and hardly anyone had it. In any case, anyone interested should look up adb backup, it did what i wanted.

Sent from my Nexus 7
[Nexus 7 General] sudhirkhanger:
fastboot oem unlock

*You will have to accept and erase all the user data on the tablet.

I wanted to backup a stock unrooted image as it comes with Nexus 7. I am hoping to unlock bootloader, install CWR and backup. Can someone please explain what would get deleted if I run fastboot oem unlock? Since, their is going to be nothing on tablet on first boot, I will still get booted to same stuff even if oem unlock erases user data. Is erases-all-the-user-data equivalent to factory reset?

Thanks.
[Nexus 7 General] kirbfucius:
Yep, that's exactly it. You're effectively giving your device a factory reboot and wiping out all user-created data when you do an oem unlock.
[Nexus 7 General] brizey:
Hardly anyone had it? Lol. Verizon sold a quarter million in the first two weeks. And it was the best phone on the market for maybe four or five months. (There were only 3 LTE phones for a while, and the tb was easily the best of the three.) And i still use mine as you can see by my sig. Still does everything i need it to do.
[Nexus 7 General] qoncept:
The OG Droid and Droid X each sold that many in their first week. I used my Thunderbolt for 9 days.

Maybe it's just anecdotal evidence, but I know for a fact that shortly after they were released, you could root, without wiping data (just off the top of my head):

Droid, Droid X, Droid X2, Razr/Maxx, Droid 2, Droid 3, Droid 4, Evo, Eris, Bionic, Rezound, Incredible, Incredible 2, Evo 3d

To suggest an exploit couldn't be found that could give you root without wiping is crazy. But, since there's an easily supported root method that DOES wipe data and 99% of people here don't seem to mind totally reconfiguring their devices every other day, I doubt anyone will put much effort in to finding it. And like I said earlier, adb backup is my friend.

Edit: Wow, I just looked up the numbers and 16 million poor people bought the Thunderbolt. I've owned 7 smart phones and the that's the only one I couldn't stand to use.
[Nexus 7 General] brizey:
It is not a perfect phone, but if you wanted LTE from march 2011 until whenever the bionic and rezound came out, it was the best option. That was like five months.

It actually works pretty well now...battery issues are largely gone. Really, pretty decent for a sixteen month old phone. I might pick up gnex cheap now that people are dumping them for SG3s. I find myself more interested in tablets lately, and just can't get myself to spend money to replace a working phone.

But, to your main point, i agree...
[Nexus 7 General] Multisaft7:
I have one Question, how about the warranty, i know it is lost, but is there a counter or something else what could be reset or is there no Problem to flash stock back and send it back 2 customer support?!
[Nexus 7 General] kirbfucius:
Unlike HTC phones and those similar to them, your bootloader doesn't go from Locked to Unlocked to Relocked; it just goes back to Locked. With a locked bootloader and stock OS flashed onto it, there's nothing any different than one that was never touched.

Of course, if you somehow brick the device (load a bootloader for another device, have the battery die during bootloader install, and other very specific "why would you do that" things), then in order to check if the bootloader is locked they'd need to unbrick it for you. If it's no longer bricked then you can go through the motions to bring it back to stock.
[Nexus 7 General] kkrunner7777:
Nexus 7

Newbe to the Nexus 7. I had an older HTC Evo and have my titanium backup from the old system. So, if I unlock and root the Nexus 7 will it still get over the air updates from Google? Or do I need to stay stock to get the updates.
[Nexus 7 General] tehseano:
+1

Can someone provide a mirror? Is this a specific SU or just the same one that can be pulled from the market and pushed to the N7?
[Nexus 7 General] MileMAN402:
Rooting on a Mac

Ok guys I'm coming back to Android for the first time since 2010 and I never used ADB so I need a little help. I've noticed people don't like to give "painfully obvious" instructions but I don't want to screw up my brand new N7 and I'm using a Mac. So I've redone the instructions for myself on a Mac but I was hoping someone could help me confirm and fill in a couple blanks, particularly around making CWM recovery permanent.

Here's what I have:

Preparation:

Download su and CWM recovery (should I use the one in this thread or the one Paul O'Brien released?)

Initial setup of N7

Enable debugging

Put su zip on root of sdcard

cd into platform-tools

cd (drag platform-tools folder here)

Put N7 into bootloader (Hold Power + Volume Down)

Plug N7 into computer

Unlocking:

Fastboot OEM unlock

./fastboot oem unlock

Flashing CWM Recovery:

Flash CWM

./fastboot flash recovery (drag CWM img file here)

**What am I doing in between here to get into recovery?

Make CWM Permanent:

Boot into recovery

In recovery go to Mounts and Storage > Mount /system

Go back to my terminal on my Mac and type:

./adb shell

cd /system

(Is this the same for Mac since I'm in the shell?)

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

(Is "recovery-from-boot" the real name or is it path dependent? I've seen others have issues here.)

Flash Su:

Go back in recovery

Install the su zip from the sdcard

So what's wrong or needs edited? Thanks a lot in advance!! I can't wait to get home to my N7; it was finally delivered today :laugh:
[Nexus 7 General] Useful Idiot:
http://www.4shared.com/zip/OWPejUEl/JB-SuperSU.html

---------- Post added at 03:40 PM ---------- Previous post was at 03:20 PM ----------

I got my Nexus 7 today. I got the OTA update, unlocked the bootloader, and now I'm stuck at this point.
[Nexus 7 General] jarjar124:
u dont need to install the drivers? i thought u did. im also on mac and linux. for me linux is easier since i have sdk installed already.do i have to install the universal drivers on linux? if so how? thanks. im really looking foward to rooting it before really playing my nexus 7 when i get home. :(
[Nexus 7 General] MileMAN402:
AFAIK you don't need the drivers on Mac...but again, this is something good to know!

Anyone else wanna help me confirm the rest of mine :)
[Nexus 7 General] jarjar124:
including linux as well?
[Nexus 7 General] MileMAN402:
Well I think all the device drivers should be present if you update your SDK
[Nexus 7 General] FadedLite:
Yes, linux as well. I actually did this in linux haha :)
[Nexus 7 General] jarjar124:
ok thanks :) ill let u noe if anything happens :P
[Nexus 7 General] xfinrodx:
Best way to root/unlock is to:

fastboot oem unlock

fastboot flash recovery latest-recovery-img

fastboot reboot boot latest-recovery.img

flash latest SuperSU.zip from official sources: http://xdaforums.com/showthread.php?t=1538053

Painless, no shortcuts, works flawlessly. Took about 20 minutes to research and execute!
[Nexus 7 General] MileMAN402:
FadedLite, thanks a lot for this guide. Could you help me with some guidance on my terminal entries for Mac. If they are correct and the step I'm missing when making cwm stick? Thanks!

Thanks but I was just looking for whether or not my terminal entries are right and some of the steps in making cwm stick. Thanks!
[Nexus 7 General] mtmjr90:
Does anyone have any ideas on how to make CWM permanent? I have tried the guide's directions but my device is not recognized as an adb device when in a temporary CWM recovery and being on Windows 8 for some reason makes it impossible to successfully install the Universal Naked Driver. I tried manually deleting boot-from-recovery.p and then reflashing CWM but that doesn't make it stick. What does happen though is when I'm in fastboot and select recovery, I get stuck at the white "Google" logo and have to hold the power button and it just reboots into device.

Now, interpreting the command from the guide, should I just rename boot-from-recovery.p to *.bak?

Another thought...can I use a terminal emulator to achieve this? I tried but ran into the same error "device not found" when I try to enter "adb shell" (after doing adb kill-server and adb start-server).

I don't want to be stuck with having to use ROM Manager to temporarily flash CWM all the time or need to use my PC to do it. Any thoughts? Thanks in advance!
[Nexus 7 General] thrillerbee:
For some reason, i can't get CWM to mount /sdcard:

E:Can't mount /sdcard/

Anyone run into this? Know of a fix?
[Nexus 7 General] xfinrodx:
Yes. The new CWM does it when you boot into it. Well, did for me.
[Nexus 7 General] keezy88:
alright im stuck, I get to the part where I mount /system and then I go back to the terminal and do 'adb shell' but my problem is that my nexus no longer shows as a device on adb...

any suggestions?
[Nexus 7 General] xfinrodx:
If you do 'adb shell' like you said you did, then try to do 'adb devices' you are asking the adb daemon running on your tablet to list the adb devices that are connected to it... Are you trying to access your phone's adb through your tablet on your desktop? :laugh: Prolly not. 'adb shell' puts you into a remote shell on your device. Go 'exit' then 'adb devices'
[Nexus 7 General] mtmjr90:
You used the CWM-grouper-recovery.img from this guide? And you're on 4.1.1?
[Nexus 7 General] keezy88:
I had tried to do 'adb shell' but it was saying no device was found, so I did 'adb shell' to see if my device was there and it didnt show anything. This was when I was in the CWM recovery. When I go to my device manager in windows it doesn't show, but there is a new device called 'grouper' that won't let me install an adb driver for. Any workaround for that?
[Nexus 7 General] xfinrodx:
I'm on the newest N7 update. I used the recovery image from:

http://xdaforums.com/showthread.php?p=28698158
[Nexus 7 General] xfinrodx:
I'm away from my PC atm, but now that I think of it I seem to remember a different device's adb drivers bring installed when I booted recovery. I think mine installed gx3 adb drivers?
[Nexus 7 General] mtmjr90:
I tried this one but I get the same problem when I boot into fastboot and select recovery...namely stuck the white Google logo until I force shutdown/reboot. This is getting ridiculous...

Edit: Okay, so I just said screw it and pointed device manager to the ADB driver I installed with my GNex and it worked fine from recovery. That said, CWM still doesn't stick even with the guide's instructions and reading around the interwebs it seems like this issue still isn't solved so I'm giving up. Until it's fixed I'll just have to deal with USB tethering every time I need to use CWM recovery=/
[Nexus 7 General] coldcircle:
The hardware id is missing from the drivers. I added the following under ;Google Nexus 7 to both [Google.NTx86] and [Google.NTamd64] which allowed the device to install.

%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001
[Nexus 7 General] xfinrodx:
Very good, that was unnecessary for me. One other detail that could help is just using the official adb/fastboot from the Android development toolkit...
[Nexus 7 General] Thebeast715:
Thanks to the OP for this one. I'm gonna try this out after I spend my 10 dollar NFC / wallet credit. I hear wallet doesn't like rooted devices.
[Nexus 7 General] MileMAN402:
Bump..can anyone help me out with making sure these steps would be right for mac?:good:

Also, whats the deal with Superuser vs. SuperSU??? Last time I was here there was only superuser....which should I be using?
[Nexus 7 General] cwoggon:
Anyone else having issues flashing the SU linked in the original post (see comment)? I'm getting an error that exits with "Status 0" when I try to apply the .zip from /sdcard/.

Thanks.
[Nexus 7 General] coldcircle:
that's the weird thing, i did download the sdk and started with fresh folder. the drivers did not have the hardware id listed.
[Nexus 7 General] RoidPusher:
Yes. I'm beginning to think there's something wrong w/ that SU.zip from that thread. Sign verification is off and it will not install.
[Nexus 7 General] BCD90:
yes yes this is happening to me t0o. very frustrating. I have unlocked bootloader and got clm to stick but whenever i go to flash supersu or superuser (tried both) i get an error "E: Error in /sdcard.supersu_v0.93_-efghi-signed_stable_update.zip

(status 0)

installation aborted."

Anyone know the could be problem.

Thanks in advance
[Nexus 7 General] Shano56:
probably cuz its for efghi not efghij
[Nexus 7 General] BCD90:
if you are talking to me you spelled it different than me. and plus spelling is besides the point. i copied the file over. its the error thats the problem not the spelling.
[Nexus 7 General] Saint Wacko:
When I select mounts and storage, it just has a black screen with the CWM logo in the center. Did I take a misstep somewhere?

Edit: Actually, when I select any option, I just get that screen.
[Nexus 7 General] cwoggon:
Use the touch screen to select, not the power button.
[Nexus 7 General] Saint Wacko:
Oh! That's new! Sorry, I'm used to CWM on my Cappy. Thanks.

---------- Post added at 10:13 PM ---------- Previous post was at 10:00 PM ----------

I'm also having issues flashing SU. Any suggestions?
[Nexus 7 General] smirkis:
I used Paul's superboot and manually fastboot booted it. It installs supersu for u. I just couldn't get it to flash in recovery.
[Nexus 7 General] ryscar:
I was having the same problem. Try the one from the link below, it seems to work.

http://xdaforums.com/showthread.php?t=1538053
[Nexus 7 General] Saint Wacko:
I have the same issue with that one.

---------- Post added at 11:26 PM ---------- Previous post was at 11:20 PM ----------

Will that affect the CWM image I already fastboot booted?
[Nexus 7 General] smirkis:
No, its a kernel with root, all it does is apply root.

But for some reason, I can't get into recovery manually with the button combo. I have to use adb or goo manager. Hope someone figures this out, I can't be the only one
[Nexus 7 General] Saint Wacko:
Ah, there we go. I had to fastboot the superboot thing, then, fastboot CWM again, but it's rooted now! Thanks! Everyone else who was having trouble, try this. I got the superboot img from here.
[Nexus 7 General] tdoyle:
So this guide should be working on JRO03D correct?
[Nexus 7 General] cwoggon:
Everything provided in this guide works except the provided SU .zip.
[Nexus 7 General] tdoyle:
So do we just need to find another version of the zip or does it have to be specific to the device/android version?
[Nexus 7 General] smirkis:
I tried every zip I could find, none would flash including the ones linked in OP

But, running superboot got me root.
[Nexus 7 General] smirkis:


This made me laugh.

Efghi =

Eclair, froyo, ginger bread, honeycomb, ice cream sandwich.

J is jelly bean.
[Nexus 7 General] Fusion777:
I struggled (read: failed) to get the SU zipfile to flash from the OP. Had to use this one:

(dropbox link so get it fast) http://db.tt/wTBGIPFk

Also OP doesn't mention if you are using the universal driver pack, the universal driver pack OPhttp://xdaforums.com/showthread.php?t=1766220 emphatically states you must specify "-i 0x0b05" for all fastboot commands.

For the record, I didn't do the "-i 0x0b05" first time around. Maybe that's why I have issues. But I reflashed CWM with the specified parameter, rebooted into CWM and the issues persisted.

Finally, if I attempt to boot into CWM without the device connected to my PC, it hangs at the "google/unlock" boot screen after selecting the recovery option. When connected, CWM starts just fine.
[Nexus 7 General] xfinrodx:
Only use that driver pack for the CWM ADB driver! For the love of all that is hacked, people, please download the SDK, install Platform Tools with it and add ...\platform-tools to your PATH variable! Don't use unofficial adb or fastboot binaries.

Oh yeah, and the official SuperSU from Chainfire right here on XDA works as well, so don't put up with unofficial imitations! Do it right and do it once!
[Nexus 7 General] linnil:
I'm able to copy files to /system using adb. However, in CWM, there is no option to flash zip from system but only from sdcard. When I try to mount sdcard in cwm mount menu, it doesn't do it. I can mount all others but not sdcard.

I'm blocked, anybody can help me out? Thanks.

The reason might be that I unlocked the device using superboot, and then did a fastboot boot boot.img. (From: http://xdaforums.com/showthread.php?t=1750835). How can I make sure that I clean up everything and then redo everything?
[Asus  Eee Pad Transformer Prime] flemdroid:
So....

Does anyone know if anyone has started cooking a jellybean ROM?

-Flem
[Asus  Eee Pad Transformer Prime] Hawke84:
My question of the day is "did u know there's a questions forum" :rolleyes:
[Asus  Eee Pad Transformer Prime] flemdroid:
U don't have to be a jerk mannnn happy faces don't make it ok
[Asus  Eee Pad Transformer Prime] tanner4137:
He didn't use a happy face... :rolleyes:
[Asus  Eee Pad Transformer Prime] TurboWolf:
Hi,

I don't know what device your trying to get Jellybean on -

But the link below should answer your question or at least get the ball rolling for you in the correct direction.

Hope it helps.

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