yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] flar2:
Your data will be fine, this is not about encryption, it's the selinux mode, which is enforcing by default. If you need to run in permissive mode, then flash the permissive.zip I linked.

Generally, you should avoid running in permissive mode,
[Nexus 9 Original Android Development] nigelhealy:
Any

kernel? What about Fire+Ice?
[Nexus 9 Original Android Development] inscythe:
I think the version string of 4.08 is still at 4.07... I've flashed your kernel manually, but the Settings>About and the EX app still shows 4.07
[Nexus 9 Original Android Development] flar2:
We have the same patches as far as I know.
[Nexus 9 Original Android Development] Dlewczyk:
Me too. The Manager tells me I have an update and I'm on 4.07 after I have already updated. The kernel says 4.08 while it's updating.
[Nexus 9 Original Android Development] flar2:
I'll fix that up tonight
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

This is just to fix the version number

Also, in case anyone missed it:

I have removed the enforcing option from the installer. Selinux is enforcing by default, just as it was before. Removing this option will allow you to use setenforce again. There is no reason to run in permissive mode, but if you must, then use the permissive.zip found here: https://www.androidfilehost.com/?fid=23991606952602503

Download:

ElementalX-N9-4.09

Changes:

-fix version string
[Nexus 9 Original Android Development] Dlewczyk:
Thanks. Working great.
[Nexus 9 Original Android Development] oo0:
battery gone from about 70% to full discharge overnight can't get stats or previous logcat, but BetterBattery graph shows crazy power drop in 20 minutes, while native battery graph shows nothing.

what could it be? dmesg/last kmsg included
[Nexus 9 Original Android Development] flar2:
It could be almost anything. Reboot and it will probably be done.

This type of thing is never caused by a kernel.
[Nexus 9 Original Android Development] oo0:
[MENTION=4684315]flar2[/MENTION]

further analyzing with advanced battery tools show what and when happened.

from latest Screen off till big discharge there is:

first wakelock caused by connectivityservice which is normal,

second wakelock, WIFI MANAGER DELAYED DATA STOP . suppose it's when wifi gets deactivated if you have Keep wifi ScreenOff: Never.

and the third one PhoneWindowManager mPowerKey Wakelock for 3s 93ms, Screen was on for exact amount of time right before "Big Reboot", while device was discharging at ScreenOn rate 10%/h. But that happened while definitely no one could touch the device, PowerKey etc.

info acquired from android bug report and can't give wrong readings, if i didnt mess the wifi driver or something)
[Nexus 9 Original Android Development] Razertje:
Just wanted to post a thanks message over here. You made my Nexus 9 fly again with this great kernel. Performance on stock was never up to par... But now, wow a whole other league! Thanks and thumbs up!
[Nexus 9 Original Android Development] Masteryates:
Thanks for all the Hard work Flar2. :highfive:

Has anyone had any issues with Audio pops & crackles? I'm running N9-4.09 with CM13 Snapshot.
[Nexus 9 Original Android Development] FlickFlack:
I have exact this combo, snapshot CM13 and N9-4.09 kernel, no problems with sound in youtube videos.
[Nexus 9 Original Android Development] Masteryates:
That's interesting Flickflak. When flashing the kernel, which options did you pick? I just went for everything default as I'm new to this game...

I've never experienced any audio troubles before and the issues are on BBC radio player and TuneIn Radio. As its more than 1 app, I'm presuming its a global problem for me. :eek:
[Nexus 9 Original Android Development] kacang87:
I think it will happen when screen off only..if not mistaken
[Nexus 9 Original Android Development] Masteryates:
Yes I will test this out when I get home and have connection. Even if its an issue with the screen off, it is going to suck when using radio apps. :rolleyes:
[Nexus 9 Original Android Development] FlickFlack:
I use the default options of kernel. A quick test with playing a song in Google Play Music - sound ok with screen on and screen off. No problem here.
[Nexus 9 Original Android Development] Masteryates:
I tested the sound when I got home and I had the issue when the screen was on and off. The pops and crackles got worse the longer the audio went on. :crying:

I've now flashed cm13 again which has put back it's own kernel and the issue have gone away. :victory:

As things are currently working OK, I'm going to stick with this for now.:fingers-crossed:
[Nexus 9 Original Android Development] flar2:
Are you using any audio processing lke viper4android? Sometimes elemental governor is not aggressive enough for audio with processing.

Did you try interactive governor?
[Nexus 9 Original Android Development] Masteryates:
Other than what is included in cm13, I've added nothing sound wise. There is something built into the ROM called audio fx which can't be disabled without hacking.

I didn't try interactive governor yet.
[Nexus 9 Original Android Development] s1l3nt:
Not able to use Elemental x on my nexus 6 cause of screen split defect :( but it works amazingly well on my nexus 9 :). Loving it so far, running it on Purenexus
[Nexus 9 Original Android Development] flar2:
I have that split screen defect too, I should have returned it right away, as it happened the very first time I powered on the phone. But it doesn't happen that often with the interactive governor or in summer and I used the N6 as my daily driver for 11 months.
[Nexus 9 Original Android Development] firewave:
Hey boys,

I use a tool to elevate my zram size after the boot. I'd like to know if there is a parameter somewhere where I can put this size directly during the boot. elementalx.conf does not exist anymore sadly :(

If there is no way to do it in a conf file, I will end to write a little init.d script, but would to check before.

Thanks !
[Nexus 9 Original Android Development] Philaphlous:
Updated my tablet yesterday and refreshed this kernel... For some reason there's no change in gpu or cpu clock speeds no matter what I set it to. Cpuz says I'm running the elementalx kernel but no change in clocks... I may flash back the stock kernel and try again. Twrp is bugging out sometimes at the end of the kernel flash the screen basically freezes into a smaller screen that won't respond... I have to power off reboot...

Edit: just tried an older version 4.0.6 I believe and it flashed with no problems... Clocks worked. Hmm....
[Nexus 9 Original Android Development] corkiejp:
Android N Progress?

[MENTION=4684315]flar2[/MENTION] Any progress on the Kernel for Nexus 9 for Android N?

Chainfire has released a test version of Flashfire, that can use AROMA installer.

Just in case your waiting for TWRP to be updated.
[Nexus 9 Original Android Development] flar2:
Something is wrong with the kernel source for N. It seem to be incomplete.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

June security update and revert some patches to improve sound quality

Download:

ElementalX-N9-5.11

Changes:

-June security update

-fix sound
[Nexus 9 Original Android Development] WhammyDroid:
Does this need to be updated again due to Google re-releasing the April security update?
[Nexus 9 Original Android Development] corkiejp:
Probably not for the Wi-Fi version as the image has the same MD5 Checksum as last weeks release.
[Nexus 9 Original Android Development] glockman4519:
So good to see this kernel for the Nexus 9. Love it on my shamu, downloading now for my first custom kernel on my flounder..

"Chance Favors the Prepared"
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Update for MOB30D

Download:

ElementalX-N9-4.11

Changes:

-MOB30D update
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Update for N preview 2

**not tested**

Let me know how it works and I will push it to EX Kernel Manager

Download:

ElementalX-N9-5.00

Changes:

-update for N preview 2
[Nexus 9 Original Android Development] corkiejp:
[MENTION=4684315]flar2[/MENTION] Just flashed ElementalX-N9-5.00 on my Nexus 9.

Thank you for releasing this version.

Seems to be working fine.

As TWRP is not working properly on encrypted Nexus 9 ( N-DP2), the easiest method to Flash it, is to use Chainfire's FlashFire app.
[Nexus 9 Original Android Development] lmulli:
Easier said than done though when you can't get root in the first place on the device!
[Nexus 9 Original Android Development] flar2:
TWRP will attempt to start several times and then it will work.

Just leave it for a minute.

You won't be able to access your sdcard if it is encrypted
[Nexus 9 Original Android Development] lmulli:
My TWRP comes up straight away now that I set a pin, although I still have to hit the cancel button due to not being able to decrypt. In either case, just installed this latest NP2 kernel and the device failed to boot. Didn't even make it to the part where it asks me to enter my pin to continue booting. Had to revert back to the original boot image that came with the rom and it booted fine.

Thanks for your efforts in any case.
[Nexus 9 Original Android Development] corkiejp:
Use Chainfire's CFAR Method to root your device.

