yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] DowntownRDB:
Good morning all. Has anybody tried a restore using the new TWRP 3.1.0-0 yet? I'm trying one now but seems to be taking a super long time which is what prompted me to post here. 3.1 installed without issue and made a back-up without issue but I've never seen it take this long to restore a back-up.
[Nexus 9 Original Android Development] Bryanx86:
You describe very well
[Nexus 9 Original Android Development] _litz:
Fails on a fresh/factory reset N9 w/latest (June) update.

Asks for decryption password, like before ... so something's changed and the "decryption" fixes no longer work.
[Nexus 9 Original Android Development] dictionary:
Hmm? If it's a fresh factory reset device, you'll need to decrypt it again with twrp. You'll lose all your data on the device though. Just press cancel, then go to wipe. Then advanced, then wipe data. It'll ask you to type yes. Once done, you're decrypted. Then load up one of the files that removes encryption (while still in twrp) and flash it. Tada
[Nexus 9 Original Android Development] _litz:
Actually, after some experimentation, I found using the PIN as the password worked too ...
[Nexus 9 Original Android Development] dictionary:
Usually doesn't. Kudos on getting it working though.
[Nexus 9 Original Android Development] yanyan13588@gmail.com:
1234
[Nexus 9 Original Android Development] odjinan:
flashed 3.2.1-0 over 3.1.1-0 .. perfect ;)
[Nexus 9 Original Android Development] Gold Ribbed:
Not sure what has happened but after using twrp for ages something has gone wrong. Wipe, factory reset and restore functions will not work. Tried restoring latest Google stock and flashing twrp again but nothing changes. Any ideas what the problem is please?
[Nexus 9 Original Android Development] Technoolli:
TWRP 3.3.1.0 online : https://dl.twrp.me/flounder/
[Nexus 9 Original Android Development] gk1984:
Build date is 11 months ago
[Nexus 9 Original Android Development] mrshades812:
My nandroid backup is a little over 6 gigs... is this what everyone else is getting, or do I have some gremlins getting wet in one of my partitions?
[Nexus 9 Original Android Development] hill67:
I tried to flash TWRP but since then I can't boot anymore, i can't do a factory reset anymore. It don't matter what i do i alweys end up at the TWRP logo.

Any help would be very much appreciated!
[Nexus 9 Original Android Development] z31s1g:
Same here. Stock rom alone is 4gig, plus data partition. Compressed backup took 11 minutes to finish.
[Nexus 9 Original Android Development] CaspaTheGhost:
A theme you say...

Material like perhaps? ;)

5 and 9 would be sublime...
[Nexus 9 Original Android Development] Max128:
6GB ? wow.. Normally is 1GB - 1,5GB. Something is wrong.
[Nexus 9 Original Android Development] mrshades812:
Have you done a backup yet? If so, please share your results.

It does seem too large to me...
[Nexus 9 Original Android Development] Max128:
I made a backup now with the compression option with boot, system, data, and it gives me 4,1GB.

I find still this a little big, Its on my other devices on average is 2-3 GB.

EDIT: Finally is 2.4 GB my backup, This makes much more sense to me ..
[Nexus 9 Original Android Development] MRobbo80:
I have done a backup.

backup size was about 6.5gb, once compressed now 2.5gb, now on my otg drive.

Wow that's some compression! ?

Is that real 2.5gb?
[Nexus 9 Original Android Development] Max128:
yes is real , why not?

I've never seen a backup bigger than 3GB when is finish on my devices ..
[Nexus 9 Original Android Development] tyvar1:
Yeees! its finnaly here! :D thank you so much!
[Nexus 9 Original Android Development] USBhost:
time to test all f2fs
[Nexus 9 Original Android Development] Gormsen:
Yeeees!! Been waiting for this since I got the device.. Now let the games begin, and may the odds ever be in your favour ;)

Message has been Baconized
[Nexus 9 Original Android Development] USBhost:
+1

