yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] loanroller:
please give this a second to read.

i got the 2013 nexus 7 and jumped the gun like an idiot.

downloaded the rootkit. selected any version of android. ran it. everything went fine. unlocked bootloader. booted to system. hung at the root phase. rebooted to bootloader automatically. now i'm stuck at the bootloader. don't have a recovery. wont boot to system, even if i try to boot to system or recovery from the bootloader, it just goes back to bootloader. when i try to boot restore stock and lock bootloader it says my device product is "flo" and i need "grouper" then it just moves on and leaves me at the bootloader and i'm stuck.

tl;dr: updated toolkit to 4.3, says my device is "flo" and needs "grouper" to continue with the formatting.

will the next update fix this? do you have any suggestions to maybe revert to 4.2.2 or stock?

*edit* i tried downloading the bootloader v. 4.23 and tried flashing that in the advanced pane and it just rebooted back to the FLO-3.14 bootloader

---------- Post added at 08:07 AM ---------- Previous post was at 07:39 AM ----------

ok ok. for those who had this problem:

http://droidviews.com/2013/unlock-b...covery-root-the-new-nexus-7-2013-edition-flo/

i tried to install the "grouper" recovery instead of "flo". download the twrp flo recovery from this website and flash in ADB or with this toolkit, reboot to recovery. worked for me. now i'm not going to go ballistic
[Nexus 7 Android Development] robgee789:
Hey guy if i use this tool on 4.3 can i just use it to root stock or do i have to unlock the bootloader first?
[Nexus 7 Android Development] sajty:
You have to unlock bootloader first.
[Nexus 7 Android Development] robgee789:
Thought so thanks make, but once i have rooted could i relock the bootloader or is there no point?
[Nexus 7 Android Development] sajty:
Sure you can.
[Nexus 7 Android Development] donshaffer:
When on fastboot and flashing system.img on N7 this is what I get:

C:\IMAGES>fastboot flash system system.img

erasing 'system' ...

OKAY [ 0.469s]

sending 'system' <471504 KB>...

FAILED <data transfer failure <Too many links>>

finished. total time: 9452.891s

Any ideas what is the reason for this?
[Nexus 7 Android Development] sajty:
No idea.But did you try Nexus Root Toolkit from WugFresh?
[Nexus 7 Android Development] donshaffer:
Yes, that is why I posted my problem here. LOL :D I am not sure why this is happening, everything else, boot.img and recovery.img flash just fine. System.img takes a long time and then I get the error that I posted previously. I suspect that the problem is related to the memory, or virtual memory of the old laptop I am using but like I said, I am not sure.
[Nexus 7 Android Development] sajty:
Sorry,i thought,that i am at different thread :D.
[Nexus 7 Android Development] robgee789:
i just downloaded this but there isnt a option for 4.3?? what settings do i need to choose?
[Nexus 7 Android Development] sajty:
Should be there.I used NRT 1.6.4 for flashing stock 4.3.
[Nexus 7 Android Development] danvee:
Flashing, but IIRC, not rooting.

1.6.5 might have done that, but he pulled it.

Still waiting on 1.6.6. Was supposed to be done Saturday, but either life got on the way or he hit a major block.

We'll have to wait and see.... :beer:
[Nexus 7 Android Development] Stransky:
Hi

Just had Nexus 7 updated to 4.3 via official Google update. Tab is unlocked, but when I tried to root, I failed. Everything went through correctly until final "waiting for " when it timed out. Nexus did not go beyond loading screen and had to reboot.

Any ideas to get root working.

Stransky

Stransky
[Nexus 7 Android Development] jpcalhoun:
Yeah I got the same problem. Can't root with Toolkit 1.6.4. I think Wug is working on the issue. We should be seeing the new version of the Toolkit pretty soon.
[Nexus 7 Android Development] robgee789:
here is what i got mate

