yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] JimmyVD:
Stuck at boot?

Has anyone else had the issue where the nexus 9 LTE version will get stuck on the android boot animation? Tried waiting approx 5 mins but just stayed there.

Is there something I'm doing wrong?

Using pure nexus ROM and flashing SuperSU 2.52 manually.
[Nexus 9 Original Android Development] flar2:
Uncheck the enforcing option during install
[Nexus 9 Original Android Development] NicoGa:
I m still on stock rom with this kernel on a lte device, SElinux enforcing and it is rock solid.

Does pure nexus run properly before flashing this kernel ?

Very curious to know if you manage to flash this kernel on pure nexus as I plan to install this rom when I will have time!
[Nexus 9 Original Android Development] andybones:
Using this kernel and running great on Pure Nexus ROM.

Just make sure to uncheck the "Enforcing" option during installation.
[Nexus 9 Original Android Development] NicoGa:
OK but are you on a lte device ?
[Nexus 9 Original Android Development] andybones:
Ahh - no WiFi only.
[Nexus 9 Original Android Development] AL2000EX:
Couple of questions on the kernel. Is zram an actual zram, where a part of ram partition is compressed, or is it Swap (as disk info calls it) which uses the hard drive? Also, is there a way to lower the crazy Gpu input boost?
[Nexus 9 Original Android Development] flar2:
Zram uses a portion of ram as a compressed swap partition. It doesn't use the disk.
[Nexus 9 Original Android Development] darkchazz:
Any recommended LMK minfree values to keep more apps running and cached in the background?
[Nexus 9 Original Android Development] emd2009:
Is this kernel dead?
[Nexus 9 Original Android Development] workdowg:
Really? :silly: It is what we like to refer to as STABLE!
[Nexus 9 Original Android Development] corkiejp:
6.0.1 Factory Images now available.

Anyone test this kernel with the above image yet?
[Nexus 9 Original Android Development] fleischbanane:
Yes, everything works fine. Also xposed works perfect.
[Nexus 9 Original Android Development] corkiejp:
Thanks. Successfully updated my device and rooted with systemless SuperSu v2.61.
[Nexus 9 Original Android Development] WhammyDroid:
I flashed 6.0.1 and am now seeing the battery percentage be significantly off. Its now at 4,110%. Is this a kernel issue or something else?
[Nexus 9 Original Android Development] flar2:
Update!!!

Update for Android 6.0.1

For stock ROM:

If you want root, you must use SuperSU 2.61 found here:

http://xdaforums.com/showpost.php?p=64161125&postcount=3

Flash SuperSU 2.61 in recovery, then flash ElementalX in recovery

You only need to install SuperSU the first time. Once you are successfully rooted, you can install any future update of ElementalX without reflashing SuperSU again.

If you install other kernels after this, you must flash stock boot.img, then SuperSU 2.61, and then ElementalX.

For pre-rooted custom ROM:

Just flash ElementalX

Download

ElementalX-N9-4.05

Changes:

-update for Android 6.0.1
[Nexus 9 Original Android Development] jaju123:
Does the 6.0.1 kernel work on 6.0 AOSP roms?
[Nexus 9 Original Android Development] flar2:
No, use ex 4.04
[Nexus 9 Original Android Development] corkiejp:
Does the order matter?

I successfully flashed 4.0.4 and then SuperSU 2.61 last night. It is the order I normally do it.

Use the Kernel Manager App to update today.
[Nexus 9 Original Android Development] flar2:
As long as you're already rooted, you can simply flash EX.
[Nexus 9 Original Android Development] ricco333:
Seeing 4000% battery level after 6.0.1 system image update and Elemental 4.0.4 and also 4.0.5, thank you for the update, this kernel rocks.

Erik
[Nexus 9 Original Android Development] flar2:
You've somehow ended up with the 6.0 ramdisk.

