yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] el56:
Help with 5.0.0 to 5.0.2 update

Hello all.

First off, happy holidays to everyone, and especially to wugfresh for making such a useful piece of software.

I have a Nexus 7 2012 wifi and I successfully used NRT to install 5.0 on it. I am now getting messages that an OTA is available; when I try to install, the system reboots to TWRP and stays there without doing the upgrade, but my 5.0 is intact.

I asked in the N7 forum if it was possible to do an update without having to re-wipe to reinstall a 5.0.2 image, (my TWRP log is attached to the original article)

I received a reply so far,

Download the factory image from Google's website. Extract the system.img file from the zip. Use fastboot to flash​

Is this OK to do using NRT? Has anyone else tried this, and will it perform the upgrade?
[Nexus 7 Android Development] Mr-Glass:
You can flash 5.0.2 without wiping data - just go to options - flash stock tab - and check the option to enable "no wipe mode" - worked fine for me - you will probably need to root again after.
[Nexus 7 Android Development] WugFresh:
Root that with "Any Build" as your build. The issue is most likely due to the modified boot NRT uses not being designed for f2fs format.
[Nexus 7 Android Development] fourlans:
That fixed it. Everything now working OK.

Thanks for NRT and also thanks for the prompt reply.

Merry Xmas, Wugfresh.:D
[Nexus 7 Android Development] krouri:
When pressing unlock, instead of getting the screen with unlock bootloader yes or no on the N7 it just restarts? I am using windows 8 if that is why?
[Nexus 7 Android Development] tamanaco:
After switching to the SlimLp ROM for a couple weeks because of the lackluster performance of 5.0; I'm ready try stock 5.0.2. I was running the SlimLp ROM with /system, /cache, and /data partitions formatted F2FS. What steps/options should I take/select to flash the 5.0.2 factory image using the toolkit? Does the "Flash Stock + Unroot" option re-format the partitions back to Ext4 by default? What option under Flash Stock should I use...soft-Bricked or Normal?
[Nexus 7 Android Development] mohsanraza97:
f2fs

can i convert my n7 file system ext4 to f2fs via tool kit if yes tell me how?
[Nexus 7 Android Development] WugFresh:
Probably already unlocked
[Nexus 7 Android Development] WugFresh:
Advanced utilities > fastboot format

Then use as softbrick flash stock.
[Nexus 7 Android Development] WugFresh:
No. You need to find a f2fs ROM. You can use the toolkit to flash things via flash zips.. In adv utilities.
[Nexus 7 Android Development] krouri:
Thanks! Thats why it didnt erase anything. I can't manually update an OTA though. Or a factory image, it say no mds or something like that. What am i doing wrong?
[Nexus 7 Android Development] kao_u20i:
Sorry if this is in the wrong place but I've noticed some people having issues flashing the 5.0.2 stock rom, getting the bootloader error below;

sending 'bootloader' (2100 KB)...

OKAY [ 0.285s]

writing 'bootloader'...

FAILED (remote: (InvalidState))

finished. total time: 0.430s

this is due to a problem bootloader file within the zip downloaded from google.

Within your unzipped folder (nakasi-lrx22g) you will have a file named bootloader-grouper-4.23.img. It is when attempting to write this file that you get the above error.

I installed the rom today using manual fastboot commands and hit the problem at the same point. To rectify it, you need to replace the .img file with a correctly working one, a confirmed one being from build JWR66V (not JWR66Y!)

Having replaced the bootloader-grouper-4.23.img file in your unzipped file location, with the correct one, the installation will run smoothly.

When it finishes and reboots, it will take a LONG time to boot for the first time - have patience, go make a coffee, as long as you had no errors you should be fine. I almost got to the point of rebooting mine thinking it had hung on the boot logo....when the magical ANDROID wording appeared... :fingers-crossed::D:laugh:

The correctly functioning file is attached for convenience, I hope this post helps those despairing thinking their nexus is bricked

K
[Nexus 7 Android Development] mystik1:
Sorry if this has been asked already. I couldn't read all 390 whatever pages. :D I got my Nexus 6 today (finally, after an ordeal of it being canceled when it was ready to ship, having to reorder, and then get sent to the back of the line for availability and wait an extra month). Anyway, this is my first Nexus. I downloaded your app. I have decrypted already. However, I also want to root. I notice those both flash the same file to do it. Is rooting now going to have an impact on the decryption, such as overwriting anything? Thank you.
[Nexus 7 Android Development] tahrang:
Hello

I am trying to update my nexus 7 which is on 4.4.4, to lollipop. I cannot flash the zip file. it gives error: error flashing zip "/sdcard/.....*.zip"

