yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] the1onewolf:
Yes it's the same.
[Nexus 7 (2013) Android Development] fzammetti:
Possibly a silly question, but does not having the factory image yet mean you can't restore JUST the default recovery?

When I rooted, which went ALMOST fine with 1.6.8, I made sure I did not check the box to install TWRP, I wanted it just temporary, but it remains permanent now (that's the part that wasn't quite fine), which of course means now OTA's for me. I'd prefer getting back to stock recovery.

Am I boned until (if) the factory images get released?

Thanks,

Frank
[Nexus 7 (2013) Android Development] WugFresh:
Yes, that is cool to use. I will update the masterlists soon so that its officially listed, but the files will be the same for that minor update.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] WugFresh:
It means you can't restore anything. 1.6.8 does not flash TWRP, it boots it temporarily. Maybe you did it with a previous toolkit version? To answer your question specifically, yes.. without the factory pack you can't restore stock recovery. I am going to try and see if I can work with other devs to make an unofficial factory pack for this device. One thing you could try is flashing this zip in recovery:

\data\Recovery_Stock\undo-perm-recovery-signed.zip

That might actually work to restore it, because that zip renames certain system files that are responsible for automatically restoring stock recovery... I am just not entirely sure that those files are present on the new nexus 7 devices, if they are they will get renamed back to their default state and stock recovery should be restored. Cheers.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] WugFresh:
Hey, to follow up with this [MENTION=1160872]fzammetti[/MENTION] , I found this helpful thread: http://xdaforums.com/showthread.php?t=2381438

It says that the img's are prerooted, but that only affects the system.img. That means you can flash that recovery.img to restore the stock recovery for now. To flash the recovery.img simply use advanced utilites flash to "recovery" button.

Here is a direct link to those files (please note that I have not tested them myself): JSS15J-fastboot-images.zip

Hope that helps. Be sure to thank the dev in that thread who took the time to put those fastboot.img's together. Cheers.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] minazaki:
EDITED:

I succeeded in flashing the stock recovery.img from that zip.

Thanks.
[Nexus 7 (2013) Android Development] fzammetti:
Thanks guys, I appreciate the info. Glad to know my understand was actually correct :) I'm going to leave well enough alone for now, since my only real concern is being able to get OTA's, and with none currently pending it's certainly not a pressing concern... better to not risk messing anything up, especially given there's no foolproof way back to stock at the moment... hell, I may not have rooted at all had I fully understood that in the first place! (I think it was one of those "part of my brain understands, but it's being shouted out by the part that wants what it wants NOW!" deals, you know?! LOL) I'll just wait and see what happens down the road at this point.
[Nexus 7 (2013) Android Development] blahbl4hblah:
Great tool for rooting and many other things as well

I did have some issues with getting things connected but I soon figured out that if switching the transfer method to camera instead of media fixes things
[Nexus 7 (2013) Android Development] minazaki:
Hey,

Just so you know, stock recovery can be flashed, like Wug said. There is a stock recovery.img in the pack of fastboot images (JSS15J-fastboot-images.zip) that Wug posted a few posts back. I tried to fastboot the recovery.img, and it worked just fine. (I initially thought it didn't work, because I got the dead Android, but that is how the stock recovery is supposed to look - you then press volup+power at the same time to actually get to the recovery menu).

Anyway, if you want to get back to AS CLOSE AS POSSIBLE TO stock (not completely stock, as Wug pointed out: we don't actually have all the required image files) from where you are, this is what I would do (this is also outlined in more detail in this thread: http://xdaforums.com/showthread.php?t=2381438)

1. Download the JSS15J-fastboot-images.zip that Wug posted above, that are in that thread I just linked.

2. Use fastboot to erase and then flash boot.img, recovery.img, and system.img.

3. Now, system.img in that pack is pre-rooted. So when you boot up, I'd go to the app store and download the busybox installer (if it's not already included), and use it to uninstall busybox, then uninstall the busybox installer.

4. You'd then need to go into SuperSU and do a full unroot, and then ininstall SuperSU.

5. Last step would be to lock the bootloader using: fastboot oem lock

6. Boot up and do a full factory reset (either from recovery or from the Settings menu).

By my best estimate, given what we have now, that's as close as you're going to come to getting back to stock without factory images from Google.

Anyone smarter than me, please feel free to make any corrections.
[Nexus 7 (2013) Android Development] terenceleechan:
I tried unlocking the boot loader of the nexus 7 2 with this toolkit. I selected yes in fastboot mode and pressed power for awhile since it didn't register at once. It rebooted and has stayed on the nexus logo for more than 10mins now. What should I do? How long should it take? I think its stuck. Do I press power button again so it would try rebooting or try to unlock it again in fastboot mode?

Edit: I think its bricked. Anybody help me?
[Nexus 7 (2013) Android Development] WugFresh:
You should factory reset. First power down, then power up holding down the volume buttons. When you see the bootloader mode, switch it to recovery with the volume buttons, then power to select. You will then see an android on its back with a red exclamation mark. Hold volume down and Press the power button to bring up the stock recovery menu, select factory reset.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] terenceleechan:
After seeing android with exclamation I press volume down and power but I see no stock recovery menu. Goes back to bootloader
[Nexus 7 (2013) Android Development] WugFresh:
Thank you. Yes, your instructions are correct, but just to clarify - its not a complete stock reflash because that zip doesn't have the bootloader.img, data.img, baseband, etc. Luckily a simple factory reset can take care of data and cache, but the baseband could still present a problem. Maybe consider avoiding roms with leaked baseband versions, or modify them accordingly.

