yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Android Development] WugFresh:
So I looked into that encrypted stuff. In the next release I am going to make the no-force encrypted modification a user option, so this feature is integrated. For those of you who are impatient, here are no-force encrypt boot.imgs that also have the root kernel modification:

root_kernel_volantis_lrx21l_noforce_encrypt.img

root_kernel_volantis_lrx21q_noforce_encrypt.img

root_kernel_volantis_lrx21r_noforce_encrypt.img

Credits to the original dev (bbedward) for figuring out the no-force encryption stuff.

{{ WugFresh }}
[Nexus 9 Android Development] prdog1:
Root kernel patch is obsolete as of release of SU 2.27 today. For now anyway. lol :cool:
[Nexus 9 Android Development] WugFresh:
2.27 is not yet considered stable, so I figured I would make these for the time being. Once that zygote method becomes the standard, I will most definitely adopt that non-kernel mod approach.

And yes.. if that works, its going to get patched so quickly.. lol

{{ WugFresh }}
[Nexus 9 Android Development] prdog1:
I see it getting patched pretty quickly. Haven't seen any bug reports on the method yet. Working perfectly on the N9 for all the root apps we have been able to throw at it. :cool:
[Nexus 9 Android Development] WugFresh:
Excellent, good info. Thank you. I can say farewell to some of my scripts ;)

{{ WugFresh }}
[Nexus 9 Android Development] prdog1:
Have you tried or even found out if the full factory image will flash from the toolkit. It won't from the flash-all bat. Looks like a script problem in Factory zip. :cool:
[Nexus 9 Android Development] WugFresh:
My tool doesn't rely on the flash-all bat except to check if it issues fastboot erase commands in the beginning. Instead it parses the extracted Dir, recognizes the files and dynamically works with my flashstock.bat.

If you enable "force flash mode" in the toolkits options menu, it won't issue the fasboot -w cmd, but rather extract that zip further and flash the imgs individually.

If there are problems with Google's pack - force flash mode is recommended. Enable it in the toolkits main options menu.
[Nexus 9 Android Development] prdog1:
That would work as that is basically what we have to do. The factory system.img won't unpack in parts when ran from the script. If fastboot flash the single image it will unpack and install a section at a time so it fits the allocated temp section. :cool:.
[Nexus 9 Android Development] venture007:
Thanks mate

Brilliant mate thanks :) Pint will be on its way to you soon
[Nexus 9 Android Development] auggie246:
for some reason, I can't unlock my bootloader, I reboot to bootloader and go thru the unlock script, all it does it reboot my n9
[Nexus 9 Android Development] WugFresh:
Enable "Enable OEM unlock" in developer options on your device first. Will include this info in next version.
[Nexus 9 Android Development] luiscortes:
Thanks for this great and wonderful tool. I've been using it since Galaxy Nexus days and glad to see that it's still remains king in my list of go to tools.
[Nexus 9 Android Development] wigginst:
Worked like a charm! Thanks!
[Nexus 9 Android Development] WugFresh:
v1.9.9 is live. :)

Wish you all a happy turkey day.

{{ WugFresh }}
[Nexus 9 Android Development] MRobbo80:
Lol thanks dude ?
[Nexus 9 Android Development] _Infamous_:
When trying to unroot and restore it will go through the process and say all the codes that's its doing it job then it will say will take 5-10 to reboot but it just sits at fastboot screen then I will reboot and it still has all my apps and settings and has done nothing at all.
[Nexus 9 Android Development] snipe2nite:
Just so you know that I know, you really are 2nd2none, your work is TopNotch!!!!!! Much respect my dude, ALWAYS on time never late to the party. :beer: :beer:

Sent from my Nexus 9
[Nexus 9 Android Development] Scotlac:
I'm having a similar issue. It looks like it runs through all the correct processes but on reboot it has not wiped anything and SuperSU is still present.
[Nexus 9 Android Development] mdpatterson:
using the NRT to unencrypt my N9. used it on my n6 earlier and it went flawless. For some reason, it's not working on the N9. all it does is basically reboot. I tried to do it manually. no go. followed the instructions, when i try and do a format user data through NRT, it doesn't do it. but again it works fine on the N6. Im not even sure its properly flashing the kernel(no encrypt) that it says it is. the toolkit says it all went perfect.....but it lies. I love NRT, greatest thing that ever happened to nexus, but this one has me stumped. probably cause im a noob. whatever. Will try a couple of other things. So, i went the NRT route, no go, flashed it through the fastboot flash tool in NRT, then did the format userdata too in NRT, no go, am trying one more method that I tried with the N6 that didn't work but I had progress with, who knows. thanks ahead of time for anyone who helps out.
[Nexus 9 Android Development] Alix8821:
5.0.1 available thru this yet? No rush, JW

