yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Android Development] Corey-:
i´m facing an issue not being able to get past the setup wizard welcome screen. the app force closes no matter, what i do.

i tryed this solution, but it didnt work for me: https://xdaforums.com/android/software-hacking/fix-fix-crashing-setup-wizard-t3586177

i entered the adb command, while the tablet remained on lock screen. is this correct ?

previously i clean installed the rom. i also flashed factory images, because i thought i messed up badly ..

thank you! :)
[Nexus 9 Android Development] Lozone:
I found this post and flashed the zip to install the 7.1.2 setup wizard and it worked for me.

Give it a try.

https://xdaforums.com/showpost.php?p=71937512&postcount=342
[Nexus 9 Android Development] USBhost:
I thought opengapps fixed that problem already...

Anyways try that fix above me.

PS can you get a logcat of the fc? I would like to know what exactly it is.
[Nexus 9 Android Development] Corey-:
so yeah .. yesterday i faced the problem, but its gone now (after a lot of trouble - ended up unrooting and re-rooting the tablet -_-)

just flashed nano open gapps and didn´t had to setup up via the wizard. i was trying to reproduce the problem by not flashing the the fixed setup tho

sorry, would´ve been glad to help

thanks anyways!
[Nexus 9 Android Development] kacang87:
download link cannot reach
[Nexus 9 Android Development] USBhost:
It's working just fine.
[Nexus 9 Android Development] kacang87:
I dont know but it cant reach the link..bit I'll try with other browser
[Nexus 9 Android Development] USBhost:
did it work?
[Nexus 9 Android Development] Super-Veloce:
How about safetynet check on this rom?
[Nexus 9 Android Development] USBhost:
Userdebug build.

So no.
[Nexus 9 Android Development] albsat:
Although I miss some customisation in this rom, it is such a fast and stable one. Nexus 9 seems to get a new life recently.

Great work!
[Nexus 9 Android Development] iKirby:
Try installing Magisk and enable Magisk Hide. I'm able to pass SafetyNet check on this ROM using Magisk.
[Nexus 9 Android Development] albsat:
Just the music app doesn't work. Forgot to report this.
[Nexus 9 Android Development] iKirby:
It seems that network location is not working on the latest build.

Night Light sunset to sunrise schedule doesn't work. And when I open Google in browser, the location is always unknown.

But Google maps app can find my location when GPS is off. So strange.
[Nexus 9 Android Development] Extreemator:
Did it have pixel c launcher buttons? I saw screenshots from a guy on this rom with buttons, but when i installed there is only new task manager. Other roms also don't have them. So frustrating. Also not sure how you recommend opengapps when it crashes on 7.1.2. Mini dynamic gapps work.
[Nexus 9 Android Development] USBhost:
Hmm... Your right.

Does any other ROMs have it ?

The thing is Opengapps supposed to have fixed that FC already.

I will try some debugging with it tonight.

You can set your navigation bar in system UI tuner.

Or

https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner

Yeah... I'll just remove it in the next version.
[Nexus 9 Android Development] iKirby:
Network location is working on SAOSP, and Night Light sunset to sunrise schedule is working as well.