Note i hate that woman
[Nexus 9 Original Android Development] Max128:
When i have flash the only rom customs here for now i have find a bug. The installation of the ROM does not launch because is said for flounder,

I was forced to changed the updater-script and replace the flounder with volantis this:

( getprop("ro.product.device") == "volantis" || abort("This package is for "volantis" devices; )

And is working after..

I think this is a problem of the rom or problem with the signing of recovery, rom or recovery ?
[Nexus 9 Original Android Development] Dees_Troy:
Backups on this device are going to be much larger. The system partition is well over 2GB of actual data. The Nexus 9 is 64 bit and there's copies of almost every lib and binary in BOTH 64 bit and 32 bit form to better maintain compatibility with older apps. Further, the 64 bit libs and binaries are quite a bit larger than their 32 bit versions which accounts for much of the size increase on the Nexus 9 compared to other devices.
[Nexus 9 Original Android Development] WugFresh:
Thank you!

Thank you for N9 TWRP!

- One quick question. Any reason you chose to break your naming convention? In the past it has been:

openrecovery-twrp-2.8.2.1-XXXXX.img

where XXXXX=ro.product.device

So I thought it would be flounder instead of volantis (ro.product.name)?

Thanks again!

{{ WugFresh }}
[Nexus 9 Original Android Development] Max128:
Like a said above, For my part I was forced to change the rom of flounder with volantis.. for flashing in recovery.
[Nexus 9 Original Android Development] USBhost:
run_program("/sbin/mkfs.f2fs", "/dev/block/platform/sdhci-tegra.3/by-name/CAC");

Does not work

What am I doing wrong?
[Nexus 9 Original Android Development] ryencoke:
Flashed it no problem. Now to take a backup
[Nexus 9 Original Android Development] BennyJr:
So if we have a kernel, say ElementalX, could we just flash SuperSU, since the kernel supports root?
[Nexus 9 Original Android Development] USBhost:
Yes

Well i think so
[Nexus 9 Original Android Development] mk92595:
Do I have to wipe to get into TWRP? Already flashed but it keeps asking for a password
[Nexus 9 Original Android Development] craigacgomez:
[MENTION=912474]Dees_Troy[/MENTION] why do you have ro.product.device=volantis instead of ro.product.device=flounder? Even looking at the stock ROM ro.product.device=flounder so even stock OTAs will fail the assert check.
[Nexus 9 Original Android Development] tharindunw:
Not working on Sm-g900f
[Nexus 9 Original Android Development] craigacgomez:
Err... This is the Nexus 9 forum. Not the Galaxy S5 forum...
[Nexus 9 Original Android Development] tharindunw:
Sorry [emoji6] [emoji38] [emoji38]
[Nexus 9 Original Android Development] mk92595:
It keeps asking for a password! default_password does not work
[Nexus 9 Original Android Development] Tapek-AU:
The app linked in op crashes whenever I do anything related to installing recovery. Will try flashify.
[Nexus 9 Original Android Development] D-m-x:
Just use Fastboot. 3 Commands and you are done, and 2 of them are to reboot the device, it's not that hard and most of all safer since most apps seem to be not optimized for 5.0
[Nexus 9 Original Android Development] nrage23:
The TWRP app nor Flashify work for installing TWRP on the Nexus 9. Use Fastboot. It is the safest way anyhow.
[Nexus 9 Original Android Development] Tapek-AU:
Flashify ended up working...does it not install properly or something? seems ok so far
[Nexus 9 Original Android Development] dowenprs:
Flashify was just updated yesterday to work on L, had been incompatible before, works great now though.
[Nexus 9 Original Android Development] jthm23:
[MENTION=4808872]mk92595[/MENTION] : remove all screen lock settings ( set it to none or Swipe screen ) reboot into recovery and voilà : no more password.
[Nexus 9 Original Android Development] buffal0b1ll:
aromafm doesn't seem to be supported. Are there plans to add?
[Nexus 9 Original Android Development] jd1639:
Do you have a pin lock screen? Use that as your password. If you have a pattern lock screen I think you're sol.
[Nexus 9 Original Android Development] guyd:
Quoted from the OP

Note: At this time we do not have a GUI representation for pattern unlock.

You can still decrypt patterns though by translating the pattern dots to numbers.

The pattern dots correspond to numbers in the following pattern:

1 2 3

4 5 6

7 8 9

So an upper-case L would translate to a password of 14789 entered on the keyboard.

Eventually we plan to add a proper pattern unlock to TWRP but it is a relatively low priority at this point.
[Nexus 9 Original Android Development] z31s1g:
I'm quite certain that's related to the theme. I'll look into that as well.
[Nexus 9 Original Android Development] thebrainkafka:
Stll looking for a flashable ZIP

Thx
[Nexus 9 Original Android Development] demkantor:
Its unlikely you can flash twrp through stock recovery as it has SIG checks

Besides fastboot is always the safest method to flash firmware including recoveries
[Nexus 9 Original Android Development] hill67:
Anyone? I tried to flash a factory image but in the end i got the message that there was no boot.img???

After a reboot i only see the words Google and after that it's again stuck at the flashing teamwin logo????

I can enter the fastboot menu
[Nexus 9 Original Android Development] jd1639:
I would download the twrp recovery image again and flash it in fastboot
[Nexus 9 Original Android Development] demkantor:
Double check md5sum for match

fastboot erase recovery

fastboot flash recovery nameofrecovery.img

fastboot reboot-bootloader

Now select recovery
[Nexus 9 Original Android Development] thebrainkafka:
Where did twrp save backups?
[Nexus 9 Original Android Development] jd1639:
/sdcard/BACKUPS/your serial number/

Or look in /data/media/0
[Nexus 9 Original Android Development] pantmunu:
If u flashed your recovery via flashify .. that might happen. Your system is wiped unfortunley. Thats what happened to . Had to flash the rom manually. Or.if u have a backup just reatore it . And flash the recovery via adb
[Nexus 9 Original Android Development] tyea:
I don't have to root to get the recovery to stick do I? I flashed with fast boot, but didn't erase recovery prior to that. Is that my problem for the custom recovery not sticking?
[Nexus 9 Original Android Development] USBhost:
ok guys i did some edting to twrp

i fixed the flounder problem

also made it look a bit better

https://s.basketbuild.com/devs/USBhost/Nexus 9/recovery/
[Nexus 9 Original Android Development] jlokos:
I flashed the update today with flashify which was updated yesterday. I successfully flashed TWRP 2.8.2.1 and rebooted to recovery with no issues.

---------- Post added at 05:11 PM ---------- Previous post was at 05:08 PM ----------

Excellent. thank you. I'll give it a whirl when I get the chance. This will allow me to flash lollipopollooza without doing any editing.
[Nexus 9 Original Android Development] USBhost:
yep
[Nexus 9 Original Android Development] pantmunu:
They might have updated again. And he might have flashed an earlier version . Not sure. But i was on the aosp rom whn that happend to me after flashing via flashify .
[Nexus 9 Original Android Development] jlokos:
I'm running flashify 1.8; I also updated to the new SuperSU Beta. So, I don't know if either or both might have solved the issue, assuming it was solved as I'm on the stock rom. It might be a question to address with aosp developer. I'll be cautious in updating TWRP with flashify after I flash the aosp rom.
[Nexus 9 Original Android Development] USBhost:
You can also do this

su -c dd if=location of recovery of=/dev/block/platform/sdhci-tegra.3/by-name/SOS
[Nexus 9 Original Android Development] buffal0b1ll:
I was wrong about aromafm not working. It works fine. I had forgotten to tick the Theme Setting>Use Aroma File Mangler. [MENTION=2719389]z31s1g[/MENTION]
[Nexus 9 Original Android Development] vomer:
worked thanks :)
[Nexus 9 Original Android Development] oRAirwolf:
Thanks for fixing the issue with flashing custom roms [MENTION=5501864]USBhost[/MENTION].
[Nexus 9 Original Android Development] USBhost:
ok guys new version

hopefully fixed the format problem that always encrypts data

and its running the FIRE-ICE kernel R10

https://s.basketbuild.com/devs/USBhost/Nexus 9/recovery/
[Nexus 9 Original Android Development] tyvar1:
Thank you so much for TWRP for the nexus 9 just wondering if you will fix flounder problem :)

