yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] srqrob:
Thanks for responding so promptly. I'll look forward to the fix but it's good to know that there is not some larger issue. My comment on the Nandroid was just to report that I had not done a Nandroid restore as I had not needed to. I was not sure what was causing the root issue and did not know how root would fare through a restore. From what you say, this is extraneous.

As an aside, when I got my first N5, I had not yet found your NRT and went through fits with unlocking, rooting and custom recovery with drivers that were supposed to work but did not. The simplicity and accuracy of NRT is tremendous. Again, thanks.
[Nexus 7 Android Development] momule:
Error On Restore of stock image

Ok So I just recently picked this Nexus 7 up and rooted it and installed TWRP and a custom ROM well the girlfriend was using it and a "system update" came up and she hit download and install. She says it downloaded fine and started to in stall and rebooted and then it just stalls at the google icon. Now also TWRP is gone and it will boot into stock recovery (which is now KTU84P) but hangs on restore. But it just hangs at the "formatting / data...

Included is a copy of the error whe i tried to reflash the original stock image. ADB was connected and found but the error hits and it just hangs up. Im getting less than half on the battery So Im afraid to keep trying.

Thanks in advance.

Nick
[Nexus 7 Android Development] Hannah Stern:
Suggestion to make this Application Better

The GUI of you toolkit is one of the best UI's i've ever seen!

All this features and sooooo easy to use!

But... my suggestion to make this toolkit better is:

[ONLY A SUGGESTION!]

Well,

While writing this post, i did listened to

Sheridan Tongue

-

The Dance of Life

[Click here for URL]
[Nexus 7 Android Development] WugFresh:
You mean like initiating taking pictures/video with your phones cammera via the toolkit? I am confused.. I don't really see the benefit. Why not just take a picture/video with your phone? Why would you want to do it that via the toolkit? .

If that is what you mean - it does appear to be technically possible: https://stackoverflow.com/questions/7402158/how-can-i-run-android-camera-application-from-adb-shell

You can try it via adb, (use advanced utilities > launch cmd).

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] Asphyx:
Well I Got all the drivers working properly, Unlocked the N7 2013 (it was updated to 4.4.4 so I chose that as my device)

Went to root (did not check install custom Recovery)

Now I'm stuck in fastboot screen with a message Booting modified boot.img to enable running privileged commands...

And been here for at least 40 mins....

I'm sure I'm doing something wrong but can't for the life of me figure out what it is!

NEVERMIND....

Found the problem...He was sitting in my Chair!

Damn Faulty Users...I need to reorder some more to keep in stock! LOL
[Nexus 7 Android Development] WugFresh:
I need to add this to the FAQ or add some pop-up message to the toolkit. There are four Nexus 7 devices to chose from. Be sure you chose the correct one and build.
[Nexus 7 Android Development] Asphyx:
Yep I missed by one damn version! LOL

Thanks works a charm and I'm all good to go!

Even let it put TWRP! Very Nice tool you outdid yourself here!
[Nexus 7 Android Development] :
can someone help me?

I was using this program to upload franco.Kernel-nightly-R213-zip , but do not want to change the stock recovery.I have nexus 4--- (4.4.4 KTU84P)

How this can be done using Wug's Nexus Root Toolkit 1.8.7?
[Nexus 7 Android Development] WugFresh:
The advanced utilities > flash zips (file on this comp). It just temp boots TWRP to perform the operation.

Or you can download the zip directly to your device and use flash zips (file on device sdcard), for walk through instructions.

Both operations use custom recovery temporarily. Leaving your stock recovery.