I found an app that can test location provider (https://play.google.com/store/apps/details?id=jp.osaka.appppy.locationprovidertest), on this rom when I choose only Network Location Provider in settings, it won't show my location.
[Nexus 9 Android Development] Vledderos:
Tried to installing this latest ROM on latest TWRP by first wiping DATA, Factory reset, flashed the rom and gapps stock. (BTW coming from latest stock)

device boots and shows welcome/Setup Wizard screen. When trying to proceed with the wizard it shows "Setup wizard has stopped".

Tried it to with gapps micro. Same result. Somebody an idea which might solve this?
[Nexus 9 Android Development] Choochter:
It's a problem with Opengapps - flash this and try again:

https://xdaforums.com/showpost.php?p=71937512&postcount=342
[Nexus 9 Android Development] USBhost:
android-7.1.2_r11 is up

ps update vendor
[Nexus 9 Android Development] kacang87:
I have question..when I try to wipe cache, it will stuck and reboot itself..fresh clean and flash rom..is it normal or just me?..so how to get logcat?
[Nexus 9 Android Development] USBhost:
In recovery?
[Nexus 9 Android Development] kacang87:
yup..twrp 3.1.0.0
[Nexus 9 Android Development] USBhost:
Flash this recovery and try again.

https://drive.google.com/file/d/0B1cOHQ70J9vlVHJIdjc5QURxcjA/view?usp=drivesdk
[Nexus 9 Android Development] kacang87:
I need flash this zip or image?

edited:

still same..recovery force reboot..cannot clear cache
[Nexus 9 Android Development] USBhost:
Yes flash the zip
[Nexus 9 Android Development] deathrowz_sri:
You mean reflash the latest vendor? Or is there a new vendor available?
[Nexus 9 Android Development] USBhost:
The one that came out today!

May security update ?
[Nexus 9 Android Development] Vledderos:
great! :good: I switched to Beans Gapps and this worked like a charm. Maybe also wise to update the OP with this info...

any chance of enabling the pixel navigation bar icons style (see attachment)? Or isn't this in the OASP code?
[Nexus 9 Android Development] nyvled:
Could you try this in recovery:

Wipe > Advanced Wipe > dalvik cache and swipe to wipe

If it crashes when you try to wipe dalvik cache then try going back into recovery and only wiping cache. If it does not crash when wiping cache then you have the same issue as me.

I say this as it could be because you're trying to wipe dalvik cache when there isn't one. I once made an error when flashing ROM update and wiped the entire device clean. Could not transfer the ROM zip to internal storage, and my Nexus 9 somehow wiped recovery off as well. Had to wipe and reformat from fastboot, and restore factory 7.1.1 image which unknowingly to me did not partition for dalvik cache (since 6.0 onwards there was no more use for dalvik cache). Ever since I did that factory restore to get access to internal storage I had TWRP crash whenever I used the 'wipe cache/dalvik' function. Discovered that it was probably the factory restore image from Google that did not partition a dalvik cache thus TWRP had issues wiping a non-existent partition and crashed.
[Nexus 9 Android Development] Gogopotato:
Am I the only one cannot flash in Supersu.zip?
[Nexus 9 Android Development] USBhost:
No? What error did you get?
[Nexus 9 Android Development] kacang87:
yup..its just like you said..it crash when wipe dalvik..but on stock rom, it not happen at all..and sometimes copy rom or file via twrp also become crash..
[Nexus 9 Android Development] USBhost:
Is your data f2fs?

Did you flash that zip I gave you?
[Nexus 9 Android Development] kacang87:
data and cache format to f2fs..and yes, I flash your 3.0.2.1 modded twrp.and still happen..
[Nexus 9 Android Development] USBhost:
Ok do this.

Make it reboot.

Make sure you immediately make it Boot to recovery again.

Then do "cat /sys/fs/pstore/* > /sdcard/log.txt"

Give me that file
[Nexus 9 Android Development] kacang87:
log attached..
[Nexus 9 Android Development] AlexX333BY:
The same thing for me. Only stacks while wiping dalvik cache, simple "cache" wiped fine

UPD: Just tried to flash rom with GApps, and while flashing GApps, TWRP crashes the same way it is while wiping dalvik cache. Seems like it flash all the actual apps (lines "flashin core GApps" and those for apps gone fine), but while performing some "miscellaneous tasks" (it is the last line I see before reboot) it just stucks for some seconds and reboot into system. And Play Market crashes every time, while search works fine.

Tried to flash 2 times (with wiping system and cache, and other time - just flashing GApps), the same result for both.

TWRP 3.1.0-0, OpenGApps 04.30 nano package
[Nexus 9 Android Development] USBhost:
[MENTION=5414058]AlexX333BY[/MENTION]
[MENTION=4653707]kacang87[/MENTION]

flash this one and report-back.
[Nexus 9 Android Development] kacang87:
yeay..sucessfully wipe..can I know what the problem?..thanks you master.
[Nexus 9 Android Development] USBhost:
(Long story)

The reason why TWRP rebooted whenever you tried wiping​ is because of an outdated version of f2fs in the kernel. This ROM is running FIRE-ICE Kernel which has the latest f2fs. As an example if someone was coming from full Stock to this ROM the first installation will work until the OS boots (The OS and recovery both have different Kernels). The thing with f2fs it's not forward compatible. As in the latest f2fs driver (in the kernel) will upgrade the old metadata to the new but the old f2fs can't. It remains incompatible with the newer metadata. That is why TWRP reboots on you because the kernel's f2fs driver doesn't understand​ how to read or write to your data causing a kernel panic.

The first link I sent you was the wrong version I didn't mean to send. Sorry about that :eek:

I meant to send R15 not R14 lol. I realized that today :rolleyes: when it didn't fix your problem.

So I just went ahead and updated everything and gave you R16 :good:

I guess I should have planned for this problem when I included FIRE-ICE.

O well lol I will now!
[Nexus 9 Android Development] AlexX333BY:
Worked for me too. Thanks!
[Nexus 9 Android Development] Gogopotato:
After flashing in supersu.zip, it shows no binary file, while the zip works for the last rom.
[Nexus 9 Android Development] nyvled:
Worked for me as well! Thanks for the explanation on the actual issue and sorry if I misled anyone! ?
[Nexus 9 Android Development] USBhost:
haha no problem man
[Nexus 9 Android Development] Super-Veloce:
How to check for latest vendor and how to update it?

I've a stock N9 LTE 32GB and wanting to try this 7.1.2 rom.

- Downloaded latest rom

- Open Gapps ARM64 Aroma 7.1

- Setupwizard patch to flash after aroma gapps

What TWRP do I need and do I need to wipe system as f2fs?
[Nexus 9 Android Development] USBhost:
I recommend you flash the recovery in the op.

Then continue as you said. Except don't wipe system as f2fs there's no need and it probably wouldn't boot. Just do the standard factory reset.

You could try dirty flashing the latest over Stock ROM.

But i'm not too sure if you will get a bootloop or not. (Give it a try if you're feeling adventurous)

