yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] j0bb13:
I did this simply because it works. Without the backslash the script goes to the end message without doing or showing anything. With the added backslash, it performed the needed tasks and then showed the end message.

I ran it on an English 64bit Windows 8 installation, on a brand new Asus N56VZ laptop with my Nexus 4.

The install path was: C:\Users\Job\Downloads\WugFresh Development\data\flashstock.bat

I've als tried it on a Windows 7 laptop, which gave the same problem. This made me think it wasn't my laptop, so I checked the script. I've tried it on both laptops and adding the backslash does fix it both times.

I advise you to add the backslash, because it fixes it in certain situations and even if there is a double backslash, it should still work. But then again, it is your program. Just reporting a bug here ;)
[Nexus 7 Android Development] Fahad M.:
i was thinking i wont be able to root my device ever, but thanks a million to u WugFresh for the tool kit. Im now rooted and enjoying full access.

Many thanks and Love.

Respect from Pakistan.

Fahad
[Nexus 7 Android Development] slixzen:
Flashing latest firmware

I was trying to flash the latest firmware and over write any user data on the nexus 7.

I thought to do this, it would be easy enough by just using the advanced tools, changing boot/flash image to flash so it would be permanent, and then selecting the latest firmware image that I downloaded from Google.

It reboot into fastboot, but then nothing indicated on screen that something was being flashed or changed.

After a couple minutes, my device rebooted, right back into the OS that still had all my apps and what not installed.

I was trying to start from scratch as I think I might have a software problem, but that didn't seem to do the trick.

What am I doing wrong?
[Nexus 7 Android Development] WugFresh:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Thank you for the feedback and additional information, I will do some more testing and research to fully understand why that happens exactly and why that works (as I am really curious and don't like unexplained computer anomalies) then yes, I think you are right about making that change. Thanks again, cheers.

{{ WugFresh }}
[Nexus 7 Android Development] kabell4:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Is there an option to backup your apps, data, and settings prior to rooting so as not to lose everything I have?

Thank you!
[Nexus 7 Android Development] hazard1nc:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

MkOkay, so I checked log cat and it says dalvik has an error, and that's 99% of the log of it trying to read the journal of the filesystem and repair it, so if anyone else has this same issue as I did, its very simple to fix..

I am surprised that this was as easy as it was, thankfully log cat has been ported! It is a Linux/Unix/BSD command that shows you logs via terminal, or via app or desktop applet.. Anyways...

I have found that when your doing the root, make sure you backup to computer, full data backup of personal data or application data, but this may cause dalvik to read error like prior, so no matter what, you may loose app data anyways, but you need to clear the dalvik cache and you can do so by rebooting into recovery, I'm not familiar with twrp, but in cwm, you would scroll down to advanced, and wipe dalvik cache is an option on that menu, do it and restore factory defaults is another option you will want to run, that's on the main menu of cwm.

Okay, so how does this happen?

Simple, if your tablet does not safely unmount from windows, it can cause data read errors and windows makes it hard to fix, you may have an option to recover that journal from the filesystem, but I only know how to do so from Linux, windows is weak and unsupportive when it comes to other file systems that are not windows native.

This can also happen if your file download is corrupt, it will usually put you into a bootloop or soft brick, which is a pain to fix unless you can access download or recovery and then your lucky and need to thank whatever your faith, and be happy you don't have a bricked 300.00 new paperweight.

Its important to verify the md5 or sha checksums, as that's the best way to avoid this problem, I use a windows program called hash tab, you right click on the download once finished downloading, click properties, and click the tab "hash tab". Copy the checksum and verify by pasting into the verify input and it will highlight green and announce success or red and corrupt

So this was a windows crap error in my case and its now fixed, I hope this fixes all of your needs if if this should happen to you.

Sent from my Nexus 7

---------- Post added at 12:54 AM ---------- Previous post was at 12:46 AM ----------

It was a windows data curruption due to the device and my USB connector being loose and it was enough to look still connected, but log cat tells me it was a journal error and needs a fs.chk, dunno if android has fscheck, but I was not sure if it was just me or not, I apologize if it seemed like I was blaming your software, that was not my intent, I want to thank you for all your replies and I will donate payday to the effort :) maybe stick around and offer help as needed. Thanks for the fast response too, this is a bigger community than the glide and I came to the captivate community later son it was not as popular a year after launch.