My nexus is rooted, but stock rom.

thanks
[Nexus 7 Android Development] WugFresh:
Rooting with NRT does not fastboot flash any img files, it just boots an img file temporarily and then flashes some zips via TWRP.

The rooting process is designed to not interfere with decryption.
[Nexus 7 Android Development] tahrang:
Error while sideloading update file

Hello

I use this toolkit, and all goes well, until the sideload of zip file. I get the error shown in the attached image.

Please check and help.

thanks
[Nexus 7 Android Development] mystik1:
Thanks!
[Nexus 7 Android Development] tahrang:
update from 4.4.4 to 5.0 error

Hello

Ok, so continue from my previous post, I decided to get the 5.0 update before the 5.0.2 one. In this I get the error that '/system/fonts/roboto-bolditalic.ttf has unexpected contents. status 7, installation aborted.

Also attaching image of the error.

Please help.

thanks
[Nexus 7 Android Development] WoodmanMN:
What has worked for me on my N7 and N10 is to force reboot by holding power button.
[Nexus 7 Android Development] NLBeev:
Delete the word ' probably ' in the last sentence.
[Nexus 7 Android Development] bovirus:
[MENTION=3110798]WugFresh[/MENTION]

What kind of problem type do you have with servers that contains NRT 1.9.9 unlocking file?

When will be available unlock files for Nexus 7 (2012) Wifi and Android 5.0.2.?

When will be available the TWRP 2.8.3.0?

On TWRP site it's available TWRP 2.8.3.0 for "Nexus 7 grouper" .

What's grouper? Nexus 7 2012 or 2013? Wifi or 3G?

Thanks.
[Nexus 7 Android Development] hazwheel:
Neon nexus x? Which version of android are you trying to flash? 5.0.x has 4 spinning coloured balls for a boot animation, no neon x.... And an hour is too long, 10 minutes at the outside for first boot

