yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] LosLakers:
Hi guys, is it normal that everytime I run the program I receive the message "Primary device is NOT up-to-date" and that the files of NRT are NOT up-to-date? I don't find a way on how to resolve it.
[Nexus 7 Android Development] WugFresh:
You probably have Nexus player as one of your devices. Correct? If so, you can ignore those messages. Its looking for a TWRP recovery that doesn't exist and I didn't bother coding in the logic go change the messages, since that will change soon.
[Nexus 7 Android Development] LosLakers:
No Nexus Player. Only the Nexus 5 and the Nexus 7 (Mobile). I really do not understand why appears that message. It's started few days ago with v1.9.9
[Nexus 7 Android Development] joelbon:
Thanks for the heads up. I was just looking around to see what I have to do to update my Nexus 6. I will just patiently wait for v2.0.0. Thanks for all your hard work. It is VERY much appreciated!
[Nexus 7 Android Development] barclac:
Do you think in the future you could add custom ROMs as well, so we can do it from nrt,just a suggestion.
[Nexus 7 Android Development] maxamus007:
Waiting for v2.0 so I can flash 5.0.1 without loosing my data :)
[Nexus 7 Android Development] bovirus:
You can flash the image of 5.0.1 without losing your data.

You just need the bootòloader unlocked, the adb commands (adb platform tools) and have to edit ROM image file.

Downlaod the image from https://developers.google.com/android/nexus/images

Decompress the image in a folder using program like 7zip. Obtained a file without extension. Decompress it using 7zip.

You obrain a group of files (sopme .img/.sh/.bat)

Copy in the samme folder the adb commands extracted from here https://mega.co.nz/#!bF5DzLrS!kyoxZqj9A8GDI_upITYGh2SH0o8IJNBuieXUThdYwX8

Using Windows and text editor like Notepad edit the file flash-all.bat

Original line

fastboot -w update image-razor-lrx22c.zip

Changed

fastboot update image-razor-lrx22c.zip

Save it. You removed the option -w (wipe) that wipe teh contents pof tehd evices.

Now connect the device to teh PC via USB cable, check that it's recognzied by PC, and run flash.all.bat

If you use Linyux you should doo tehs ame on flash-all.sh file.

[MENTION=3110798]WugFresh[/MENTION]

Could you poost this info on first post.
[Nexus 7 Android Development] WugFresh:
Not needed. Just enable no-wipe mode in toolkit options. I will be moving this setting to the flash stock interface in v2.0.0, because it makes more sense to put it there.

That setting does exactly what you described above and also can work with force flash, in which it accomplishes the same thing in a different way.
[Nexus 7 Android Development] WugFresh:
http://wugfresh.com/Help/scr/Since_I_rooted_I_have_problem.htm

Chances are you have a 16GB device.

{{ WugFresh }}
[Nexus 7 Android Development] WugFresh:
There are user apps in the play store that will allow to overclock your device on any build so as long as you have root permissions.

{{ WugFresh }}
[Nexus 7 Android Development] ptesmoke:
Wug....seriously sick tool bro!
[Nexus 7 Android Development] torpe:
Jelly Bean setting for Nexus S

Could you please add an option for stock Jelly Bean to the configuration list? Does it matter in any way what I select there if I just want to unlock and root my phone?

Out of curiosity: if I unlock, root and then lock it again, will root persist?

Cheers
[Nexus 7 Android Development] jetarpon:
That's what I thought, I just wanted to ask as a sanity check.

The only reason I bought the 8 instead of the 16 in the first place is because I am leaving on a trip next week and didn't have time to wait the quoted "3 to 4 weeks." Instead the "3-5 business day" 8GB order arrived 2 days after I placed the order, and is a 16GB instead. :D
[Nexus 7 Android Development] WugFresh:
I assume that you are talking about listing the JRO03D build in the in the next toolkit release? Yes, that is definitely on the to-do list for v1.5.3, I was just unfortunate with my timing on the v1.5.2 release; I found out that the "D" revision had just gotten rolled out right after I published the toolkit.

Here is the full list of changes I am making; http://xdaforums.com/showthread.php?p=28943445

With the addition of integrated TWRP image files, and possibly a few other features I already have partially coded if I can finish them quickly.

I am probably pulling another all nighter tonight and will try and keep my coding bender going until I can finish it. So stay tuned on that. :)

It wouldn't matter what device and build you selected for unlocking, but the way I built the root script, it would for that. Alternatively you could always root on any build by temporarily booting into cwm and flashing the CWM flashable SuperSU zip. However that wouldn't take care of the additional steps my permanent CWM recovery root script takes like renaming the recovery-from-boot.p file etc.

