yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] digixmax:
I just went through the OTA update to 4.2, and want to note my experience in preserving "Root" in case it might be of help to others.

I had downloaded and used Voodoo OTA RootKeeper to backup/protect Root prior to accepting/launching the update, and to restore Root after the update. OTA RootKeeper functioned as described, i.e., apps which were showed in SuperSU as granted Root are still there after the upgrade. However, ironically, the checkbox "Root permission granted" in RootKeeper itself got unchecked after the update (even though SuperSU shows RootKeeper as granted Root access).

In addition, StickMount stopped working after the update -- i.e., an inserted flashdrive would get mounted, but the N7 sees its content (e.g., /sdcard/usbstorage/sda1) as empty. As a result I thought that Root was not properly preserved by RootKeeper and decided to root again using NRT 1.5.5.

The NRT rooting process was a bit more involved (associated with the "Any Build" selection for the device), and also a bit confusing because of a typo (missing "/0") in the instruction re: the path name of the folder containing the 2 zip files to be flashed by TWRP.

The Rooting process completed fine, but the problem with StickMount persists and subsequently I discovered from another XDA thread that it's a known and widely reported problem.
[Nexus 7 Android Development] tjhana:
Thanks Wug!

and if anybody who has rooted the Stock Nexus 7 using Wug's Tool and has upgraded to stock JB 4.2, what you can do is just re-root using Wug's Tool and choose Just use “Any Build” mode in the device list for YOUR SPECIFIC DEVICE. http://www.wugfresh.com/nrt/faqs/

and i was giggle when i read the faq. it's funny and it's like magic.

[b]How do I enable USB debugging on android 4.2??? The developer options menu is gone???[/b]

1. Goto Settings -> About Phone.

2. Goto “Build Number” at the end of the Scroll list.

3. Tap on “Build Number” for 7 times. While typing at the third times, you should see prompt message to indicate you that 4 more taps to go to developer options.

4. Continue 4 more taps.

5. You are now done and go back to the Setting page.

6. You should see Developer Option appear on your setting list now.

Open Developer Options and check USB debugging > Ok
[Nexus 7 Android Development] wtherrell:
I have Used NRTK previously on VZW Gnex and flashed the heck out of that one. Used NRTK to unlock, root, and flash Kernel on the Nexus 7. I quoted what the progress log file said in my previous post. I will try to give you more info on the failure. Boxes came up in NRTK saying the rom file was being pushed to device. Then another said rebooting into TWRP and running script. TWRP showed up on device screen. Everything seemed ok until then. I waited and waited for over an hour--nothing. I looked at the log and it said E: Could not find file 'USB-OTG' romfilename. I could not figure out why it would be looking in USB-OTG. I used file manager to look for the file but never could find it. The pop up box in NRTK that said it was pushing the rom file zip to the device was up for only a second or two. It has been my experience that it always takes longer than that. I deleted the download from my PC and re-downloaded it. Same results. Downloaded the rom zip directly to my device and TWRP installed from there. When I tried to do Nandroid restore the restore file was found but all the choice-boxes to check for the restore were greyed out as if the file was empty or something. It appears the Nandroid backup I had done with NRTK had failed. I reverted to an earlier one and it was able to restore.

I hope this has shed a little more light on the problem.
[Nexus 7 Android Development] makross:
Thank you WUG!
[Nexus 7 Android Development] maigre:
I just did OTA updates and reroots on two Nexus 7s. It all went fine except that I have to update the drivers in the Device Manager in both situations per the driver installation process. I don't have to go through all of the process, just those two updates. I think it's at the beginning before rooting and during the bootloader stage. It's easy enough to do, but why is that necessary?

This is on Windows 8. The device is recognized, but in the Device Manager list, it's badged indicating that things aren't right and rooting is impossible because the device isn't communicated with during certain stages of the process.
[Nexus 7 Android Development] tenble:
I updated my Nexus 7 to 4.2 manually and it wasn't showing up on ADB. Had to do a reinstall of drivers using the PDAnet option. Then I used the toolkit to root and now I'm good. =)

Question, since i had to select unknown device version, will this have any impact in the future?
[Nexus 7 Android Development] Mallikanth:
I would guess not. Obviously Wug would have to confirm of course.

He has mentioned that he's updating his Toolkit and it will include the latest builds as soon as he can after they become available.

---------- Post added at 12:52 PM ---------- Previous post was at 12:49 PM ----------

Go back a few pages and you'll see many Windows 8 posts (mine included) on this.