EDIT: NVM, it is. Should've looked first! Haha. My bad
[Nexus 9 Android Development] mdpatterson:
I even flashed stock and unrooted (stock to 5.0.1) and then went back and immediately tried to use the no encrypt option, and nothing happened. it went through the process and said it worked but as soon as it booted, my notifications from my account all popped up so I knew instantly there wasn't actually any user data formatted. sure enough not here is the live log in a text file on this post and a screen shot of tablet details.
[Nexus 9 Android Development] WugFresh:
Hit me up on google hangouts chat when you get a chance. Would like to troubleshoot. Seems strange.

{{ WugFresh }}
[Nexus 9 Android Development] WugFresh:
So we figured out that the 'fastboot format usedata' cmd wasn't working, but rather returning an error that it can't run on f2fs filesystem. After flashing the no-force encrypt boot.img, a fastboot erase userdata did the trick. I will code this fix into v2.0.0

{{ WugFresh }}
[Nexus 9 Android Development] Migamix:
that one line just summed up a waste of 2 hours for me, im now unecrypted the way i want MY device to be

i had to write my own script to force a full unencrypted factory image for now, i could not get it to work with the format command either. but this was my fix also until we get the whole non encrypt mess into google's head or we can reset without fear of being encrypted by default. (which does cause me some issues with apps, and i dont keep data on the device that the NSA could wackoff with.

it does exactly what your program does, just not as nicely. im just hoping my next step of using your app to root and install recovery, doesnt do what it did before and re encrypt me. here is hoping. (yay, not encrypted this time) :good:

also, could be get an option to start root and recovery flashing if already in fastboot
[Nexus 9 Android Development] CerB:
is there a easy way to flash 5.0.1 with this ?

cant seam to find anything in the program :) was looking for a press here to upgrade sign :)
[Nexus 9 Android Development] Migamix:
it will handle the flash to 501, the decryption function will have to be done manually, see above posts.
[Nexus 9 Android Development] Lw00d:
Wug are you going to add the cache button under FASTBOOT FLASH??
[Nexus 9 Android Development] WugFresh:
Yes. I will add that.

{{ WugFresh }}
[Nexus 9 Android Development] clozecall:
As usual great work Wugfresh. Made a couple of videos to ease the process for some people.

Nexus 9 Easy Root + Unlock Bootloader + Custom Recovery

[YOUTUBE]2iDxhUbeGeM[/YOUTUBE]

Nexus 9 Easy Relock Bootloader + Unroot + Stock Recovery

[YOUTUBE]B-8uwo88nRw[/YOUTUBE]
[Nexus 9 Android Development] chevchelios:
Thanks for this great tool Wug!

Question: how do I load the 5.0.1. update with your tool? What steps do I need to follow and what buttons do I need to click? :).

Will it wipe the device btw?

Thanks in advance!
[Nexus 9 Android Development] WugFresh:
Toolkit options, enable No Wipe mode. "Flash Stock + Unroot" button.
[Nexus 9 Android Development] WugFresh:
Site is temp down. For mirrors: https://plus.google.com/113329792100896065459/posts/cTJeV68ChFJ

{{ WugFresh }}
[Nexus 9 Android Development] mptpro:
Am I right in assuming that this works only for the WiFi version?

I have the N9 LTE (got it today!) and wanted to root before setting it up, but I didn't see the option in the list of your toolkit (thanks by the way, used your tool for N5 & N6).
[Nexus 9 Android Development] WugFresh:
Correct. I am waiting for TWRP to be available.

You could use it now to unlock though, which will save you the trouble of data wiping later.
[Nexus 9 Android Development] mptpro:
Thanks. Just select the WiFi version in the initial settings of the toolkit, then unlock?

Thanks again