Yes root would persist, but there would be no point in doing that because then you would be greatly restricted regarding what you could do in the event of a problem. You wouldn't be able to restore your device back to factory settings/state, or flash any fastboot image file for that matter, unless you first unlocked again. Also, in the event that you did need to unlock again, you would have to deal with the fact that it wipes your device all over again. So yes you could do that, but it's not recommended.

{{ WugFresh }}
[Nexus 7 Android Development] BananaFusion:
Worked pretty well for me. For some reason it hung when copying over "su" the first time I tried to root it (the message never went away on my Win7 computer). So disconnected the tablet, and tried again, and then it all worked. Great tool!
[Nexus 7 Android Development] Indrid Cole:
Dude.. Your either TROLLIN or ROLLIN. If rollin Gongrats!! Wish mine came W/32..;)

Tool looks nice. WUG. BRAVO. And thankyou much brah.

I'll report back.

Sooo looking forward to this tab man can't wait..:laugh:
[Nexus 7 Android Development] torpe:
Great stuff! Thanks Wugfresh.

I just had my device rooted to be able to run voodoo sound. That's the only thing I need root for. I rooted on Gingerbread using zergrush so it didn't unlock the bootloader and therefore didn't wipe my data back then. But since voodoo rootkeeper didn't keep my root when upgrading to JB I have to do it this way. That's why I thought about locking it again after rooting. But from your argumentation I will probably leave it unlocked.

By the way: the build on my Nexus S is JRO03E.

Thanks again! Great tool!
[Nexus 7 Android Development] Indrid Cole:
That would new so sweet if 1.5.3 hit when my tab lands at my feet.. Woohoo..:victory:

All good things come to those who wait. Or donate..lol. One comin ur way WUG soon.
[Nexus 7 Android Development] fis324:
I used this software and I created nandroid backup.

Is it failure that there is capacity of the backup file only as for 512MB?
[Nexus 7 Android Development] Indrid Cole:
Depends on what all you had installed/cache/dalvik/photos etc. Also remember it is a compressed zip file. It ya want to be sure, or wanna take stuff out our insert in the zip/nandroid, you could copy it and unzip it. Do some digging..;)

---------- Post added at 04:33 PM ---------- Previous post was at 04:28 PM ----------

Does seem alil small..?
[Nexus 7 Android Development] Cryingmoose:
Any way to root without unlocking?
[Nexus 7 Android Development] Indrid Cole:
Purty sure thats a no. You must unlock in order to push files needed to establish root. Short answer..
[Nexus 7 Android Development] Cryingmoose:
Is it just me? Am I the only one who likes to root without unlocking? I found with other tablets/phones have the same process.
[Nexus 7 Android Development] dominican2589:
Thanks. I missed that somehow
[Nexus 7 Android Development] dparrothead1:
Very good tool!! Easy to use even for a 66yo man. Unlocked and rooted mine straight out of the box!
[Nexus 7 Android Development] coolxal:
Is there a different definition of "unlock" that I'm not aware of? It's not tied to any carrier as far as I know.
[Nexus 7 Android Development] stewarta:
Yes ... it's a Linux meaning. Nothing to do with a carrier. It means unlock the boot loader. Then you can flash ROMs (OS) and kernels .... the latter being the gatekeeper between simultaneously running apps. (They aren't really and must timeslice).

Enjoy!
[Nexus 7 Android Development] stewarta:
Yes indeed ... and use OTARootKeeper (Play store) to keep root between updates, I.e., turn root 'off' to update, then use ORK to regain. Neat!
[Nexus 7 Android Development] bovirus:
Thanks for the explanation.

I posted the instrcution for who make the job manually.

Please of course describe/highlight the option "no wipe" in first post.
[Nexus 7 Android Development] joelbon:
I think they meant to say waiting for 2.0 to be able to update without losing the No encryption hack. That is what I am waiting for. No rush as I am happy with what I have for now. Just happy that WugFresh is working on this. Thanks a lot!
[Nexus 7 Android Development] madLyfe:
i tried to sideload the 5.0.1 OTA to my N7 2013 wifi and it didnt take even though i selected i was unlocked and tried to stock recovery. got an error 7 or something like that. then i tried to flash stock + unroot with no wipe mode on and that didnt take and left me at the bootloader. i did get the sig file errors but also the last img error(cant remember exactly which one it was). i am unlocked and rooted with TWRP. just trying to get to get to 5.0.1. im sure im just missing something dumb here.
[Nexus 7 Android Development] praseodimio:
deleted (wrong thread, my mistake, sorry)
[Nexus 7 Android Development] chem20:
After Update My N5 via Sideload OTA update to 5.0.1 in Nexus root toolkit 1.9.9 all things are install but when i rebote devic the Phone stay on boot animation for 2 hour and dont start .pleas help me .i dont like flash factory image
[Nexus 7 Android Development] WugFresh:
You can flash roms with NRT via "Flash zips" (file is on this comp) in advanced utilities.