no idea why i havnt got 4.3 on there?
[Nexus 7 Android Development] jpcalhoun:
The 1.6.4 version will allow you to select under the "Change" button 4.3 and Build Number JWR66V. However, even after selecting 4.3 and the correct build number it will not root the device. Hook your N7 up to your computer, make sure you have USB Debugging selected and it should allow you to select the new version and build number.
[Nexus 7 Android Development] danvee:
Right. It was there in the pulled release. That's more for the unlocking and rooting part.

You should be able to retrieve and flash the 4.3 image in the 'flash stock and unroot' part, but, as I said v.5 was pulled, and we await the .6

So, flashing stock 4.3 = yes

Rooting = no

Until 1.6.6 happens
[Nexus 7 Android Development] robgee789:
Cheers guys :)
[Nexus 7 Android Development] rhodareyes:
when nstall 4.3 from OTA will this lock bootloader again or do i have to relock first before flashing update
[Nexus 7 Android Development] ThurstonX:
No, it won't affect the bootloader either way. If unlocked, you'll stay unlocked.

For anyone else who asks, there's no good reason to RE-lock the bootloader, unless you're planning to sell or RMA it. Think about it for a minute: if you RE-lock the bootloader, then want to do something that requires it to be unlocked, you'll have to unlock it, which will wipe the device. Totally pointless.

HTH.

Well, I stand corrected! Seems there is a way to re-lock/unlock the bootloader without losing data. See this thread for the nuts & bolts of it. The one caveat: you must already be unlocked. Pretty cool.
[Nexus 7 Android Development] rhodareyes:
thnx man but still there is no clear root method for now have to wait for 166 toolkit update maybe to pass ota for the moment will lose some of my game data without titanium backup working on stock unrooted.how about sd files for the games will it be wiped after flashing 4.3
[Nexus 7 Android Development] kpoverdorf:
Hello, I was told to post in this thread since it is the main Toolkit thread.

I am having a tough time restoring my VZW Gnex to stock (Flash Stock + Unroot). I get all the way to where the CMD windows appears and it starts flashing... The windows says "Press any key to exit..." however, the phone is at the fastboot screen and at the bottom in blue it is stuck on "Fastboot Status - OKAYI515. FF02". I have tried this multiple times with the same results. I have waited 20 minutes to be sure it wasn't just taking a while.

I hope someone can help. Thanks.
[Nexus 7 Android Development] cdx47:
Just rooted using Chainfire Root. No data loss as I didn't relock the bootloader when updating.
[Nexus 7 Android Development] Mr-Glass:
Just wondering if I am missing something here.. I see people who lost root (however) but they are saying they have TWRP/CWR - why is it not possible to install Chainfires SuperSU.zip file in recovery to get their root back?
[Nexus 7 Android Development] danvee:
They can, and should, do just that....
[Nexus 7 Android Development] Deeco7:
Using CF-Auto-Root method, does it really wipe data? Sorry for unrelated question,
[Nexus 7 Android Development] cdx47:
As long as your boot loader is unlocked then you shouldn't lose data. I rooted after restoring all my apps and data with no problems.

---------- Post added at 12:22 AM ---------- Previous post was at 12:21 AM ----------

I lost my twrp.
[Nexus 7 Android Development] Mr-Glass:
So your bootloader is locked - I am guessing
[Nexus 7 Android Development] cdx47:
Nope. That's why I didn't lose any data, but I did lose twrp.
[Nexus 7 Android Development] Mr-Glass:
So this I guess is what I am missing, why cant you install TWRP via fastboot and then install root from TWRP...
[Nexus 7 Android Development] TadeoNYC:
I used the toolkit to root my Nexus 7 after accepting the OTA without unrooting and with CWM installed. This was probably a mistake, so I advise that people hold off on following these Instructions, or at a minimum unroot.

I used the toolkit to install the latest CWM touch(was newer than the toolkit at the time) http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.3.5-grouper.img