Sent from my Nexus 7
[Nexus 7 Android Development] Athir13en:
Hi, i use this tool to root my Nexus 7 while it's on 4.2.1..

and recently i receive a notification saying that there's an updates.

I've tried to update, but it show update error on the half way with a green robot lying on the floor.

Luckily i still able to boot up.

May i know how can i do the update? I've tried to put back the stock recovery and stork kernel.

what else i havent do?
[Nexus 7 Android Development] coachclass:
EDIT: found the problem. If anyone else is having issues, make sure your USB connection mode is set to camera PTP instead of of the default Media Device MTP. Under settings, storage, hit the ... context button top right to see this option.

Hello,

I'm running into issues with getting the drivers to work correctly. In the driver verification step, I get a "ADB device was not found".

I'm running Android 4.2.2 on 16GB wifi-only Nexus 7. The PC is a 64-bit Win 7 laptop.

I've tried all 3 driver types. The RAW Drivers method seems to install correctly; that is, when I plug in my phone at first, it shows up as a "portable device" in device manager. After I go through the driver clearing and installation steps, the Nexus shows up as an "Android Phone / Android Composite ADB Device".

But the driver verification still fails to find ADB device.

I've made sure to restart after clearing out old drivers. I've tried two USB ports. Windows recognizes the Nexus (as USB storage device). Yes, USB Debug is enabled.

The other drive install methods don't seem to work for me. The install process doesn't seem to follow the guide - I don't get a window that I'm suppose to at some point.

Any ideas?
[Nexus 7 Android Development] Moritzio:
Android 4.2.2 has a new authentication method that requires the latest Android SDK installed. I also had a problem verifying fastboot until I updated the SDK. Then everything worked smoothly. The toolkit may need to detect this or at least warn the user in Driver Verification step.
[Nexus 7 Android Development] monte666:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Thank you so much pushed super su with adb got stuck in a boot loop your toolkit saved my but. PS your awesome
[Nexus 7 Android Development] pointman_12:
tried and tried to root nexus 7 after unlocking it...would not do anything...I had updated utility from last version to newest version using the updater before unlocking...it downloaded some files...it did unlock it just would not root...so I downloaded newest version again...installed over top...hooked everything up...hit root and it worked...don't know if it's a bug from upgrading or what...thought you might want to know...was using stock nex 7 32 gb Wi-Fi pad...had 4.2.2 ota on it...was waiting for BAMF 3.1 to drop before unlocking and rooting...once it did root and installed twrp it worked fine...I tried rebooting, using dif usb port...turning off pad...only reinstall of toolkit worked...
[Nexus 7 Android Development] HitBobLer:
Trying to backup my nexus 4. Says its done on the phone but it has been 10mins and the computer still says backing up please be patient. What should I do?
[Nexus 7 Android Development] :
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

X2
[Nexus 7 Android Development] panoskw:
hi im waiting for my new tablet nexus 7 but im doing a little research about whats the best for it...rom...kernel..etc (seems to me that wug's toolkit is the friendliest user toolkit), although i have enough experience with samsung devices with this one i have to ask a couple o question, when i ll get my device ill first update it through wifi, will that update my bootloader ? if it wont update bootloader, how could i flash the latest bootloader image file with wugs toolkit ? first steps are install drivers, unlock bootloader, advanced utilities-->boot/flash image-->flash (permanent)-->bootloader and select bootloader-grouper-3.34 !
[Nexus 7 Android Development] rp_63:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Just wait, it can take awhile, lots to backup and transfer over usb, especially if doing a full backup.
[Nexus 7 Android Development] brandub:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Thanks for this, worked without any issues whatsoever.

I would have done the adb thing but was pressed for time so I chose this because the instructions were incredibly detailed - my 3 year old could probably have rooted with this :)
[Nexus 7 Android Development] geokilla:
I tried to flash a ROM using the toolkit. After it did a Nandroid, my Nexus 7 stays black. Tried powering it on, and it goes back to stock ROM, so my custom ROM didn't get flashed.
[Nexus 7 Android Development] szalay16:
I bought this awesome tablet no so long ago and lately i figured out id root it and try how it works with custom rom. Anyway i ran into this topic and i got happy that i gonna have better time than i had with my Sensation. So cut the ****, i was stupid enough to update the ROM and after hours of trying i gave up, cuz my this app didnt see my tablet. I updated the SDK and ADB and everything i could, but it still writing ADB device not found. Did some google research, but i didnt find any solution. Anyone could help?
[Nexus 7 Android Development] crossrt:
Hi Wug, I having the same problem. I delete the folder with ES Explorer, but it does not work. Any solution?
[Nexus 7 Android Development] WugFresh:
Here, grab this: delete_readytoflash_v2.zip put it somewhere on your sdcard and flash it through TWRP/CWM recovery. You can use the toolkit to boot you into temp recovery if you don't have an alternate recovery permanently flashed. I am not sure why that happened to you, but that should fix it. Let me know if you have any problems.