{{ WugFresh }}
[Nexus 7 Android Development] madLyfe:
i got this to work with no-wipe using the flash stock + un-root option. i had to use the force flash to get it to complete. i also had to use force flash to get my N5 to 5.0.1. whats with all the force flashing? does it mean that something is wrong?
[Nexus 7 Android Development] WugFresh:
If you extract a factory pack (tgz file) you will see a few img files and a zip. The zip contains boot.img, system.img, etc.

Regular flash uses the fastboot update nameofzip.zip cmd, which is supposed to flash all the imgs in the zip. It also runs checks based on the android-info.txt within the zip.

In the past, that cmd worked most of the time, but Googles latest factory packs seem to be having trouble with it. Note, it will fail the same way with Googles included "flash-all" script; ie, the issue is not kit related.

"Force Flash" overcomes this issue by extracting the zip and individually fastboot flashing each img file. In the end it accomplishes the same thing, just more commands and skipping checking the android info txt.

As long as you select the correct device, force flash is safe.
[Nexus 7 Android Development] madLyfe:
ya it worked perfectly for me on both my devices. having to go in and change a setting to get it to work after failing makes it just 'feel' like something is wrong.
[Nexus 7 Android Development] chem20:
If I root my N5 with toolkit the kernel in 5.0.1 is modified?

Sent from my Nexus 5
[Nexus 7 Android Development] WugFresh:
No. The toolkit does not use root_kernels anymore. It only did when lollipop was first released and chainfire was figuring things out. The toolkit utilizes a modified boot.img temporarily to automate things, but the root method doesn't touch your kernel.

{{ WugFresh }}
[Nexus 7 Android Development] anuragvivek93:
I'm on 5.0.1 Nexus 6 ... Can i use this tool kit? Can I disable encryption with this?? and should I disable enforced encryption before root and custom recovery or after?﻿
[Nexus 7 Android Development] WugFresh:
No need to double post. Responded in N6 thread. The answer is yes, and the order doesn't matter.
[Nexus 7 Android Development] mosaiques:
It's me or something is happening with the host providers?

I can't update anything!!
[Nexus 7 Android Development] Kromag:
Can't root/install custom recovery

I'll preface this by saying I have very little technical understanding, other than I've been using the Nexus Root Toolkit for awhile. Anyway, I installed the 5.0.1 update on my Nexus 5, and I can't root or install custom recovery. It had been running the 5.0 OTA update which was rooted successfully, stock recovery. I'm sure I haven't provided enough information to get to the bottom of this, but I'd be keen to figure out what's going wrong.
[Nexus 7 Android Development] nightfishing:
Thanks (again) WugFresh!

Flash stock+unroot (no wipe) and update from 5.0 to 5.01 went smoothly on my N5.

only hiccup I ran into was that the factory image the toolkit downloaded was incomplete (zip file was incomplete). I just dl'd the factory image from google and extracted it into the proper dir and the flash went fine.

if anyone gets an e0CD error check the zip file and see if it is ok.
[Nexus 7 Android Development] mohsanraza97:
stock image

can i install nakasi 5.0 stock image though toolkit? if yes then tell me the way my tab is unlocked and runing 4.3 AKOP
[Nexus 7 Android Development] :
No flaming please i just don't want to have to dig through all of these pages to find my answer. I just recent upgraded my wifi only 2012 nexus 7 to 5.0 and i don't like it. Can i use this tool to downgrade back to jelly bean or even ics if i wanted to? I was going to download whichever image i decide on and try it but i didn't know if the lollipop bootloader would allow me to do this.
[Nexus 7 Android Development] WugFresh:
Yes. If you encounter errors, enable force flash mode in the toolkit options.
[Nexus 7 Android Development] WugFresh:
Yes. Use "flash stock" button.
[Nexus 7 Android Development] pvanheumen:
[MENTION=3110798]WugFresh[/MENTION] do you have any good results with the Bacon toolkit for the OPO, this question is offtopic i know
[Nexus 7 Android Development] WugFresh:
I don't understand your question. What do you mean? The kit works well for my OPO if that's what you are asking. The official thread is here: http://xdaforums.com/showthread.php?t=2947627

