yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] oRAirwolf:
You guys really should just drop this whole discussion. Just stop.
[Nexus 9 Original Android Development] Philaphlous:
Well for some reason after flashing the kernel say 5-6 times... A delvik and cache wipe is always good to do. Geekbench 3 scores are about 200 points below what I expect but after my cooling mod it's working quite nice
[Nexus 9 Original Android Development] nullzwo11:
How is the kernel doing with battery life? Especially in terms of browsing and playing. Does it heat up and run to maximum as it does on stock?? Or is it more efficient? Oooor has it not been changed yet? :) thx for your answers in advance.

Btw: love elementalx on my N5. Battery monster
[Nexus 9 Original Android Development] thioen:
For me the battery lasts slightly longer and have significantly less heat; I underclocked by 100 mhz.
[Nexus 9 Original Android Development] flar2:
I worked on it a bit last night, new release probably tonight. Then I'll work on a few things over the weekend.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

For this update, I went back to the Google toolchain. Also grabbed the dm-crypt updates and optimizations from faux. Added 2A charging, if you have a 2A charger. It will charge normally with the stock charger. And finally, added SIO and FIOPS i/o schedulers.

Download:

ElementalX-N9-0.09 (beta)

Changes:

-add 2A charging

-various fixes and optimizations

-update dm-crypt

-add SIO and FIOPS schedulers

-build with Google GCC 4.9 toolchain
[Nexus 9 Original Android Development] TriadX1:
Seems to be running very well and I love the 2A charging. It charges noticeably faster on my 3A charger, but does not seem to be heating up the battery any more than the standard 1.5A. Thanks for the update!

What scheduler do you recommend on the Nexus 9?
[Nexus 9 Original Android Development] flar2:
The only scheduler I've used is the default, noop.

Try some different ones for a few days at a time. It's usually pretty difficult to tell the difference. If there is any difference you would only notice it by switching after using one scheduler for an extended period.
[Nexus 9 Original Android Development] R3Lax1:
Thank you for the update!
[Nexus 9 Original Android Development] paychex:
I know fiops was designed for flash memory. I usually go for that if that's an option
[Nexus 9 Original Android Development] Dr. Hurt:
I do that too.

Seems to marginally improve random read/write performance which should translate into slightly less stuttering.
[Nexus 9 Original Android Development] D-m-x:
Anyone have a clue why ElementalX won't work with AICP or Liquid Smooth? Couldn't get it to Boot, no matter what.
[Nexus 9 Original Android Development] tyvar1:
Woho! Update! Thanks :D
[Nexus 9 Original Android Development] JCUK89:
Installed the latest version and the tablet feels really smooth to use. Antutu is 56k in 64bit
[Nexus 9 Original Android Development] Dime-Baggins:
What was your cooling mod?
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Same question here :what: :confused:
[Nexus 9 Original Android Development] TenderloinShadow:
2 questions:

Is this kernel only for AOSP ROMs like CM, AOKP, Liquid, etc, or will it work with the factory image ROM that came with the device?

The 2Amp charging, is that enabled by default or do we have to do something after installing the kernel on our device?

Thanks.
[Nexus 9 Original Android Development] flar2:
Those ROMs are probably doing something weird. Ask in those threads about changes they have made.
[Nexus 9 Original Android Development] flar2:
I always use the stock ROM, so it will always be compatible with stock. It should work with custom ROMs too, as long as they aren't doing strange and usually unnecessary things that break compatibility.

2A charging is automatic if you have a charger that delivers more than 1.5A. No action necessary.
[Nexus 9 Original Android Development] USBhost:
[MENTION=4684315]flar2[/MENTION]

The reason why those other ROMs won't boot

is because of selinux conflicts
[Nexus 9 Original Android Development] flar2:
What are they doing with selinux?
[Nexus 9 Original Android Development] USBhost:
Now that i don't know

I would recommend that you set selinux to permissive

For the time being
[Nexus 9 Original Android Development] D-m-x:
Actually that would be helpful, since I could only get Lollipopalooza to Boot with ElementalX besides Stock.
[Nexus 9 Original Android Development] flar2:
I'm not going to set selinux to permissive. It's the user's choice to run permissive if they want, but I strongly discourage doing so. I would be very careful with ROMs that mess around with selinux settings. From what I've seen, not a lot of people know what they're doing when it comes to selinux. It's fairly complex, and I personally don't see any good reason to deviate from the stock selinux policies.

selinux is an essential part of Android, we need to get used to it.

Issues like this might be fixed in a future release, if I start injecting the kernel into the existing ramdisk during installation.
[Nexus 9 Original Android Development] paychex:
Why?

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

