yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] Gigabitex2:
I used this to flash back to factory which it did flawlessly. Set up tablet and waited for update to show, installed with no issues. Used kit again to unlock and root..no problems. Waiting for twrp update before installing custom recovery. Perfect for people like me who have problems with SDK!! Loosing all data was fine cause it was time for a clean up:p thx Wug!
[Nexus 7 Android Development] larrycc:
Had stock 4.1.1 stock, unlocked and rooted. Stupidly I decided to take the 4.1.2 OTA and everything is ok, just can't root. Maybe I'm doing something completely wrong, but this is the behavior that I get.

When 4.1.2 is selected the following happens:

Reboots into bootloader

Pushes modified boot.img

Restarts back into android

Pushes root files to device

Reboots into bootloader

Says booting TWRP temporarily... but instead just goes into a normal boot of Android.

When Any Build selected it gets to the Booting TWRP Temporarily and instead of booting into TWRP it just goes straight into a normal boot also. If you catch it and force it into recovery, it ends up on the stock recovery instead of TWRP.
[Nexus 7 Android Development] ricobudz123:
I accepted update to 4.2.2 with same issues with recovery I am still unlocked right? It shows on the unlocked logo Google boot screen so all I have to do is reroot for 4.2.2 with the toolkit right
[Nexus 7 Android Development] WugFresh:
Correct. Rooting with the 4.2.1 build should work on that.