All that said... If you are flashing custom kernels.. Seems kind of pointless to leave stock recovery. There is no benefit or reason.
[Nexus 7 Android Development] WugFresh:
[Duplicate post[
[Nexus 7 Android Development] WugFresh:
[Duplicate post]
[Nexus 7 Android Development] quicksilver53:
Hi Wug. I was trying to flash my 2012 32 gb N7 back to stock earlier today when I ran into problems. Everything was going fine until a script came up and said there was not enough memory on my device and that I should perform a factory reset. Well, I wanted to saver my mp4 movies before I did that. I don't know what I did wrong but I am stuck on the bootloader screen and can not get into recovery. All I get when I turn on my device is the google start screen with an open lock on the bottom and a start arrow by the power button. I can get to the bootloader screen but not into recovery. Do you have any idea what I can do to fix my device? Thanks.
[Nexus 7 Android Development] quicksilver53:
Well, I have managed to flash the latest twrp recovery onto my device. Now I just have to figure out how to the OS back onto my device. I have downloaded a factory image, but I cant get my device to mount to transfer it into my downloads. Any help would be appreciated. Thanks.
[Nexus 7 Android Development] WugFresh:
If you are still trying to recover certain files:

1. Toolkit options > flash stock > enable 'no wipe mode'

2. 'Flash Stock + Unroot' button with 'Softbrick/bootloop' checked. Follow instructions.

3. Once restored, use your comp to copy files off your device that you want to keep.

4. Disable 'no wipe mode" and flash again for a full clean flash.

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] quicksilver53:
Thank you so much for the info. Cheers.

Sent from my M7 using the XDA Free mobile app.

---------- Post added at 09:58 PM ---------- Previous post was at 09:24 PM ----------

Thanks again Wugfresh. Your toolkit worked like a charm.

Sent from my M7 using the XDA Free mobile app.
[Nexus 7 Android Development] 1toadfacedfrump:
Thank you!!!!

After rooting and installing custom ROMS on my android phones several times the past 2-3 years (thanks to the gurus here on xda), I decided to take the plunge and root my 'ancient' first gen Nexus 7. I did not want to lose progress in my addictive Tiger Woods 2012 game, so I bypassed the Unlock command and took a chance it would root anyway, and it did!! I hope I won't have problems down the road, but for now its running normally with root access thanks to the amazing brains here on xda, namely WugFresh in this instance!! You guys and gals are so smart it hurts my head!! :D Thank you WugFresh for your hard work and efforts, I'll donate this Friday night once I get paid.

I may get into custom ROMS for my Nexus (CleanROM looks cool, and I love speed), but I hate losing all my progress in TW2012. Anybody know of a way to back up just that game's data? I checked out the Advanced Utilities on the NRT (v1.8.7), but unless I missed it, I don't see a way to do it (maybe push/pull files?). I bought Helium a few hears back, but it doesn't back up my game progress for some reason.

Thank you again WugFresh!!
[Nexus 7 Android Development] srqrob:
Have you looked at Titanium Backup? It seems to do a great job with apps and data.
[Nexus 7 Android Development] hazwheel:
TB should do it, I think you will need to select include apps external data though and I'm guessing TW will make a large backup
[Nexus 7 Android Development] 1toadfacedfrump:
Thanks srqrob and hazwheel, I may give it a try. And it will be a large backup, but I have read online that even checking include external data does not work for most people, it will get half way through backing up then stall or quit. I show TW12 at 584MB now, and when I have unchecked Helium's App Data Only in the past, it only backed up the current (and last version I'm afraid) of TW12 anyway. I might as well go ahead and give TB a try as well though, that way I'll have more tools in my toolbox. Thank you again!
[Nexus 7 Android Development] xflowy:
hey guys! i need help! i used this kit the whole time having no issues at all, already treated one nexus 5 well with it. now that i'm willing to unlock a second nexus 5, everytime it boots into bootloader mode, the tool says that there's no bootloader mode found, allthough the phone is right in it.

already resetted all drivers, but still the same. and dont forget, i already managed to unlock another nexus 5 with the same firmware version on the same pc (win 8.1) without any troubles...what is it?

thanks!

EDIT: ok...now im getting FASTBOOT DEVICE NOT FOUND with the other nexus too. so sth has happened in the meantime.
[Nexus 7 Android Development] ritchea:
Did you get this sorted out? This seems to happen to me a lot. What has worked for me is to boot to bootloader, then do fastboot devices in CMD mode (Windows--Apple, IDK). IF drivers are still there--probably are, your device will show then you can go back to the toolkit. The device is now recognized. Also, it doesn't hurt to make sure your USB Debugging in Developers' Options hasn't been turned off.
[Nexus 7 Android Development] huizingajm:
Can't Download Files

I cannot download any of the modified images files. The hashckeck first give me a mismatch and then when I try to manually download there are no mirrors to download. Can't Root my N5 unless I get the modified file. Can someone please post a mirror that work for 4.4.4 KTU84P?

EDIT: Just saw on Android File Host that this is a known issue and they are investigating why it is happening. I believe my post can be deleted.
[Nexus 7 Android Development] WugFresh:
Thanks for notifying me. I plan on setting up mirrors for everything on basketbuild, or maybe another provider soon, so in-case something like this happens in the future, the link it gives you isn't the same link that it try's to auto-download from androidfilehost - that certainly isn't helpful if their whole service goes down.