[Toolkit] Wug's Bacon Root Toolkit v1.0.2 [Updated 11/24/14]
[Nexus 7 Android Development] WugFresh:
Site is temp down. For mirrors: https://plus.google.com/113329792100896065459/posts/cTJeV68ChFJ

{{ WugFresh }}
[Nexus 7 Android Development] xXblastingXx:
I having problems rooting WiFi model 2012 with the new update? Is anyone having the same problem.. I get no errors but it won't boot into twpr temporarily to push rooting? Any ideas?
[Nexus 7 Android Development] tu3218:
Downloading 5.0.2 now. I can just flash it with this toolkit right? Just select to use a predownloaded file?
[Nexus 7 Android Development] ~wolverine~:
That's what I did. Used the no-wipe method and it all seems good.
[Nexus 7 Android Development] NHOGN:
update to 5.02

When will the tool kit be updated to just install the new 5.02 rom for the nexus 7 2012?

Thanks.
[Nexus 7 Android Development] Kromag:
I'm the same with my Nexus 5 5.0.1
[Nexus 7 Android Development] WugFresh:
Just listed it now. Just an FYI, you can always use the "I downloaded myself" feature in kit when flashing stock, if I have yet to update it. I typically aim to get new builds supported and listed within 24 hours.

Cheers.

{{ WugFresh }}
[Nexus 7 Android Development] todivefor:
What are the steps needed to go from 5.0 rooted to 5.0.2 rooted?

I am guessing I need to flash recovery to stock.

I have downloaded the 5.0.2 nakasi-lrx22g-factory-2291c36b.tgz

Do I use ADB sideload OTA update or flash zip (where do I get the no wipe option)

As an aside, I am running multirom with 5.0 as my secondary. I am guessing there is no way to get to 5.0.2 with multirom. Guessing I have to make 5.0 my primary and get rid of multirom for the time being.
[Nexus 7 Android Development] striker59:
Worked great, went from 4.4.4 to 5.0.2, rooted as well. Thanks
[Nexus 7 Android Development] 4walls:
The no-wipe/force flash options also worked for me on the Nexus 5. Just had to root again when the process was finished.
[Nexus 7 Android Development] todivefor:
Where are these options?
[Nexus 7 Android Development] philmein:
options to find no wipe are under options on the top left of the toolkit
[Nexus 7 Android Development] barclac:
Thanks for the great app,I've using this for awhile and never got around to thank you?
[Nexus 7 Android Development] bovirus:
I have a Nexus 7 2012 Wifi (nakasi).

The current OS is 5.0. Rooted with TWRP recovery. All jobs done with NRT.

I want to update to 5.0.2 without losing data.

Can I use NRT 1.9.9 to do that enabling no-wipe option one times for all?
[Nexus 7 Android Development] WugFresh:
Yes. That should work since its an incremental update. You can re-root afterwards.
[Nexus 7 Android Development] ThePhoneGeek:
Forgive the noob question but I don't normally play in Nexus 7 sandbox as it's the kids device.

I have downloaded the toolkit previously and used it when I bought the used N7 to upgrade it to 5.0. Now I've opened it and done all the toolkit updates but now I am looking understand what steps are needed to update the N7 to the latest OTA 5.0.2 without having to wipe the device.

I don't see an easy set of steps for the upgrade part but perhaps I am missing something. Do I need to download the OTA file separate and sideload from advanced?

Thx all!

MG
[Nexus 7 Android Development] ~wolverine~:
Top left of the program click options/flash stock/check enable 'no wipe mode'/apply. Then you'll have to re-root. There isn't an OTA. It's the full factory image. You can download it yourself or the toolkit will do it for you.
[Nexus 7 Android Development] ThePhoneGeek:
Many thanks for the reply. So to make sure I understand correctly:

Click options/flash stock/check enable 'no wipe mode'/apply

Then click Flash Stock + Unroot with device is on/ normal selected.

Then click Root to re-root.

And I shouldn't lose anything, but I'll also take the opportunity to back up just in case? :)

MG
[Nexus 7 Android Development] ~wolverine~:
Correct. You should be good to go. I would backup anything important though, you never know when Murphy will show up. :good:
[Nexus 7 Android Development] ThePhoneGeek:
Well it appears that Murphy has reared it's ugly head...

It went this far and then the device shut down and won't restart.

Flash Stock + Unroot...

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

erasing 'boot'...

OKAY [ 0.032s]

finished. total time: 0.035s

erasing 'recovery'...

OKAY [ 0.033s]

finished. total time: 0.036s

******** Did you mean to fastboot format this partition?

erasing 'system'...

OKAY [ 0.368s]

finished. total time: 0.373s

sending 'bootloader' (2100 KB)...

OKAY [ 0.285s]