If you do: do not flash anything about gapps, just ROM.
[Nexus 9 Android Development] Super-Veloce:
Thanks that's clear. But how about the vendor? (I'm at 7.0 stock)

Found vendor-volantisg-n4f27b.img , it's hosted 6 days ago at androidfilehost.com, guess that'll be the one for mine
[Nexus 9 Android Development] Super-Veloce:
nvm...
[Nexus 9 Android Development] USBhost:
[~~~]

Ok..?........

This may sound dumb. Was your tablet the only one connected to your computer?
[Nexus 9 Android Development] Super-Veloce:
I did something wrong haha, typed vender... pff haha

it succeeded now.

flashed your recovery, from OP... I see the TWRP splash screen, but nothing happens
[Nexus 9 Android Development] USBhost:
Give it time. If you're encrypted then that's understandable.

If your not then reboot.
[Nexus 9 Android Development] Super-Veloce:
Coming from stock.. I'll wait some longer

Works now.. Do I need to keep system read only or do I swipe to allow modifications?
[Nexus 9 Android Development] USBhost:
When it does come up I recommend you do a full data format.

Question can you get into TWRP with "adb shell"?

[MENTION=3454441]Super-Veloce[/MENTION]

Yes it's fine to allow modifications.
[Nexus 9 Android Development] Super-Veloce:
C:\platform-tools>adb devices

List of devices attached

adb server version (31) doesn't match this client (36); killing...

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Every socketadres (protocol/netwerkadress/port) can only be used once. (10048)