Flash 6.0.1 boot.img, then SuerpSU 2.61 (if you want root), then EX 4.05
[Nexus 9 Original Android Development] Harry551:
hello everyone i had flash Pure AOSP rom and next the ElementalX kernel 4.0.5 but the DT2W don't work.. why?
[Nexus 9 Original Android Development] racketier:
Enjoying the kernel so far. Bought the app to support the dev. Anyone know if KSM has been considered before as a future feature update? Wondering if it will help with the memory issues inherent on the Nexus 9.
[Nexus 9 Original Android Development] flar2:
It's probably not enabled. Check the setting

I never use ksm because it consumes CPU in the background, but maybe it's worth trying on this device. Is fire ice using it? If so what are the results?
[Nexus 9 Original Android Development] racketier:
Fire-ice does have KSM, I saw someone mention that it helps on the Nexus 9 which is why I thought to bring it up. Haven't tried it myself because it's so hard to switch to something else once you go Fire-ice.
[Nexus 9 Original Android Development] DroidIt!:
Hey [MENTION=4684315]flar2[/MENTION] :) Just managed to pick up an N9 for REALLY cheap and I'll have it in a couple more days. Really looking forward to trying out your kernel on it. :) I may not be up to par with you, but I'm starting to feel like a nexus conneseur: N5, N6, N7, and now N9. Next stop 6p and 5x :)
[Nexus 9 Original Android Development] chrmica:
I am encountering an issue where sometimes the clock in status bar stops updating itself unless I switch off screen and back on with power button to reset it, I have a nexus 5 on M 6.0.1 not rooted and did not encounter such an issue also have a strange issue with Facebook when scrolling upwards it freezes and kicks out to desktop, these started happening since last updated to M 6.0.1 and E4.05, anybody else encountering such issues?
[Nexus 9 Original Android Development] flar2:
Those are not kernel issues
[Nexus 9 Original Android Development] antiochasylum:
[MENTION=4684315]flar2[/MENTION] I haven't looked at your source. But this's helps charging a ton. Possible to add?

https://github.com/USBhost/FIRE-ICE/commit/8f39dc619e7b7351e9d025b3c0b42c8e5fb557af
[Nexus 9 Original Android Development] flar2:
It's in there already
[Nexus 9 Original Android Development] antiochasylum:
Money. Just wish this thing didn't charge so freaking slow.
[Nexus 9 Original Android Development] flar2:
Annoying, I know. On the other hand, if you charge it up full and leave it, it will last for nearly one month on standby.
[Nexus 9 Original Android Development] DroidIt!:
Hey [MENTION=4684315]flar2[/MENTION]. Got my N9 yesterday, flashed your kernel and running great on 6.0.1. :)

A question. I was looking for the stock settings. The ROM I flash works really good with ElX, but I noticed the values I set in the Aroma installer aren't reflected in the EX kernel manager app on first boot for some settings. I know what the stock value's are for the N6, but not for the N9, so I was wondering if somebody could maybe post some screenshots or give some basic stock settings. :)
[Nexus 9 Original Android Development] xybur:
Quick charging doesn't actually seem to charge fast for me at all. Stays below 1.5amps
[Nexus 9 Original Android Development] corkiejp:
Note: "USB fastcharge" only applies when charging from USB port on a computer, not from the mains charger.
[Nexus 9 Original Android Development] xybur:
I'm aware. I'm specifically referring to the 2.0a feature. Supposedly it allows more power draw from a brick (provided the brick pushes more than 2amps of power). I tested the power draw using Ampere, and it never went above the default 1.5 amps which is what the N9 is normally able to draw.

I was told by another dev that the reason for this is because the N9 has an inherent power draw on idle of 200-300mA, but I doubt this is the case because the math should work out to be 1700mA (at least), and my results never went higher than 1400mA (or 1.4A) in my tests.

