yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Android Development] dictionary:
Have you tried any apps that force screen rotation? Just go into play store and type in screen rotation. Should be a ton of options
[Nexus 9 Android Development] ConnectWired:
Alredy installed, its just that said app that force screen rotation get in the way with other apps, they crash or don't allow typing on the screen if activated so it's a bit boring, but hey it's good anyway. Thx anyway for the suggestion m8 !:good:
[Nexus 9 Android Development] virseph:
Download link for this? Thank you
[Nexus 9 Android Development] Vartom:
First post.
[Nexus 9 Android Development] Vartom:
I can not understand you, what does this mean?

In my tests, auto rotation of the screen worked fine.
[Nexus 9 Android Development] ConnectWired:
When i use the Nexus in portrait mode, it goes landscape and when i use it landscape goes portrait mode. It's like the sensor is always 90 degrees clocwise.
[Nexus 9 Android Development] Vartom:
This is strange. Perhaps not if the tablet is not an LTE version.

You can make the log immediately after the system is booted. You can use the syslog program from the playmarket

Do you have a WiFi version of the tablet?
[Nexus 9 Android Development] ConnectWired:
I have wi fi version 16gb. https://drive.google.com/file/d/1SbWG3ydyTbR-Jb7zKtgY4av8hrqF2_NJ/view?usp=drivesdk thats log.

I dont have root access if that's the issue.
[Nexus 9 Android Development] meniux:
I have this problem with screen rotation and after sleep of tab, screen becomes like snow.
[Nexus 9 Android Development] Vartom:
I updated the kernel:

- Added support for the WiFi version of the tablet (not completed during the port).

- I altered the definition of interrupts for the panel and sensors.

Install through the recovery, reinstall the root if necessary.

Download

ps Checked only on the recovery. I have another system now.
[Nexus 9 Android Development] mom4751:
Hello Vartom, you made a great job.

I was hoping for such ROM since your post about porting Nvidia Shield/foster kernel but i was not sure it becomes real.

I have a 32 GB WI-FI only version. Does you rom fit?

Thank you
[Nexus 9 Android Development] Vartom:
With today's kernel, all versions of the tablet should work fine.
[Nexus 9 Android Development] swaaye:
I had the rotation problem as well. It was like the device read the rotation as +90 degrees beyond what it actually was. It had to be rotation-locked to be usable.

Edit - nevermind. I did not see that there is this additional page of posts and updates.
[Nexus 9 Android Development] meniux:
Hello rotation fixed, but still screen problem after sleep. When it boots up works fine, just after power button press screen gets blurry
[Nexus 9 Android Development] Vartom:
Can you make a log? I described how to do this earlier.
[Nexus 9 Android Development] meniux:
https://drive.google.com/file/d/0B4Kk_abkxKOBTzRJZXlOZUhaVFJfdkRIQ1I2VGV1VFRoaEhz/view?usp=sharing

and photo of screen

https://drive.google.com/open?id=1b8DDUECPSIagMLgj9sGH_-7TAe2ZaJay
[Nexus 9 Android Development] a8ksh4:
Has anyone run an Antutu benchmark on this build?
[Nexus 9 Android Development] didnt1able:
It screams man. I posted some screenshots a few pages ago
[Nexus 9 Android Development] funkybrunk:
Picking up where this left off. I'm trying to get this awesomeness going, today's pico arm gapps will not boot. I booted first with the rom, no problem, then the updated boot, no problem. I'm going to try an older build of opengapps.

That did the trick. This is amazing. Runs better than it ever has. Awesome that a single Dev can accomplish something a multi billion dollar company can't - Make this hardware live up to it's potential. Thanks Vartom.
[Nexus 9 Android Development] Vledderos:
Having the same issue here. Did a full wipe, flashed the zip, replaced the boot image with the latest. no gapps, no magisk. Booted fine. Turn screen off and on and poof: screen distorted. Anything I can do to fix?
[Nexus 9 Android Development] Vartom:
This problem is due to some special features of the panels in your tablets. How to fix it without having such a model in my hands I do not know.
[Nexus 9 Android Development] Vartom:
Made several corrections in the kernel. including those relating to the display.

