yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] AllanJacques:
Brilliant work!
[Nexus 9 Original Android Development] flar2:
Update!!!

I've restored fastcharge and 2A charging. I tested the current with multiple cables and multiple ac adapters, multiple usb ports, with and without fastcharge enabled, and it charged at the proper levels each time. If anyone has issues with charging, be sure that it's not an isolated incident, and I'd like to see logs. It's possible that on occasion, the charge detection circuitry could detect a spike and limit the current. In which case unplugging and replugging would do the trick.

Download:

ElementalX-N9-0.12

Changes:

-restore fastcharge and 2A charging
[Nexus 9 Original Android Development] ChristianJay:
What kernel you coming from?
[Nexus 9 Original Android Development] znarf2369:
[MENTION=4684315]flar2[/MENTION]:

sorry my post regarsin the issue was not intended to be rude or something. I just want to know, since NTFS is supported, how can I get my HD to mount without the need of any third party app?
[Nexus 9 Original Android Development] sbollero:
I used Fire and Ice for a couple days but wanted to switch back due to soccer highlight videos not loading/playing via playwire player. I am completely stock and made sure to format data and cache from f2fs to ext4. This is my probleming with getting logs. When I attempt to flash ElementalX kernel or even a modified boot.img via WugFresh the tablet reboots to the google screen bootloops there a couple times then proceeds to the TWRP splash and continues to bootloop there until I reboot into the bootloader. I can never get into the system or recovery. I don't know how to restore backup at that point because trying to boot to recovery takes me to that sickening TWRP splash screen bootloop.

It's crazy but maybe it's something extremely simple. I just haven't been able to find out yet. Basically, with this type of bootlooping, I don't know how to get logs out of the Aroma installer, or when flashing the modified boot or kernel manually. I know this isn't a troubleshooting thread, but I discovered it when attempting to flash this kernel.

I'm stumped. Will roll with stock rooted for awhile because I'm certain I can't get it to work with my knowledge and process as Ive tried it 10 times.
[Nexus 9 Original Android Development] georgios73:
A huge thanks for enabling fast charge again.:svetius:
[Nexus 9 Original Android Development] paychex:
Stop using toolkits and learn how you use fastboot
[Nexus 9 Original Android Development] sbollero:
Can't believe I didn't try that....

Thanks for that (almost) helpful piece of advice but if you read my description you would know that once this issue occurs the only way to fix it is to use fastboot to manually flash the factory image.

The point of trying WugFresh is that it is a well-known platform and should remove any question of user error if the tablet is completely stock.

I'll make sure to hit that thanks button for that gem.
[Nexus 9 Original Android Development] Dunka:
Then have you tried flashing TWRP with fastboot to see if it fixes your flashing issues?
[Nexus 9 Original Android Development] Beakfire:
Any plans to add host-mode charging support? It looks like another dev found it's already in the kernel and just disabled here:

From this thread:

http://xdaforums.com/nexus-9/accessories/charging-nexus-9-using-otg-cable-usb-hub-t2950726/page3
[Nexus 9 Original Android Development] RogueSven:
Wierd. 0.12 causes my stock charger freezing with both fast charge enable and disabke, like previous versions except 0.11. Nexus 4 1.2A charger is ok.

Sorry because i dont have any 2.0A charger for testing.

Please help!
[Nexus 9 Original Android Development] sbollero:
Yes, I have flashed TWRP manually. Although it appears to be the same build (current) as the toolkit. The whole goal of my long post was to explain the situation as my amatuer skill-set doesn't allow me to see a way to pull logs when I can't boot to either TWRP or the system after I get into this bootloop process. I must have something screwed up but I don't understand what it could be with a stock tablet. I will try flashing TWRP again manually and completely avoid the toolkit.

Thanks!
[Nexus 9 Original Android Development] RogueSven:
It freeze and not charge my nexus 4 too untill i unplug it from the outlet
[Nexus 9 Original Android Development] Nikki1993:
Negative. I am using pa 5.0 alpha and v10 kept 1 core offline and 1 active at low frequency until I touched the screen. Now both cores are online all the time with high frequencies.
[Nexus 9 Original Android Development] Dunka:
When I first got my Nexus, I used a toolkit to unlock and flash TRWP but had problems flashing anything, so it was suggested to me to use fastboot and avoid toolkits and haven't had a problem since.
[Nexus 9 Original Android Development] flar2:
Please, could I have dmesg output? Like I said, I tried all this with multiple cables/chargers/settings/scenarios and no problems.
[Nexus 9 Original Android Development] RogueSven:
Sorry, how could i generate it?
[Nexus 9 Original Android Development] mrshades812:
adb shell dmesg > dmesg.txt
[Nexus 9 Original Android Development] idelgado782:
Yes I too am looking for this. I'm installing my tablet in my car and using an otg cable to connect a USB hub for USB dac, USB video capture device and of course a charger and it would be awesome to have charging while using otg!