Thanks I'm aware of that, but as it is not working properly, I put stock recovery back on my device.
[Nexus 9 Original Android Development] lmulli:
Doesn't work. Same thing, stuck on the boot animation. He hasn't updated the CFAR for NP2, its still NP1, so may well be the included boot image doesn't work with this version.
[Nexus 9 Original Android Development] corkiejp:
Strange that it didn't work.

I used flashfire to flash N-DP2 from 6.0.1 and it rooted my device in the process. Flashfire is still using the same root process from N-DP1.
[Nexus 9 Original Android Development] lmulli:
It might because I completely wiped my device and flashed the DP2 image from scratch? (will keep in mind Flashfire next time - paid for it, may as well use it!) I have to say though that DP2 stock flies!! Its as smooth as butter, just a shame I can't seem to get root in order that I can change the icons in Google Now Launcher, but I can live with it. (and that's really all I want root for, oh, and the advanced reboot menu of course!)
[Nexus 9 Original Android Development] flar2:
Guys, it works, but you need to factory reset.

Don't play with the preview unless you know how to solve your own problems.
[Nexus 9 Original Android Development] chrmica:
Hi, I would like to change the amount of memory zram uses I found the settings in fstab.flounder and fstab.flounder64 '/dev/block/zram0 none swap defaults zramsize=533413200,notrim' but although I change the value for zramsize the new size is ignored and on reboot the size in fstab files is back to default 500mb, is there another config that needs to be changed to change zram size.? Thanks.
[Nexus 9 Original Android Development] Marky__Mark:
Keep toggling the set at boot on and off till it sticks.
[Nexus 9 Original Android Development] chrmica:
Did not understand what you meant by keep toggling setting on boot, can you please explain how to change the memory size of zram as I previously explained the values in fstab are reset back to default on reboot and zram size always remains at 500mb want to change it to 400mb or less. Thanks
[Nexus 9 Original Android Development] Marky__Mark:
Sorry. I assumed you have kernel adiutor installed. Thats the app you use to toggle it.
[Nexus 9 Original Android Development] corkiejp:
[MENTION=4684315]flar2[/MENTION] Bug in EX Kernel Manager, prompting an update for 5.00 when already installed.
[Nexus 9 Original Android Development] lmulli:
Has anyone found that dt2w is a bit temperamental on n preview 2 and generally doesn't work? Also, I find with the default settings that my tablet lags more than it does with the stock kernel. Anyone found some decent settings?
[Nexus 9 Original Android Development] sejmand:
Silly question?!

I'm using elementalx on my n9, works great...

Is it possible to use the exmanager on my note3 hlte root cm12.1?

Or is the exmanager only for the supported devices?
[Nexus 9 Original Android Development] flar2:
You can use it on any device or kernel.
[Nexus 9 Original Android Development] sejmand:
Thx, good I payed for the full version... :)
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

May security update

Download:

ElementalX-N9-4.12

Changes:

-May security update
[Nexus 9 Original Android Development] Philaphlous:
Has anyone had trouble overclocking? I still am not able to overclock the CPU...however, I can adjust the GPU no problem...
[Nexus 9 Original Android Development] Philaphlous:
Anybody? I even did a factory reset/non-encrypt flash and I still can't overclock or underclock. Seems like the code for the CPU clock change is broken?
[Nexus 9 Original Android Development] flar2:
GPU max clock was broken in EXKM, fixed in the new release (version 2.62). I don't have trouble overclocking the CPU on any versions though.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

June security update

Download:

ElementalX-N9-4.14

Changes:

-June security update
[Nexus 9 Original Android Development] siraltus:
Nexus 9 LTE variant running stock MOB30M ROM here.

Installing version 4.14 results in a bootloop.

My install steps are:

1. Flash the stock MOB30M boot.img via fastboot.

2. Boot directly into recovery (TWRP 3.0.2-0).

3. Install SuperSU 2.65 stable.

4. Install the ElementalX 4.14 kernel ZIP file.

5. Reboot.

I even flashed the stock system.img and vendor.img to be sure.

One thing I noticed that even the stock Google kernel patched with FED Patcher won't boot.

The only kernel that boots is FIRE-ICE. I'm coming from USBHost's FIRE-ICE kernel, if that matters.