could not read ok from ADB Server

* failed to start daemon *

error: cannot connect to daemon

and nother adb

List of devices attached

adb server is out of date. killing...

ADB server didn't ACK

* failed to start daemon *

error:

error:
[Nexus 9 Android Development] USBhost:
Update your adb tools
[Nexus 9 Android Development] Super-Veloce:
Yes, "adb reboot recovery" works ;) [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Android Development] synthesis ties:
Some strange issue

Hello all,

have just installed the latest version of the thread (previously it was on stock 7.1.1. with the latest may update).

My steps were:

1. Installing a TWRP via NRT

2. Flashing the TWRP.R16.zip

3. Flashing the rom

4. Reboot to TWRP

5. Flashing the GAPS

6. Flashing the 7.1.2_Setup_Wiz_arm64.zip

7. Flashing SuperSU

8. Reboot

The device started with the setup page, after choosing my wifi and clicking on setup as new comes the screen with "Checking for updates..." and it stucks on it. So I mean it is checking for updates and nothing happens. I tried to reboot it, to wipe the dalvik/cache in the recovery, but nothing helps. I also gave time to it, but nothing happens.

Some ideas what it could be? I really want to try this rom, because the stock is just suck :)
[Nexus 9 Android Development] USBhost:
It will continue but it takes awhile...

Thanks for the not so well working Gapps haha
[Nexus 9 Android Development] synthesis ties:
Thank you for reply, I will give it more time :o
[Nexus 9 Android Development] synthesis ties:
So guys I managed the problem! The issue was hidden in the GAPPS. I used to install the GAPPS with aroma - that was the problem. So I flashed everything once again with wiping everything, but this time I took the mini GAPPS and didn´t flash SuperSU and now it works!

I will post my impressions of using this rom after a couple days of use ;)
[Nexus 9 Android Development] sheenswizner:
You can skip the setup wizard by taping four corners of the screen after selecting language.
[Nexus 9 Android Development] synthesis ties:
So my resumee after 5 days of intensive use: positive in comparsion to 7.1.1. stock: this rom works more reliable, stable and fast. Obviously there is a better ram management, there are no reboots or shut downs any more. And also the sound from the speakers has become realy good!

Negative is a fast battery drain. One of the reason could be the AOSP Email application, but may be there is something else. The 7.1.1. stock had much better battery life. Some micro freezes and lags are also still here (for example during switching apps or popping up any context menu) , but they are by far not so bad as on stock 7.1.1.

So my conclusion is: it is not perfect, but it makes the Nexus 9 more usable than on 7.1.1. stock.

Cheers
[Nexus 9 Android Development] Dominicano2:
I have only used this rom for 48 hours, but I must say I am impressed, I feel as though I have a brand new tablet. I fully agree with [MENTION=8000506]synthesis ties[/MENTION] that this rom is indeed faster, handles ram better, and overall runs better then stock 7.1.1 in my opinion. Overall, thanks for this rom and for continued support to the Nexus 9!
[Nexus 9 Android Development] Super-Veloce:
Do you think Android O port is possible for the Nexus 9? Or will it never happen?
[Nexus 9 Android Development] USBhost:
Don't say lies!!!! It will happen! This is XDA!
[Nexus 9 Android Development] USBhost:
News update: I will update to this months​ after the 16th

Finals week !
[Nexus 9 Android Development] nyvled:
Good luck with your finals
[Nexus 9 Android Development] deathrowz_sri:
Cudnt find the latest on your G drive. Good luck with exams!
[Nexus 9 Android Development] USBhost:
https://drive.google.com/file/d/0B1cOHQ70J9vlOVd1ak9DUERJaE0/view?usp=drivesdk

Does it not show up?
[Nexus 9 Android Development] Swords.Grizzlebee:
Thanks so much for this ROM and your kernel. Combined with pico gapps they have finally made my device enjoyable to use. I owe you a donation.
[Nexus 9 Android Development] USBhost:
Don't worry about it. But if you really want to then do this.