I then attempted to flash SuperSU http://download.chainfire.eu/345/SuperSU/UPDATE-SuperSU-v1.51.zip from the bootloader, that didn't work because the file got corrupted somehow. I was able to flash it using sideload from the cmd prompt.

So why was this a mistake? I've lost 9gb space on my 32gb tablet. From what I gather from various threads is that this is due to the userdata partition getting corrupted. Since I am still a novice at this stuff, I have to ask, what will "fastboot format userdata" do to my files? Is this something I could backup and restore, or should I TiBu everything and start fresh?

Edit: to clarify, in ES File Explorer the folder properties for

SD card shows 13gb used, while SD card analysis shows 22gb used
[Nexus 7 Android Development] nkgangew:
I've been using this toolkit to relock and wipe my old N7. Everything has been working perfectly until I got to the part where the command prompt is automatically sending the "system" file. It's been 40 minutes and no activity. Is this normal? Should I stop it? I have no idea what to do. I'm at that point where I'm scared the tablets battery may die.
[Nexus 7 Android Development] sajty:
Something went wrong, 40 minutes is not normal. Should be done in 1-2 minutes.

Sent from my Galaxy Nexus
[Nexus 7 Android Development] nkgangew:
Should I unplug it and try to restart?
[Nexus 7 Android Development] sajty:
I have never interrupted this process, don't know, what will happen :(. But bootloader is already flashed, so I believe, it will be OK. Don't know bro, it's up to you.

Sent from my Galaxy Nexus
[Nexus 7 Android Development] nkgangew:
I pulled it. It said system sent failed. But then told me to reboot. It's on the boot screen. I'll give it a few minutes

---------- Post added at 02:15 AM ---------- Previous post was at 02:11 AM ----------

Don't know if this means something, but in the script it says archive does not contain boot.sig recovery.sig and system.sig. Hoot says unlocked now, but the boot screen showed looked
[Nexus 7 Android Development] sajty:
Thats logical,system was not written,phone cannot boot up.

It means nothing,i always see that message too.
[Nexus 7 Android Development] nkgangew:
Thanks for responding. After 2 hours I tried on of the lower versions than the stock rom I was running and it worked.
[Nexus 7 Android Development] joyko25:
1.6.6 release date?

Does anyone know when 1.6.6 version will be released?
[Nexus 7 Android Development] sajty:
ETA was 28.7.,but now only quiet.
[Nexus 7 Android Development] DirkBelig:
I unlocked and rooted my Nexus 7 (2013) manually because Wug's has gone missing and the problem I had was that ADB wouldn't see the device unless I switched the USB storage mode to make it appear to be a camera. Then all commands work, but I can't see the tablet (or my Nexus 4) in Windows Explorer to drop files, etc. I can't seem to sort it out.
[Nexus 7 Android Development] 911jason:
So use it in MTP mode to move files and then in Camera mode to use ADB.
[Nexus 7 Android Development] DirkBelig:
I'm sorry if I was unclear. Here's what's happening:

* Media Device (MTP) Mode - ADB and Toolkit say there is no device connected, regardless of whether its booted or in bootloader/recovery. Device doesn't show in Windows Explorer, so unable to move files. In Device Manager, it shows under Android Phone as Google Nexus ADB Interface, but not as a Portable Device. On the Device Stage it shows under the Unspecified area beneath the Devices and Printers and Faxes lists. It doesn't show in the AutoPlay list, though my digital camera and old Galaxy S2 (neither of which are connected) are listed. When I run "adb devices" query, I get nothing in the results.

* Camera {PTP) Mode - ADB and Toolkit see the device and work. Device shows in Windows Explorer, but I'm only able to access DCIM and Pictures folders under Internal Storage; no system folders show so unable to move files. In Device Manager, it shows under Android Phone as Google Nexus ADB Interface and under Portable Devices as Nexus 4. On the Device Stage it shows under Devices, but not in AutoPlay. When I run "adb devices" query, I get:

List of devices attached

0xxxxxxxxxxxxxb device

I'm running Win7 Pro x64. I've tried different USB cables. I've wiped and reloaded the drivers with the Toolkit's manager. I ran SDrecan on the Nexus 4. I've Googled a lot and can't find a fix for this specific issue. I've noticed it sometimes previous Androids taking time to show up in Explorer - can't recall what i did to fix it - but this case is being a PITA.
[Nexus 7 Android Development] jpcalhoun:
Where Oh Where Are You?

Wugfresh, where oh where are you. Man, living without root and a recovery is a real bummer. We love you man, hope you get 1.6.6 up soon. Thanks!!!
[Nexus 7 Android Development] xustfosorcim:
It's not difficult at all to flash the stock 4.3 and to root it. I did it with Wug's toolkit (1.6.4), having downloaded the stock image of 4.3 from google (in .tgz format), pointing wugs toolkit to that image, I reverted back to factory and followed the instructions to use the chainfire method to root afterwards.

So I did have data, but you all should know how to back your data up. I didn't care, as it was just some cached music and some videos I have on my phone and all my computers as well. Not a big deal for me...
[Nexus 7 Android Development] Anderson2:
I just received the notification that my 4.3 update has downloaded. I've read many messages from people far more knowledgeable than me that have had trouble installing the update and regaining root in 4.3. So before installing I'm trying to find out exactly what I should do to avoid problems.

I have a nexus 7 (old one) rooted using WUG toolkit but still running stock 4.2.2.

1. I made a twrp nandoid backup and a full titanium backup.

Do I need to have any other rescue backups?

Do I need to download anything else? (image, etc?)

Do I need to transfer anything from the N7 to my pc before starting the update?

2. Do I need to unroot before installing the 4.3 update? Using WUG toolkit?

Do I need to download a stock image? From where?

3. After the 4.3 update will WUG automatically leave me rooted or do I have to do something else to get rooted again?

Thank you!

I forgot to add that I installed "voodoo ota rootkeeper' many moons ago but have no idea how to use it to preserve root or if it is helpful or harmful......
[Nexus 7 Android Development] ThurstonX:
YMMV, but I took the OTA while still rooted. I also restored the stock Recovery using Wug's 1.63, and restored stock kernel, as I use vorcers' mod for allowing CIFS. Once kernel and Recovery were stock, I applied the 4.3 OTA. Lost root, of course, but I used Wug to flash the latest TWRP for the Nexus 7, and then used TWRP to flash chainfire's 1.45 SuperSU.

A Nandroid backup should be enough. I also used My Root Backup to backup my apps + data.

You have the OTA on your device, so nothing to download there. You might want to have TWRP and SuperSU zip handy, but you can grab them when you're done.

HTH.
[Nexus 7 Android Development] CBX133:
If I have a completely stock N7 on 4.3 that I want to downgrade to 4.2.1. Will this toolkit allow me to do that?
[Nexus 7 Android Development] danvee:
Never tried, but it should.
[Nexus 7 Android Development] vlngu118:
Is it gonna work to root my gnex on 4.3 with this?
[Nexus 7 Android Development] bsoplinger:
You can move files, its just going to be a 2 step PITA process. Mount in MTP mode and copy whatever files you need into the DCIM folder then use an Android file manager to move the files from DCIM to wherever you want. I'd suggest reflashing whatever ROM you want. And you can just flash files directly from the DCIM directory with a custom recovery so you don't need the second copy step.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Nexus 7 Android Development] jpcalhoun:
Any Suggestions Appreciated