{{ WugFresh }
[Nexus 7 Android Development] WugFresh:
Back up your important data, and the use the toolkits "Flash Stock + Unroot" button, and let it download and freshly flash the 4.1.2 factory image package. Then try rooting.

That will eliminate any extraneous variables. It should work if you do that.

{{ WugFresh }}
[Nexus 7 Android Development] Vondis:
Once I used those drivers I was able to use the toolkit properly. Backup apps/data, unlock, root. You don't have to mess with the toolkit drivers
[Nexus 7 Android Development] Cl8rs:
Thank you so much! It worked flawlessly!

One question though, why is my Nexus saying I have a System Update when I am on 4.1.1 and the file size is only 859kb...Help?

Update: Tried to install it and it failed. CWM said that it couldn't verify signature. Rebooted and now the notification is gone, so whatever then....
[Nexus 7 Android Development] WugFresh:
That's just strange. I know that there is an easy way to get rid of update nag screens, just have to rename some system file.. I forget which one though.

{{ WugFresh }}
[Nexus 7 Android Development] b0n3:
I just got the same System Update message (4.1.1 and the file size is only 859kb). I installed Voodoo OTA as a precaution.

It rebooted then went to Clockwork Recovery with the "couldn't verify signature" message. No more notification for now. There's probably a build.prop tweak for that.
[Nexus 7 Android Development] TahrirSquare:
Are you talking about the OTAcerts.zip?
[Nexus 7 Android Development] sfreemanoh:
This is complete and utter awesome. No more messing around in the bootloader unlocking it and flashing a custom recovery, etc...once I get my N7 later this week, it'll take just minutes to get everything installed and ready to go!
[Nexus 7 Android Development] NZtechfreak:
Wrote a guide with lots of pictures for people not quite so familiar with all this stuff:

http://www.androidnz.net/2012/07/how-to-root-your-nexus-7.html

Include instructions for how to use the Toolkit to enter a command prompt for getting into CWM recovery for others like me who don't seem to be able to get there via usual methods from the bootloader.

Put a couple of donation links in there for you WugFresh, and also shouted you a couple of coffees myself 6B588066R1476094B. Cheers!
[Nexus 7 Android Development] trampino96:
"list ADB devices" button on step 4 of installing drivers simply wont work for me
[Nexus 7 Android Development] nikulogical:
Hey I just tried using the toolkit to push an APK file and it said it went through but now the phone is stuck on the google screen!! help?

Nevermind, a batterypull fixed it and looks like the pushing the apk worked.
[Nexus 7 Android Development] WugFresh:
Yeah, that's the one. Unless something changed in jelly bean (unlikely).

{{ WugFresh }}
[Nexus 7 Android Development] B-Mod:
Any thoughts on just an "unroot" button?
[Nexus 7 Android Development] WugFresh:
Awesome guide man! And thank you for the links and coffees!

One thing to note. If you are using the toolkit you can forgo typing in that cmd to get into CWM by simply using the boot into temp CWM button in advanced utilities. Temp CWM is the exact same thing, it just utilizes the fastboot boot cmd to boot the CWM image; all the features work.

{{ WugFresh }}
[Nexus 7 Android Development] freemeech:
This worked flawlessly for me, gonna flash a ROM now!

Edit..cwr gone again after reboot! I thought this fixed it!
[Nexus 7 Android Development] WugFresh:
When you say, "simply won't work" do you mean the button is not responding when you click it, or that it's telling you that no adb devices are found? If it's telling you no adb devices are found, then that means exactly what it's telling you. They are not found because your drivers have yet to be properly configured. I recommend first trying the other drivers posted in this thread and if you still can't get it configured, you could try adding me on gchat and hitting me up; if I am available I can try and help.

{{ WugFresh }}
[Nexus 7 Android Development] sc2tltl:
Thanks a ton!
[Nexus 7 Android Development] WugFresh:
I could if you want but the SuperSU app actually has that option built in.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Thank you! I am happy to hear that you like my program.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
CWM not gone. Just inaccessible from bootloader. It's a known problem with the non official CWM recovery img. For now you can use the boot temp CWM button in the advanced utilities in the toolkit, or you can get a user app to boot into recovery.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Nice, I love problem posts that self resolve, they are my favorite kind! Lol. If you plan on installing other apps with the toolkit in the future, you should check out the file association option in the options menu; that will allow you to install all apk files with just a double click. The toolkit doesn't even have to be running. It will become the default handler for any of those file extensions listed.

{{ WugFresh }}
[Nexus 7 Android Development] nikulogical:
Oh that's cool. This was just a modified system app that I needed to push via adb but o tried your way and it work. Thanks.
[Nexus 7 Android Development] chad24taylor:
hmm, i'm having the same issue.

was on stock 4.1.2 - backed up - unlocked - won't take root.

tried the "flash stock + unroot" option, dloaded & flashed factory 4.1.2, rerooted - still nothing.
[Nexus 7 Android Development] WugFresh:
When you say "won't take root" what do you mean. Please elaborate on what actually happens. Do you have the right build selected in the toolkit?

{{ WugFresh }}
[Nexus 7 Android Development] chad24taylor:
Same thing that larrycc posted a page back:

When 4.1.2 is selected and I initiate the root process, the following happens:

Reboots into bootloader

Pushes modified boot.img

Restarts back into android

Pushes root files to device

Reboots into bootloader

Says booting TWRP temporarily... but instead just goes into a normal boot of Android.

So it never actually boots into TWRP - and when it fully reboots, superSU is not there.
[Nexus 7 Android Development] WugFresh:
Can you reinstall the toolkit. Download the full version from softpedia here: http://www.softpedia.com/dyn-postdownload.php?p=213077&t=4&i=1

{{ WugFresh }}
[Nexus 7 Android Development] TheBronze:
FYI, I did the updaet via the app to get from 1.5.3 to 1.5.4. Not sure if this completely replaces all the files or just updates. Can you clarify, WUG?

Thanks!
[Nexus 7 Android Development] chad24taylor:
Yeah, no luck. Not sure what the issue is.
[Nexus 7 Android Development] WugFresh:
Add me on gchat and hit me up.

{{ WugFresh }}
[Nexus 7 Android Development] GBPackerFanForLife:
Well ran all the steps everything worked ..then went to check to see if SU was on my nexus Nope...Also tried booting into Recovery nothin Android wit red

---------- Post added 14th October 2012 at 12:02 AM ---------- Previous post was 13th October 2012 at 11:57 PM ----------

I got the same Issue.....
[Nexus 7 Android Development] smt8544:
Just to clarify, is this toolkit compatible with 4.1.2?
[Nexus 7 Android Development] maigre:
I had a rooted 4.1.1 on my Nexus 7. I rooted easily and successfully with NRT 1.5.3 (or maybe 1.5.2, I don't remember for sure.) This was done soon after Google first released the Nexus 7, maybe in September.

When 1.5.4 came out, I

backed up my device with the NRT backup tools

downloaded and installed 1.5.4

set the model type to 4.1.2

clicked the Root button to try and root without having to start over again.

let NRT download 4.1.2

At that point, the process hung while waiting for the device to reboot. I tried using the .zip file mentioned a few pages back that was supposed to get me to 4.1.2. I put it in my /sdcard dir and did a CWM (I think) install from zip. That got me to 4.1.2. But I couldn't root it, using NRT. It would always hang while waiting for the device to reboot. When I'd manually reboot, I'd still be rooted. So, finally, I decided to start over by going to a "virgin" 4.1.1 rooted installation.

Then, I

set the model type to 4.1.1

did Flash Stock + Root

got a virgin, but unlocked 4.1.1 installation.

Then, I did the 4.1.2 OTA update. No problem there.

Using NRT, I set the model type to 4.1.2

clicked Root without checking Custom Recovery

Then went through the same routing of having the process get stuck waiting for a reboot

I even tried waiting a long time, like 30 minutes. Nada.

Manually booting got me to a still unrooted installation.

So I decided to go back to 4.1.1.

I set the model type to 4.1.1

clicked Flash Root + Stock

I easily got back to a rooted 4.1.1 installation

I mostly restored my backup, though with email account info lost, etc.

I haven't tried the Any Build mode. I may be omitting some details. There were various tries at different things. Lots of this is as other posters have indicated, with, as I reported in an earlier post, various .sys files being pushed to the device. But nothing seemed to have become of them once they got there, if they ever even did.

I'm doing this on a Win 8 Consumer Preview install, btw. Maybe that matters. My only other Windows install at the moment is an ancient XP one.

I'll reinstall NRT and am happy to try again.

Please give me an approach, if possible, that would let me avoid having to go through lots of time consuming restoration of backups. My Titanium Backup isn't of any use when the device isn't rooted and manually copying some of the files from my computer back to /sdcard is somewhat problematic in that Windows won't transfer all of them. Airdroid helps, but it's not the most efficient approach.

Thanks for everything, WugFresh. I appreciate your concern for those of us who are struggling with this.
[Nexus 7 Android Development] ghalibmeer:
i was using front usb ports (i am feeling stupid) then i connected at the back (USB 3 port) and it worked like a charm... thank you so much for this wonderful tool
[Nexus 7 Android Development] GBPackerFanForLife:
AHHHH DAMN ...lol I figured it doesnt work on the newest JELLYBEAN..I had the newest update decided to use the go back to Stock in the program then just reran the Root an Bam...it works....
[Nexus 7 Android Development] WugFresh:
Please add me on gchat and hit me up. WugFresh at Gmail. It doesn't matter that you on Windows 8 preview, I am running that as well. I would like to troubleshoot with you or anybody else who is having this problem until we get it figured out.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Please specify what build it worked on, and what device.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Yes, it should be. Select that build from the pull down menu.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Well Yakju 4.1.2 build was just released for the Gnex so I have to update the toolkit regardless. Before I release v1.5.5 I would like to gchat those people who are having problems rooting there 4.1.2 N7. I am getting mixed feedback and it's really confusing me. I would like to get to the bottom of it asap so I can either offer a written solution or change something in my code.

{{ WugFresh }}
[Nexus 7 Android Development] rodem77:
Hi, I've nexus s 9023 with your toolkit I had no problems to install driver and unlock but when I start root procedure my device reboot in temporary twrp and nothing else happen. You tool say waiting for reboot but my device don't reboot and if I reboot it is not rooted. To root, as I wrote before, I manually download and push SuperSU, I started temporary twtp with your tool and with it I manually flash SuperSU.

Other function of the toolkit (backup, advanced utility anche drivers guide) works very well. It seems that some script is not able to activate twrp function after reboot with temporary recovery.

Anyway thank you for your work, I'll continue to use it and to follow its evolution.
[Nexus 7 Android Development] WugFresh:
Okay. Thanks to everyone who contacted me via gchat/email. And a special thanks to MajorMonodon who troubleshooted the solution on his own.

The problem is related to the new bootloader. I will make an update soon that flashes the older bootloader during the root process. For whatever reason the new bootloader does not play nicely with the fastboot boot cmd. I plan on notifying google directly, but for now the solution is as follows:

1. Download the older Nexus 7 bootloader: http://wug.rootxs.com/misc/bootloader-grouper-3.34.img

2. Use the advanced utilities flash to bootloader button and flash that older bootloader

3. Try rooting again

4. Win!

Like I said, I will update the toolkit to automate this, but that is the fix for now. I find it strange that fastboot flash works properly and not fastboot boot.. but whatever. I won't know why until google tells me something.

I am working on extending support the Nexus Q now as well. If anyone has a Nexus Q or knows somebody that does.. I would really appreciate it if you contacted me. I am going to continue trying my best to properly support all the Nexus devices and continue to add new/useful features to the toolkit.

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] ricobudz123:
Yes I used it last night to reroot my N7 after installing the OTA update while unlocked rooted and stock was fast and painless.
[Nexus 7 Android Development] WugFresh:
Thats strange. I wonder why its working perfectly for you and not others.. It seems for some it's never booting the TWRP img to finish the root process.

{{ WugFresh }}
[Nexus 7 Android Development] Solange82200:
I'm confused, the previous poster said they rerooted their nexus 7 after applying the OTA update. I was rooted but didn't get an ota update, so I used a guide online that had me use clockwork recovery to install the update (which I downloaded, it was a zip I think). Do I need to reroot again too?

---------- Post added at 10:48 AM ---------- Previous post was at 10:37 AM ----------

Ok according to root checker, I am not rooted anymore. Do I just run the root again (changing the bootloader like you said previously till you update the program), or do I need to UNLOCK and root again? When I boot up my device it still shows the little unlock symbol, so I just root again, right? Thx!
[Nexus 7 Android Development] WugFresh:
Yeah, just root again. If it doesn't work, then follow my instructions about flashing the older bootloader.

{{ WugFresh }}
[Nexus 7 Android Development] chad24taylor:
Flashed the older bootloader & rerooted succesfully. Thanks for you work Wug!
[Nexus 7 Android Development] eagle06:
rooting was successful without flashing old bootloader. why there is a difference??
[Nexus 7 Android Development] WugFresh:
Well.. now I am officially confused. You rooted on 4.1.2 Nexus 7.. no problems?

{{ WugFresh }}
[Nexus 7 Android Development] maigre:
Thanks for getting to this, WugFresh. I'd have replied to your request to chat, but it was the middle of the night here.

Can I avoid having to do a full backup/restore again as part of this process?
[Nexus 7 Android Development] eagle06:
Yes. I installed stock 4.1.2 image. Then I used this tool to root it(it rebooted twice). Before this I was on cm10 with 3.41 bootloader.

Sent from my Nexus 7
[Nexus 7 Android Development] dirtyhamster73:
I had no troubles either re-rooting my N7 on 4.1.2, and a friend's GNex. From start to finish it was flawless. If it matters, I didn't check off "custom recovery", I let goo install it.
[Nexus 7 Android Development] dennypoosci:
Here is my update sequence from the beginning that worked perfectly

Bought Nexus 7 8GB in late July. After initial charging on first boot got ota update for 4.1.1 - JRO03D. let that happen

in mid august installed and ran NRT 1.5.2 worked perfectly was now rooted JRO03D

Last Friday get ota update 4.1.2 let it happen updated to JZO54K - still unlocked but lost root :( which I was expecting.

Today downloaded and installed NRT 1.54 chose Nexus 7 JZO54K model type and ran root without custom recovery checked, a couple of reboots later root is back, I'm dancin' now.

so for me it went smooth

Thanks WugFresh
[Nexus 7 Android Development] jpcalhoun:
Hi WugFresh. I was rooted on using NRT on 4.1.1. I protected root with Voodoo Rootkeeper, downloaded the 4.1.2 update zip and flashed using CWM. After update I was able to apply root using Voodoo Rootkeeper. Everything worked as designed except, like many others, now I cannot get into stock recovery and cannot flash a custom recovery via fastboot or using NRT. Everything else works fine...no problems. I have tried to flash a recovery using the NRT 1.5.4...doesn't work.
[Nexus 7 Android Development] Johnny11:
Just wanted to confirm what some others were posting.

I was rooted on 4.1.1 stock with NRT and had installed CWM recovery. I lost root when I manually updated to 4.1.2. I had to reinstall my Nexus drivers, but apart from that, NRT 1.5.4 worked perfectly.
[Nexus 7 Android Development] blazevxi:
I used the backup function and restoring, it only restored the free apps and not the paid apps is there any reason for it? I restored to stock with JRO03D from the same firmware.

It's no big deal as I'm just reinstalling some apps from the store, but just wondering what happened or didn't happen.
[Nexus 7 Android Development] WugFresh:
That makes absolutely no sense. The Android backup functionality does not discern between free/paid apps. My guess is that your backup was incomplete, or your restoration was interrupted.

{{ WugFresh }}
[Nexus 7 Android Development] Hacktacular:
I updated my non-rooted N7 to current today. Immediately after that I rebooted, unlocked, and rooted with 0 issues;) thanks for all your hard work WugFresh!
[Nexus 7 Android Development] blazevxi:
My guess is that it was interrupted. It's no biggie though as there wasn't so many and I installed them as normal.
[Nexus 7 Android Development] WugFresh:
Happy to hear that it works for you (good news), but this is this is strange to me. I have received a lot of positive/successful feedback on v1.5.4 with these new builds so my assumption now is that everything works properly. That said, I am wondering why a few users reported problems and that reverting to the old bootloader helped them. Something doesn't add up.

As a scientist I am a bit perplexed. There needs to be a common denominator. I don't like unexplained computer anomalies, they drive me crazy.. lol. Can the users who had problems specify more details.. maybe we can narrow it down.

If any of you had problems with the new bootloader, could you try the following to make sure its a controlled experiment:

Use the Flash Stock + Unroot button to reflash a clean 4.1.2 build.- this will hashcheck the factory image file so we can be sure about the file integrity and everything is pure stock.

Reboot your computer and plug your device into an alternate USB port: this ensures the toolkit can properly communicate with your device (consider using a USB 2.0 port vs a USB 3.0 .. seems some users have reported some issues related to this..)

Try rooting again (with the proper build selected in the toolkit). - hopefully it works this time so I can sleep at night (lol)

Report the specifics of your results. What happened exactly and what OS/System architecture you are running.

I am working on Nexus Q support now, so more info on that once it ready. :)

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] AraDreamer:
Wug, thank you for all you've done, and may I ask, how would I go about flashing the stock 4.1.2 image and then rooting it? I,be gone over the last few pages, and it's just started making my head hurt. -Ara
[Nexus 7 Android Development] WugFresh:
Use the "flash stock + unroot" button...