This!
[Nexus 9 Original Android Development] USBhost:
well i just thought

you guys would want to test out some ROMs

wile they fix there selinux bugs

but guess not
[Nexus 9 Original Android Development] flar2:
Should not have to disable selinux to use ROMs. I probably just have to reuse their ramdisks to make it work. But still, I'm not sure why they need to deviate from stock selinux policy. It's been causing me big problems with my app too.
[Nexus 9 Original Android Development] D-m-x:
One guess is for Viper for Android to work. It is integrated in a few Roms.

At least in the Nexus 6, on the N9 only Liquid Smooth has it afaik.
[Nexus 9 Original Android Development] upNsmokeAllDay:
This thread helped me to get it working on this.

http://xdaforums.com/showthread.php?t=2973260
[Nexus 9 Original Android Development] oRAirwolf:
I am not sure why, but I cannot get this kernel to work with my N9. I am running the craigcgomez ROM and every time I flash any version of this kernel, the device just bootloops. I can install the FireIce kernel with no problems, tho.
[Nexus 9 Original Android Development] paychex:
If the dev can't make their ROM work without setting SeLinux to permissive--no one should be using it. What other security holes are they leaving open?
[Nexus 9 Original Android Development] Philaphlous:
New high score for me! 0.9 is working good!
[Nexus 9 Original Android Development] mrshades812:
What settings? Decrypted?
[Nexus 9 Original Android Development] Philaphlous:
Nope.

2.5ghz cpu, 900mhz gpu...

My cooling mod prevents throttling
[Nexus 9 Original Android Development] flar2:
It looks like all the thermal stuff can be controlled by changing stuff in /sys/class/thermal/

But there are tons of settings there. I have no idea how it all works.

This one corresponds to the tskin temperature that is enabled on this device:

/sys/devices/virtual/thermal/thermal_zone7/trip_point_0_temp

But there are a bunch of other trip points, I don't know which ones specifically are associated with the cpu and gpu.
[Nexus 9 Original Android Development] mrshades812:
To be honest, I won't use any throttling adjustments, personally. This thing scares the crap out of me when it heats up. Hasn't happened in a while, but I'm good with moderate tweaking.

Sent from the future...
[Nexus 9 Original Android Development] flar2:
I don't think the thermals need to be raised either. If the stuff I'm trying now works out, it won't be getting so hot anymore.
[Nexus 9 Original Android Development] techiedj:
Appreciate the update flar! Running great, very nice!
[Nexus 9 Original Android Development] Roxio2005:
ElementalX-N9-0.09 with [5.0.2][OFFICIAL] LiquidSmooth v4.0 | Lollipop | Flounder - not working for me.

cyclic reboot.
[Nexus 9 Original Android Development] Philaphlous:
The thermals are great on the stock kernel and elementalx. The only downside is the tegra k1 chip gets quite warm, especially when benching the gpu. It's the actual design of the tablet that's causing heat issues. My cooling mod has replaced the stock thermal pad on the tin emi shield with a thicker higher w/Mk thermal pad, which dissipates heat better, however the tin emi shield has very little thermal capacity so it doesn't do a whole lot if your running a long long benchmark... Hm
[Nexus 9 Original Android Development] akaempf:
It is a ROM issue not the kernel... Devs are not using SeLinux correctly.. Ask the dev to fix ROM..
[Nexus 9 Original Android Development] berendspruijt:
runing the latest on stock so far no problems:good:
[Nexus 9 Original Android Development] House.m.d:
I am on Stock-Rom with the newest Kernel, but USB-Otg isn´t working. Can it be Kernel releated?

Same OTG Cable and same stick no Problem on my Opo
[Nexus 9 Original Android Development] jwenthold:
what settings are working best for everyone? I am running stock rom with elementalx and I get massive lag in clash of clans, chrome, and other apps. nexus 7 seems faster a lot of the time...
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
AICP is CM based. With other versions of Elemental there were separate releases for CM & AOSP. Could that be why we are having compatibility issues? Really want to use this kernel with AICP.
[Nexus 9 Original Android Development] El Nino1977:
The ROM devs have disabled SElinux to get the ROMs to build and boot nothing to do with it being CM based. Reasons before on CM11 where due to using CAF kernels.
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Where did I say anything about SELinux?
[Nexus 9 Original Android Development] D-m-x:
He's just explaining why it won't work, it's due to SELinux.
[Nexus 9 Original Android Development] Gormsen:
I'm running close to stock settings. Have you changed anything? What are your max clocks of the CPU and GPU?
[Nexus 9 Original Android Development] jwenthold:
CPU Max 2397, GPU Max 852, performance governor with fiops scheduler. I haven't touched any other settings at all
[Nexus 9 Original Android Development] Philaphlous:
How have you changed the governor? The armoma installer doesn't have a governor selection...