It's a Windows 8 'thing' :eek:

I presume everything is ok now?

---------- Post added at 12:53 PM ---------- Previous post was at 12:52 PM ----------

Drop the guy a donation if you can. He's done excellent work for us poor souls :D
[Nexus 7 Android Development] WugFresh:
Your guess is correct Mallikanth. Regarding adb/fastboot drivers, there is really no in between - either they work or the don't - doesn't really matter what hoops you have to jump through to ultimately crowbar them into windows (lol).

All the latest builds are actually available now (even for the Nexus 4 and 10), so I have my work cut out for me. I got a lot of it done yesterday already, but unfortunately I am screwed for time right now; seems like all my professors are trying to destroy me right before thanksgiving break - I have a paper due today and another one due tomorrow. If all goes well I still may actually be able to squeeze in another good programming session between now and Friday to get it done...: fingers-crossed: but chances are that I am going to be sitting here grinding out these papers until Friday morning; and then I will finally be able to switch gears and crank out the final code for v1.6.

For now, "Any Build" mode will suffice for rooting, but I really do wan't to finish v1.6 to extend support for those new devices, bring official support to 4.2 builds, and provide official support for the 3G Nexus7. All of this will be done asap.. its just a matter of when. My wishful guess is tomorrow night, but a more realistic scenario is Saturday. As much as I want to get it done now, I really have to prioritize these papers. :(

{{ WugFresh }}
[Nexus 7 Android Development] tptp:
Hello noob question. I rooted 4.2 and also installed custom recovery. Does this mean that future updates say 4.2.1 will necessitate a complete reset of the phone, losing all data apps etc? Or can I still just install the update itself without losing data like Google ota updates?
[Nexus 7 Android Development] WugFresh:
http://www.wugfresh.com/nrt/faqs/can-i-still-take-an-ota-after-i-unlock-and-root-4/

{{ WugFresh }}
[Nexus 7 Android Development] CLTatenza:
I assume the 4 will be supported soon?
[Nexus 7 Android Development] WugFresh:
http://www.wugfresh.com/nrt/faqs/do...oting-lg-nexus-4-or-the-samsung-nexus-10-yet/

Yes, it will and the N10. :)

{{ WugFresh }}
[Nexus 7 Android Development] Travisdroidx2:
Wugfresh I personally have never used your toolkit as I usually manually fast boot my files. However I have been reading for the last few days how your toolkit has been really helping people out even when other toolkits failed.

Obviously you have made a really great toolkit! But when I read your post about how busy you are with school I just wanted to post and let you know you have your priorities correct. School first man then android community next. Take care of your papers and the android users will still be here in a few days :). I hope all your users would feel the same way. I know you already know this but I just wanted to say it to remind you that you are doing the right thing. Last but not least even though I have never used your toolkit I have only read good things about it! Keep up the great work.
[Nexus 7 Android Development] ALD3:
FYI, for those having trouble flashing after 4.2. To be able put a check in usb debugging there is two ways. 1. Like mentioned go to About Tablet/Build number and tap on the build # 7 times, you will see You are not a developer, but back in settings you will then see {} Developer options 2. After connecting usb you will see to jelly bean in the left top menu, 1 will be usb connected the other 1 is debugging, click on debugging and it will bring up Deleoper options and tick usb debugging.

In TWRP the folderr !ReadytoFlash inis in folder 0, I looked around for a while before finding it.
[Nexus 7 Android Development] mahsmahs:
now at my n7 is 4.1.2 version, but Google notification to me to update to 4.2.

I need root device, so now if i upgrade my n7 to 4.2 with device can i root it? or i should upgrade n7 to 4.2 with toolkit until it can be root?
[Nexus 7 Android Development] Mallikanth:
You can update to 4.2 either way.

I'd suggest 'upgrade my n7 to 4.2 with device', as that's even more easy than using the toolkit.

After that you can use the toolkit to unlock and root the N7.

Have fun!
[Nexus 7 Android Development] digixmax:
4.2 breaks a bunch of apps, so you would be better off just holding off on the upgrade, and root your 4.1.2 as is.
[Nexus 7 Android Development] dirtyhamster73:
Every app that I find no longer works with 4.2 I send the dev an email, they all have sent out an update out that fixes it within 24hrs, very impressive! Dice player was one, and I can't remember the other ones but there have only been a handful for me.
[Nexus 7 Android Development] Mallikanth:
Other than MX Player I haven't had a single problem
[Nexus 7 Android Development] dude_uuk:
Hi wugs, i unlocked and rooted uaing your tool thw firts time i got my n7 with success. When i updated to to 4.1.2 i reinstalled permanent custom recovery via your tool and it installed 4.1.2 without any problem. But when i rebooted twrp is gone and am back to stock 3e recovery.now i would like to upgrade to 4.2 but failing via ota with assert failed error.