Anyway here's a quick mirror for that file: http://www.mediafire.com/download/crcpsvx6e6m9l69/modified_boot_hammerhead_4.4.4_KTU84P.img

Cheers,

{{ WugFresh }}
[Nexus 7 Android Development] huizingajm:
Thank you so much. Nexus is now Unlocked and Rooted.
[Nexus 7 Android Development] pompeyrodney:
Soft bricked I think, need help recovering please.

Hi Wugfresh

I very much would like some help as my Nexus 7 is giving me grief. I was running CM11 and was having some issues and decided to revert to stock using your marvellous kit but something seems to have gone wrong and now all I can get is the Android start screen, restart bootloader, and recovery mode. None of these seem to do anything no. If I select recovery mode i get teh google logo and a message saying booting failed, I get the same if I select start as well. I have tried to use the kit to get back to stock but I cannot get to the developer options or anything really. I have downloaded the Android sdk but got nowhere with that. Any help would be much appreciated. Thanks.
[Nexus 7 Android Development] WugFresh:
Under flash stock + unroot, use "softbrick/bootloop" mode and follow instructions.
[Nexus 7 Android Development] norwoodesteel:
i went through this when i got 2012 nexus 7 refurbished. the asus bootloader is hinky.

what worked for me was flashing an older 4.2 factory image under soft brick mode, then let the ota updates run.
[Nexus 7 Android Development] pompeyrodney:
Thanks Wugfresh, tried as you suggested and got the following:

Followed by:

Thanks for any help you can give me.
[Nexus 7 Android Development] pompeyrodney:
Further to my last