Takin Notes..
[Nexus 9 Original Android Development] RogueSven:
I use nexus root toolkit

It said that:

/system/bin/sh: dmsg: not found
[Nexus 9 Original Android Development] mrshades812:
1st - lose the toolkit.

2nd - use that adb command on a pc and it will copy that text file to your pc.

:)
[Nexus 9 Original Android Development] ChristianJay:
I've used Wug's alot on a Nexus 7 first gen and now the 9 and have never had a single problem or issue. I learned what is involved and how to do everything manually before I ever used it however and I believe that is why I haven't had any issues. Most newbs use the toolkit with no understanding of the processes that it is automating and when there is a hiccup, there screwed. I'll push files to the device myself but it's nice having a program that constantly updates the stock ROM's and keep everything in place for multiple devices making the process often more quick.
[Nexus 9 Original Android Development] RogueSven:
Is that what you need?

http://pastebin.com/XC7Mz2Vz
[Nexus 9 Original Android Development] dragonballz2k:
The cpu governor seems to help with the heat coming from the tablet, or is it a placebo effect?
[Nexus 9 Original Android Development] D-m-x:
Seems also to me that ElementalX Gov is performing very well on the N9, battery and performance wise. Like on the N6.
[Nexus 9 Original Android Development] ryencoke:
Yes, how to enable the hotplugging feature in 0.12?
[Nexus 9 Original Android Development] D-m-x:
I've just seen this today, but does "Set permissive" work for anyone on 0.12? I'm mainly using it for Viper and Xposed (when it's released for 64 Bit) but it doesn't seem to do anything on 0.12, stays on Enforcing.

Worked on 0.11 as far as i remember. Can anybody test and let me know, so i can figure out if it's my Setup!?
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Just wanted to weigh in here.

Any issues with charging are ROM BASED and not the kernel's fault. If you unplug and plug your charger repeatedly, you should should a 3% increase each time. Talk to your ROM Dev, not [MENTION=4684315]flar2[/MENTION].

I think I read that it is an issue with some of the CAF aspects of Roms..
[Nexus 9 Original Android Development] flar2:
SuperSU installed?
[Nexus 9 Original Android Development] D-m-x:
Good Point, but yes SuperSU is installed. Just flashed it again and tried it. I will however Dirty Flash my Rom later/tomorrow since i just updated from 0.10 to 0.11 and 0.12. Maybe something went wrong there with the Ramdisk.
[Nexus 9 Original Android Development] D-m-x:
Apologies for 2 Posts in a Row. Clean Flashed and even tried another Rom ( 1st was AOSP Based, 2nd CM Based)

Couldn't get it to work on either Rom, flashed SuperSU every time seperately.
[Nexus 9 Original Android Development] octagonPerfectionist:
I've been trying to flash the latest version of the kernel and I've been running into bootloops. Fire+Ice works fine but even flashing the kernel to a stock install of PA alpha 5.0 causes bootloops - I have been flashing with TWRP though, would using fastboot instead change anything?
[Nexus 9 Original Android Development] RogueSven:
You also need to format cache from f2fs back to ext4
[Nexus 9 Original Android Development] flar2:
Update!!!

No changes to the actual kernel, just installer updates. The permissive script was not running due to incorrect permissions. I've also added a line to format cache to ext4 during installation.

I've also made the express installer available, since the recovery is very slow with Aroma on this device.

Download:

ElementalX-N9-0.13

Changes:

-automatically format cache to ext4

-fix permissions on permissive script
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Has anyone else experienced their navbar icons changing to the ones in my screenshot after flash? Installing this kernel is the only thing I changed, and look at my friggin navbar! Lol, its driving me nuts.. Tried everything to fix it...
[Nexus 9 Original Android Development] matthewgwilt:
That's a theme you have installed... Nothing to do with the kernel
[Nexus 9 Original Android Development] D-m-x:
Thanks, Permissive Mode works now.

Nope, must be your Theme like matthew said.
[Nexus 9 Original Android Development] D-m-x:
Delete
[Nexus 9 Original Android Development] petrochemicals:
"Easy installation and setup with AROMA installer"

Is this supposed to install the Kernel on its own or is a custom recovery necessary?
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
It's not a theme. I haven't touched the theme... Just went ahead and reapplied the system theme for ****s and gigs, and still there.. Not a theme...
[Nexus 9 Original Android Development] D-m-x:
What Rom are you running?
[Nexus 9 Original Android Development] mag13:
I have used fire&ice for a while and now I want to flash your kernel. First I formated cache in Ext4 and then I flashed the kernel. But if I wanted to start my Nexus I got a bootloop. Any idea?
[Nexus 9 Original Android Development] petrochemicals:
I keep trying and this will not install on stock rooted Nexus 9. I am stock recovery , is that an issue? Why are there zero install instructions in the app on their site or this thread? What are the requirements other than root to use the easy installer and what are the steps necessary to use it?
[Nexus 9 Original Android Development] Thijssie909:
You must have custom recovery to flash the zip...
[Nexus 9 Original Android Development] flar2:
I can't understand why it doesn't install. And I have received zero recovery logs.

I have stock ROM, and it installs fine over stock kernel.

You need TWRP recovery.
[Nexus 9 Original Android Development] petrochemicals:
Why is that not listed anywhere that custom recovery is needed? And I quote "Flash in TWRP recovery or use ElementalX app", I am using the app which is stated as "or", as in it will install the kernel with the "AROMA installer" . If custom recovery is needed it really should be listed on their site, on the Play Store as well as here as it is worded now as if the "Aroma installer" is what will install the kernel. If twerp is used to install what in the world is the "Aroma installer"?
[Nexus 9 Original Android Development] flar2:
Sorry, I assume you have a custom recovery if you are rooted and flashing a kernel.

It's good practice to have the custom recovery to do backups as well.
[Nexus 9 Original Android Development] D-m-x:
You should calm down, I've never seen anyone in one of his Topics who doesn't know how to flash his Kernel. If you flash Custom Kernels you should know that you need a Custom Recovery for the most part.

The ElementalX App is doing the same steps you would, just automated with a Script which is only supported by TWRP.

[MENTION=4684315]flar2[/MENTION]: What Logs do you mean? I remember there was a Problem installing your Kernel on Stock Roms, did you mean that? Other than that every Rom I've tried so far has no Problems flashing it.
[Nexus 9 Original Android Development] petrochemicals:
I am not upset, I am just pointing out that the wording is confusing as it currently sounds like the Aroma installer is what actually installs the Kernel. Key word being "installer". Also listing "Flash in TWRP recovery or use ElementalX app" makes it sound as if the app will install the kernel without twrp.

This wording is actually why I purchased the app, in order to avoid installing a custom recovery.
[Nexus 9 Original Android Development] bamboosensei:
In no situation will it be possible to flash a zip such as Flar's ElementalX kernel without a custom recovery. You may flash the boot.img using fastboot (adb) but then you lose the tweaks which are made to the ramdisk. AROMA is literally just a method of presenting options when you are flashing some sort of custom item like a ROM or Kernel.

I don't think that the app is misleading by not explicitly stating that as AROMA is not something that is exclusively provided by this one kernel flashable zip. I guess going forward just take this as a source of information. No harm meant to anyone and hopefully no harm done. Flar puts out alot of effort into his kernels and more recently his app as well so by purchasing, you've at least supported the development. [emoji106]

I don't understand why personally you wanted to avoid installing a custom recovery but for all intents and purposes, I genuinely feel that the current edition is stable and needs no tweaks. Why don't you boot into the custom recovery, flash it and then keep your stock recovery. Until HTC and Google put out 5.1 I don't think they'll be any major changes to the kernel.
[Nexus 9 Original Android Development] Hiro Nakamura:
Hey flar,

is it possible to add the conservative governor from franco's kernel ?

I really like that governor (for battery) but his kernel doesn't work on roms with theme engine.
[Nexus 9 Original Android Development] flar2:
Try the elementalx governor, its similar.
[Nexus 9 Original Android Development] octagonPerfectionist:
I'm still getting bootloops with the latest version, even after manually formatting the cache afterwards. I'm currently using Fire+Ice and I have to go back to it every time I try to install elementalX. Not really sure what's causing this, I am flashing it in TWRP and everything.
[Nexus 9 Original Android Development] flar2:
Flash the kernel that came with your ROM first
[Nexus 9 Original Android Development] guyd:
Flash the stock boot.img first (or whatever came with your ROM), and then flash this kernel.
[Nexus 9 Original Android Development] AllanJacques:
An off topic question, what Rom do you recommend? Aicp or Cm12?
[Nexus 9 Original Android Development] flar2:
Stock
[Nexus 9 Original Android Development] AllanJacques:
But other than stock, Aicp or Cm12?

How do I install stock Rom through TWRP?
[Nexus 9 Original Android Development] BigJPNut:
Fastboot is your best bet...
[Nexus 9 Original Android Development] m2thedeep:
So I unlocked the bootloader, rooted with chainfire root, installed TWRP, then flashed ElementalX. Everything was working fine for a day. The next day while reading news the Nexus 9 screen froze completely white and made an extremely loud buzzing noise. I had to power the device off to get the noise to stop. Once I tried booting the device would get stuck in a bootloop. I ended up having to flash stock recovery and the 5.0.1 factory image. Anyone ever experience anything like this?
[Nexus 9 Original Android Development] flar2:
download the factory image from google. Open the zip and extract the system.img and boot.img

You can fastboot flash these in bootloader without losing your data. Don't use the script in the factory image because it will erase your data. You only need the system and boot images, not the whole factory reset.

fastboot flash system system.img

fastboot flash boot boot.img

After this, grab the latest SuperSU recovery zip from Chainfire and install.

Then install ElementalX

Never seen that, sounds like a hardware problem. If it happens again I'd look at getting a replacement
[Nexus 9 Original Android Development] m2thedeep:
Yep, it ended up happening again. Gonna have to replace this one.
[Nexus 9 Original Android Development] zilvia10:
Hello could anybody please kindly explain settings on elementalx governer for what each setting do?

And please recommend best settings for performance & battery life on this governer, my daily usages are web browsing, e-mail, line, hangout, light 3d gaming (not intense)

Thank you in advance!
[Nexus 9 Original Android Development] Gormsen:
Google is your friend :)