Here's my situation. I was rooted, unlocked and running Paronoid Androd ROM prior to taking the 4.3 update. I restored my backup (stock/ rooted) using TWRP 2.6, used Wug's toolkit 1.6.4 to restore stock recovery, used Voodoo Rootkeeper to temp unroot and then checked for updates. I got the 4.3 update and installed it OTA. I lost root (no surprise) but I also lost recovery. Any suggestions?
[Nexus 7 Android Development] danvee:
Restore your backup again using Wugfresh, then flash one of the 4.3 rooted ROMs. CleanROM runs great.... :beer:
[Nexus 7 Android Development] jpcalhoun:
Thanks, I should have thought about that. Good suggestion.
[Nexus 7 Android Development] danvee:
NP.

Anyone able to connect to Wugfresh's site?

I keep getting a database error.... :eek:
[Nexus 7 Android Development] ashik992:
I got the same error....

I found NRT 1.6.4 in softpedia. I don't think OP have any problem with external link. So here is the link.

http://www.softpedia.com/dyn-postdownload.php?p=213077&t=4&i=1
[Nexus 7 Android Development] digixmax:
How does one determine which version of recovery (stock/CWM/TWRP) is on the device?

How does one determine if 4.3 is already on the device and trigger the update (after restoring Stock recovery)?
[Nexus 7 Android Development] ThurstonX:
Well, you could boot into Recovery (hold down power + Vol. buttons to get to the bootloader, then choose Recovery). If you're rooted, there are plenty of apps that will boot you straight into Recovery. I'd assume you'd know if you'd installed TWRP or CWM.

As for "is 4.3 already downloaded to your device," go into Settings | About tablet | System updates. It should be listed there, if it's ready to be installed. Also, as with my Nexus, it might be listed in the upper left corner, in the drag down menu. Mine was constantly nagging me about it.

HTH.
[Nexus 7 Android Development] digixmax:
I got the 4.3 notification, started the upgrade but it failed ("horizontal android with red X on its tummy") presumably due to absence of stock recovery.