Can i reinstall custom recovery again via nrt v1.5.5? And how to have permanent recovery via your tool? Thanks in advance.
[Nexus 7 Android Development] WugFresh:
Yeah, just run through the root procedure once, regardless if you are already rooted. The reason being, is that one of the zips that gets automatically flashed when rooting with NRT, is one I wrote called "perm-recovery.zip" that renames a few system files to ensure permanent recovery. It also installs the app QuickBoot for an easy way to get into recovery. I suppose you could also just use the toolkit to flash that perm-recovery.zip with the flash zips script, and then flash recovery again. Either way will work.

That zip can be found in the toolkit directory here:

\data\Root_Files\perm-recovery.zip

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] bonzer2u:
Thanks for the outstanding tool.

Just bailed me out when updating from twrp 2.3.1.1 to 2.3.2.0 via goomanager.... got the redtriagle of death....

used your tool-advanced and reflashed the recovery partition with the twrp 2.3.2.0 img file and all is cool again...

u.b.d.man
[Nexus 7 Android Development] acme64:
How would i change from SuperSU to Superuser? everytime i try to upgrade it via superuser it fails to write to /system. And TB doesn't show supersu in the list to uninstall.
[Nexus 7 Android Development] WugFresh:
There is a reason I included SuperSU and not Superuser. If I were you I would just stick with SuperSU... there is no reason to switch to Superuser. In fact 4.2 actually broke Superuser (unlike SuperSU): https://plus.google.com/u/0/103583939320326217147/posts/4FemP5ACLSn

However that said, in SuperSU in the settings menu there is an option for "Full Unroot" you would use that and then flash the Superuser zip, or adb push the app and binaries..., and then set the permissions with adb shell chmod commands.

{{ WugFresh }}
[Nexus 7 Android Development] adnanbaig18:
I updated my galaxy nexus to 4.2 and used the toolkit to root it. The steps went through but it got stuck at that TWRP step where it says "waiting for the device to boot up." The process just stops there and the phone stays at TWRP screen. So I have to boot it manually by pressing reboot button there and nothing happens. It takes me back to phone. It doesn't push supersu or anything and I don't have root. And I have TWRP as recovery ever since. Any way how to fix it.???
[Nexus 7 Android Development] WugFresh:
Please read the FAQs on my website regarding 4.2... If the toolkit doesn't officially support the build you are trying to root, then use "any build" mode.

{{ WugFresh }}
[Nexus 7 Android Development] sunshean:
+1
[Nexus 7 Android Development] Mr.Oug:
How do i downgrade from 4.2 to PAC 2.54. I am on stock 4.2 with no root
[Nexus 7 Android Development] sunshean:
Flash 4.1 with toolkit, root and flash PAC.

Or root 4.2 with install custom CWM and flash PAC
[Nexus 7 Android Development] Mr.Oug:
Yup that is what i thought of. But does the recovery work on 4.2 which is included in the toolkit...?
[Nexus 7 Android Development] adnanbaig18:
Thanks mate. "Any build" solved it for me. Cheers.

And yeah great toolkit indeed. Will donate surely.
[Nexus 7 Android Development] n7of9:
Wug, i have a Nexus 4 if you need any testing done, PM me :D
[Nexus 7 Android Development] CBers:
Is v1.6 ready yet, as my Nexus 10 has arrived and I'd like to root it ?? :cool:

TIA.
[Nexus 7 Android Development] WugFresh:
For sure, thank you.

No. I have been super swamped with school work, but the hard part is over. I just handed in another research paper today so I can code now assuming I don't pass out. lol. I really think that I could get it done tonight, but I always over estimate my abilities, so I am going to give myself a solid buffer and say it should be done by tomorrow. Believe me, I would have rather been programming than writing those essays, but it had to be done. Sorry for the delays.

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] CBers:
No worries.
[Nexus 7 Android Development] marc.knuckle:
hey wugfresh

when I first unlocked and rooted I used your program.

however, now when I try to install 4.2 either ota or via zip, it ends up at the android with exclamation mark. maybe when I installed the 4.1.2 update it got rid of CWM?

my question is, as it is already unlocked and rooted, can I use the program to just install CWM?