edit: I tried and I think it worked, however the unlocked icon doesn't show up under the Google on the bootup screen. When I boot into bootloader it DOES say device unlocked. Is it normal for the N9 not to show the unlock icon?
[Nexus 9 Android Development] Migamix:
yes it is, some feel that was removed so thieves would not see "hey I'm unlocked, steal me please" on boot
[Nexus 9 Android Development] 80centjack:
Do you have any plans to update this so it works for updating OTAs for rooted users? I bought my tablet yesterday and rooted right away, but now I can't update. I've found some threads discussion methods beyond my technical ability, so I was hoping that this tool might help out.
[Nexus 9 Android Development] prdog1:
Can't be done. Have to go back to full stock before update. OTA checks for modded files and denies update. :cool:
[Nexus 9 Android Development] LanderN:
Can someone tell me if this procedure will root my nexus 9 without losing my data?

Backup -> Unlock -> Root -> Restore

Thanks!
[Nexus 9 Android Development] oscillot:
Unlock forces a factory reset. Back it up first.
[Nexus 9 Android Development] Lw00d:
wug will this flash the new twrp 2.8.3.0 ??
[Nexus 9 Android Development] blakeslee14:
glad to see this for the nexus 9. great work!

edit: everything worked fine when flashing.
[Nexus 9 Android Development] oniemjan:
Yep, it did... ?
[Nexus 9 Android Development] ShaunWinSC:
Is there and estimate when new version will be released with the fix for removing encryption on the Nexus 9?
[Nexus 9 Android Development] Migamix:
have a look at post #45, open a command window in NRT,type in the fix you see in that post, have it do a clean install/factory restore. then do a factory reset in Hboot. you should be golden after that.. there are times when we have to get our hands dirty.
[Nexus 9 Android Development] ShaunWinSC:
Thanks for the info but I have already read that post and tried it. Ended in a nasty bootloop :(
[Nexus 9 Android Development] xtcdk:
Same here . bootllop into twrp . how did you fixed that

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Android Development] ShaunWinSC:
Got the tablet into recovery mode and had to force flash factory Lollipop. Are you able to get into recovery?
[Nexus 9 Android Development] xtcdk:
Twrp just blinks over and over

Dirty Unicorns /Uber / Beanstalk Yuga adm.

---------- Post added at 04:54 PM ---------- Previous post was at 04:51 PM ----------

I flashed stock google images but it just bootloops to twrp . hmm

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Android Development] ShaunWinSC:
I felt your pain, exact same thing for me. You need to do a hard factory reset. This may help https://www.youtube.com/watch?v=DuuSTnbQSlM

If this doesn't help I can give you the details on the way I did it.
[Nexus 9 Android Development] xtcdk:
Got i back to life

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Android Development] ShaunWinSC:
Awesome! No we need to get the encryption turned off.
[Nexus 9 Android Development] xtcdk:
I got i turned off now [emoji3]

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Android Development] ShaunWinSC:
how did you do it?
[Nexus 9 Android Development] xtcdk:
i was in a bootloop. so first wiped everything

downloaded factory image and flashed that

root / and custom recovery with NRT

fastboot flash boot bootnoincypted.img

fastboot erase userdata

and then did a factory reset

then restorede data / cache in twrp . Works fine now
[Nexus 9 Android Development] tyvar1:
Will you update this so you use SuperSU v2.44? :)
[Nexus 9 Android Development] tyvar1:
Thank you for the update! :D
[Nexus 9 Android Development] jmcging:
Not sure if I can use this on my N9 LTE because it does not come up on the list of devices.
[Nexus 9 Android Development] metalb00:
Works On LTE

I can verify this works to unlock and root my Nexus 9 32gig LTE from tmobile :good::good:

I did not flash a recovery yet
[Nexus 9 Android Development] mptpro:
I've unlocked and rooted using NRT. But now I want to un-encrypt. If I use the tool / advanced utiliiees / Flashbook Kernel, will this wipe my device? Or, can I do this and safely retain my data and settings?

thanks
[Nexus 9 Android Development] v12xke:
Yes it does work but you have to select a Wi-Fi model (volantis). There is currently no option to select the LTE model, (volantisg). To reflash stock, I had to d/l the (volantisg) image from Google and rename it, pointing NRT to use that ROM instead. Guessing we'll have full LTE support for the N9 soon. TWRP recovery is working great with the LTE model.
[Nexus 9 Android Development] WugFresh:
Yes. Thank you for feedback. I will get LTE added later tonight.
[Nexus 9 Android Development] WugFresh:
Tester needed

Could use help testing something for N9 LTE. Please hit me up via google hangout chats if you are available wugfresh @ gmai...

(Should only take 5 min)

Thank you.