archive does not contain 'system.sig'
archive does not contain 'tos.img'
Creating filesystem with parameters:
Size: 14442037248
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3525888
Block groups: 108
Reserved block group size: 863
Created filesystem with 11/883008 inodes and 96825/3525888 blocks
Creating filesystem with parameters:
Size: 464519168
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 1772
Label:
Blocks: 113408
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/28352 inodes and 3654/113408 blocks
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: 015d262e084c0012
--------------------------------------------
checking product...
OKAY [ 0.031s]
checking version-bootloader...
OKAY [ 0.031s]
sending 'boot' (4994 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 25.875s

Booting up your freshly flashed stock device...
------------------------------------------------------------------

Wait for your device to finish booting up...

- It may appear to be boot looping; just wait...

- It could take 5-10 minutes; please be patient...

When its finally booted back up, please remember
to re-enable USB debugging if you plan on using
the toolkit to perform other operations.

NOTE: If this process was too quick and your device
is still in bootloader mode, then flashing stock may
have failed or been incomplete. Simply check the
log above: if you notice it skipped steps because it
didn't meet certain requirements, like the bootloader
or baseband version, then consider enabling 'Force Flash'
mode in the toolkits options menu and trying the
'Flash Stock + Unroot' processs again. Cheers.

Press any key to exit...

This follows the error in the previous post.
[Nexus 7 Android Development] norwoodesteel:
try older factory images
[Nexus 7 Android Development] :
how to install kernal img?

I want to install the file franco.kernal (boot-r213.img)
[Nexus 7 Android Development] pompeyrodney:
Fixed it

tried the force flash and it seems to have done the trick, thanks for the help.
[Nexus 7 Android Development] ZzB3B0zZ:
im breaking my head i tryed every solutions for drivers and still adb is not working what im doing wrong
[Nexus 7 Android Development] WugFresh:
Have you tried rebooting your computer after step 1 (uninstalling drivers). Do you get the RSA security prompt when you connect? Have you tried alternate usb ports and/or cables. Have you tried disabling MTP?
[Nexus 7 Android Development] :
I renew my question

how to install kernal img? Wug's Nexus Root Toolkit.

I want to install the file franco.kernal (boot-r213.img)

please help
[Nexus 7 Android Development] pkelly517:
Get Flashify.

Or

fastboot flash boot boot.img
[Nexus 7 Android Development] WugFresh:
You have lots of options. If its packaged as a flashable zip, then you just put it on your sdcard and boot into TWRP and flash it (or you could use the toolkits 'Flash zips' - file is on comp, button in advanced utilities). If its just the boot.img then you can use advanced utilities Flash (permanent) to 'Boot' button. Alternatively there are apps out there that will help you automate flash procedures.

Cheers,

{{ WugFresh }}
[Nexus 7 Android Development] GioVAX:
Error during rooting

Hi all,

I am using NRT 1.8.8, and trying to root + custom recovery a Nexus 5 running 4.4.4 build KTU84P.

the phone is unlocked, verified from the fastboot screen.

The process runs smoothly, until I get an AutoIt Error stating:

Line 19432 (File "C:\Program Files (x86)\WugFresh Development\NexusRootToolkit.exe"):

Error: Variable used without being declared.
​

And the application closes.

Anybody else had this issue?

The phone seems to be rooted fine, but I still feel unconfortable with the error message... Any insight to share?

Ciao
[Nexus 7 Android Development] WugFresh:
Can you clarify specifically at what stage or specific point you get that message.

No need to feel uncomfortable, it doesn't have to do with your device. Something I need to find and correct in the script. Please provide more details if possible so I can try to reproduce it.
[Nexus 7 Android Development] GioVAX:
Dumperd from the Live Log:

Live log initiated.

Information: Checking ADB Status

adb devices

List of devices attached

06c9b18a00e4b0d5	device

ADB Status: Device Connected

Information: Rebooting your device into bootloader mode...

adb reboot bootloader

Information: Checking Fastboot Status

fastboot devices

06c9b18a00e4b0d5	fastboot

Fastboot Status: Device Connected

Information: Booting modified boot.img to enable running privileged commands...

fastboot boot "C:\Program Files (x86)\WugFresh Development\data\Modified_Boot\modified_boot_hammerhead_4.4.4_KTU84P.img"

Information: Waiting for your device...

adb wait-for-device

Information: Device Detected

Information: Pushing root files to your device...

adb push "C:\Program Files (x86)\WugFresh Development\data\Root_Files\UPDATE-SuperSU-v2.02.zip" "/sdcard/!ReadyToFlash/Root_Files/UPDATE-SuperSU-v2.02.zip"

adb push "C:\Program Files (x86)\WugFresh Development\data\Root_Files\perm-recovery-signed.zip" "/sdcard/!ReadyToFlash/Root_Files/"perm-recovery-signed.zip"

adb push "C:\Program Files (x86)\WugFresh Development\data\Root_Files\openrecoveryscript" "/cache/recovery/openrecoveryscript"

Information: Rebooting your device into bootloader mode...

adb reboot bootloader

Information: Checking Fastboot Status

fastboot devices

06c9b18a00e4b0d5	fastboot

Fastboot Status: Device Connected

Information: Flashing Custom Recovery...

fastboot flash recovery "C:\Program Files (x86)\WugFresh Development\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.0.1-hammerhead.img"

Information: Booting TWRP Temporarily...

fastboot boot "C:\Program Files (x86)\WugFresh Development\data\Recovery_Custom\TWRP\openrecovery-twrp-2.8.0.1-hammerhead.img"

Information: Rooting...

Information: Waiting for your device...

adb wait-for-device

Information: Device Detected​

Then I get the error.

HTH
[Nexus 7 Android Development] striker59:
I had trouble getting adb to work, this video on youtube at 5:40 tells you a simple way to install drivers for adb, it worked for me.

https://www.youtube.com/watch?v=sK9avekmA1c&list=FLmtxIhF0W8Kgp9Yg_WpARWA&index=7
[Nexus 7 Android Development] ZzB3B0zZ:
Yh I tried uninstalling every drivers from Samsung google etc and disable mtp and switch cables and all when I tried to manually installed them I get to I stalled correctly only the adb not the fastboot drivers
[Nexus 7 Android Development] WugFresh:
Does device manager show anything that indicates your device when you are in bootloader mode.
[Nexus 7 Android Development] Frag Mortuus:
Help for a Green Horn.

Hey guys,

I just downloaded and ran through the 1.8.8 build of the tool kit on my minty fresh N7(2012). Everything ran fine, got no error messages of any kind. I removed all drivers according to the instructions, then ran the "automatic + manual" option for drivers, I used the unlock option, then ran the root option along with a check mark to install custom recovery. Again, never got any error messages, but after everything was done I tried running the SU app and it said that there was no binary (or something like that, I am not at home, but I can post the exact message in a few hours), I tried running the Busy Box app and it wouldn't run and stated that I didn't have root. I then installed root checker and it too said I didn't have root.

Any ideas?

P.S. I understand that you all get tons of these types of questions from n00bs like me, and apologize for the umpteenth post regarding this.

Thanks everyone.
[Nexus 7 Android Development] srqrob:
losing root

I had this same issue with my N5 of losing root after flashing a custom recovery. Wug responded that there was some glitch in either the SU binary or his script. Luckily for me and likely for you also it was easily corrected by running the Root script from the root button on the bottom of the main page but not checking the box for custom recovery. The recovery you want is already there and root, for me at least installed without a glitch. Hope yours does also.
[Nexus 7 Android Development] Mr-Glass:
When that has happened in the past - I will just copy Chainfires SuperSU zip onto the device and install via recovery.. should work.. Here is the link to SuperSU.zip http://download.chainfire.eu/567/SuperSU/UPDATE-SuperSU-v2.13.zip
[Nexus 7 Android Development] Frag Mortuus:
Thanks man, that worked magnificently.
[Nexus 7 Android Development] wtherrell:
Can't wait until this supports Verizon Nexus 6 & I get TWRP on there!
[Nexus 7 Android Development] Erik1805:
I would like top restore my Nexus 7 back to stock. There's a option Flash back to stock. Do i need to download a stock rom before i run it or does the program do this? And also i am on F2FS filesystem. Is that a problem or can i just flash stock rom?

Thanks.
[Nexus 7 Android Development] WugFresh:
Just an FYI, this was fixed in v1.8.8.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Preparing my code for support. Stay tuned :)

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
The kit can auto-download it for you, or you can download it yourself from google. There is an option to choose. Just press the button and all will be explained :)