edit: I made a post asking about it on q/a http://xdaforums.com/nexus-9/help/2ah-charging-longer-6-0-1-t3271643
[Nexus 9 Original Android Development] flar2:
I will revisit this kernel when I have a chance. I like the way it runs now, but there are a couple of things I want to test.
[Nexus 9 Original Android Development] jimmyschmidt:
I'm completely confused. I'm currently running 6.0.1, SuperSU 2.52 and the 3.10.40 kernel. Can I update to the latest kernel (4.05) using EX Kernel manager without updating to SuperSU 2.62? Do I want to upgrade?
[Nexus 9 Original Android Development] flar2:
If you are running 6.0.1 and already rooted, just flash the latest EX with the EX Kernel Manager.
[Nexus 9 Original Android Development] jimmyschmidt:
Thanks. Got it sorted.
[Nexus 9 Original Android Development] jimmyschmidt:
Just had to come back to say thanks. I tried out the USB charging option and it's pretty remarkable. Nearly a 500mA improvement and now charging at 140% of the rate it was.

I can't think of anything that the Nexus9 needed more.
[Nexus 9 Original Android Development] Philaphlous:
Just flashed 6.0.1 today. Got a boot loop after flashing twrp. Had to reinstall the os. Ended up running decrypted finally.

Not seeing any benefit in storage scores for decrypting...
[Nexus 9 Original Android Development] tyvar1:
Flar2 will you release your kernel for the Google Pixel C? :)
[Nexus 9 Original Android Development] flar2:
No, I'm not getting one
[Nexus 9 Original Android Development] tyvar1:
Okey :( thanks for the good work and merry Christmas! ??[emoji1]
[Nexus 9 Original Android Development] flar2:
Merry Christmas everyone, thanks for a great year!
[Nexus 9 Original Android Development] dictionary:
Merry Christmas Flar, thanks for a great kernel!
[Nexus 9 Original Android Development] danber76:
I miss the kcal support ?

Merry Christmas everyone!
[Nexus 9 Original Android Development] thefiqs:
Hello! Just unlocked my friends nexus 9 and flashed twrp plus newest EX without root. Everything seems working fine but the charging is very slow. I set FC to ON. Maybe thats the problem? Checked the forum but can not find charging problems with the newest build. Any advice?

TweakBoxed H815 V10d
[Nexus 9 Original Android Development] PhilipTD:
It charges slowly with any kernel. I got a Tenergy quick charger that speeds it up a bit.
[Nexus 9 Original Android Development] flar2:
Looks like there were no kernel changes in the January security update from Google. You may continue using the latest version of ElementalX.

As always, it is recommended to flash the stock boot.img if you do the update, in order to have the latest ramdisk.

Procedure for updating:

1. Download factory image from Google

2. Extract boot.img, system.img and vendor.img and flash these in fastboot mode:

fastboot flash boot boot.img
fastboot flash vendor vendor.img
fastboot flash system system.img

3. Reboot to recovery (important--don't reboot to system)

4. Flash SuperSU

5. Wipe cache and Dalvik

6. Boot into system

7. Install ElementalX (either with the EXKM app or in recovery)
[Nexus 9 Original Android Development] DroidIt!:
:) You've been busy. Thanks for the awesome support. One of the many reason's I stay with your kernel. BTW, now running beautifully on N5, N7, N6, N5x, and N6p. :)
[Nexus 9 Original Android Development] sejmand:
and n9 :)
[Nexus 9 Original Android Development] PhilipTD:
I'm feeling a little envious right about now.
[Nexus 9 Original Android Development] Philaphlous:
Flar2,

Do you have any experience modifying system files? Particularly system files in the kernel/clock folders?

I'm wanting to modify the DVFS_Table file which is editable via notepad. It contains all the system clocks and voltages, which I can change. I've been able to extract the file from the kernel but I'm not exactly sure as to pasting over the old file in the system. Can I do this via TWRP file manager? Would Wug's Toolkit with the terminal command allow me to do so?