Regarding optimal settings, I'm guessing that Flar2 already optimized them, since it's his governor ;) although you can always cap the cpu at lower frequencies for an easy battery boost, especially when gaming.
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Alright, well, if you are installing custom kernels, you should have custom recovery. Period. How are you planning on recovering your N9 should something go wrong? You do NOT need custom recovery to install this kernel. Download the ZIP file, open it on a PC, remove the boot.img from the ZIP, and then use fastboot to flash it (fastboot flash boot boot.img). Viola, you just flashed this kernel without custom recovery.

The app is worth the price of admission to have control over all of the ElementalX features, complete painless updates, and above all else, support a dev who provides amazing work at zero cost to the community.
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
This isn't actually accurate. With root access, you can use Falshify to flash the kernel without custom recovery. You can't use a zip, you need to have the actual boot.img and not the flashable zip, but it will work.
[Nexus 9 Original Android Development] D-m-x:
Yeah, but he said that in his 2nd Sentence. Flashify is just the GUI Operation, you could also use Fastboot like he said.

Either way, I think we can all agree that you should use a Custom Recovery if you are modifying your Device heavily.
[Nexus 9 Original Android Development] flar2:
I dont provide a boot.img, so you mush flash in recovery.
[Nexus 9 Original Android Development] nullzwo11:
I'll simply have to say THANK YOU for your work and for your great Kernels on both N5 and N9 that I'm using without any issues. Since you released your governor, heat issues are gone and the battery seems better too.