Your filesystem will be overwritten so that shouldn't be an issue. You could issue the following commands (advanced utilities > launch cmd promt) in bootloader mode and then use "Flash Stock + Unroot" (softbrick mode), to be sure everything is good:

fastboot format system
fastboot format data
fastboot format cache

Cheers,

{{ WugFresh }}
[Nexus 7 Android Development] thomase00:
simple question

Is it possible to get root access for my Nexus 7 (2012) with stock 4.4.4 WITHOUT flashing a custom recovery?

It is OK if it is just temporary (i.e. if it needs to be re-rooted after a reboot).

I want to debug a battery issue using betterbatterystats, but this is hard to do without the extra information provided by root access.

I also want to get raw access to app data for an app which has inexplicably disallowed ADB backup. I want to do a factory reset, but don't want to lose my progress in this particular app. Everything else I care about is covered by ADB backup.
[Nexus 7 Android Development] WugFresh:
Under the root button in the toolkit, flashing a custom recovery is a checkbox option... I.e, its not required.

If unchecked its not flashed. Just used temporarily as explained in the kit. Root access doesn't go away between reboots; it stick, however you can unroot through the SuperSU app itself (via 'full unroot' in its settings menu).

What is required to root however is an unlocked bootloader, which causes a factory reset (wipe).
[Nexus 7 Android Development] Erik1805:
Well, that did not work. It is stuck in fastboot. Can't do anything. Any ideas?
[Nexus 7 Android Development] WugFresh:
You need to do that flash stock + unroot, with "softbrick mode".

What happens explicitly. Does it flash, do you get errors? Screenshot maybe?
[Nexus 7 Android Development] Erik1805:
Getting a lot of errors now. See image. Really stuck now.

Got this now :

Update :

Fixed it. Flashed new bootloader and it up and running [emoji3]
[Nexus 7 Android Development] WugFresh:
In the future you can enable 'Force flash mode' to override those checks if you get requirement errors like that.

Happy to hear that you got it sorted.
[Nexus 7 Android Development] starfighter1948:
Whilst trying to flash back to stock and unroot using v1.8.9 earlier I received an error at line 15664 in toolkit.exe. Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.

Anyone know what the problem might be? I was using flash stock + unroot with option device is on/normal. Any help gratefully received.

starfighter1948
[Nexus 7 Android Development] WugFresh:
Hmm. I tested it and that didn't happen. I am out partying. Will check it out tmrw.
[Nexus 7 Android Development] FormeriPhoney:
I recently flashed my son's 2012 Nexus back to stock using the kit. Unroot and locked the bootloader. Will I receive ota updates from this point on?
[Nexus 7 Android Development] lennydude:
Android L

Hi there............

Was wondering. I recently watched a video by Jimmy McGee stating that the tool kit could flash Android L to my Nexus device.

I have a Nexus 7 (2013) and have the boot loader unlocked and am running the Dirty Unicorns rom on it. I would like to try out the Android L package but was wondering exactly how I would go about doing so with the Tool Kit 1.8.9 ?

Thanks for any help :)

BTW............GREAT toolkit indeed !!

Lenny

brg