Flar,

Any word on an elementalx governor? I used yours on the nexus 7 and it was awesome.
[Nexus 9 Original Android Development] jwenthold:
I use the elementalX kernel app
[Nexus 9 Original Android Development] Freak07:
sorry for the late reply. how do i get this kernel log? [MENTION=5501864]USBhost[/MENTION]

i tried with

adb shell dmesg

but i dont get it right to the second after booting is completed.

i tried also

adb shell cat /proc/kmsg

but i get permission denied....

could anyone help me here? :)
[Nexus 9 Original Android Development] USBhost:
You could just do

su -c cp /sys/fs/pstore/console-ramoops /sdcard

Then open it
[Nexus 9 Original Android Development] paychex:
You know performance gov simply maxes out the cpu speed all the time
[Nexus 9 Original Android Development] jwenthold:
Yes, I was just checking if it would help the lag..
[Nexus 9 Original Android Development] Freak07:
I got this:

[ 0.000000] Tegra13: CPU Speedo ID 1, Soc Speedo ID 0, Gpu Speedo ID 1

[ 0.000000] Tegra13: CPU Process ID 0,Soc Process ID 1,Gpu Process ID 0

[ 0.000000] Tegra13: CPU Speedo value 2500, Soc Speedo value 2180, Gpu Speedo value 2047

Seems yours is a little bit better. Is there any way to figure out the range from this values? So we can understand how much effect this has on thermals etc?
[Nexus 9 Original Android Development] flar2:
delete...mistake
[Nexus 9 Original Android Development] paychex:
tease
[Nexus 9 Original Android Development] Gormsen:
Well, I'm running 2.5 GHz CPU, 1 GHz GPU (9xx, can't remember the exact number), Interactive and Noop. Can't really seem to put a finger on the problem.

Just to eliminate the obvious, you have tried to reboot. This is sometimes necessary due to the memory leak in 5.0.1 ;)
[Nexus 9 Original Android Development] Nikki1993:
Hello everyone,

Finally managed to load the xda website, no idea why it is so slow for me.

Nexus 9 Wifi user here. I was looking for custom kernels to flash and ElementalX quickly grabbed my attention. I went ahead and even bought the app for kernel management and support of the development but ran into 2 major problems.

1) My device refuses to charge with the stock charger if I install ElementalX kernel. Apart from I/O scheduler and USB fastcharge enabled, I did not change any other setting. Disabling/changing either of these options does not allow me to charge the device through outlet using stock charger but connection to a PC does charge it. Reverting kernel back to Stock fixes the charging issue.

2) When I change the I/O Scheduler through the app from Noop to Fiops and reboot the device, it changed I/O scheduler to BFQ scheduler and after that, no matter what scheduler I put and click set on boot, it always reverts it to BFQ on reboot.

I did try searching for a solution but failed to find any so I also apologize if I did miss anything and would appreciate any help.

Thanks a bunch o/﻿
[Nexus 9 Original Android Development] beats4x:
Are you running this in the stock ROM? Lollipalooza? Don't know why it would cause it to not charge.

Have you tried flashing again, but without quick charge enabled? Or even better, going through aroma not changing a thing?

For the scheduler issue, in the app after making your changes, did you press the button/switch to the right of what your changing? That sets your selection on boot
[Nexus 9 Original Android Development] Nikki1993:
Sorry for the lack info. Forgot to mention that I an running stock android 5.0.1. I did try re flashing to no avail, same goes if I leave USB fast charge disabled in aroma installer and do not touch anything else. Reverting back to stock charges the device normally again.

I did select set on boot icon to the right.
[Nexus 9 Original Android Development] beats4x:
Strange, I honestly don't know what's causing your issue then. I ran this on stock just fine, and now on PA with no issue whatsoever. Sorry I don't have a better answer for you
[Nexus 9 Original Android Development] ilatimer1:
There is a PA build for the Nexus 9?
[Nexus 9 Original Android Development] beats4x:
I'm beta testing for Andre
[Nexus 9 Original Android Development] Nikki1993:
Want something interesting? The combination of stock USB and stock charger doesn't work. However, if I use another cable and stock charger the charging works. If I use different HTC charger with 1A output with STOCK USB cable it also WORKS. Buy as soon as I use stock charger and stock cable, it charges for 5 seconds and then stops. I honestly fail to see the connection. The stock USB and charger works if I revert back to stock kernel. I have my own pa build I might try that as the last resort but honestly wanna know what's up with this configuration.
[Nexus 9 Original Android Development] Hiro Nakamura:
Anyone tried elementalx kernel with new Slim-LP rom ?