{{ WugFresh }}
[Nexus 9 Android Development] hill67:
Hi there,

I tried to go back to stock using version 2.0.2. of the toolkit but when i hit the flash button it opens the script in wordpad and that's it. It doesn't flash the stock firmware.

What to do?
[Nexus 9 Android Development] v12xke:
Nexus 9 LTE model added. Woot!
[Nexus 9 Android Development] Lw00d:
wug .. there is something wrong with flash stock+ unroot.. on 2.0.2

i check force it goes thro the process in the command window. i press any key to finish. my tablet is still the same. it does not do anything to my tablet.

i have done it with 1.9.9 B4..
[Nexus 9 Android Development] WugFresh:
Make sure your device has an unlocked bootloader, and next time post a screenshot. There is nothing wrong with that script.
[Nexus 9 Android Development] Lw00d:
thats exactly why i was using your tool kit.. to flash to stock + unroot. then to lock bootloader.

was i suppose to check another feature other then force flash?
[Nexus 9 Android Development] mptpro:
anyone?
[Nexus 9 Android Development] WugFresh:
Decrypting requires a data wipe, because your current data partition is encrypted. Once the force-encryption setting is disabled (by flashing that kernel) a wipe is required to actually decrypt.

{{ WugFresh }}
[Nexus 9 Android Development] Phantom Pt. II:
[deleted]
[Nexus 9 Android Development] WugFresh:
Just a heads up N9 users. The latest 5.0.2 packs that were just released don't contain a userdata.img - seems Google forgot or something. NRT will say its booting up your device but remain in bootloader, just hit the power button to boot it up manually at that point.

The next release of NRT will accommodate for a missing userdata.img so this isn't necessary.
[Nexus 9 Android Development] Fadakar:
I literally just came here to report this. Just as a heads up, the decrypted image I'm guessing was for 5.0.1, and it worked, but now we have this, not that we'll need it for long.
[Nexus 9 Android Development] WugFresh:
No, the decrypt img was for 5.0.2. I have been making all the ones in NRT myself, no need to link me to another thread, the modification is trivial and fully automated on my end when I add builds.
[Nexus 9 Android Development] Fadakar:
I just assumed with the userdata issue that you didn't have it updated for 5.0.2, my mistake!
[Nexus 9 Android Development] WugFresh:
No worries, was just clarifying. :)
[Nexus 9 Android Development] lept_2014:
There aren't any Factory Image for N9 with 'userdata.img'. You only have these files: boot.img | cache.img | recovery.img | system.img | vendor.img (and the bootloader).
[Nexus 9 Android Development] Dime-Baggins:
Is 5.1.1 in the toolkit yet? =)
[Nexus 9 Android Development] WugFresh:
Just added it moments ago. May take a few minutes to get the new lists.
[Nexus 9 Android Development] Dime-Baggins:
Stoked, thanks! I flashed the image about 3 times like I did with all the others and it looks like it finishes successfully but when it says it should be rebooting (wait 5-10 minutes) its still in fastboot mode and I have to reboot it manually. After this it just sits on the Google screen forever. Any thoughts?
[Nexus 9 Android Development] WugFresh:
This is to be expected on N9 with the current NRT. I didn't realize that google doesn't include userdata.img for N9, so the script is not getting to the fastboot reboot cmd. This will be fixed in the next release among other things, just hit the power button at that point.
[Nexus 9 Android Development] Lixtek:
update stuck

Hi,

I have the same problem. My update (unroot and sideload attemps) is stuck at the google logo. It doesn´t boot up.

Lixte
[Nexus 9 Android Development] mjc2251:
Same issue here. I was running CM 12 and i attempted a unroot+stock and now im stuck at the Google screen and cannot boot. I can get to the boot loader, but that's it. I'm kinda lost here.

During the unroot+stock it failed at flashing the vendor.img and the system.img. Duno if that helps?

---------- Post added at 01:54 PM ---------- Previous post was at 01:47 PM ----------

This is the message im getting

Flash Stock + Unroot...

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

target reported max download size of 518205818 bytes

sending 'bootloader' (2915 KB)...

OKAY [ 0.234s]

writing 'bootloader'...