Is there a special step I'm missing? I installed ElementalX 1.18 on my Nexus 6P using the same exact steps and it's working fine there.

EDIT: Figured it out. Erased the data partition in fastboot, then formatted it in TWRP, and the tablet finally booted with ElementalX installed.
[Nexus 9 Original Android Development] MpandAUS:
I can confirm this works on Remix OS without any problems and bootloops, thanks developer. Installed the elemenalx manager first then rebooted to recovery to install the kernel via custom express installation, I tried doing automatic installation first but don't think it worked.
[Nexus 9 Original Android Development] siraltus:
WiFi or LTE variant?
[Nexus 9 Original Android Development] MpandAUS:
WiFi, flounder / volatile
[Nexus 9 Original Android Development] siraltus:
Looks like ElementalX doesn't like the LTE variant.
[Nexus 9 Original Android Development] flar2:
No, it works perfectly on both variants
[Nexus 9 Original Android Development] siraltus:
Am I installing it wrong? (See my earlier post.)

I'm coming from USBHost's FIRE-ICE kernel, if that matters (it shouldn't, since I'm flashing the stock boot.img first anyway).

EDIT: Figured it out. Erased the data partition in fastboot, then formatted it in TWRP, and the tablet finally booted with ElementalX installed.

Leaving this here for others who have this problem.
[Nexus 9 Original Android Development] thrutheeyes:
Is the weird battery charging problem fixed by using EX?
[Nexus 9 Original Android Development] flar2:
Slow charging?
[Nexus 9 Original Android Development] thrutheeyes:
incorrect %, you charge and % doesn't go up. Ye I think slow charging same thing.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Update for Android N preview 4

Download:

ElementalX-N9-5.01

Changes:

-Android N preview 4 update
[Nexus 9 Original Android Development] buffal0b1ll:
I think the charging behavior [MENTION=4303122]thrutheeyes[/MENTION] is trying to report is the same behavior that [MENTION=6906048]iKirby[/MENTION] was reporting on Krexus (I'm the maintainer for Krexus). The behavior as briefly as I can describe it is "battery charges normally, but the increase in percentage doesn't appear without reboot".

I couldn't replicate this behavior on stock kernel or any FireICE version. But I finally experienced the behavior first hand when I installed EX 4.14 yesterday.

This issue seems the same as the one that [MENTION=5501864]USBhost[/MENTION] reports his next release will include a fix http://xdaforums.com/showpost.php?p=67569436&postcount=2996

If there's anything I can do to log/test/help please let me know.
[Nexus 9 Original Android Development] fyarf:
Sorry if this has been asked, but I couldn't find it in the OP or follow ups. Does this kernel support unencrypting the userdata? I wiped it and clean flashed Slim6 with elementalX but it still says the data partition is encrypted in the system under about tablet. Thanks!
[Nexus 9 Original Android Development] corkiejp:
If you read the first post, you would see that it supports "No forceencrypt".

You would still need to format your data partition for it to have an effect. Not wiping it.
[Nexus 9 Original Android Development] fyarf:
I see it now, was looking for different keywords. So will I need to format user data, flash the kernel, and boot, or do a whole clean flash but with a format of the userdata?
[Nexus 9 Original Android Development] corkiejp:
Just a format of your data partition should do the trick, no need to re-flash everything.
[Nexus 9 Original Android Development] acornkenya:
Is there a version of this kernel for the Nexus 9 LTE?
[Nexus 9 Original Android Development] maelfilk:
Why would there be a different version? Kernel can be used for both LTE and WiFi models.
[Nexus 9 Original Android Development] STB2010:
Getting error when flashing 4.14 on July Factory Image...

Android error popup message. Ask your manufacturer.
[Nexus 9 Original Android Development] flar2:
Did you flash the correct vendor partition?
[Nexus 9 Original Android Development] STB2010:
I think so, system is up and running with Juli Patch without ElementalX.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

July security update

Do not install on earlier builds!

Download:

ElementalX-N9-4.15

Changes:

-July security update
[Nexus 9 Original Android Development] Pauls57:
Just installed update with exkm and lost wifi
[Nexus 9 Original Android Development] maelfilk:
Make sure than rom and vendor are up to date (july update). Wifi is working just fine.
[Nexus 9 Original Android Development] flar2:
Revert to the previous version of ElementalX until your rom is fully updated
[Nexus 9 Original Android Development] NovaSlim:
Pure Nexus here, 4.15 with the latest ROM(w/ July patch) have no Wifi issues, and I chromecast 24/7 with this tablet so it is thoroughly tested at this point
[Nexus 9 Original Android Development] maelfilk:
What about battery % issue? Still incorrect?
[Nexus 9 Original Android Development] NovaSlim:
I never had battery % issue.
[Nexus 9 Original Android Development] CZ Eddie:
Flar, if you end up adding the timur USB-OTG patches to the N7 kernel, do you think you can add it to the N9 kernel also? If that's even possible?
[Nexus 9 Original Android Development] flar2:
This device already supports Otg and charging
[Nexus 9 Original Android Development] igloohed73:
Running most recent Pure Nexus with July security patches and am having the no WiFi issues with ElementalX 4.15. Anyone have an idea as to why or experiencing the same with the latest security patch & 4.15? Reverted back to 4.14 & all's well. Just don't wanna keep missing updates because of this.

4.15 works perfectly on my 6p ftw.
[Nexus 9 Original Android Development] biscuitownz:
Hey guys, how does the elementalx kernel compare to the one that comes with the pure nexus rom?
[Nexus 9 Original Android Development] manicDROID:
Curious if flar2 or someone can confirm which of the most recent ElementalX kernels is still compatible with 5.1.1 ?

- the newest all reference M or N, and I'm not keen on doing any sort of damage to my device.

Thank you.
[Nexus 9 Original Android Development] flar2:
Not sure which version, but it won't damage anything. Just won't boot. Do a backup, as always. If you have EX Kernel Manager it will automatically download and install the correct version.
[Nexus 9 Original Android Development] Need4Sneed:
Hey flar2, quick question . . . .

I'm running Pure Nexus Project 20160730 build w/ ElementalX v4.15 on my Nexus 9, along with EX Kernel Manager. I haven't had any issues until last night (maybe 2 nights ago) when I felt my N9 getting abnormally warm. I jumped into EX KM and noticed that my clock speed wouldn't go below 1.5GHz, and was consitently stuck between 1.9GHz - 2.3GHz. I downgraded EX to v4.14 and experienced the same issue, then noticed after rebooting that everything was stable until EX KM applied its settings. I went back up to v4.15 and uninstalled EX KM and the issue seems to have stopped. I have EX KM set to update automatically, so it must have been a recent update because I've been using EX v4.1x w/ EX KM for months without any issue.

Jusrt wanted to give you a heads up.

I'm gonna reinstall EX KM, and if the issue returns, I will snag and post a log for you.

Thanks for all of your hard work my friend!! I am so grateful for your development prowess and consistent updates; when it comes to Android development, you're my favorite dev on XDA, or anywhere for that matter!!

Thanks again,

- Jackson

-------------------UPDATE----------------

Scratch that, the issue still remains after uninstalling EX KM. When I reboot, everything is fine for about 5 or 10 minutes, then the clock speed spikes and never comes down. I've tried changing the governor, and that doesn't seem to affect anything. Anyway, I'm going to grab you a log, be right back.
[Nexus 9 Original Android Development] flar2:
This type of problem is not caused by the kernel. It's an app or service running wild.
[Nexus 9 Original Android Development] jerrylzy:
Hi flar2, could you add f2fs support for /system partition? Thanks.
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

August security update and update for N preview 5

Marshmallow:

ElementalX-N9-4.16

Changes:

-August security update

N Preview 5:

ElementalX-N9-5.02

Changes:

-update for N preview 5
[Nexus 9 Original Android Development] bigsyd:
I fell back to an Elemental X kernel backup from March so I could regain WiFi.

I'm now at a .10 version. What is the correct way to install .14 that I downloaded? Do I reboot to Recovery and Install with TWRP? I tried that and it said INSTALL failed. Do I need to use Fastboot?

I appreciate any assistance offered. Thanks in advance.
[Nexus 9 Original Android Development] DanteGR:
Just install through TWRP. No fastboot needed. Maybe you got a bad download before. Try again I would say.
[Nexus 9 Original Android Development] bigsyd:
Thank you. I downloaded again and 9 worked like a charm.