Sent from L
[Nexus 7 Android Development] vowelsounds:
Yeah, I tried to flash the earliest version offered... (I think it's 4.1?) It's still not working :(
[Nexus 7 Android Development] hazwheel:
Have you cleared cache in recovery?
[Nexus 7 Android Development] t436h05t:
Doesnt work

Test drivers(Success), do backup, Unlocked Tablet, Click Reboot(check off custom recovery). System does a series of reboot. Says installing root. Just stays a bootloader screen...

Running Nexus 2012 4.4.4 KTU84P

Reboot the Tablet, SuperSU app installed, Check for root via root checker(No root), No Custom recovery.

Fail...

---------- Post added at 12:48 PM ---------- Previous post was at 12:39 PM ----------

Restarted process, working now ;)
[Nexus 7 Android Development] markwebb:
For the most part this works well: just make sure all files are updated. I had to reflash (latest stock, decrypt, root and recovery) my Nexus 6 this am and everything worked well.
[Nexus 7 Android Development] walpow:
I've read about a gazillion posts on updating my Nexus 7 (2012) to Lollipop, and I'm still not sure what to do. It's stock rooted with TWRP, and I've used NRT to do all prior updates. I keep seeing stuff about fastboot flashing. Can someone specifically say which files out of which downloads I use fastboot flash on? Just system? Or I am on the wrong track?

I also keep reading things about factory resets and wiping of various caches being necessary. Do I need to concern myself with this, or can NRT do all I need?

I've been working with computers for 40 years and know what I'm doing, but there's so much information in so many places that I can't figure out which is applicable.

EDIT: Or is it as simple as Flash Stock plus Unroot, choosing 5.02 for the stock release, then rerooting?

Bottom line: I want to go from 4.4.4 stock rooted to 5.02 stock rooted. I've got a good nandroid and am fine with wiping the tablet. How do I use NRT to accomplish this?

Thanks in advance for your help.
[Nexus 7 Android Development] Mista513:
I woke up 2 days ago to my N7 2013 stuck on a Google screen no matter what I try. It is completely stock and got the 5.0 OTA about 2 weeks ago. I've downloaded the SDK, factory image, and your v1.99 toolkit. I can't get into recovery, it just goes to the Google logo after trying and the bootloader is locked. When I try to unlock it it gets stuck on erasing userdata. I've let it sit for hours and tried 4-5 times today. ADB is not recognizing it and I have the correct drivers. Fastboot will reboot it and such but everything points back eventually to unlocking the device at this point. When trying to unlock with your tool or fastboot oem unlock I get stuck at either the erasing userdata or cache after it tells me the remote bootloader is locked... I'm pretty sure usb debugging was posibly off, but developer options were on but now I have no way to be sure. I've even tried running the flash-all.bat also same issues with the locked bootloader. Someone please help!!!
[Nexus 7 Android Development] hazwheel:
Flash stock and unroot, yes, select 5.0.2. Then root and add twrp after first boot if you want to
[Nexus 7 Android Development] walpow:
Thanks. Much appreciated. I finally figured it out, just did what you said, and am currently in the final throes of fixing things that didn't restore correctly from Titanium Backup.
[Nexus 7 Android Development] bovirus:
It's impossible to root and add twrp for Nexus 2012 Wifi Android 5.0.2.

The relative files are not available.
[Nexus 7 Android Development] pkelly517:
What is the line in build.prop that differentiates the wifi (flo) from the LTE (deb) versions?

SlimLP deb is auto-detected as a wifi device. I'd like to get a change into the source to fix this.

Thanks

edit: never mind. It's ro.product.name=razor/g

I changed slim.mk, re-built and the tab shows up as an LTE device.
[Nexus 7 Android Development] bovirus:
[MENTION=3110798]WugFresh[/MENTION]

Thanks for NRT 2.0.0.

I have a Nexus 7 Wifi (2012) with Android 5.0.2.

I cheched that also with this NRT version (2.0.0) is not possible select this combination (Asus Nexus 7 2012 - Android 5.0.2).

What0's the matter? What can I do to root it and load TWRP 2.8.3.0?
[Nexus 7 Android Development] WugFresh:
I will check. That build should be listed and supported.
[Nexus 7 Android Development] bovirus:
I tried this mornng from the office.

Selecting Asus Nexus 7 Wifi , didn't appear Android 5.0.2 (LRX22).

Now I tested from my home.

But I have several differnt problem.

I installed NRT 2.0.0, at starting up I saw on system tray and error "Can't acecss update server".

Then I select Asus Nexus 7 Wifi and Android 5.0.2 (now is visble).

Then I tried to downlaod modified boot or TWRP, but for both fiels at teh end of downlaod NRT report a mismatch and didn't continue.

I closed NRT and restart ed it, and after first run now selecting Asus nexus 7 Wifi I didn't see Android 5.0.2 (only 4.4.2).

With always an error regarding access to update server.

Note; OS is Windows XP and it's teh same that I sued in teh apst with NRT and teh same Asus to update teh tablet.
[Nexus 7 Android Development] ichigo_kurosaki:
Nope. It's possible. Lol. rooted mine again yesterday using v2.02 coz i lost root and recovery after flashing frank's aosp lollipop rom which claimed to have "fixed" the memory leak bug ahead of google. Foolishly i didn't flash supersu and busybox so then i had no choice but to root again using this trusty tool.:D

---------- Post added at 06:29 AM ---------- Previous post was at 06:26 AM ----------

5.0.2 is already on your toolkit with build number lrx22g i think..rerooted mine yesterday and there it was.
[Nexus 7 Android Development] bovirus:
[MENTION=5141150]ichigo_kurosaki[/MENTION]

As you can see in my previous post, I checked that sometimes with NRT 2.0.0 the Android 5.0.2 appear and disappear in the list.

Other problems are:

- the messagge about Impossible to update file/connect to the server.

- Mismatch error downlaong filer for Nexus7 2012 Wifi and Android 5.0.,2.

The configuration and pc is the same used fto make the same operation with Nexus 7 2013 Wifi/Androdi 5.0.1. (worked fine) and Nexus 7 2012 Wifi and Android 4.4.4 (worked OK).

I will test with NRT 2.0.2.
[Nexus 7 Android Development] bovirus:
Now it works.

Some suggestion/proposal. about Asus Nexus 7 2012 Wifi Android 5.0.2

Before to run NRT connect check that driver was instaleld correctly

- Enable Debig USB

- Disable MTP connection Type (important)

- Connect to USB and check that it was recognized. If appear a sign confirmation, please confirm.

- Check devives connected using adb tool running "adb devices" command.

If you list only one devices go away to next step.

If you see more than one devices (my situation) adb/fastboot command won't work because didn't know which device use.

In my situation

emulator-5562 offline

015d483baa480a1a device

In this case I have to set a variable ANDROID_SERIAL (not as DOS variable but in the OS) with the value of default used device (in my situation 015d483baa480a1a)

Please rember to delete the variable at the end of the process.

- Test USB connection using device in fastboot

Go in fastboot mode with POWER+ VOL- or with adb reboot.bootloader adb command.

Connect the device to PC via USB and check that device was recognized.

That'all

Now if the checks are OK you can restart the device in normal mode and run NRT
[Nexus 7 Android Development] pepetops:
Hi. I use this kit to restore my /data/media after I Backup it with the same kit. Before restore the N7 I format it with f2fs and install a new rom f2fs compatible. When I try restore, the toolkit detects my N7 and reboot it but with another image, I suppose not f2fs compatible. N7 doesn't restart again and toolkit is waiting for a while and finally close the restore data/media. Any idea how can I get my restore again? I use twrp as recovery than can mount USB otg.

Anybody can help me?

Thanks

SOLVED. I use Quick ADB Pusher program and can copy all my datas...

Thanks
[Nexus 7 Android Development] ichigo_kurosaki:
well..haven't encountered errors you had.:) anyway, i haven't used the toolkit in a long time as i don't go back to stock too often (and i don't want to coz stock is very heavy. loving slimLPso much.:D )..i only use the toolkit to install apks if i try out other roms as i am very impatient waiting for playstore to restore all my apps.:d so i just let NRT install my TB and let TB batch restore and be done with it. just one restore away.:D
[Nexus 7 Android Development] ghosta12:
Has anyone had any success rooting 5.02 on 2012 Nexus 7? The toolkit doesnt work for me. I "unrooted and flashed stock" to install 5.02 because I was unable to install the 5.02 OTA update no matter what method I tried. But I cannot reroot 5.02 , the toolkit goes through the root processfine but superuser buttons dont work as the tablet is not rooted. Im wondering whether to forget rooting altogether or go back to 5.0
[Nexus 7 Android Development] mbrich:
Yes, I just did this last night. I had to uninstall and reinstall my ADB drivers, but yes, I unlocked the tablet and rooted it with the toolkit and it all went smoothly. I would recommend starting from the driver uninstall and reinstall, takes longer, but starting fresh could help. Then make sure you unlock, as flashing stock would likely have relocked the bootloader.