Check whether there are problems now.

Download kernel.
[Nexus 9 Android Development] Marky__Mark:
Does GPS work on this?
[Nexus 9 Android Development] Vartom:
Not working. I did not add its support to the kernel.
[Nexus 9 Android Development] Vledderos:
Your coding magic worked! No more distorting screen after I turned off and on the screen again. Thanks a bunch!

What I do notice is that the device becomes pretty hot, but maybe it'll settle after I finish setting up the device. I'll keep you posted.
[Nexus 9 Android Development] idme87:
Will their be a fix for OTG?
[Nexus 9 Android Development] cLeAv0:
Can anyone post some 3dmark benchmark results on this ROM on Slingshot Extreme? Just curious as I did not get a higher score than that was ran on a non CUDA 64bit ROM.
[Nexus 9 Android Development] didnt1able:
Few pages back I posted some benchmarks. The API test is absolutely amazing
[Nexus 9 Android Development] cLeAv0:
Yes I noticed it and run the API test also and I even got a higher score since I changed the resolution to 1080p. But I'm curious about the slingshot extreme test since im really getting a lower score than using a 64bit ROM.
[Nexus 9 Android Development] madbat99:
Ok, but is it affecting your actual performance? Or just a benchmark?
[Nexus 9 Android Development] cLeAv0:
I was searching for the best rom for performance since i'm trying to play PUBG Mobile on the device and weird enough i'm getting lower fps than using a mid range phone with a snapdragon 625 chipset with the same graphic settings and resolution. Trying to figure out if there's a problem with my nexus 9 since i believe the gpu on our device is more powerful than adreno 506.
[Nexus 9 Android Development] Vartom:
I plan to release a firmware version based on LinageOS 14.1. I will use the same set of drivers from the Shield.
[Nexus 9 Android Development] swaaye:
That's exciting. Looking forward to it.
[Nexus 9 Android Development] Vartom:
The ROM version is based on CM14.1. Use the same set of drivers from the Shield. Installation through fastboot.

download

I recommend Gapps

Open Gapps for ARM 7.1.
[Nexus 9 Android Development] swaaye:
Vartom do you think the Tegra X1 video driver might work on K1? Is that available in source anywhere? I imagine the Shield console would be the most interesting.
[Nexus 9 Android Development] Vartom:
In the form of source codes, there were no drivers. They are proprietary in the form of ready-made libraries. Drivers from X1 can not take. On a straight line they are not compatible.
[Nexus 9 Android Development] swaaye:
I see. That is unfortunate. I dislike how NVidia abandons driver support for Android devices so quickly.

I got the CM14.1 ROM up and running though. It seems very nice. I haven't found any problems so far. Well done and thanks for building it.

Edit

Oh man USB OTG still doesn't work. That's unfortunate because I use a mini sd reader to store PDFs.
[Nexus 9 Android Development] fra9090:
So, is this useful for us?

http://nv-tegra.nvidia.com/gitweb/?.../heads/rel-29-r3-partner;hb=rel-29-r3-partner
[Nexus 9 Android Development] Vartom:
I think that rather no.

There is good and bad news on the kernel. Good, I fixed the sleep mode of LP0. Bad, after awakening, a strong trotling is activated. I am looking for how to fix it.
[Nexus 9 Android Development] doop:
Have you tried stickmount?