thanks
[Nexus 7 Android Development] porkovich:
hey, wugfresh, i have updatedmy stock nexus to 4.2 (OTA). The tablet was never rooted. Now the new update came with problems for me, so i need to root (to disable nvidia prism). My question is, does the tool support my situation, or do i need to wait for an update from You.

Many thanks, i admire your work....
[Nexus 7 Android Development] wtherrell:
On a 4.2 Custom rom. Tried to do Nandroid backup with NRTK with the following results.

Information box on PC says:

“Waiting for the backup to complete and for your device to boot back up”

Never boots back up. Nexus 7 screen shows TWRP choice buttons. Does not change.

TWRP process log shows the following:

Updating Partition details…

Setting ‘tw_signed_zip_verify’ to ‘0’

Backup folder set to ‘2Scott2012-11-16-13-53-03’

Setting Backup Options:

System

Data

Cache

Recovery

Boot

Android Secure

SD-Ext

Updating Partition Details:

[Backup Started]

*Backup Folder: /data/media/TWRP/BACKUPS/015D262E5514140B/2Scott2012-11-16-13

E: Unable to locate android secure partition.

E: Backup failed!

Done processing script file

Hope this helps you get a handle on why these are failing.

THX for all your good work.
[Nexus 7 Android Development] leebo:
Ah. Premium version only.

So since OTA Root Keeper is not comparable with Super SU, we Wug users must purchase the premium version of super?
[Nexus 7 Android Development] wtherrell:
Can't do backup in TWRP either

All attempts to run a Nandroid backup of 4.2 rom from TWRP fail also. This time it can't find a sd-ext. I have latest version of TWRP. So it looks like it's not WUG's script that is failing but TWRP due to the partitions that Google has screwed up.

May just go back to 4.1.2. Maybe I have an old nandroid saved somewhere.

Any suggestions appreciated.

---------- Post added at 02:59 PM ---------- Previous post was at 02:41 PM ----------

Toolkit doesn't run regular backup either. Supposed to unlock screen and ADB prompt to appear with a Back up My Data choice. This never appears on the device.
[Nexus 7 Android Development] acme64:
Fair enough. Thanks for the reply.
[Nexus 7 Android Development] evilgenx:
Worked like a charm. I tnx!
[Nexus 7 Android Development] shane1diamond:
ive ran a twrp nandroid backup of 4.2 with no problem. using both previous version of twrp previous and newest update.v 2.3.2.0.

However i cannot run a 4.1.2 nandroid backup successfully with the old or new version of twrp. if anyone knows how i would love to learn how. Thanks.
[Nexus 7 Android Development] marc.knuckle:
any recommendations?
[Nexus 7 Android Development] N@th_OC:
First you better used TWRP instead of CWM cause TWRP has been updated to work with 4.2 (fix multiuser problem).

And use fastboot to push supersu V0.98 and installl TWRP via fastboot.
[Nexus 7 Android Development] starfighter1948:
GAPPS crashed repeatedly on my Nexus 7 running 4.2 this morning. I tried flashing the latest GAPPS down loaded via GOO but GAPPS still crashes, only know it informs that the Picasa uploaded has stopped working, and cycles around that message for a while.

Anyone else seen this problem?

starfighter1948
[Nexus 7 Android Development] N@th_OC:
latest GApps are for 4.1.2, it will not work with 4.2

But for now all 4.2 roms includes gapps. So you don't need to flash gapps after updating to 4.2

Reflash 4.2.

Edit: I advise you to try this rom: http://xdaforums.com/showthread.php?t=1991157
[Nexus 7 Android Development] KiaraTheDragon:
Does this tool kit work on 4.2.1?
[Nexus 7 Android Development] starfighter1948:
I re-flashed 4.2 from recovery but seem to be stuck on Android upgrading with whirling starting apps. If I ever get back to a working system, I'll try your suggested ROM. It has been whirling for half an hour so I am not hopeful. If I cannot boot up I am stuck as USB debugging will not be enabled so flashing via a toolkit attached to my laptop is a non-starter.

GOO seemed to suggest that the GApps I flashed was for 4.2, but I only flashed it after getting persistent GApps has stopped working messages.

Update: ultimately managed get into stock recovery and perform a factory reset. Play is currently restoring most of my apps, which will take a while. Then I'll to restore my sdcard and let Titanium Backup restore some of my apps.

starfighter1948
[Nexus 7 Android Development] nick789uk:
android 4,2 and root