The latest factory image package is already the default. Use the auto download, extract and flash option. The toolkit takes care of everything. Please note that flashing stock wipes data, so backup your important data first if you plan on doing that.

To root.. Press the root button.

{{ WugFresh }}
[Nexus 7 Android Development] blazevxi:
Update, I used titanium backup and I got my stuff back! All the apps were there, just it didn't restore correctly. Most likely a bad backup the first time.
[Nexus 7 Android Development] AraDreamer:
When I click that (over 1.5.4), it says the latest factory image is 4.1.1, rather than 4.1.2. I'm downloading the factory image for 4.1.2, but will it see/accept it? -Ara
[Nexus 7 Android Development] WugFresh:
Oh, looks like it set to 4.1.1. Yes, use the "other" option and use the latest factory image package from google. It will work. I will fix this in v1.5.5 so that it displays the 4.1.2 as the default Nexus 7 flash stock build.

{{ WugFresh }}
[Nexus 7 Android Development] ghalibmeer:
Nexus7 4.1.2 (JZO54K)
[Nexus 7 Android Development] pmgreen:
I initially rooted manually, without a tool. Just flashed to Smooth ROM, and Glazed but have lost the SD Card

Getting the following error: the database is not available please remount storage volume

when trying to run mantano

Getting the following error: No Storage, No external storage available when opening gallery.