Go watch an anime that you think is interesting (PM me if you want recommendation​s)(There are English ones so don't worry, I prefer English :good:) then watch it! :fingers-crossed: :fingers-crossed:
[Nexus 9 Android Development] Super-Veloce:
I've got icons with a white circle behind it at i.e. YouTube, Play Store, Camera, Gmail..

Maybe because of selecting Pixel icons with OpenGapps Aroma install. Tried flashing Gapps again without selecting pixels icons, but didn't work.

How to get normal icons?
[Nexus 9 Android Development] USBhost:
Can I get a picture?
[Nexus 9 Android Development] deathrowz_sri:
Sorry my bad. I was looking for a new version! :D
[Nexus 9 Android Development] USBhost:
sorry for the late reply

Those are enabled in the ROM

for the pixel launcher.
[Nexus 9 Android Development] Super-Veloce:
Than I miss some options of the pixel launcher.

I only have the first 2 options and about.
[Nexus 9 Android Development] USBhost:
It's in the res framework.

I made it true for round icons by request.

https://github.com/USBhost/My-AOSP-base/commit/f157cc456e915c6908139fc067acbd914f3b7faa
[Nexus 9 Android Development] Super-Veloce:
Hmm ok.. so I need to flash a icon pack or use other launcher?

Or can you make a option in aroma next build?
[Nexus 9 Android Development] USBhost:
Another launcher will do the trick.
[Nexus 9 Android Development] albsat:
Any assumption that we might have Android O, in the future for nexus 9?
[Nexus 9 Android Development] Choochter:
https://xdaforums.com/showpost.php?p=72342770&postcount=331
[Nexus 9 Android Development] USBhost:
android-7.1.2_r17 is up!

The normal security update.

plus i removed all those stock AOSP apps/We use gapps anyways

remember update your vendor
[Nexus 9 Android Development] deathrowz_sri:
I still like AOSP keyboard over Gboard. Big keys and nice vibration. Is it still there?
[Nexus 9 Android Development] jfreeman3:
Thanks for all your work.

Installed the previous version on Sunday, along with Beans GAPPs and Universal Vendor Fix. Working Great.

Can I just flash this new version over r16. What else do I have to flash and in what order?

Thanks.

---------- Post added at 02:50 PM ---------- Previous post was at 02:50 PM ----------

Thanks for all your work.

Installed the previous version on Sunday, along with Beans GAPPs and Universal Vendor Fix. Working Great.

Can I just flash this new version over r16. What else do I have to flash and in what order?

Thanks.
[Nexus 9 Android Development] USBhost:
Yes it is sill there

I left the stuff that are needed for navigation
[Nexus 9 Android Development] USBhost:
It should be fine but make a backup just to make sure
[Nexus 9 Android Development] wantowan2:
Hey, how is it going? I have a couple questions.

Is the recovery that gets compiled with the ROM getting copied into the system image at compile time? Maybe take the copy recovery out. That could be a solution to the twrp issue.

Could some kind person post a link to the correct vendor image? I have to use mobile data and the whole package is larger then my data plan.

Thanks!
[Nexus 9 Android Development] USBhost:
do you still have recovery problems? i thought i fixed that.

LTE Nexus 9 vendor https://drive.google.com/open?id=0B1cOHQ70J9vlblFhT2RfNkpKeWM 61.5MB

IF your using the full version of FIRE-ICE then do this after download.

su -c "/system/etc/FI.d/lib/busybox lzma -d /sdcard/Download/vendor.img.lzma -c > /sdcard/Download/vendor.img"

Backup your vendor just to be safe before flashing that
[Nexus 9 Android Development] wantowan2:
Thanks for that.

No problems with recovery. I posted that before getting into it and the OP said something about "if your ate still having recovery problems...." So, no worries.

Thanks for all the hard work!

Ciao
[Nexus 9 Android Development] USBhost:
Yes you can (I know I'm vary late sorry)
[Nexus 9 Android Development] k8C:
[MENTION=5501864]USBhost[/MENTION] thanks for the return of Clock app, but why you removed Gallery and Camera, sometimes I still use these apps. Last rom update I had to download other clock app to set alarm. I searched for Google Camera but it says my device is not compatible. Next rom please keep them, I just want simple apps.
[Nexus 9 Android Development] tfytli:
Thanks for your work .

But I can't copy any file from my computer to interSD card, anyone have this problem?
[Nexus 9 Android Development] USBhost:
Gallery can be replaced with Google Photos

And I didn't know the camera app was that way.

Remember the Google clock app is on Google Play.

Do you still want me to include gallery.

Turn off adb.
[Nexus 9 Android Development] tfytli:
Thanks. It worked.
[Nexus 9 Android Development] k8C:
I tried installing Clock on Play store but it showed error. Thanks for the suggestion of Google Photos, I will use it instead.
[Nexus 9 Android Development] b1g.p0ppa:
Hey guys, I just switched to this ROM and I'm getting sounds still coming out of speakers when I have headphones connected. Is anyone else having this issue? I am running Viper4Arise but didn't get this behavior with it on other ROMs.
[Nexus 9 Android Development] k8C:
[MENTION=5501864]USBhost[/MENTION] this error shows up every time the tablet restart but everything works fine
[Nexus 9 Android Development] b1g.p0ppa:
It means your vendor.img doesn't match the ROM's version. Either flash the proper one or install this in recovery https://xdaforums.com/nexus-9/development/fix-build-prop-variety-fix-aka-contact-t3133347
[Nexus 9 Android Development] sashapetrik:
Still it can be because of using magisk in conjunction with the module universal safety net

To solve the problem, you just need to remove the module, then delete the current magisk, then install magisk12 through recovery and update to the latest version of magisk. Sfety net is OK even without using any modules.

Frankly, I switched to SimpleAOSP, simply because I could not beat this problem, I found out by trial and error that it was not about the firmware, but everything was already adjusted and reworked.
[Nexus 9 Android Development] USBhost:
Expect an update this weekend!

Edit: well.... A couple of things came up. I should have it done by Monday
[Nexus 9 Android Development] USBhost:
New version is up!

Restored camera app

July security update

Plus FIRE-ICE K10.6.8
[Nexus 9 Android Development] wantowan2:
system.build.prop

vendor.build.prop

That's it.

---------- Post added at 02:38 AM ---------- Previous post was at 02:25 AM ----------

Any idea about the ~/DRIVERS failures at approx. 17% battery?

ie: loud buzzing sound

scattered fuzzy screen

system lockup-hard reset-etc....

There seems to be a disparity between ROM front end and kernel (viewed from recovery). I have another nexus device that likes to force a shutdown at around 15%.

You know, the standard, 5 second invisible countdown to shutdown for things like kernel panic. Some times this CMD appears in the ROM also for some weird reason. I remember taking it out of the ROM and just let the kernel handle the kernel. Can't remember where however. Been a long time.....

Anyway, keep up the great work!

Ciao
[Nexus 9 Android Development] wantowan2:
If I had time to test this out I might:

Look in open gapps pack.

Remove batteryusage entries from installer.sh

Remove batteryusage-all.tar from gapps package.

Most ROMs including AOSP don't require gapps to run anyhow. Why a ROM would need help from some gapps package is beyond me.
[Nexus 9 Android Development] USBhost:
I have been noticing that to. You can reproduce it with beta webview doing a browser benchmark.

The same screen going to hell!! Hard lockup

And if sound was playing you will get vary bad cracking sound.

Also about the shutdown. I also noticed that to

The kernel logs show sometimes something tells the Kernel to reboot.

But I haven't gotten it for a while now