https://play.google.com/store/apps/details?id=eu.chainfire.stickmount&hl=en_GB
[Nexus 9 Android Development] Vartom:
Applications will not help. Non-operating OTG, this is a kernel defect. There are some difficulties in implementing the old method of determining the connection of OTG in a new kernel.
[Nexus 9 Android Development] Nol0n:
I have same issue... Can you tell what gapps you used?
[Nexus 9 Android Development] Vartom:
open_gapps-arm-7.1-nano-20180602.zip
[Nexus 9 Android Development] P.NOiZE:
I was able to install the latest build without issue but I cannot boot into recovery or fastboot any longer. I tried manually pushing the VOL-UP+VOL-DOWN buttons while it was powering on as well as using the Recovery and Fastboot options in the Restart options. Any ideas?

EDIT: Not sure what I did initially but I was able to boot into recovery by holding VOL-DOWN button while powering on then choosing Recovery option.

EDIT 2: Just finished flashing open_gapps-arm-7.1-nano-20180602.zip (download here: https://github.com/opengapps/arm/releases/download/20180602/open_gapps-arm-7.1-nano-20180602.zip). I am excited that new life has been brought to my Nexus 9!
[Nexus 9 Android Development] P.NOiZE:
I was receiving a 505 error when attempting to install Google Play Games directly from the Play Store. There was no issue when manually installing the following apk: https://www.apkmirror.com/apk/googl...7933061-000300-android-apk-download/download/
[Nexus 9 Android Development] Vartom:
Good news. I repaired the OTG connection.

Still looking for a solution to the performance drop after sleep.
[Nexus 9 Android Development] Nol0n:
Thank you!
[Nexus 9 Android Development] VoCs_007:
Wow

Thanks man) You`re so close ...

Wish you all the best!
[Nexus 9 Android Development] Vartom:
Test version of the kernel:

-added OTG.

There may be a drop in performance after heating or sleeping.

Overheating in heavy loads is possible !!!! Be careful.

Installation simply replace the old kernel.

download
[Nexus 9 Android Development] Vartom:
Changes in temperature protection. Final change (I hope).

Now all the main components should work fine. Including sleep should be less energy-consuming.

Boot for LOS 14.1

download
[Nexus 9 Android Development] TrionicleS:
wont work with gapps

Hey nice work! Everything is fine, but when i intall gapps pico or nano my Nexus 9 wont boot :(

Update: just reinstalled everything and now it`s good :) the Startup just took 3 Minutes. Running some Benchmarks now.

Okay every1 i was on CM before, with this Rom i save 200Mb Ram in Usage which is nice, and the Tablet runs very Smoth!

With CM14 i had 131988 at Antutu today (CPU 38593, GPU 53437,UX 34461 and MEM 5497)

this Rom here brings 133416 (CPU 43324, GPU 54071, UX 30925 and MEM 5096)
[Nexus 9 Android Development] iceku:
Hey there. Im curious about this ROM but I'm having problems getting it going. I usually try out different ROMS, so I'm not sure what I am doing wrong. I first installed the CM 14.1+96 (system,vendor,boot) via fastboot. Then I booted up. Worked well. Then I updated it via recovery (TWRP) aosp_shieldtablet-ota-eng-1912. Then I only get the Google logo loop without starting up. Tried installing new boot.img from 29th july. But it won't go passed the Google logo.

I have tried formatting and wiping several times. I am not encrypted and its formatting ext4.

Anyone any suggestions?
[Nexus 9 Android Development] Vartom:
aosp_shieldtablet-ota-eng-1912 this is not an update, but an independent firmware. And AOSP is much older than LOS141. Kernel updates for LOS141 are not suitable for AOSP.
[Nexus 9 Android Development] iceku:
ok, so I only need to install the CM 14.1+96 and the new boot.img?
[Nexus 9 Android Development] Vartom:
Yes
[Nexus 9 Android Development] TrionicleS:
I really like the Rom, good work! But in games i get gfx error maybe u can fix it??
[Nexus 9 Android Development] Vartom:
In which games? Can you send a log made after an error in the game?
[Nexus 9 Android Development] TrionicleS:
I'll tested some other Games yesterday and use the Benchmark Futuremark without any Errors! Only in Summoners War the Texture turn black, so i think of isnt a Problem with the Rom it's more an Game Problem with the Driver same Game with Snapdragon is fine.