Side note:

Now if I could just figure out how to make my root folders bigger to move some apps into System/App (or priv-app) folder. My research shall continue.
[Nexus 7 Android Development] WugFresh:
Glad it works for you. For clarification:

1. Reinstalling drivers shouldn't do anything, unless they were never configured properly to begin with.

2. Flashing stock does not relock the bootloader.

I would recommend switching USB ports if a user is experiencing issues with the root script.
[Nexus 7 Android Development] cronugs:
Have done some searching and can't find an answer anywhere.

Does NRT support the LTE variant of the Nexus 9

Thanks for your hard dev work and the effort you put into supporting your tools.
[Nexus 7 Android Development] da213:
Nexus 7 2013 LTE not listed in the tool kit device lists

Can somebody help me please? I have ASUS nexus 7 2013 tablet, it has sim card slot too, and build number is KTU84P. I cant find it in the nexus tools list of models and build. Could the developer please include this build as well? so that I can use your tool kits. Android version running in the device is 4.4.4 and based version DEB-G00_2.42.0_1204 AND KERNEL VERSION IS 3.4.0-G03485a6. I want to do back up and root this device and give a custom rom for it. Help would be appreciated.
[Nexus 7 Android Development] bovirus:
Yoru model is: Asus Nexus 7 [2013] (Mobile) alias "razorg" and should be supported.
[Nexus 7 Android Development] bovirus:
Available TWRP recovery 2.8.4.1 for grouper.
[Nexus 7 Android Development] WugFresh:
Have you tried hitting update in the kit.
[Nexus 7 Android Development] bovirus:
Of course available TWRP 2.8,.4.0 or 2.8.4.1 for all theese nexus device

TWRP for Nexus 10 [manta]

TWRP for Nexus 4 [mako]

TWRP for Nexus 5 [hammerhead]

TWRP for Nexus 6 [shamu]

TWRP for Nexus 7 [grouper]

TWRP for Nexus 7 2013 LTE [deb]
[Nexus 7 Android Development] nostrada_:
It's not just you! http://www.wugfresh.com looks down from here.

Any problems with the site?
[Nexus 7 Android Development] WugFresh:
How long was it down for you today? I was MIA, I am on a snowboarding trip and have limited service. It's up for me now.

{{ WugFresh }}
[Nexus 7 Android Development] nostrada_:
Not for long, but not certain when it came back up.
[Nexus 7 Android Development] xXblastingXx:
I keep having this problem with drivers.... I unlocked the 2012 version Wug and since the new update I can't be able to connect the tablet after the bootloader trying to push root.. It say device won't connect...waiting for device.. Meaning its just there on bootloader mode.I test out the driver's and it connects to the computer... I uninstalled the driver and installed them. Back and test out the driver's and connects... When I go to uninstall the 18d something I check it again after I try to root the tablet its still there or it manifested again once I connect the tablet back to computer... It's like loading new drivers instead of using the driver recommended by the guide to configure the driver to root and unlock.. Can you get back at me with this