Thanks man! Undervolting to the extreme here!
[Nexus 9 Original Android Development] madbat99:
I thought you're not supposed to mess with voltages on the n9.? Because of the way its handled.
[Nexus 9 Original Android Development] flar2:
Those are all virtual files, so they won't persist after a reboot.

I do not know much about them on tegra devices. Everything else I have is Qualcomm.
[Nexus 9 Original Android Development] Jeltel:
Doesn't SuperSu uses a modified boot.img for installing root? Where does that come in this update proces?
[Nexus 9 Original Android Development] belair56:
It does not use, it modifies the boot.

In the beginning of system-less yes. Now no.

If wrong, anyone please correct.
[Nexus 9 Original Android Development] madbat99:
You are correct. The newer builds of SuperSU beta no longer require modified boot.img. The zip modifies your current boot.img
[Nexus 9 Original Android Development] brutalv4:
flar2

Thanks for awesome kernel! :good:

Got working everything I need on Stock. Even /cache switched to f2fs. Maybe it's placebo.

By the way "inline_xattr" mount option in ElementalX-N9-4.05.zip:/boot/editramdisk.sh for /cache was the reason for my bootloop. Unable to find info on that.
[Nexus 9 Original Android Development] l0ud_sil3nc3:
New kernel working great flar2, testing first cycle now for battery life but performance is on point :)
[Nexus 9 Original Android Development] flar2:
Update!!!

A small update, added KSM to help the memory situation (slightly) and a few tweaks to elementalx gov.

Download

ElementalX-N9-4.06

Changes:

-add KSM

-a few tweaks and optimizations

-installer updates
[Nexus 9 Original Android Development] italynstylion:
I'd read somewhere in this thread that USB OTG charging was supported with this kernel. Meaning, you can charge the device via an OTG splitter cable like what is linked below while a USB device (like a flash drive) is also connected. Can anyone confirm? If so, how do I get that working?

http://www.amazon.com/gp/product/B00NSBVNCM?psc=1&redirect=true&ref_=oh_aui_detailpage_o06_s00&tag=amazonquery-20
[Nexus 9 Original Android Development] sejmand:
This was my first update (stockrom+twrp) and everything works without problems. Thx for the excellent "on-klick-routine". Good Work!
[Nexus 9 Original Android Development] DroidIt!:
KSM? Kernel samepage?
[Nexus 9 Original Android Development] flar2:
yes. It seems to save at least 25MB of memory, not a lot, but every bit helps on this tablet.
[Nexus 9 Original Android Development] Pilz:
I did a cold run this morning and the result is below. I wonder why it's benching lower/the same as stock with the new kernel. Should I try to reflash it or try another version? The 56k is when it was stock
[Nexus 9 Original Android Development] flar2:
You shouldn't really worry about benchmarks, they fluctuate quite a bit. Plus this is an alpha kernel, still getting into things. Although it should be the same as stock with stock frequencies.
[Nexus 9 Original Android Development] Pilz:
I'm not worried I was just curious because other members were reporting different results. The battery life does seem better with this kernel whether that was intentional or not I like it.
[Nexus 9 Original Android Development] flar2:
Update!!!

-This should fix the problem with Asian keyboards.

-Add GPU overclocking, mine goes up to 984, let me know what your max is (it might be different)

GPU is not overclocked by default, use the ElementalX app or do this:

su
echo 984000000 > /sys/kernel/tegra_gpu/gpu_cap_rate

-big changes to zram, I backported from linux 3.15, which adds support for lz4 compress/decompress (faster) and multiple compression streams (I have set it to 2, same as the number of CPUs)

-add exFAT filesystem support, you need Stickmount or something to mount the disk

-no forceencrypt on /data. If you are using previously installed system, you data is still encrypted, which is good.

Download:

ElementalX-N9-0.05.img (alpha)

Changes:

-initial GPU overclocking (~984MHz)

-add lz4 compression algorithm

-zram backported from linux 3.15

-zram uses lz4 compression