(Using USBHost version atm :) )
[Nexus 9 Original Android Development] Skid71:
For my own clarification purposes... the linked recovery above is for encryption issues while using Fire-Ice? If this is the case, may as well use it as I would like to try other kernels as well.
[Nexus 9 Original Android Development] USBhost:
Well the recovery only needed a ramdisk change

But i thought it would be cool having a custom Kernel in a recovery

So i put it in

But if you guys don't like it then I will use the stock kernel
[Nexus 9 Original Android Development] Skid71:
[MENTION=5501864]USBhost[/MENTION]

As a first time Nexus owner, I'm trying to educate myself on fastboot/adb.

I would like to keep everything separate ie; kernel, recovery, etc. Please excuse my ignorance on this.

Can I still use your modified TWRP (device identifier change) if wanting to try stock, fire-ice, and elemental kernels?

Thank you
[Nexus 9 Original Android Development] fhem:
Any themes working on N9???????
[Nexus 9 Original Android Development] Pure Drive GT:
Decryption

So what exactly are the merits of a decrypted device? Has anybody expirienced anything to be "better". Is there a way for me to check the decryption status afer flashing TWRP?
[Nexus 9 Original Android Development] jd1639:
I didn't notice any difference. I'm back to an encrypted device. Go to setting, security to check encryption status. Oh, one thing I did notice is when I flashed back to stock encrypted I did not use fastboot -w. I now don't have to supply a pin in twrp. That's a plus
[Nexus 9 Original Android Development] nrage23:
Decrypted should be faster with memory reads and writes.