Now there is no trace of 4.3 (Settings->About tablet->System updates says "system is up to date"), presumably 4.3 package got dumped after the failed update.
[Nexus 7 Android Development] ThurstonX:
Ah, bummer. You could try restoring stock recovery, then research how to clear the framework(? ... think that's it), which might help force the update to appear as available. Sorry I can't be more clear.
[Nexus 7 Android Development] maigre:
When the OS downloads the OTA updater, it stores it in /cache. That's a root level folder. You can copy it from there to another location on /sdcard to preserve it. Do that before running the OTA.

You can force another download of the OTA by going to Settings > Apps > All > Google Services Framework. Then, click Force Stop. After that, click Clear Data and Clear Cache. Then, go back to Settings->About tablet->System updates and you should be able to redownload the OTA.
[Nexus 7 Android Development] Nitsson:
Version 1.6.6 is now out - nice and quick download from here.

Thanks Wug!
[Nexus 7 Android Development] mwhite5471:
Anyone mirrored this yet?....Wug's site in nuked!!!
[Nexus 7 Android Development] Nitsson:
You can download it from my Dropbox

Enjoy!
[Nexus 7 Android Development] WugFresh:
Yikes! They have been throttling me like crazy. Yes, I will get some mirrors up now and post them in the op. Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
Ok, a few mirrors are now up on my site.

Mediafire: http://goo.gl/9sBdIO

Dev-host: http://goo.gl/0pRaXT

Enjoy! ^_^

{{ WugFresh }}
[Nexus 7 Android Development] tigcf:
4.3'ed and rooted flawlessly with a push of a button (well, not ONE button, but you get the point)! Thank you Wug!
[Nexus 7 Android Development] mwhite5471:
Didn't go so well for me N7 V2 with 4.3.

Recommended drivers #1 didn't work had to do the manual way....got it to pass the ADB test.

Unlocked OK,.

Started to root OK but when the TWRP, SuperSU, Busybox screen comes up the N7 has the droid icon but a red triangle with !

Am i supposed to wait?...is this right?

I click OK and download TWRP and tried to installed this files but the swipe aint working.

Also my keyboard seems jacked now.

HELP!!!
[Nexus 7 Android Development] WugFresh:
Check the Toolkit TWRP settings in the options menu. Maybe it didn't fastboot boot properly. Add me on gchat and message me, next time I am free I will help you out.

{{ WugFresh }}
[Nexus 7 Android Development] d4c:
Im stuck on the google logo and have tried to go back to stock via wugs program but nothing ever happens. i tried downloading the tar myself and let the program do it but nothing. please help me. i think i may be missing system files because it says boot img missing?
[Nexus 7 Android Development] WugFresh:
Hold down the power button to turn your device off. Then use flash stock + unroot with "can't boot up".

{{ WugFresh }}
[Nexus 7 Android Development] Nitsson:
Wug, appreciate some help if possible. I have already installed 4.3 on my Galaxy Nexus, and installing v1.6.6 went fine. I cannot seem to unlock however - after the initial reboot I don't have to re-enable USB Debugging in Dev Options which I suppose is an indication that I'm still locked, as is the fact that all my data is still there.

I have tried to run both the unlock and root scripts, but it doesn't actually result in a rooted phone - instead I get an Android on it's back with a warning triangle above an open 'hood' with a message saying "No command." at the root stage.

I'm looking to wipe everything, unlock, root and start with as fresh a Galaxy Nexus device as possible.

Many thanks
[Nexus 7 Android Development] johnhimm:
When I try and flash stock 4.3 on Nexus 7 (2013) I get an error that there is no Google factory image released for my device, even though there is and I have it downloaded. Any suggestions? I want to unroot and go back to stock.
[Nexus 7 Android Development] danvee:
You can tell the tool that you've got it already and point to the location.
[Nexus 7 Android Development] CBers:
Hi Wug - would appreciate some help with the following error please.

Running 4.2.2 (JDQ39) on my Nexus 4, but whenever I (manually) flash the OTA download, I get the following error:

Installing '/sdcard/Download/update.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/update.zip.md5
Skipping MD5 check: no MD5 file found.
Warning: No file_contexts
Warning: No file_contextsVerifying current system...
file "/system/lib/hw/audio.primary.msm8960.so" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/lib/hw/audio.primary.msm8960.so", "d0b21d92c92730dd112791f28f2b7a57a7614acc", "f393d256ff7a8e552b68faf50671f1b7cf0dfaf5")
assert failed: apply_patch_check("/system/lib/hw/audio.primary.msm8960.so", "d0b21d92c92730dd112791f28f2b7a57a7614acc", "f393d256ff7a8e552b68faf50671f1b7cf0dfaf5")
E:Error executing updater binary in zip '/sdcard/Download/update.zip'
Error flashing zip '/sdcard/Download/update.zip'

Full log here.

What option(s) do I need to be able to flash the OTA via your toolkit please ??

If you recomend a backup/flash stock/restore, what optiosn should I use please ??

For information, I have successfully already OTA'd my Nexus 7 and 10 and re-rooted them.

TIA.

UPDATE: Looks like something around 18/05/2013 changed the /system/lib/hw/audio.primary.msm8960.so file and created an original.bak file.

I swapped them over and the OTA update completed OK.

Just need to re-root now :)
[Nexus 7 Android Development] johnhimm:
It won't even let me get to that point.
[Nexus 7 Android Development] Lachaine:
I did not chose twrp

I use 1.66 to root my nexus 7 (2012) and I did not check the (also flash custom recovery) first pass was pushing temporary twrp, and second it flash the twrp.

Why? I get a real problem with twrp with the 4.3 update, so I did not want it in my device.

Is this a bug in the toolkit? or there is a reason why the twrp is push without asking to flash?

Still the best toolkit I ever use.

(sorry I also posted in nexus 7 2013)
[Nexus 7 Android Development] danvee:
So you don't get the choice to have it download the image or tell it that you already did and wish to use it?