-multistream zram

-exFAT support

-no forceencrypt on /data

-use gnu/linux linaro 4.9 toolchain
[Nexus 9 Original Android Development] StuMcBill:
Do I need to be rooted to use this kernel? I guess I will be able to but wont be able to change any settings in the app?
[Nexus 9 Original Android Development] flar2:
Exact, you could flash it without root, but won't be able to adjust settings (which you don't necessarily need to)
[Nexus 9 Original Android Development] berendspruijt:
Wow you are fast!

you said your app works now.

to avoid confusion can you update your original post so that everyone knows we can use the app.

Thanks and keep up the good work!
[Nexus 9 Original Android Development] badjoras:
Signed up for everything, payed for your app, playstore said error, can't find it, says it is not found.

edit: nvm, finally opened.
[Nexus 9 Original Android Development] USBhost:
Haha!!

62k
[Nexus 9 Original Android Development] Thijssie909:
Hi Flar, great to see you here. Still enjoying your M7 kernel, but will root my Nexus 9 soon to flash this!
[Nexus 9 Original Android Development] laill:
Flar always brings us nice stuffs.

You have no idea how much I miss the swipe to sleep:p
[Nexus 9 Original Android Development] flar2:
S2s is coming. It's a bit delayed because I'm getting occasional sleep of death with s2wake (works great other than that). Sweep2sleep will be fine, I was just going to release them together.
[Nexus 9 Original Android Development] cha0tician:
Thanks!

Really appreciate the work you're putting in on this. Already seeing improvements to animations and application switching.
[Nexus 9 Original Android Development] jarjar124:
Great job flar2! New build is a great improvement in speed and fluidity.
[Nexus 9 Original Android Development] TenderloinShadow:
Question

Love that custom kernels are starting to roll out already. Got a few quick questions though:

1) Does this kernel support USB OTG? I haven't seen any confirmation on if OTG is supported out of the box, but does this kernel support it?

2) You mention NTFS support. Does that mean that with this kernel, the tablet would be able to read an NTFS formatted hard drive connected via a USB OTG cable?

Thanks so much in advance.
[Nexus 9 Original Android Development] flar2:
Yes to both. For 2) you will need an app like Stickmount to handle the mounting.
[Nexus 9 Original Android Development] MRobbo80:
That's amazing news!! Means I can now use my new micro SD card ? instead of my pen drive ?
[Nexus 9 Original Android Development] mkiderek:
Keyboard problem fixed!:good:
[Nexus 9 Original Android Development] Pilz:
I'll try out the new one later, but the v4 has great battery life compared to the stock kernel. I'm at 7h40m SOT currently and I wonder if I'll make it to 8h SOT. I used it all day at school but sadly chrome is the biggest battery drain still. I'll post pictures right before it dies tonight. I also had a random shutdown which happened even when this was stock so no problem but I love the battery life.
[Nexus 9 Original Android Development] Pilz:
Here is my SOT as mentioned above. I think that's good for a tablet, my G3 gets 5 hours SOT on a very good day so 8 hours seems much better.
[Nexus 9 Original Android Development] oias.heeda:
Why is the performance so bad on this device? I only got it a few weeks ago and it's horrible.
[Nexus 9 Original Android Development] D-m-x:
I don't get that either, Hardware isn't bad, but the Memory Leak is horrible on this. Restarting helps, but 1-2 hours later its horrible again.

Thanks [MENTION=4684315]flar2[/MENTION] you're absolutely right, every small bit of Memory Improvement helps on this Tablet. updated ElementalX yesterday from the December Version and it seems ti really help (running for 10 hours), hopefully it isn't a placebo effect! Thank you for that and your gread work!
[Nexus 9 Original Android Development] buttie:
Yeah, Google claims that they fixed it a couple of times already with updates but I don't see any difference. It's so bad it's rendering the device unusable after few days without reboot. After testing few ROMs I found out that CM 13 is most stable and fastest. Which is strange, because CyanogenMod was never a power-beast on any device.
[Nexus 9 Original Android Development] D-m-x:
Me neither, seriously to buy this Tablet was one of the biggest mistakes I ever made. If i had the Chance to go back in Time, I would slap myself the idea out of my head...