http://www.anandtech.com/show/8725/encryption-and-storage-performance-in-android-50-lollipop
[Nexus 9 Original Android Development] z31s1g:
All. But they don't fill the screen.

I've already started working on a N9 version. But I'm currently enjoying a few days afk. Expect the release towards Christmas.
[Nexus 9 Original Android Development] techiedj:
Sooo, tried to use TWRP Manager to flash TWRP Recovery from stock, failed, errored out crashed before even rebooting. Decided to flash through fastboot and now im in a TWRP recovery bootloop. /sigh Still encrypted (do have pattern "pin" lock) and it decrypts and updates partition but loops on reboot. And Elemental .07 kernel.

Edit: Got it revived by Flashing Elemental .08 in TWRP that I already had downloaded on the N9 and also wiping dalvik/cache.
[Nexus 9 Original Android Development] Skid71:
Erased then flashed recovery via fastboot. Then reboot recovery. I get the little dead android saying no command. I press power and volume up and nothing happens. Can anyone tell me where I went wrong?

This was done after unlocking and a reboot.
[Nexus 9 Original Android Development] jd1639:
Press power then vol up, then release power up. Should get you into the recovery
[Nexus 9 Original Android Development] Skid71:
Release power or volume up?
[Nexus 9 Original Android Development] jd1639:
Vol up
[Nexus 9 Original Android Development] Skid71:
Weird

I boot into recovery and I think it's the stock recovery.

I think I flashed USBhost's recovery_fixed.img.

I'm at a loss as to what I'm doing wrong.
[Nexus 9 Original Android Development] demkantor:
Maybe this may help

http://xdaforums.com/showthread.php?t=2277112

If you're still stuck be sure to post all input/output from terminal/cmd here
[Nexus 9 Original Android Development] Skid71:
It's a funny coincidence you replied as I was reading your guide. The .img file is in the same folder I start the command line from. The output reads just like the picture in your guide

At this point I'm wondering if the recovery_fixed.img is supposed to look like stock/aosp and not like TWRP.