{{ WugFresh }}
[Nexus 7 Android Development] Death&co:
Worked to root my Nexus 7 and worked perfectly to get it back to stock. THANK YOU!

Cheers :good:
[Nexus 7 Android Development] conrat2000:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Wug, you are a freaking genius!!!!!
[Nexus 7 Android Development] silverspur:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Hi wug's....firstly,txz 4 creating n sharing this wonderful toolkit...I unlock n rooted my n7 with this...the prob is,now when I want to unroot,flash back to stock and relock my bootloader,the prob starts..I've all drivers installed,.I managed to get to fast boot mod with your tool,when I start,a black window pops up,n saying 'sending fast boot <2907 KB>'..n nothing happened..it just stuck there 4 bout an hour..when I unplug my USB,I still can on the device n it function properly,but to no avail that everything stays the same,its still rooted n running custom ROM...can u tell me how can I get to stock back?
[Nexus 7 Android Development] crossrt:
Ya, thx Wug! It's work perfect, now the !ReadyToFlash folder is deleted.

Actually i use your toolkit flash the ROM zip 2 time, the first time is unsuccess i think, so it remain the file. When the first time i use your toolkit flash the zip, it reboot to the bootloader and keep waiting, After few second it back to TWRP recovery. I thought the the ROM is flashed success because your toolkit is indicated nothing, so i reboot to system but it show there is no OS installed. When i reboot it hang on the Google logo, we know what happen here. :silly:

So i flash it second time with your toolkit, and this time is success.

However, thx for your toolkit and help! :laugh:
[Nexus 7 Android Development] bigmook:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Every time I try to return to stock and unroot no matter what version I try, I get an md5 mismatch even before it is fully downloaded. When I download manually it doesn't give me the option to use said file.
[Nexus 7 Android Development] grentuu:
Pullimg my hair out lol.

New Nexus 4 with JDQ39 4.2.2

Installed NRT 1.6.3 and followed steps methodically. Everytime it does the same thing. It goes through the complete process. Driver test was a success each time, unlocked worked as I have a small unlocked padlock at the bottom. When trying to root it goes through the process then says 'waiting for device to finish booting up= and just sits there on the Google screen for half an hour. Now on my sixth attempt. I have only used pdanet drivers as I am on Win 7 x64 but pdanet reports sucess.