Gfx Error = graphic Error = texture is black :)
[Nexus 9 Android Development] Vartom:
Announcement. There will be a kernel update.

Changes will affect the regulation of supply voltages cpu, gpu, core.

Adding temperature protection.

Stability should be improved and I hope heating will decrease.
[Nexus 9 Android Development] iason747:
Could you expand on that? Did you just undervolt GPU/CPU and if yes by how much?
[Nexus 9 Android Development] Vartom:
Kernel update.

Changes will affect the regulation of supply voltages cpu, gpu, core.

Adding temperature protection.

Stability should be improved and I hope heating will decrease.

download boot
[Nexus 9 Android Development] Vartom:
Globally updated driver power management cpu, gpu, core. Source codes are taken from the tegra210 (X1).

The driver more optimally selects the voltage according to frequency and temperature. Thus it was possible to lower the lower threshold voltage. The upper threshold is also lowered due to the driver.
[Nexus 9 Android Development] resol341:
Just flashed. Performance is absolutely amazing. Thanks for the great work!
[Nexus 9 Android Development] iason747:
I'm having a bit of a hard time getting this rom to work. It will always get stuck in a bootloop. I have tried numerous times flashing with current gapps, older gapps, beansgapps, with and without magisk etc. I have also wiped and formatted the data partition. I just can't get it to boot :( any ideas?
[Nexus 9 Android Development] Vartom:
Without logs I can not help you.

Are you sure that the data partition is in the EXT4 format?

Tried without gapps?
[Nexus 9 Android Development] ChristopherXI:
In the latest version everything works besides the Camera ?

The OP kinda confuses me.
[Nexus 9 Android Development] Vartom:
The LTE is not working yet, due to the kernel and drivers.
[Nexus 9 Android Development] iason747:
Yup it's in ext4, I'll try to get some logs
[Nexus 9 Android Development] Vartom:
How exactly do you install the firmware? Which one?

Installing LOS14.1 provides extraction of files from the archive and flash through fastboot.
[Nexus 9 Android Development] iason747:
Yeah, I flashed system.img, vendor.img and the new boot-050818.img through fastboot, after that I went into recovery mode and flashed gapps. I tried without gapps but it wouldn't boot either so I'm a bit out of options now. Before that I was on official lineage os 14 if that matters.

How do I take a log during boot btw?
[Nexus 9 Android Development] Vartom:
After an unsuccessful startup, boot into the recovery. Using the built-in file manager, get the file console-ramoops, located at

/sys/fs/pstore/
[Nexus 9 Android Development] iason747:
Here you go.
[Nexus 9 Android Development] Vartom:
I forgot one important moment for this. It is necessary to use the recovery on the 96th core.

Recovery

P.s In your log, there is no launch of the system, only the launch of the recovery.
[Nexus 9 Android Development] iason747:
Okay what do you mean by using it on the 96th core ? I'll just flash the recovery and take the log again?
[Nexus 9 Android Development] Vartom:
You need to start the system. If there is a bootloop, immediately boot into the recovery using the volume button.
[Nexus 9 Android Development] iason747:
Uhh actually after I installed the new recovery, it said something like cache: device unavailable, so I formated the cache partition and it now booted. Very strange maybe cache got corrupted or my emmc chip is starting to fail. After all thank you for your support.
[Nexus 9 Android Development] Vartom:
I found out what the problem was. Cache partition was in the format of F2FS. I found this in your first log.

Ps I added the description in the first post in order to avoid the recurrence of such cases.
[Nexus 9 Android Development] swaaye:
I successfully installed the ROM using TWRP's image flashing function. When you go to install, you can switch to "image" instead of "zip". I think that's how it's labeled. I did install the most recent TWRP (3.2.3.0) for Flounder first.

https://dl.twrp.me/flounder/

-Flash current TWRP image to recovery partition

-Reboot recovery

-Wipe data/cache

-Check that they are EXT4 if you changed them to F2FS at some point.

-Flash the boot.img, vendor.img, and system.img of this ROM to appropriate partitions. Be sure you are using the most recent boot.img in first post.

-Reboot system and wait a bit. See if it boots successfully.

-Go back to recovery and flash OpenGAPPs 7.1 ARM zip.

-Reboot to system again and you should be up and running.

ROM works great. Seems fast. Sleep battery life is great too.
[Nexus 9 Android Development] P.NOiZE:
This update has really helped with idle battery drain and heat issues. Idle battery drain is < %0.5 / hour and the tablet does not get as warm when gaming (Clash of Clans).
[Nexus 9 Android Development] albsat:
If I got it right, you didn't use the PC and fastboot commands, just twrp? Right.

Do we loose all the data on the storage through this method?

I am on a 8.00 rom android version and I would love to jump to this Rom without using a PC and loosing my current data.
[Nexus 9 Android Development] swaaye:
Yup entirely flashed it with TWRP.

I wiped data but not data/media. So just the standard data & cache wipe. You probably do need to wipe data like that though. You could try not wiping and see if it works. Format cache manually.
[Nexus 9 Android Development] albsat:
Well it worked for me too. No storage wiping. The only problem I had was that with the gaps from 2.july. It did not boot. I installed the 22.06 gaps version and so far so good. Thanks to the dev Vartom.

I am testing the rom now.
[Nexus 9 Android Development] swaaye:
Carmageddon is crashing within a minute of playing a race. It is a free game.
[Nexus 9 Android Development] ChristopherXI:
Google Play Games refuses to install for some reason on this ROM.

Error code -505.

And I can't sync my contacts
[Nexus 9 Android Development] albsat:
[MENTION=6556709]Vartom[/MENTION]

Can you please add the schedule Display mode option in CM rom? I read at night and it would be great to have this option automatically.

Thank you for your hard work!

---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------

I installed 22.06.18 gaps and no problem.
[Nexus 9 Android Development] Vartom:
ROM LOS14.1 15-08-2018 download
[Nexus 9 Android Development] Vartom:
If I do not confuse, then this option already exists in the firmware. Check the Live Displays settings.
[Nexus 9 Android Development] Vartom:
Checked this game. I passed two levels without problems.
[Nexus 9 Android Development] albsat:
Unfortunately this option doesn't exist.

There is a custom setting under this menu in Lineage where you can schedule the time to change the profile to Night mode for example.
[Nexus 9 Android Development] swaaye:
I flashed your new release, wiped data and cache. The game still crashes. In fact the tablet even rebooted this time.

Is it possible your reduced voltages are too low for my tablet?
[Nexus 9 Android Development] Vartom:
Can you make the kernel log after crashing games?
[Nexus 9 Android Development] swaaye:
I reflashed the ROM again. This time I used fastboot. I also fully formatted userdata.

Carmageddon is still crashing and Google Play Games won't install (error -505).

Log seems to mention problems reading/writing /data?

When formatting userdata with fastboot, it says the partition is type f2fs even after I have formatted /data to ext4 with both TWRP and "fastboot format:ext4". Partition table problem? However, standard Lineage OS operates fine so maybe this does not matter.
[Nexus 9 Android Development] Vartom:
I get the same error on Carmageddon.

Google Play Games installed through the recovery, installing gapps with aroma installer.

Formatting via fastboot does not make much sense. it is enough to use the function to change the partition format from the recovery.
[Nexus 9 Android Development] swaaye:
I played Terminal Velocity without crashes. That game appears to be software rendered so probably no GPU involvement. It seems like the crashing with Carmageddon is related to the GPU driver?

But this is the same GPU driver as the Shield Tablet correct? I have played Carmageddon on a Shield Tablet with stock Nougat and not had problems.
[Nexus 9 Android Development] Vartom:
Yes, these problems are related to the drivers for the GPU. In the logs this is clearly visible. I'm currently using the driver package used in the custom for Shield. This package from August 2017, I have not updated the driver package for a long time, focusing on problems in adapting the kernel.

Now when the kernel is more stable, I'll update the drivers.

ps Who really wants to get the most out of the tablet in games, I recommend making a modification of the cooling.
[Nexus 9 Android Development] ChristopherXI:
The kernel is definitely stable right now.

Tablet runs very cool and performance is great.

But it trips Safetynet and i can't use netflix on this ROM.

Moving back to lineage weeklies for now.

---------- Post added at 07:33 PM ---------- Previous post was at 07:32 PM ----------

i'd move to this rom permanently when Cameras are fixed
[Nexus 9 Android Development] iason747:
Who even uses the camera from their Tablet?
[Nexus 9 Android Development] ChristopherXI:
​

Me?
[Nexus 9 Android Development] zamuz27:
Great work Vartom! I was wondering if the switch to 32 bit had any noticeable impact on RAM management. Right now I'm on LineageOS unencrypted and it runs super fast and without any lag, however the issue of apps getting kicked out of memory and redrawing persists. Does that change here?
[Nexus 9 Android Development] swaaye:
I don't game very often. I mostly use it for web browsing and email. I like that the Denver CPU is pretty fast as far as ARM CPUs go for rendering web sites.

But I do like to try mobile games every now and then. And I've been playing Carmageddon on and off for years across many different tablets. :)
[Nexus 9 Android Development] Vartom:
I updated the driver, but it did not help, the game crashes with the same error.

The next step is to update the kernel.
[Nexus 9 Android Development] Vartom:
As a test version, you can use the ported kernel 3.10.96 with almost standard ROM(LOS14.1) and drivers.

Here is the kernel installer.

Of the known problems, awakening by double tapu will not work. This is fixable, just change a couple of files in the system.

And the rest that is not ported to 96.

When you start the tablet there will be a distortion of the Google logo, it's not scary.

To return back, restore the native boot.img
[Nexus 9 Android Development] Vartom:
[MENTION=3809589]swaaye[/MENTION]

Can you test this option? Standard ROM LOS141 and ported kernel.
[Nexus 9 Android Development] ChristopherXI:
Test that kernel with the Official roms?
[Nexus 9 Android Development] Vartom:
Yes. I think that without problems any firmware with androd 7.1.x can start. the only limitation is encryption and f2fs.
[Nexus 9 Android Development] ChristopherXI:
What's the difference of this kernel comparing to the others?

Does it have better cooling/temperature control like the 32bit rom's kernel?
[Nexus 9 Android Development] Vartom:
This is not a 32 bit kernel and it was never 32 bit. It is impossible to make a 32-bit kernel for a 64-bit processor. 32 bit firmware(ROM) only.

According to my conclusions, this kernel outperforms the stock kernel in terms of performance, especially in 64-bit firmware. Also in some operating modes it gives less heat.

Comparing this core in 32bit and 64bit firmware, I found that in the 32bit version the performance is slightly lower.
[Nexus 9 Android Development] didnt1able:
why tho?
[Nexus 9 Android Development] studenttwok:
As an LTE version owner, I would like to know if LTE will be supported one day?Dont' know if it is a brick or somene is trying to implement that.

It just OK to say "never come", just want to do some expectation management.

Respect all the hard work done behind by many developers like OP, and thanks for saving Nexus 9.
[Nexus 9 Android Development] Vartom:
I already tried to implement support for the cameras a few months ago. It was not so simple. As a result, he postponed until better times. I did not even try to implement LTE support. The level of complexity can be very high due to the fact that it does not work very well in the native kernel.