Does it work fine?
[Nexus 9 Original Android Development] ilatimer1:
Just did a clean flash of the Slim-LP rom and ElementalX kernel and so far everything is running great!
[Nexus 9 Original Android Development] MotoFlasher:
Löppt = runs as expected/as it should ;)

SlimLP for N9 is SELinux: Strict
[Nexus 9 Original Android Development] Philaphlous:
Stock rom with the new 0.9 kernel. Working as intended. 2.5ghz cpu and stock gpu. Overclocking the gpu past 900 gets me a lower score...

I'm happy!
[Nexus 9 Original Android Development] maxstep:
ROM support

Are there any ROMs bar fully stock that support this kernel? (selinux disabled bootloop issues)
[Nexus 9 Original Android Development] paychex:
Um what?
[Nexus 9 Original Android Development] maxstep:
The kernel of ice and fire.

Two prominent Nexus 9 kernel developers, faux123 and flar2, released custom kernels, fauxkernal and elementalx respectively. Both coders included a set of kernel modifications and user-spacet tools for android/linux kernel security module, SELinux (Security-Enhanced Linux). As far as I understand all custom (non-stock, modified, xda-dev cooked) ROMs have SELinux set to disabled. Kernel with SELinux [on] installed for a ROM with SELinux [off] will result in a never-ending bootloop, rendering nexus 9 a neat, sexy paperweight.

[on][on]=good

[on][off]=bad

[off][off] (fire-ice kernel is SELinux off) =good

Correct me if I'm wrong please
[Nexus 9 Original Android Development] paychex:
Ok I didn't read bar=except and it made no sense.

Any ROM the disables selinux is not something you want to run. And not something that should be supported here
[Nexus 9 Original Android Development] maxstep:
I wholeheartedly agree, that's not the question, are there any ROMs bar fully stock that support this awesome kernel as of right now?
[Nexus 9 Original Android Development] bamboosensei:
According to the SlimLP thread, someone has tried ElementalX with the latest nightly and it is working. Aside from that, I don't think there is. Maybe Lollipolooza but I haven't used that ROM since December so can't remember.
[Nexus 9 Original Android Development] maxstep:
banzai

Thank you sensei, I shall try and report my findings.

EDIT:

I extrapolate that this particular gentlemen is running _stock_ kernel _baked-in_ into the SlimLP ROM. Mr. Vogemic is likely comparing the expereince of the SlimLP ROM+kernel combo with the previous installation of his, stock ROM+elementalx kernel, but I inquired for specifics to cast away any doubt.

Mr. Vogemic cordially informed me that he is running stock baked-in kernel. Sensei has almost led me astray.
[Nexus 9 Original Android Development] bamboosensei:
Apologies, I didn't read his message clearly as I haven't flashed the ROM.

Thanks for following up on that. I guess another way to check is to look at the screenshots of the settings page which shows SELinux. Normally Everythingportable (think that is the user's name) posts a video of most new ROMs that come out as well.

Edit: Actually looking back on that screenshot, I remember another post that said SELinux is 'Strikt' or what I assume is the German equivalent of enforcing (strictly speaking it would be translated as strict) but again, I haven't tested and it seems neither have the others.
[Nexus 9 Original Android Development] akaempf:
Elemental works with SlimLP... SELinux is enforced on this ROM... I am currently running this combination on my Nexus 9...
[Nexus 9 Original Android Development] maxstep:
format-keep data/encryption?

Great, thank you. What about encryption? Does the ROM encrypt anything on installation? I know that I'll have to flash elemtalx kernel right away on top of Slim without reboot, as Slip is bundled with a kernel. My only concern at this point is data partition. I want to keep my apps and wipe only cache and system. I'm running stock rom/stock kernel+encrryption_off patch on fire-ice twrp mod.
[Nexus 9 Original Android Development] ilatimer1:
I am currently running Slim-LP with ElementalX with no problems and with no encryption.
[Nexus 9 Original Android Development] Holer Togni:
Fellow Northern German, huh? ;) Thanks for the info.
[Nexus 9 Original Android Development] mrshades812:
[MENTION=4684315]flar2[/MENTION]

Any chance of adding power button disables dttw option?

Thanks!

Swift keyed from my N9