Hi sorry to bother everyone but having a small problem with my nexushave previously rooted my tabusing wuns nesxus root and priverously upgrated to android 4.1.2 and saving the root with voodoo root saver, have done the same with 4.2 saved root with voodoo updated the tab, appeared to have root would give root permission to apps, stick mount appears to work gets root permission finds SDcard/usbstorage/sda1, but when to try and read the sdcard it will not show any files on it. Have tried to re root the tab by using wungs root toolkit 1.55 have not tried to unlock the tab again just root it managed to go though the stages appears rooted but still will not read any of the sdcards through stickmount. I am at a loss know, do I have to unlock the tab again then root it, any help please as I have only a 8gb use it for work when not busy to watch movies but do not have wifi at work, thanks for your time:(

Nick
[Nexus 7 Android Development] mrmond:
stickmount isn't working after upgrade to 4.2 and is a known problem.
[Nexus 7 Android Development] starfighter1948:
stickmount mounts my usb 3 - 32gb Lexar memory stick ok on a Nexus 7 running 4.2 and let's me copy files to it using estrongs file manager - what's the problem?

starfighter 1948
[Nexus 7 Android Development] nick789uk:
Stickmount not working

Hi thanks for telling me that after the update to 4.2 stickmount has a problem I use this for watching movies from the sd card but it is showing no files on the sdcard used to work on 4,1.2. Is there going to be s solution for this or will I have to go back to android 4.1.2. thanks for your time

Nick:(
[Nexus 7 Android Development] digixmax:
Try putting a file on your USB drive using your PC/Laptop, then mount the drive on your N7 using StickMount, and let us know if you can open the same file using another media player app (e.g., MX Player to open and play a video file).
[Nexus 7 Android Development] nick789uk:
Hi done this and mounted the drive using stickmount appears to have permission sees the drive but still cannot read anything from the drive:crying:
[Nexus 7 Android Development] Troute:
Wug's Toolkit did the trick rooting my N7 thanks.

Same problem as others with OTG still, can see the drive but not the files on it no matter what app I use to mount it.
[Nexus 7 Android Development] limpet:
Are you sure you are running 4.2?

All other reports are that 4.2 broke stickmount and otg herlper which work with 4.1.2.
[Nexus 7 Android Development] leebo:
WugFresh Toolkit Updater not working.

Download completes, but then it just sits there. Does not update.

Where does it download the file to in Win 7? Maybe I can double click it if I could find it!

Also, why is version 1.5.5 332 megs, and version 1.5.2 was only 2.19 megs???
[Nexus 7 Android Development] mongonexus:
im sure wugs is probably ready for a new version for us to go to town with, he,s like santa, hes always watching,,lol:cowboy:
[Nexus 7 Android Development] leebo:
Wug, can you please tell me where it downloaded, so I can delete the file? 332 megs is a lot to just leave taking up space on my hard drive.
[Nexus 7 Android Development] WugFresh:
http://www.wugfresh.com/nrt/faqs/ho...3-to-version-1-5-5-i-tried-and-it-gets-stuck/

Please (pretty please) read the FAQs.

I don't remember the toolkit ever being 2.19 megs...??? But the toolkit keeps getting bigger because it includes the TWRP img files, CWM img files, Stock recovery img files, and Modified boot.img files for every single nexus device. I am thinking of changing this so that when you initially select your device, it downloads just the additional files it needs for that device.. but then again, I figured that many people might not like the idea of needing to download things twice, and rather have a toolkit with everything in it (although a big download) and then with the built in updater, just get incremental (smaller updates). I can assure the update package is not 332 megs, its just an incremental update (85.7 MB). The full package is in 332 megs.

I believe the way I coded it, it downloads here:

\data\MD5check_Depot

However I think I may have scripted it so that it automatically gets deleted if the cancel the update, but I forget.

Edit:

Don't double click it though. It's not meant to be run from that directory. If it passes the hashcheck, I have it move it to top Nexus Root Toolkit directory and then install.

Just use the new updater if you want everything to go smoothly.

{{ WugFresh }}
[Nexus 7 Android Development] chismay:
ok just so im clear

i do the full driver installation

then make a backup

then unlock

then root and add custom recovery

then restore the backup right?
[Nexus 7 Android Development] starfighter1948:
Hi Guys

I am running 4.2 and can definitely copy files to my USB stick using estrongs file manager, and see the files next time I use it as you can see from the screen image. Perhaps it only works copying files to and from the card using the Nexus 7. I'll check if I can see the files on my laptop later today and report back.

starfighter1948