writing 'bootloader'...

FAILED (remote: (InvalidState))

finished. total time: 0.430s

rebooting into bootloader...

OKAY [ 0.020s]

finished. total time: 0.023s

< waiting for device >
[Nexus 7 Android Development] ~wolverine~:
Wow. Sorry about that, but it's hard to brick these. Hopefully somebody with more knowledge than me will step up and help with this.

[MENTION=3110798]WugFresh[/MENTION]
[Nexus 7 Android Development] ThePhoneGeek:
Thanks. [MENTION=3110798]WugFresh[/MENTION] it appears that the device is still powered up but can't get any response from it. I am getting an error that the USB device has malfunctioned and windows doesn't recognize it.

Not sure where to go from here.

MG

Edit: Well after reading for the last few hours it would appear that this device is indeed toast. I have no bootloader and no fastboot access and such no way to recover it. This is no fault of the toolkit or anyone of the great folks here. I'll be replacing this with another and will be right back here to root as well as use the other tools.
[Nexus 7 Android Development] WugFresh:
Sry for late response,

You sure you can't get fastboot?

The invalid state stuff is an indication of bad usb connectivity, and can usually be fixed with an alternate usb-port/cable/computer

If you can boot your device into fastboot/bootloader mode, you should be able to restore it. Try a different port on your comp (preferably 2.0) and/or another cable. "Flash Stock + Unroot" with Softbrick and 'force flash' should get you back in business.

{{ WugFresh }}
[Nexus 7 Android Development] ThePhoneGeek:
No such luck. Tried different USB ports, removed USB drivers and reloaded, all I have is blank screen, can't manually get it to do anything V+V- PWR does nothing, fastboot shows no devices, etc.

No need to apologize for a late response, you have a life other than waiting here for me to screw up my device. :)

MG
[Nexus 7 Android Development] nuxbag:
Did you try plugin in charger? Or Let it die then plugin again?
[Nexus 7 Android Development] bovirus:
moregadget

If you check the error it's euqal to mine

writing 'bootloader'...

FAILED (remote: (InvalidState))

What's device do you have? Nexus 7 2012 Wifi (nakasi)?

[MENTION=3110798]WugFresh[/MENTION]

Whats' about 5.0.2 nakasi patch? I hope that it will be available soon...

What's about the error on writing bootloader?
[Nexus 7 Android Development] pincher65:
http://xdaforums.com/showthread.php?t=2573015
[Nexus 7 Android Development] mohsanraza97:
root

i flash stock 5.0.2 rom though toolkit but how to root? i try ROOT button though toolkit but no luck :(
[Nexus 7 Android Development] bovirus:
Thanks for the info.

I'm so sorry but I didn't understand how can avoid the error on flashing bootloader.

I downloaded the original ROM images from Google and I unpacked it. Then i ran flash-all.bat.
[Nexus 7 Android Development] ThePhoneGeek:
I did try the regular plugin charger but haven't let it fully die and plugin again.

yep appears to be the same problem but from everything else I've read it doesn't appear to be one that can be recovered.

MG
[Nexus 7 Android Development] secret.animal:
I've had to do this before, pulling the back off disconnect battery for a minute or so. Reconnect and try power button with volume.

Can't lose anything
[Nexus 7 Android Development] xXblastingXx:
I have the same problem with the model 2012 flo WiFi.. It won't root
[Nexus 7 Android Development] mohsanraza97:
successfully root

try this and install though TWRQ its work for me im on 5.0.2 lolipop

link
[Nexus 7 Android Development] fourlans:
Unable to root with NRT

I have used NRT for quite a while now with complete success but having upgraded my Nexus 2012 (WiFi) to 5.02. via NRT by flashing stock etc then rooting with NRT , I decided to try the SlimLP F2FS custom Rom. I installed it via instructions given in the relevant XDA forum and it installed as expected. However, when I tried to root it using NRT i received the following log entries

Information: Checking ADB Status

adb devices

List of devices attached

015d21d93834180a	device

ADB Status: Device Connected

Information: Rebooting your device into bootloader mode...

adb reboot bootloader

Information: Checking Fastboot Status

fastboot devices

015d21d93834180a	fastboot

Fastboot Status: Device Connected

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

fastboot boot "C:\Program Files\WugFresh Development\Nexus Root Toolkit\data\Modified_Boot\modified_boot_nakasi_5.0.2_LRX22G.img"

Information: Waiting for your device...

Information: Waiting for your device...

The device had frozen in bootloader mode and I had to press the Power button to get it to reboot.

Needless to say, neither SuperSU nor BusyBox had been installed hence NO ROOT.

Any help would be most appreciated