---------- Post added at 03:46 PM ---------- Previous post was at 03:35 PM ----------

How do you run unencrypted with this kernel?

Swift keyed from my N9
[Nexus 9 Original Android Development] ilatimer1:
So if I am having Bluetooth audio issues (intermittent dropouts), would that be a kernel or ROM issue? I am running Slim-LP with XlementalX and just wondering which one could be causing this problem.
[Nexus 9 Original Android Development] paychex:
Not kernel related
[Nexus 9 Original Android Development] hirndurst:
Installed latest version yesterday. Love this kernel so far. Also bought ElementalX app. Any recommendations for CPU settings (and others). I just want to have better battery time.

Thanks in advance!
[Nexus 9 Original Android Development] flar2:
For now, go with the defaults.

I will be back with optimizations soon.
[Nexus 9 Original Android Development] Gormsen:
Looking forward to seeing what you have in store for us :P

Also, this kernel rocks, love the optimizations picked from Faux, and cannot give you enough thumbs up for the 2A charging, it really makes a difference! :D
[Nexus 9 Original Android Development] Philaphlous:
Great! Hoping I can get a walk at the highest geekbench 3 scores for the nexus 9. So far the stock rom isn't doing too well for single core performance. Best I can get is 1950 at 2.5ghz...but still able to do 62k in antutu...
[Nexus 9 Original Android Development] Migamix:
so, little note. put cpuquiet on balanced the other day. with EX installed. today the tablet was idle with no usage .. only 1 percent drain. I've noticed so much more battery live in the couple of days on balanced.. anyone else tried it and find good results with no noticeable lag anywhere?
[Nexus 9 Original Android Development] seanashmore:
Apologies if this is a stupid question but would limiting the CPU / GPU frequency and having encryption disabled reduce the heat issues?

Also, I have this kernel for my N5 and love what its done for my battery life with default settings. Is cpuquiet a setting in the elementalx app? I haven't bought it yet.
[Nexus 9 Original Android Development] Philaphlous:
I've read that you won't see a performance difference with your nexus 9 decrypted because the tegra k1 chip has hardware support for encryption... Thats what I've read.
[Nexus 9 Original Android Development] cLeAv0:
Hi, can I request for binfmt_misc to be supported? :)
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
[MENTION=4684315]flar2[/MENTION] any idea why, on a 5.0.2 ROM, installation of ElementalX would break the CM12 Theme Engine? Works fine without ElementalX, but FCs with ElementalX installed. I know it is kind of a shot in the dark asking, but I figured I would anyway.
[Nexus 9 Original Android Development] El Nino1977:
Flat has to merge some commits for it to work on theme engine, which I think he said other day he will add in the near future
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Thanks!!! Figured I just missed it, and it was already discussed. Appreciate the response.
[Nexus 9 Original Android Development] Philaphlous:
Flar quick question.

For the cpu and gpu overclocks... Do you have a voltage bump with each clock speed?

And would like to share... Highest antutu score I've ever seen... Not sure any other device beats this yet. At least it's the highest nexus 9 I've seen...
[Nexus 9 Original Android Development] smallvan:
Read many pages back n could not find any clue.

Just brought the Nexus 9 LTE yesterday. Unlocked and rooted without problem. Would like to use custom kernel n whether the ElementalX is compatible with Nexus 9 LTE?

Moreover, the only way to de-encrypt is to factory reset at bootloader after flash the custom kernel, isn't it?

I am sorry for any inconveniences in case my questions are dumb.
[Nexus 9 Original Android Development] D-m-x:
Yeah 1 or 2 people mentioned that the Kernel works on the LTE Model. Just search for "LTE" in the Topic.

If you want to decrypt you have to use the "Format Data" Option in TWRP (the one where you have to Type "yes" in) after you installed ElementalX.
[Nexus 9 Original Android Development] flar2:
Update!!

I've changed the installation process to use the existing ramdisk. This should solve problems with selinxu, theme changer, etc.

Please don't install over other custom kernels. Best thing to do is dirty flash your ROM and then flash ElementalX.

I've also enabled the built-in hotplugging. I don't think it makes much difference, but we'll try it for this build.

Other than that, no actual code changes.

Download:

ElementalX-N9-0.10

Changes:

-use existing ramdisk

-enable hotplugging
[Nexus 9 Original Android Development] soundneedle:
Works fine on my lte.
[Nexus 9 Original Android Development] Nikki1993:
[MENTION=4684315]flar2[/MENTION]

I get bootloop when I install new kernel on stock ROM. Here is the installation file attached to the message.