I have cleaned out all drivers and reinstalled, tried different USB ports, tried changing from MTP to camera driver all to no avail. Never had this problem on Symbian, HTC, Samsung... I know I must be doing something wrong and have read back and tried various things such as leaving the version as 'any' but nothing works :(
[Nexus 7 Android Development] Sage:
Same problem here with Nexus 10... Looks like its bricked.. Either boot normally and it endlessly sits on the Google X Logo. Or boot to bootlader and it says "Downloading do not turn off target" though no option to do anything but choose Start which takes you back to the endless X Logo.
[Nexus 7 Android Development] WugFresh:
Try using driver solution #3, then report back. Are you certain that you are selecting the correct device and build?

{{ WugFresh }}
[Nexus 7 Android Development] grentuu:
Lol I understand you asking but yes definitely a Nexus 4 on 4.2.2. Will try again with option 3 and let you know.

It goes through everything until it says it is installing temp recovery then root and then it just sits on the Google X. I have to unplug - replug usb lead and then switch off and on. It reboots back into non rooted rom
[Nexus 7 Android Development] grentuu:
@ Wugfresh

Tried option 3 - no joy.

So I grabbed my wife's Dell Laptop and installed NRT and did it exactly the same using option one and Voila - Rooted. I have no idea what caused the problem but no mind.

All good, thank you
[Nexus 7 Android Development] divvykev:
Problem rooting after restore - resolved

Restored my N7 this morning as it was becoming a bit clogged and tried rooting.

No joy. Clicking root just did nothing.

So, a moment of inspiration saw me uninstall the toolkit and reinstall it.

It upgraded the recovery etc whilst installing and when clicking root worked flawlessly.

Hope this is of help to someone

Thanks for this superb tool. :D

Kevo
[Nexus 7 Android Development] flamand:
I really hope someone can help. I have a soft-brick and I can't get anything going. Whatever I've tried (flash stock+unroot, unlock) it will flash the bootloader and then just hang.

I had a working CM10.1 this morning, decided I wanted to go back to stock. I tried to flash stock+unroot but that didn't work. Then I flashed a stock recovery and then it all went downhill. The stock recovery is there but I can't get anything else to work. It's still trying to boot CM10.1 and when it gets to the lock screen, either or both of these errors happen and I can't click them away: nfc stopped working/phone.android... stopped working. I just uninstalled the toolkit, uninstalled every Samsung and Google device I saw, reinstalled the tookit, went through the driver installation. Since I can't get past the lockscreen to allow the RSA I can't do the full driver test. Still nothing works.

Any ideas?
[Nexus 7 Android Development] WugFresh:
Try performing a factory reset from recovery mode. Then try "Flash Stock + Unroot" with "Can't boot up". All that matters is that your device is configured in fastboot mode in regards to drivers. The full driver test is not necessary.

Please specify what actually happened when you flashed stock. Saying things like "that didn't work", doesn't help me try and help you.

Your other course of action is to individually flash the factory image files, using the advanced utilities flash to partition buttons. So flash bootloader to bootloader, radio to radio, system to system, etc.

{{ WugFresh }}
[Nexus 7 Android Development] Herc08:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Just grabbed a nexus 7 and a found this thread. Donation coming your way. I understand how difficult it can be making stuff as easy as possible. I coded a few software programs myself, and it is not easy. Its like watching an NBA player, they make it so easy, but it isn't. So thank you sir. And after reading your comments on your site, please get some rest. You're not Superman, you know?
[Nexus 7 Android Development] flamand:
Thanks for the help. I tried to create a logcat, but failed. I wound up having to do it manually. All is good now.
[Nexus 7 Android Development] WugFresh:
Ok.. Just an FYI, adb logcat requires your device to be on with usb debugging enabled. It won't work in fastboot/bootloader mode. Either way, glad you got it resolved. Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] androidfr33k:
Is there a binary flash counter in the nexus 7 as in some other tablets like the samsung brands that allow manufacturers to catch you at manipulating their devices even after unlocking and unrooting?

The other question I have is the 4.2.2 update. I am currently running 4.2.1 and successfully unlocked and rooted the nexus 7. Do I need to unroot and relock in order to update os?
[Nexus 7 Android Development] WugFresh:
No, all Nexus devices (i.e. Google Co-branded devices) have to adhere to strict guidelines in regards to openness and unrestricted mod-ability. None of the devices in the Nexus line have flash counters, or anything of the sort.

If all you did is root, then no, you shouldn't have to reflash stock. You never have to relock the bootloader. For more information on 'OTA Updates + Android Updating' please refer to that dedicated section on my sites FAQ's: http://www.wugfresh.com/nrt/faqs/

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] livefree79:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Alright so i downloaded wugsfresh. Installed drivers tested drivers they work. But before I unlocked and rooted I back up apps plus data with the toolkit. After I unlock and root can I restore my apps and data with my backup. Or will it relock and unroot. I dont think it will but I wanna make sure before I do anything else.

Sent from somewhere in the galaxy. Using a galaxy s2 skyrocket
[Nexus 7 Android Development] sherlock5545:
Re: [Toolkit] Wug's Nexus Root Toolkit v1.6.3 [Updated 02/24/13]