Feeling rather ignorant right now

Appreciate your help and I'll give it another go in the morning and post the output.

Many thanks
[Nexus 9 Original Android Development] Skid71:
Happy Thanksgiving all

Here is a copy of the command prompt. Please advise if I'm doing this wrong.
[Nexus 9 Original Android Development] demkantor:
everything looks good there

so its just the recovery you are flashing, im using the twrp from

http://techerrata.com/browse/twrp2/volantis

but i havent tried the 'fixed' one yet to see if i need it
[Nexus 9 Original Android Development] buffalo_guy:
Where are the TWRP backup files?

I successfully backed up with the latest twrp. I went to find the files and they are no longer on the sd card. I found them on /data/media/0/TWRP. I want to backup the directory to the PC to use on another Nexus 9. Using a file explorer there is an entry on the sd card called TWRP with a question mark. Is this a change to how TWRP works? Thanks,

Steve

Edit - RE flashed TWRP and it is now working. I did learn that /data/media/0/TWRP. is the correct path for the Sd card. After the reflash files are now there.
[Nexus 9 Original Android Development] Skid71:
Very strange. I also flashed TWRP 2.8.2.1 with the same result. The only thing I've done since receiving the N9 was OEM unlock. No root, no ROM, just unlock. Feel like I'm missing something obvious.
[Nexus 9 Original Android Development] demkantor:
Yes, something is indeed strange, you don't need root or anything to flash a new recovery just an unlocked bootloader

Try this

fastboot boot nameofrecovery.img

Use either twrp image and it should auto boot you to it
[Nexus 9 Original Android Development] Skid71:
demknator,

Just want to offer my humble thanks for helping me with this... especially on Thanksgiving.

That being said,

Following your instructions has resulted in:

The N9 has now booted into TWRP (USBhost's recovery_fixed.img)

I am not proceeding from this point.
[Nexus 9 Original Android Development] demkantor:
No problem I'm the only one who smokes at my get together today so I have 5min here and there to jump in help!

So the issue is the recovery doesn't want to flash but will boot just fine... Maybe there is something new in the way lollipop is set up that you need root for a recovery.... I'll need to look into this
[Nexus 9 Original Android Development] Skid71:
I appreciate it.

To rule out user error, which could be the case since I'm just now learning adb/fastboot, here are the steps I have taken in an attempt to flash both TWRP recoveries.

I'm using Minimal ADB & Fastboot from shimp208

With N9 connected via usb

Open command prompt by double clicking desktop shortcut

adb devices to ensure communication

adb reboot bootloader

fastboot flash recovery recovery_fixed.img (also tried openrecovery-twrp-2.8.2.1-volantis.img)

fastboot reboot

after reboot

open command prompt again

adb devices

adb reboot recovery

press power +vol up

stock recovery then appears
[Nexus 9 Original Android Development] demkantor:
Try instead to flash the recovery and then just toggle to recovery from the bootloader without rebooting first, there could be something with the recovery being overwritten to stock once booted to os
[Nexus 9 Original Android Development] Skid71:
So confounding.

Flashed recovery but there is no option in bootloader to go into recovery.

Here are my options in bootloader after flashing recovery image:

HBOOT

REBOOT

REBOOT FASTBOOT

POWER DOWN

It couldn't have anything to do with MTP/PTP mode on the N9?
[Nexus 9 Original Android Development] demkantor:
Hi hboot, then it will appear
[Nexus 9 Original Android Development] Skid71:
I thought it was something obvious.

After choosing HBOOT, TWRP loaded just fine.

I feel like such a greenhorn right now. But at least I learned.

Again, many thanks to you for your help.

Sincerely hope you have a great rest of your Thanksgiving and weekend.
[Nexus 9 Original Android Development] paychex:
On both my N9 and N6 I had to flash SuperSu before twrp stuck
[Nexus 9 Original Android Development] TheBiles:
Why does it take ages to flash anything? Seriously 20 minutes to flash a ROM.

Sent from my XT1254
[Nexus 9 Original Android Development] WugFresh:
The tool uses adb push to copy the ROM to your device, which is definitely slower than copy paste through explorer, but is the only way to automate. Also if you have other options checked like backing up, or wiping things, that all takes time (and depends on how much stuff you have).
[Nexus 9 Original Android Development] Max128:
I have made a new backup today of my rom custom with the last recovery and the backup make 1,57 GB. This is normal..

Envoyé de mon Nexus 9 en utilisant Tapatalk
[Nexus 9 Original Android Development] Max128:
Yes i know is normal.. I compared it with my old backup that was 4 GB .. this is not normal.
[Nexus 9 Original Android Development] nrage23:
Mine have been between 4 and 5 gig.
[Nexus 9 Original Android Development] USBhost:
1.8g here
[Nexus 9 Original Android Development] fhem:
yes if you are not checking the use compression box in twrp. compression will take longer but the size will be ~ 50% smaller.
[Nexus 9 Original Android Development] WhammyDroid:
Does the kernel fix work with stock kernel? TWRP just prompted me to ask if I wanted to apply it.

Edit, it worked.
[Nexus 9 Original Android Development] prdog1:
And why would you need a kernel fix. I'm lost. :cool:
[Nexus 9 Original Android Development] zoidberg_md:
So I think I may have done things out of order. I first logged into android and enable developer options and checked enable oem unlock. Rebooted into fastboot and ran the oem unlock. Without rebooting, I ran the fastboot command to rewrite twrp ( i think was the mistake ). I rebooted and now I have no recovery. I then reflashed the 5.0.1 factory image. https://developers.google.com/android/nexus/images . Still no default recovery or twrp. Any ideas on what I need to do.

edit posted in Q&A but hoping for more visibility here.

edit: I used this tutorial - http://xdaforums.com/nexus-9/general/tutorial-restore-nexus-9-to-stock-t2943120 to restore.
[Nexus 9 Original Android Development] ryencoke:
Flash twrp again after flashing 5.0.1.. Should stick
[Nexus 9 Original Android Development] demkantor:
fastboot erase recovery

fastboot flash recovery nameofrecovery.img

Then use the volume rocker to scroll to recovery and power key to select

If it doesn't work post all input/output from terminal/cmd
[Nexus 9 Original Android Development] Skid71:
As someone who struggled with this..,. After flashing, scroll to hboot, select and then should get you into TWRP.
[Nexus 9 Original Android Development] zoidberg_md:
Thanks for all the help. Yes going into hboot is what worked right after flashing the recovery. It seemed I had to keep doing this until I had the device rooted. I think those combination of things made it stick for some reason.
[Nexus 9 Original Android Development] nerdgenius:
Any news on touch recovery for the LTE model? I received my LTE model already. Its bootloader is unlocked and rooted. Need custom kernels in my life!!
[Nexus 9 Original Android Development] mrshades812:
Anyone running 2.8.3.0?

Just curious if everything ok with it. :)
[Nexus 9 Original Android Development] USBhost:
I will soon
[Nexus 9 Original Android Development] mrshades812:
It flashed fine.

Just takes 30+ seconds at the splash screen to load, like it did before. Wonder what that is about?
[Nexus 9 Original Android Development] z31s1g:
It's decrypting.

Ever since removing encryption from my device, it's booting as fast to recovery as I was used to.
[Nexus 9 Original Android Development] tyvar1:
Is the bugg about our device fixed? Or do we need the fix from USBhost?
[Nexus 9 Original Android Development] Skid71:
+1
[Nexus 9 Original Android Development] USBhost:
Its fixed
[Nexus 9 Original Android Development] tyvar1:
Okey! Thank you :D
[Nexus 9 Original Android Development] thebrainkafka:
Is there a flashable ZIP?
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Thank you sir.. :thumbup::cool:
[Nexus 9 Original Android Development] joshndroid:
Any early adopters thoughts?