Not able to download anything from Gmail and/or Dropbox.

Will this tool work magic?
[Nexus 7 Android Development] maigre:
I noticed that the bootloader available as part of the 4.1.2 package at https://developers.google.com/android/nexus/images#nakasi is 3.41, presumably older than the 3.44 mentioned earlier in the thread.

Any significance to that?
[Nexus 7 Android Development] wweasel:
In 4.1.1 image, the bootloader has the 3.34 version, NO 3.44.
[Nexus 7 Android Development] pmgreen:
How do you install this on a mac?
[Nexus 7 Android Development] maigre:
Oops. My mistake. Thanks for pointing that out.
[Nexus 7 Android Development] pdubcramp:
I had to revert back to the old bootloader too. Then it worked exactly as it should. Thanks for the fantastic toolkit!

I came from rooted stock with TWRP. OTA installed just fine. On 4.2.1, the bootloader was still unlocked but I had lost root. The toolkit booted me into the OS without ever seeing TWRP and with no root. The image for the recovery wasn't flashing, it appears. I don't know if having the custom recovery while applying the OTA might be the common denominator? However I'm guessing most of the poeple rooting on 4.2.1 rooted with your same toolkit on 4.1.1 and would therefore have a custom recovery previously (but was it CWM in the past?), so probably not.

Anyway, good to go! :highfive:
[Nexus 7 Android Development] moe6:
I got this a lot on 1.5.2, now downloading the latest version.

I'll report if it happens still as it happened almost every time I backed up via NRT 1.5.2.