Thanks, works perfectly fine with my Nexus 7. Just an information, is there a way to save Nandroid backups directly on my PC?
[Nexus 7 Android Development] Meloku:
Ok, I think this toolkit just killed my Nexus 7!!!

When I came home tonight, my unrooted Stock Nexus 7 was on a bootloop. No problem, I'll just download this toolkit and flash it back to stock selecting the soft-brick/bootloop option. The program downloads nagasi with no issues, then it starts doing stuff... AND THEN THE DAMNED PROGRAM CRASHES!!!

Now I have a beautiful black brick that can't get into recovery mode. I'm doing my best installing APX drivers and trying Nvflash in order to save my poor little thing that just went out of warranty time a week ago, and since I live in Chile, there is NO WAY IN HELL I can send it back to google so they can replace it without spending twice or thrice the cost of a new tablet.

Does anybody have any idea of what to do here? Please tell me there is still a light of hope for me...
[Nexus 7 Android Development] thereal_bigjake:
Can you get to the bootloader? If so use fastboot to flash the stock image.. That is how you probably should have done it in the first place... I urge everyone to learn how to use fastboot with their Nexus 7... It is super easy to use and there is a guide here on xda that will teach you how..

If you can't find the guide let me know and I will find it for you...
[Nexus 7 Android Development] Meloku:
No, I can't get into the bootloader. You could say that the only life signal my N7 has is the APX device popping up in my PC when I press power + up vol + down vol. It's currently showing up as Asus Transformer Prime APX Interface.

As far as I've been reading, there is still no Nvflash available for the N7, and hence, no way to recover it from its deep-brick status.
[Nexus 7 Android Development] thereal_bigjake:
Oh man, wish there was something I could help you with but I think it is too late :(
[Nexus 7 Android Development] Meloku:
The good news is, there seems to be an Asus tech support place in my city besides the place I actually got my N7, so I think I'll waste the next couple of weeks knocking doors and putting my best puppy face with my dead gadget on my hands. With some luck, maybe I can make them replace it.

And please, make Nvflash for the N7 a reality! I know it's easier for a lot of you guys to send the tablet back in case of a deep-brick, but for us at the end of the world, it may be a lifesaver!!
[Nexus 7 Android Development] CamoGeko:
Great tool, many thanks for all your work on it!!

I'm a new proud owner of a N7 32GB and this tool simplifies everything I want to do with it to get started. :)
[Nexus 7 Android Development] skeeterfood:
So, if I'm already on 4.2.2 and have never rooted how do I backup my virtual SDcard? The app says on 4.2.2 my device needs to be unlocked to use the Backup data/media feature, but unlocking wipes the device, so I'll lose everything on the virtual SDcard. Is there another way, or am I just screwed?
[Nexus 7 Android Development] Colpophage:
Connect it to your computer, drag the files from internal storage to a folder on your computer.

Sent from my rooted AOKP_JB-MR1_Build-6 Nexus 7 with Tapatalk 2
[Nexus 7 Android Development] hpl912:
I'm trying this for the nexus 10 and whenever it tries to update the nexus root toolkit and download the file "modified_boot_mantaray_4.2.2_jdq39.img", the download status will display as incomplete and mismatch on the hashcheck.

I'm not able to find this file online.. help :confused:
[Nexus 7 Android Development] WugFresh:
Yeah, in that circumstance it will then give you an interface for manually downloading it, with a direct link. Just click the blue underlined hyperlink on that interface and proceed to use that interface to import it into the toolkit.

{{ WugFresh }}
[Nexus 7 Android Development] hpl912:
I've also clicked the link but the page cannot be displayed, looks like a dead link...
[Nexus 7 Android Development] HitBobLer:
I rooted my nexus 4 and so have the drivers on my PC. I now want to root my n7, so do i have to delete all of the n4 drivers and adb drivers and fast boot drivers?
[Nexus 7 Android Development] WugFresh:
No, try running through the driver test, it should work with the same drivers.

{{ WugFresh }}
[Nexus 7 Android Development] CamoGeko:
No you dont have to delete anything.

It worked fine for me with the same drivers. ;)
[Nexus 7 Android Development] HitBobLer:
So can i just skip all of the driver installation stuff