I really hope google keeps up their nexus support and releases the official factory packs soon.

If I can get the other fully stock fastboot.imgs, then I will package an unofficial factory pack in the same format google does for automated use with the toolkit.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] terenceleechan:
Power up using volume buttons does nothing for me. I had to press volume down plus power to get to boot loader mode. I selected recovery mode and pressed power. It booted to the android with red mark. I hold down volume and press power and i can't get to stock recovery. It just goes back to boot loader :(
[Nexus 7 (2013) Android Development] minazaki:
Thanks. Corrected my post to reflect that it's not actually complete stock reflash.

Perhaps a dumb question, but there a way to dump the required fastboot partition images from a completely stock N7 (or one that has not had bootloader or baseband touched)?
[Nexus 7 (2013) Android Development] terenceleechan:
Anybody help? How to factory reset it? I can't get to stock recovery. Can't get it to boot to factory reset in settings :(
[Nexus 7 (2013) Android Development] FormeriPhoney:
Hey guys (or Wugfresh) I had a few quick questions.

I just sold my Nexus 7 running this Dev L preview along with root and twrp.

First question is.. I want to delete my twrp backups but they are nowhere to be found in my root Explorer. The twrp backups directory is blank unless I'm actually in twrp. Then I can see it.

Second. If I want to wipe the device clean as I am shipping it Tuesday.. What's the best way to do that? Don't think the stock factory data reset within the settings works when you have custom recovery..

Finally. If I flash the stock L preview again in Wugfresh program.. Will that wipe they device clean?

Thank you for your help.
[Nexus 7 (2013) Android Development] WugFresh:
Yeah, just reflash the L. It will be wiped.
[Nexus 7 (2013) Android Development] FormeriPhoney:
Damn. Why do you make everything so easy?

Do I have to flash stock and unroot first.. Then go through the root and flash the 5.0 file again?
[Nexus 7 (2013) Android Development] WugFresh:
You can use 'Flash Stock + Unroot' to flash 5.0 preview directly. If you want root again and/or custom recovery, you can do that afterwards. Flashing stock android builds does not require root access, just an unlocked bootloader, and flashing stock will wipe you device (assuming you don't have 'no wipe mode' enabled in the toolkit options).

{{ WugFresh }}
[Nexus 7 (2013) Android Development] FormeriPhoney:
Yea. The kid I sold it too wants it rooted, twrp and running lollipop ? so that's what I'll do . Thanks man.
[Nexus 7 (2013) Android Development] FormeriPhoney:
Will this wipe the data too?
[Nexus 7 (2013) Android Development] mdamaged:
Nm.
[Nexus 7 (2013) Android Development] synaptic13:
Anyone try this on the n9?
[Nexus 7 (2013) Android Development] fcbkataly56:
I hear about that Google release Android L Official. Could I use this tool v1.9.3 in order to flash stock?

I am using stock Rom 4.4.4. To flash stock Android 5.0, do I need unlock bootloader before?
[Nexus 7 (2013) Android Development] skrypj:
So, I have already asked this before because it had previously happened on my Wifi N7, but I just used Wug's to flash the factory 4.4.4 image to my new-to-me N7 LTE and lost half of the internal storage. Its now only showing 11.4 GB or so. Last time the fix was to do a factory data reset from the settings menu, but for some reason it is not working on the LTE N7. Does anyone have a suggestion on how to fix this?
[Nexus 7 (2013) Android Development] WugFresh:
Try factory resetting from stock recovery:

How To Factory Reset Nexus Devices

If that doesn't work, reflash stock.

Cheers.

{{ WugFresh }}
[Nexus 7 (2013) Android Development] oxxshadow:
New factory images are out!
[Nexus 7 (2013) Android Development] fcbkataly56:
Could I use this tool v1.9.3 in order to flash stock Android 5.0 official
[Nexus 7 (2013) Android Development] skrypj:
That did it, thanks for the help.
[Nexus 7 (2013) Android Development] 3x3cUt0r:
I tried this but i can't get root access
[Nexus 7 (2013) Android Development] fcbkataly56:
I need flash stock Android 5.0 only
[Nexus 7 (2013) Android Development] iesvs:
You have to hit the Update menu so the toolkit can load the new dependencies, but once you do that you should be good. I just tried it on my end and it had the right build number and everything this time: LRX21P, Wi-Fi version.
[Nexus 7 (2013) Android Development] E.Vogel:
You can use it to flash android L and get Root

You can use it to flash android L and get Root. All you need to do is the regular two steps:

Step 1 - flash android 5 using 'Flash Stock + Unroot’

Step 2 - wait for your device to restart. Enable developer options and USB debugging. Let the toolkit update its files and then root the device.

I just did it and it is working.
[Nexus 7 (2013) Android Development] WSZR:
Why can not I click "continue"?
[Nexus 7 (2013) Android Development] idCyber:
For me it worked fine but Quick reboot app that is installed automatically when rooting LRX21P does not work. I grant root permission but when I press reboot or turn off or anything, nothing happens . I think the app is not compatible with ART
[Nexus 7 (2013) Android Development] WugFresh:
Your guess is correct. I may remove quickboot app. There is an option to not install it in the toolkit options menu.
[Nexus 7 (2013) Android Development] WugFresh:
Well that's a cruel joke. I haven't seen that yet. I have dedicated today to finishing v1.9.4, so I will find that bug.
[Nexus 7 (2013) Android Development] madbat99:
You need the pie fix zip. Its a root security issue in lollipop, but the pie fix, fixes it. Then quick reboot, Es file explorer, will work.
[Nexus 7 (2013) Android Development] paztine:
Mismatch. hash..

I love this toolkit no doubt about it but the latest factory lollipop images keep getting me a mismatch hash. I have use this on the preview build no problem.. I'll wait for a fix..
[Nexus 7 (2013) Android Development] Scottchy014:
Wug Fresh posted this a little bit ago: https://plus.google.com/113329792100896065459/posts/Q15aimuA2qu It may help you out. There is a lot of comment traffic on this post. Someone there may have an answer. I'll be upgrading my Nexus later today. If I figure out what is going on, I'll post it here and G+.
[Nexus 7 (2013) Android Development] madbat99:
Anyone else hang on the Goole logo after rooting? Script ran fine, all files succeeded, but then "waiting for device". I tried rebooting and it still hangs on google logo.
[Nexus 7 (2013) Android Development] milan*SK:
Also TWRP flashing is not working on 5.0 Lollipop. When it comes to boot temporarily, the device just stays in Bootloader mode and nothing next happens. Only hard-shut down works (holding the powerbutton).
[Nexus 7 (2013) Android Development] WugFresh:
You need to be patient. It takes a bit longer on 5.0.0 to load up.
[Nexus 7 (2013) Android Development] paztine:
THANKS...

Thanks sorry for the multiple question or comments.
[Nexus 7 (2013) Android Development] mertzi:
installed lollipop OTA yesterday via adb sideload, rooted just a minute ago with NRT and now greenify works again. You are king!
[Nexus 7 (2013) Android Development] ryfly65:
Hey Wug, getting this:

---------------------------

AutoIt Error

---------------------------

Line 15851 (File "C:\Program Files\WugFresh Development\Nexus Root Toolkit\NexusRootToolkit.exe"):

Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.

---------------------------

OK

---------------------------

This error message pops up every time it attempts to Download/Update all dependencies. After pressing OK, it crashes.
[Nexus 7 (2013) Android Development] poiu1:
I'm getting this exact same issue when running 1.9.6. Error pops up after clicking OK to Download/Update all dependencies. Hope someone has an idea how to proceed.
[Nexus 7 (2013) Android Development] iaTa:
As a workaround select the Nexus 5 initially.

Then once the program has loaded select Nexus 7 2013 Any build.
[Nexus 7 (2013) Android Development] poiu1:
Thanks! This kinda works now. I cancelled the attempt to update the boot.img and twrp recovery img at startup and it loads into the NRT main menu. Found out that its the boot.img update that causes the error. Any attempt to update the boot.img file brings up the same Line 15851 error. I Managed to update the TWRP recovery image file ok though.
[Nexus 7 (2013) Android Development] WugFresh:
Very strange. What device do you select. I need to be able to reproduce this.

Does it happen on a clean install of NRT.
[Nexus 7 (2013) Android Development] WugFresh:
Hmm. Ok. I will see if I can find it.
[Nexus 7 (2013) Android Development] poiu1:
Hi Wug,

If it helps, It happens on my install of NRT 1.9.6 on Windows 7 Home premium 64bit. Previously i was running NRT version 1.8.X without any probs. Uninstalled that one and installed 1.9.6 and the dependency downloader window opens up on startup (after update/dependency check). Clicking OK will cause the error to pop up but I can cancel to bypass it and get to main menu. My device is a Nexus 7 (2013) on Android 4.4.4. Error also happens when i use the update function from the main menu. Maybe its cause it can't find the modified boot.img (wild guess)?

Thanks for all your hard work!
[Nexus 7 (2013) Android Development] cotosilv:
On NEXUS 7 2013 - Android 4.4.4 (build KTU84P) - if i start Nexus Root Toolkit it stop working, the only workaround is to call 'adb devices' from Android SDK - this will kill and restart adb server.

In Dependency downloader, if i try to download Modified Boot.img i get error: 'Line 15851 File: NexusRootToolkit.exe ' Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded'.

I tried NexusRootToolkit 1.9.6 and 1.9.5.
[Nexus 7 (2013) Android Development] tiis:
After manually upgrading to 5.0 the toolkit's script can download 5.0's modified boot.img and the rest. Seems to be related to 4.4.4's modified boot.img file...
[Nexus 7 (2013) Android Development] cotosilv:
You are right, is something with boot.img for Android 4.4.4 - Build: KTU84P.

If i select Android 4.4.4 - Build: KTU84P, i get Error (Array variable has incorrect number of subscripts or subscript dimension range exceeded) when i try to download modified boot.img.

But if i select older version: RAZOR-FLO Android 4.4.3 - Build: KTU84L it will download without errors.

There is an workaround to download myself modified boot RAZOR-FLO Android 4.4.4 - Build: KTU84P and copy to Wug's Nexus Root Toolkit ?

----

Later edit: after last update everything is ok, now i have Android 5, thanks.
[Nexus 7 (2013) Android Development] oxxshadow:
So something strange happened to me today. I tried to update the toolkit from 1.94 to 1.96 through the built in updater. It checks the dependency files, but never downloads them and force closes the program. Tried restarting the PC, nothing. Running Windows 8.1.
[Nexus 7 (2013) Android Development] WugFresh:
Updater in v1.9.4 is borked: https://plus.google.com/113329792100896065459/posts/FUohFJWJHzt
[Nexus 7 (2013) Android Development] WugFresh:
For those with the AutoIt error problem.

This was MY fault. I accidentally deleted that KTU84P modified boot file for N7 2013.

I have since reuploaded it and updated the masterlists.

Just hit the UPDATE menu item to get the latest lists, and all will be well.

Also use v1.9.6

In the future I will make a better error that says:

Tell Wug he messed up and deleted a file! Lol

Sorry for the complications guys.

Please do me a favor and spread the word if you see this question popping up.

Cheers.
[Nexus 7 (2013) Android Development] poiu1:
No Worries Wug! All good now! Appreciate the continued support of your tool and quick response!
[Nexus 7 (2013) Android Development] ryfly65:
Yeah it was happening on a clean install. Hitting OK would force an exit, but I figured out that hitting cancel would bring up the program. From there I just used your handy side load feature to get lollipop on. Once I got lollipop going it downloaded the rest of the dependencies just fine.
[Nexus 7 (2013) Android Development] ritchea:
Ain't nothing simple, but you do a great job of simplifying so much with your kit.? [emoji106]
[Nexus 7 (2013) Android Development] Josephigloe:
[MENTION=3110798]WugFresh[/MENTION] I would like to thank you for your work this is very easy to use I was amazed. GOOD::GOOD!
[Nexus 7 (2013) Android Development] st0nez0r:
[MENTION=3110798]WugFresh[/MENTION] - this kit was (is) a life saver. Not only did it help me get all my drivers properly installed again, but was able to easily and effortlessly update bootloader, recovery etc. Thanks for all your work - it's an invaluable tool!
[Nexus 7 (2013) Android Development] dredhead4:
Help rooting

Hey guys, I'm having some issues rooting my N7. I used the toolkit to update to the official lollipop build and I had to completely redo all the drivers. I was having issues with adb while trying to do the update but I seemed to have fixed it as I'm now on the official build. So I'm now getting issues with adb either not finding the device or it appearing offline, somehow. If it's not one it's the other, apparently.

Edit: I was able to get it working somehow. Does anybody know how to make twrp work with the volume buttons? My screen is cracked and only a portion of it works so using the volume buttons would be a life saver.
[Nexus 7 (2013) Android Development] Starphish:
TWRP not passing encryption pwd; cant root; can't delete TWRP

I caught the 5.0 OTA on my N7 and lost root. When I tried to root with the toolkit it installed the lastest TWRP which refuses to take my encryption password. So I'm stuck with TWRP and no root.

I tried to revert to stock recovery, but TWRP is involved and I can't get past the pwd issue. How can I sideload stock recovery and get out from under this TWRP problem?

Thanks!
[Nexus 7 (2013) Android Development] madbat99:
Root+update+encryption=problems most timed. You may have to factory reset to remove encryption. I tried flashify to change recovery images, but it hasn't been updated for 5.0 yet.
[Nexus 7 (2013) Android Development] Starphish:
Finally Success !

I finally got root restored without factory reset.

I used WNRT to install clockworkmod recovery. During that process, WNRT booted to TWRP after CWR was installed. Since TWRP wouldn't take my pwd, I intervened manually and had TWRP boot to recovery. Fortunately CWR came up, and so I used that to install the latest SuperSU. CWR couldn't open my encrypted partition, but it did allow me to sideload SuperSU via adb. After sideload, CWR installed SuperSU. I then exited CMR and accepted "Fix Root" option. My N7 booted up and Root Checker gave success !!!!

Now I've got to restore Amazon Prime (I lost it on the upgrade)
[Nexus 7 (2013) Android Development] Magic2009:
Ive got Android 5 on now, yesterday I also had root but today its gone, SuperSU is there and shows a couple of apps with granted access but if when I go to Busybox I get the superuser request and 8 seconds to touch grant but the screen doesnt react to allow grant or deny any ideas, Ive tried re-rooting but no luck so far??
[Nexus 7 (2013) Android Development] TheKaptone:
Just wanted to say thanks for this tool, used it birth for my N4 and N7 they both run like a dream. Donation made. Thanks
[Nexus 7 (2013) Android Development] mdamaged:
You used it to what? :confused::eek:

This is a family-friendly site.:mad:
[Nexus 7 (2013) Android Development] m+a+r+k:
Perhaps they'll have a Nexus 6? Wonder what the gestation period is! :laugh:
[Nexus 7 (2013) Android Development] TheKaptone:
HA HA flashed the lollipop image on both devices, it didnt however help with my auto spell but i guess that is just me
[Nexus 7 (2013) Android Development] mkw87:
Used Nexus Root Toolkit v1.9.8 to update my Nexus 10 to 5.0 via Flash Stock + Unroot. After that I had to go into windows device manager, right click on tablet which was showing up as unrecognized, and manually assign the driver as an ADB Interface and select the Samsung Driver I had installed. After this I used the Toolkit to Root the device and install TWRP without any issues. Thanks Wug, worked like a charm.
[Nexus 7 (2013) Android Development] nilleo:
The root prompt doesn't react when it pops up for me either (for any app). I noticed that when I tried to sideload the latest Play Services, I had the same issue trying to select the Install button from that pop up prompt. Touching it does nothing, using a mouse pointer (Bluetooth mouse) to try to click it also does nothing, but clicking Cancel (right next to install) does work.

Edit: After further research, this weird bug was caused by Lux. Temporarily disabling Lux or unchecking Tapjacker protection in SuperSU resolves this issue.
[Nexus 7 (2013) Android Development] Asphyx:
Ok did the flash stock (5.0) and unroot and then rooted w/ Recovery

But now it seems my storage reports I only have 11 gb of storage on my 32gb Nexus 7 2013.

Did I do something wrong here?
[Nexus 7 (2013) Android Development] WugFresh:
factory reset. common fix for incorrect storage display.

{{ WugFresh }}