.. I tried I checking mtp and using myp just to root but no answer... It's like everytime I connect the tablet it automatic installs the driver from tablet like stock if you never knew about rooting and just connect it to the computer... I will try other

ways brb..

?
[Nexus 7 Android Development] WugFresh:
I agree with you entirely about drivers and windows. I know this all too well (been helping people and dealing with windows all my life). I guess my issue was the way it was phrased like "the solution is to reinstall drivers" - which (in my mind) implies all users should reinstall drivers to fix XYZ problem, which isn't the case.

I just perceive it as a standard troubleshooting step if things are being wonky. Really just a phrasing thing, and maybe my own bias because I deal with this so much.

Sure about busybox, will add to the to do list. I am on a snowboarding road trip right now but I have my laptop. I will try to sneak in some code while I am not on the slopes. :)
[Nexus 7 Android Development] winamp26:
hi

is enough for no force encryption only flash no_force_encryption kernel(n6 & n9) with fastboot?:)
[Nexus 7 Android Development] WugFresh:
Then you have to wipe/format userdata.
[Nexus 7 Android Development] winamp26:
Is problem format data with wipe data in twrp?
[Nexus 7 Android Development] TToTT:
Yeah, I'm sometimes a stickler for how things are worded too... No worries bud. ;)

Best of wishes on your snowboarding excursion! May the powder be fresh and the temp be pleasant! :) If you ever get the chance to hit the slopes of Midwestern states like MT or UT, take the plunge... Some of the best snow on Earth...

Mahalo!
[Nexus 7 Android Development] wtherrell:
I have never, nor do I ever hope to, ski intentionally, except behind a boat.
[Nexus 7 Android Development] TToTT:
LMAO... To each their own, man... We all have our little quirks, some more risqué than others... But I'll say this; as long as you enjoy, there's no reason to not push the envelope some. Well, baring the legality of it... :P

Cheers.
[Nexus 7 Android Development] Lachaine:
Jam in boot try to get back from 5.0.2 to 4.4.4

Hi

I try to get back to 4.4.4 after trying the 5.0.2

5.0.2 was slow, full of lag, so I try flash stock + root with 4.4.4 and no wipe, force flash, post flash reset.

Result I am jam with the 4 round color, for 20 minutes now.

Yesterday I try the same thing with the same result, I am able to get back to 5.0.2

Only clue I have is an message when pushing the file

'writing 'bootloader'

failed remote; invalidestate

Help I hate so much 5.0.2 that I want to stay with 4.4.4

Also I want to stop ota, 5.0.2 update what is the best way?
[Nexus 7 Android Development] bovirus:
I had some problems with my home pc to use NRT 2.0.2 with Asus Nexus7 2012 Wifi (Impossible to contact update server - Download file mismatch). The connection is OK but NRT report theese errors.

The Asus has Android 5.0.2 and is rooted.

I want just to update manually TWRP to versione 2.8.4.1 (I downloaded the .blob file from TWRP site and rename it to recovery.img).

Which is the adb command to flash the recovery after I reboot the tablet in bootloader mode?

Thanks.
[Nexus 7 Android Development] hazwheel:
Have you tried going to recovery and wiping the cache? Might boot then [emoji6]
[Nexus 7 Android Development] Lachaine:
Cache was erase each time
[Nexus 7 Android Development] pkelly517:
Please make sure you are pulling the correct KK images for your device. There are 4 versions of the N7.

Other than that, I don't know.
[Nexus 7 Android Development] Lachaine:
There is only one for my nexus, ktu84p, 4.4.4 Nexus 2012 wi-fi 16g
[Nexus 7 Android Development] FlyOnTheWall43:
This worked for me after re-flashing Stock 2-3 times and factory data resetting each time. Every time my 32gb Nexus 7 showed 8gb in the settings. This command got me my 24gb back! Thanks WugFresh!
[Nexus 7 Android Development] Toronadian:
Alright, so today my Nexus 4 finally for the OTA update for Lollipop so I attempted to make the entire phone stock again first (back to stock 4.4.4) before I accepted the OTA update. I flashed the stock recovery and stock radio just fine, but then when trying to flash the stock kernel, the toolkit said the hash was a mismatch. I tried to download the stock kernel manually, and then apply it through that way, it still said the hash was a mismatch. I ended up ultimately just flashing the stock kernel as if it was a custom kernel (through the flash kernel option but choosing the stock kernel file instead of the "flash stock kernel" option). After that, I tried to accept the OTA update but it failed on me. Is if there is anyway to fix the hash mismatch issue?