Your app is worth the price as well and is easy to use.

Just Thank You!
[Nexus 9 Original Android Development] fazbender:
Check the format details of the partitions, fire-ice changes one or more that will need to be reformatted when switching to another kernel. At least I think so, my brain took that info in over a month ago so it may be I'm something....something dark side. If its just the cache, please ignore.
[Nexus 9 Original Android Development] FrankBullitt:
Using the last version with rastapop and the battery life is absolutely amazing!

I'm now testing with underclock on the CPU+GPU (not much) and disabled dt2w via elementalx APP (great pp, perfect design). I spent many hours listening to music via GPM stream and paired with my BT headphones, keyboard and mouse. My last charge was yesterday (23/2) morning (at 7am GMT) and its now 8:30pm (24/2) and I'm sitting at 46% remaining.

It's a miracle ?
[Nexus 9 Original Android Development] octagonPerfectionist:
Hey so was hotplugging disabled for any particular reason, or was it just because the CPU's built-in power saving features are considered to be superior to enabling hotplugging? I'm guessing nobody has done any actual battery tests to see how it affects battery life, since I didn't see any mention of that in this thread. Not sure how well battery benchmarks would test that feature though, since I have no idea how they work.
[Nexus 9 Original Android Development] visitor29:
Maybe someone already mention here.