Worst thing is, if someday the Tablet is usable it will be to old...
[Nexus 9 Original Android Development] sejmand:
nexus 9 and memory-bug:

my nexus is very good, very stable and fast.

In the beginning (lollipop) is was laggy und slow, but after marshmellow no more problems...
[Nexus 9 Original Android Development] oias.heeda:
What I/o scheduler and goveners are people running for best performance?

[MENTION=4684315]flar2[/MENTION] What would you recommend? I would like maximum performance. Saving battery is not an issue for me.

Thanks for the kernel and app btw. I'm running it on 3 devices. ?
[Nexus 9 Original Android Development] D-m-x:
This is a good question. Maybe someone did a few tests or benchmarks and can crime in!?

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 9 Original Android Development] [deXter]:
Just wanted to say, KSM is working like a charm! I'm getting about 150MB more free on an average, compared to stock kernel. I can actually run Google Music + Navigation + Ingress + Ingress Intel Map all at the same time, and when I switch between the apps, they don't reload any more! It's the first time my Nexus 9 has ever been able to multitask so much, it's incredible.

Thank you [MENTION=4684315]flar2[/MENTION] for fixing what Google couldn't! Expect a donation your ways.. :)
[Nexus 9 Original Android Development] D-m-x:
Absolutely agreed, noticed the same, about 150 MB more Memory. Play Music and Chrome at the same time is still a Dangerous Operation sometimes but everything else is MUCH smoother. Google should pay you for that...

Gesendet von meinem Nexus 9 mit Tapatalk
[Nexus 9 Original Android Development] italynstylion:
[MENTION=2112249]flair2[/MENTION] can you comment on this? Is there any way to get this working on the Nexus 9? Timur had developed a kernel with this feature for the Nexus 7 a long time ago and I desperetly need this for the Nexus 9 (since the Nexus 7 is getting old).
[Nexus 9 Original Android Development] flar2:
It works great on this tablet. You just use a Y-cable, connect one end to a perhipheral device and the other end to charging source.
[Nexus 9 Original Android Development] italynstylion:
I'm not able to get this working. I do have an OTG cable (the one listed in my previous post) but it doesn't work with the Nexus 9. It's the same one I use with my Nexus 7 currently so I know the cable isn't bad/broken. Is there a specific cable I need? This is the main feature I need in my setup. :D
[Nexus 9 Original Android Development] flar2:
Maybe you need a different cable. All I know is that otg + charge is a stock feature of this tablet. It was not implemented by me and should be more robust than on the N7
[Nexus 9 Original Android Development] DroidIt!:
The KSM has seemed to do the trick for me too [MENTION=4684315]flar2[/MENTION] :) I was getting some redraws like some of the others said. I did notice off a clean flash though for whatever reason on the N9, google takes up about 600 mb of memory where on some of my other devices it might take up only half that. Not sure why that is, but the 150 mb or so released with KSM is a huge help. Now, it wasn't too bad before or anything IMO, the N9 still well outperformed my N7, but the KSM did make a big difference. Thanks flar :)
[Nexus 9 Original Android Development] italynstylion:
Interesting. I'm not sure what's going on then. I have a second cable of a different type it doesn't work with either. What cable do you use that you have verified works in this configuration? Can anyone else verify this works on their Nexus 9? I'm on the most current stock Google image version of Marshmallow available for the Nexus 9 with the most recent ElementalX kernel installed.

To give you an idea of what I am trying to accomplish. I'm using the tablet as a headunit and need to charge the device while a USB flash drive is mounted and while a USB DAC is plugged in. Without this feature I'm pretty much dead in the water lol.