(bootloader) Device State : Unlocked

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[bct] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_preboot_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[hboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtbootwb0] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[tos] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[sp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[gp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[pt] unzipping & flashing...

(bootloader) ...... Successful

OKAY [ 5.231s]

finished. total time: 5.468s

rebooting into bootloader...

OKAY [ 0.022s]

finished. total time: 0.023s

target reported max download size of 518205818 bytes

sending 'boot' (7922 KB)...

FAILED (data transfer failure (Too many links))

finished. total time: 0.300s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 5.003s

sending 'cache' (6248 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.004s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 9.693s

sending 'recovery' (8572 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.003s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 5.004s

sending 'vendor' (144698 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.004s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 5.003s

error: cannot load 'C:\Program Files (x86)\WugFresh Development\data\Factory_Ima

ges\volantis-lmy47x-factory-3efdc8d4\image-volantis-lmy47x\system.img'
[Nexus 9 Android Development] WugFresh:
Enable force flash
[Nexus 9 Android Development] Dime-Baggins:
I had a problem where the NRT was hardlocking my pc and I had to do a hard-reboot everytime I tried to flash 5.1.1. Probably not NRT's fault though I am due for a reinstall. I switched to another pc and it went flawlessly.
[Nexus 9 Android Development] mjc2251:
I had Force Flash enabled. I just changed usb cables to the factory one...had to find it...and it worked. Crazy how that can make a difference. Thanks for the support, this is why i love this forum!
[Nexus 9 Android Development] lcsd:
Seems not working. Force Flash solved it for me.

---------- Post added at 01:58 AM ---------- Previous post was at 01:51 AM ----------

Great Tool! Tanks. Saved my day, week, month...
[Nexus 9 Android Development] mptpro:
Hmmm. I don't see it. I just see 5.0.2

UPDATE: I was looking for 5.1.1 for LTE which isn't available yet.
[Nexus 9 Android Development] Newblood:
Every time I try to install the 5.1.1 OTA on my Nexus 9 WiFi tablet it fails (currently on LRX22L). So Thought I would try the trusty NRT to sideload the update.

Nexus 9 is stock, locked (has never been unlocked). When I try to sideload the update it stops at 47% and states:

Verifying current system...

/dev/block/platform/sdhci-tegra.3/by-name/APP has been remounted R/W; reflash device to reenable OTA updates

E:Error in sideload/package.zip

(Status 7)

Installation Aborted.

Anyone have an idea on what's going on here?

I have my Nexus 6 unlocked and rooted, but kinda wanted to avoid doing it to my Nexus 9.

Thanks in advance.
[Nexus 9 Android Development] WugFresh:
Status 7 is usually a sign of modification that is preventing the flash. In this case its strange because you say your device is stock. Based on what happened though, unlocking and flashing stock is the solution.
[Nexus 9 Android Development] Newblood:
Thanks for the info.

Yeah bootloader still says locked. And I have never unlocked it.

I was doing a Google search about my issue and it doesn't seem like I'm the only one having the issue. But I haven't seen anyone say they have found a fix for it yet.

I was hoping to keep my Nexus 9 stock and my Nexus 6 unlocked, rooted and whatnot. One of each.
[Nexus 9 Android Development] WugFresh:
Unlocking and flashing stock still keeps it stock, and still allows OTA's. There is no reason to keep the bootloader locked.
[Nexus 9 Android Development] celkin:
Is anyone able to download this? is the link broken?

**Never mind, sorry. Its working now.***
[Nexus 9 Android Development] ChristianJay:
Unless of course you like to gamble with the device.... one small screw up and BLAM, THE END...
[Nexus 9 Android Development] Krayvon:
first and foremost this tool kicks ass and has saved me plenty of time with all my nexus devices so many thanks to OP and designers :)

i'm attempting to root and unlockbootloader on my n9, the script does its thing and from the computer pov it all looks good, however on the tablet itself it never granted me root, supersu never installed and i have no custom recovery. its like a phantom root and unlock bootloader lol

i'm on n9wifi/lte 32g 5.1.1 model and this is the first attempt at rooting it to give you a background.

am i doing something wrong or is this something on n9 itself that's causing this unusual issue. thanks in advance

EDIT: figured it out, silly mistake, forgot to check oem box :P
[Nexus 9 Android Development] WugFresh:
Hey Nexus 9 users, could use your help, only will take 1 min if you are in front your comp with your device: https://plus.google.com/113329792100896065459/posts/KUeqDfjPTVn

Cheers,

{{ WugFresh }}
[Nexus 9 Android Development] ChristianJay:
Make a habit out of checking it, easy way to brick if your unlucky.
[Nexus 9 Android Development] Krayvon:
link is dead?