I tried on n9 LTE and getting boot loop, rom is latest dirtyunicorn, I change back cash file system on f2fs like was before + clean install, dalvik + cash wipe and...no luck. Question is elementalX is for only n9 wifi or I'm doing something wrong? Cuz literally I can't find any information about compatibility with LTE, it says for flounder ( flounder Google code name, volantis HTC code name ---- this is how I understand about them, but what about subcategory WiFi or LTE or again...I'm doing something wrong and something missing here?
[Nexus 9 Original Android Development] zilvia10:
I'm also using volantisg model (LTE) I'm on everything stock and it works perfectly (Flash via ElementalX app /w TWRP recovery)

Hope this helps!
[Nexus 9 Original Android Development] wildestpixel:
I'm on stock LTE and also working perfectly, but I wonder what Flar2's opinion is on LTE.

I believe it should be fine as when checking the device trees for the kernels of WIFI and LTE seem identical.
[Nexus 9 Original Android Development] flar2:
Should work fine on lte version

Only diff is in the ramdisk, which is why I reuse the existing ramdisk
[Nexus 9 Original Android Development] wildestpixel:
Go on - do you mind elaborating on what the ramdisk differences are ?

I came from kernels which weren't LTE based to get my encryption off and worry I may be sitting on some non LTE legacy in cache
[Nexus 9 Original Android Development] tamchow:
Can you please include Crossbreeder with frandom in the next release?

I heard that Crossbreeder mod using Frandom and Erandom instead of urandom and random is extremely fast. Can flar2 include them in the next release? I would really like to see it to believe it. Also, is this the right place to ask for more optimised Bionic libc for K1 Denver? Can the Shield Tablet's ones be ported somehow? Then probably we could be the only released device to get 65k+ on Antutu or such ;). Anyway, great work, got 61691 on Antutu already with Resurrection Remix and ELEX 0.13(Everything to max).Also, could someone confirm if the game Exiles runs properly on this tablet? I would really like to play it,but I want to be sure that it's gonna work before I purchase it.
[Nexus 9 Original Android Development] rootcid:
Thanks for your continued work on these kernels. Could you please add some backlight control a la fire&ice?

Its quite useful to be able to quickly overwrite the defaults.
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Loving the latest version of this kernel. No OC or anything, and I'm at 61K on AnTuTu..
[Nexus 9 Original Android Development] tamchow:
Cache

This kernel is yet only for Wi-Fi, so restore your Nandroid backup. Although some users have reported that LTE works, it's not officially supported. Also, /cache has to be formatted to ext4, /data to f2fs and /system to ext4. This kernel needs /cache as ext4 (unlike Fire-Ice Kernel which needs it as f2fs).

Please hit thanks if I helped you.

---------- Post added at 12:39 PM ---------- Previous post was at 12:25 PM ----------

1 sec. Wasn't the stock DU kernel supposed to be better than this? How much did you score on Antutu on stock kernel (UnicornBlood)? Also, does DU have Halo multitasking? Please reply.
[Nexus 9 Original Android Development] visitor29:
....

[/COLOR]1 sec. Wasn't the stock DU kernel supposed to be better than this? How much did you score on Antutu on stock kernel (UnicornBlood)? Also, does DU have Halo multitasking? Please reply.[/QUOTE]

Sorry I'm back on stock now, later maybe on days will try some test again installing some roms and will let you know. And thanks for reply on previous message
[Nexus 9 Original Android Development] AllanJacques:
Quick technical question, shouldn't be a performance increase in using f2fs for cache?
[Nexus 9 Original Android Development] Luk37astic:
Why is the Sweep 2 Wake feature so terribly inconsistent?