yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] TheMorpheus:
Hi guys, I'm little bit confused...This meens that this kernel has encryption disabled? Can I flash this every time I'm updating my CM12 without re-encrypt my device?

Thanks
[Nexus 9 Original Android Development] D-m-x:
Yes, but straight after flashing the ROM, no Reboot.
[Nexus 9 Original Android Development] beats4x:
LTE is supported, not sure why you'd say it wouldn't. The only difference between the two is in the ramdisk, and [MENTION=4684315]flar2[/MENTION] uses the existing ramdisk. This does work 100% on the LTE variant,the problem lies elsewhere. Just to clear this up for any other LTE users out there who want to use this kernel.
[Nexus 9 Original Android Development] darkdevu:
GREAT

very good kernel using as my daily driver:D
[Nexus 9 Original Android Development] tamchow:
Probably because the deep sleep to wake for the CPU is a bit delayed. It depends on how much workload you had when you locked the system. Also, slight orientation problems may also lead to such unreliability.

Source: Experience

---------- Post added at 12:27 PM ---------- Previous post was at 12:22 PM ----------

True, but his problem may be due to the radio on his device, which is in fact related to the kernel, even if slightly. The baseband version and firmware differs between hardware versions as the Nexus 9 has had 2 revisions. So.

---------- Post added at 12:33 PM ---------- Previous post was at 12:27 PM ----------

No, [MENTION=4684315]flar2[/MENTION] said that LTE should work, not that it 100% works. Some people are suffering from problems on LTE using this kernel. Differences are not only ramdisk-deep, it depends on the baseband firmware interface version also.

---------- Post added at 12:41 PM ---------- Previous post was at 12:33 PM ----------

Yeah, but stock uses ext4 and I think [MENTION=4684315]flar2[/MENTION] wants to maintain compatibility. Also, f2fs has its own overheads and is not crash-safe (journaled), although that doesn't really matter for cache/swap.
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
DU doesn't have Halo, and you should be asking questions about DU, in the DU thread, not here. UnicornBlood is the best kernel to accompany a ROM imho. Scores about a 60K in AnTuTu compared to ~61K with ElementalX.
[Nexus 9 Original Android Development] AllanJacques:
Soooo?
[Nexus 9 Original Android Development] rootcid:
I'll take that as a no. Never mind... I'll keep using your kernel on my phones, but on the n9 I'll diy it. Its a LCD reader for me so minimum backlight is a must.

Thanks anyway man. Keep up the good work.
[Nexus 9 Original Android Development] ayoraider07:
Would using "lux lite dash" help you out? Ive been wanting to check out F&I but a little concerned with how often it gets updated/tweaked, but I do admire the constant work and ability to beta test it!
[Nexus 9 Original Android Development] USBhost:
concerned why?

Its almost like nightly builds

Or its my ORUD talking lol
[Nexus 9 Original Android Development] Scott:
As always, great job [MENTION=4684315]flar2[/MENTION]!

This was achieved with some heavy O/S tweaking. Not all users will get this :p
[Nexus 9 Original Android Development] mrshades812:
Nice!

(Hope to see a N9 CleanRom at some point!) :)
[Nexus 9 Original Android Development] workdowg:
+1 for CleanROM!!!
[Nexus 9 Original Android Development] Scott:
You will but I dont want to Hijack Flar2's thread. You can follow the progress in my Nexus 6 thread here: http://xdaforums.com/nexus-6/development/rom-cleanrom-1-0-beta-lrx22-clean-t2991714
[Nexus 9 Original Android Development] Philaphlous:
So I've seen some geekbench 3 scores with Android 5.1 with the nexus 9...so Im surprised I haven't heard more people ota to 5.1
[Nexus 9 Original Android Development] AllanJacques:
Any idea when 5.1 update will come?
[Nexus 9 Original Android Development] El Nino1977:
Google haven't even released the factory images yet for the N9, begs the question if the kernel source code has been released either.
[Nexus 9 Original Android Development] paychex:
Crossbreeder died like two years ago
[Nexus 9 Original Android Development] seanashmore:
I briefly went back to stock kernel via flashing the factory image, in the hope that 5.1 would be out for the N9 soon (which it should be I guess); It's incredible how hot it got so quickly, Id forgotten how bad it was. Straight back to EX again.
[Nexus 9 Original Android Development] paychex:
There's no userdata image for this device. Just flash /boot and /system. It's like dirty flashing a ROM. Reroot, restore safe system data, flash elemental
[Nexus 9 Original Android Development] jerrylzy:
[MENTION=4684315]flar2[/MENTION] Is there any CPU binnings for this device? Any difference between voltage tables?
[Nexus 9 Original Android Development] dragonballz2k:
Nvm
[Nexus 9 Original Android Development] flar2:
Sort of. I can't remember right now exactly how it works, but there is a number burned in an efuse called the speedo value that picks the voltages and frequencies.
[Nexus 9 Original Android Development] fazbender:
graphics sometimes help, stock kernel vrs EX

did someone say speeeedo
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
[MENTION=4684315]flar2[/MENTION] can this be flashed on 5.1 ROMs yet? ElementalX app is saying no compatible version found and I just want to be sure before I flash it.
[Nexus 9 Original Android Development] R3Lax1:
No, ramdisk needs to be synced atleast to boot it.
[Nexus 9 Original Android Development] flar2:
Actually, I inject he kernel into the existing ramdisk, so it should work.
[Nexus 9 Original Android Development] waeggles:
It actually works fine on 5.1. I just flashed it through recovery and no issues at all.
[Nexus 9 Original Android Development] R3Lax1:
Scratch that - forgot that Elementalx uses the current ramdisk, so it's safe to flash. Though you could notice an occasional bug here and there.
[Nexus 9 Original Android Development] BigJPNut:
It bootlooped on AOSP for me...maybe its hit or miss???
[Nexus 9 Original Android Development] tuffgongfl:
Seems fine on lollopopalooza 5.1
[Nexus 9 Original Android Development] Zranz:
Support for USB 3G modems

Is it in the development plans to support the Nexus 9 with USB 3G modems, like the Nexus 7 (2013) has?
[Nexus 9 Original Android Development] oby2:
I see that in the OP post it says that force encryption is turned off, but when I go to settings it still says my tablet is encrypted. A quick google search shows me that after flashing the unencrypted image im supposed to factory reset my tablet. Is this the correct way of unencrypting my tablet or am I missing something?
[Nexus 9 Original Android Development] Pilz:
Flash the unencrypted boot image via fastboot then format user data (factory reset) boot into recovery and flash the kernel before booting up initially. Some Roms or kernels will force the encryption so that's why I do it immediately
[Nexus 9 Original Android Development] workdowg:
I've had this kernel since day 2. All I did today was format data in TWRP and then the factory reset. When I rebooted it was not encrypted.

I will say this tablet really flies now!
[Nexus 9 Original Android Development] Pilz:
Yeah now we just need 5.1/5.2 to b be released so the source can be updated :)
[Nexus 9 Original Android Development] demon28:
I tried the flashing of this kernal and factory reset and data reset and nothing I'm still encrypted. Not sure what's left.
[Nexus 9 Original Android Development] USBhost:
What ROM are you on
[Nexus 9 Original Android Development] D-m-x:
I'm guessing it was the wrong Reset. In Twrp it has to been the big one including Internal Storage.
[Nexus 9 Original Android Development] demon28:
Stock should i be on something else? my build LRX22C don't know if that matter but if you can point me in the right direction it would be greatly appreciated i researched how to disable but without luck.
[Nexus 9 Original Android Development] USBhost:
Be for I jump

Can you do this

In terminal emulator

cat fstab.flounder
[Nexus 9 Original Android Development] demon28:
Here is the command info I got back
[Nexus 9 Original Android Development] Phantom Pt. II:
Does it make sense flashing this kernel on a 5.1.1 rom or would the 5.1.1 kernel in the rom be newer and improved?
[Nexus 9 Original Android Development] KingVeto:
I flashed this on aicp 5.1.1 with no issues. The kernel is ROM specific, so any differences/improvements/options will be ROM specific.
[Nexus 9 Original Android Development] slebit:
I use it on stock 5.0.1. Working really good.
[Nexus 9 Original Android Development] Manu270891:
Encryption is still enabled in my device. I already did "fastboot erase userdata" and still appears as encrypted. What can I do?

Thanks!
[Nexus 9 Original Android Development] workdowg:
Is this using the same kernel source from November? The same one in the 5.0.2 release?

From my Nexus 9
[Nexus 9 Original Android Development] flar2:
That's the only source there is
[Nexus 9 Original Android Development] Ripx88:
First I just wanted to say I love your kernel and am currently testing your newest app that was just released, so far everything's solid. I came from Fire and Ice which caused a bootloop trying to switch to your kernel so had to wipe everything. Was worth it though.

My question is I can't get the GPU to over clock. First I left the stock settings in Aroma when installing and just typing in the command. Didn't work so I went and re-flashed, but this time picking the over clock option for the GPU. Still didn't appear to work so I also typed in the command but to no avail. Was hoping maybe someone could sheld some light here. Not quite sure what I'm doing wrong. :)
[Nexus 9 Original Android Development] flar2:
It could be your hardware. Tegra has this strange way of programming the hardware, assigning a "speedo" number that limits the maximum frequencies. This seems to be burned into the chip, and each device has a different number probably based on some kind of tolerance testing. I suspect yours has a low speedo, and the code I've added can't override it.
[Nexus 9 Original Android Development] Ripx88:
Wow, I've never heard of that. Though you would know better then me. That's quite interesting. I guess it could also be a bug considering I'm on 5.1.1. Won't know until I move back to stock. Thank you for your quick response. Now if that is the case, that doesn't mean my GPU is inclined to give out quicker does it?
[Nexus 9 Original Android Development] :
Can anyone tell me how to disable thermal throttling on this tab, love the kernel but the throttling is killing the performance!!!
[Nexus 9 Original Android Development] Ripx88:
Just a quick update. I got the GPU to over clock. It only happened once though and when I clicked on the graphics tab inside your app, somehow the minimum freq was set to 984. The second I changed it back to 72 it stopped over clocking for me and obviously I couldn't set the minimum back that high again. Not sure what's going on here. I'm on 5.1.1 and will have to try stock tomorrow so I can see if that makes a difference cause it appears its capable of at least the frequency provided in the kernel.
[Nexus 9 Original Android Development] flar2:
Update!!!

For Android 5.1.1

Download:

ElementalX-N9-2.00

Changes:

-rebase on lollipop-mr1

-clean up and optimize
[Nexus 9 Original Android Development] trackloading:
Thanks for the update! :)

Is the kernel in permissive mode? As I remember it has earlier been something you choose or maybe it is on the HTC one m8...
[Nexus 9 Original Android Development] flar2:
No, it's enforcing. Permissive is not recommended, but dead simple if you really want it.

setenforce 0
[Nexus 9 Original Android Development] mjc2251:
If I want to disable encryption do I need to do a factiry reset after flashing this kernel? I'm currently showing encrypted after wiping and loading 5.1.1 stock.
[Nexus 9 Original Android Development] flar2:
The kernel does not force encryption.

I dont know the procedure for not encrypted, I just leave it encrypted
[Nexus 9 Original Android Development] roaddaw9:
Just installed with default options. Any better suggestions for settings? So far so good
[Nexus 9 Original Android Development] flar2:
I enable s2w and fast charge, the rest is my recommendation
[Nexus 9 Original Android Development] Diaphragma:
Didn't your installer have an option to set selinux to permissive? Is there a way to set selinux to permissive permanently, since it's no longer in your installer?
[Nexus 9 Original Android Development] flar2:
I removed that option

Here's a zip you can flash in recovery that will automatically set permissive early in the boot process (requires SuperSU)

https://www.androidfilehost.com/?fid=23991606952602503
[Nexus 9 Original Android Development] Diaphragma:
Wow, that was quick! Thanks. Any specific reason behind removing this?

Just bought your kernel app btw.
[Nexus 9 Original Android Development] flar2:
My original app was removed from the play store for messing with selinux. I don't want the app to be able to download something that can mess with selinux, just to be on the safe side. Google has no mercy.
[Nexus 9 Original Android Development] laill:
Oh, this is the reason we have to pay twice.

As a Google fanboy, I hate Google this time.

Nvm, I still bought your new app.

Cheers,

laill
[Nexus 9 Original Android Development] mrshades812:
Yeah, I can't find the app in the play store. Will we have to pay again for it?
[Nexus 9 Original Android Development] Freak07:
Here is a link. Look at the first post :)

https://plus.google.com/communities/109839929618226326192
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Ugh, seems like we are going to have to pay again...
[Nexus 9 Original Android Development] tiernan22:
A small price...

This wasn't flar's first choice.
[Nexus 9 Original Android Development] flar2:
Sorry, but Google removed all access to the old app. You can keep using the old one if you want. Or get the new one, which I've been working on nonstop, three hours of sleep for the past month, to make sure it's a worthwhile purchase.
[Nexus 9 Original Android Development] flar2:
Also, guys, please no more complaints about having to pay $3.99 for the app. I've been getting non stop hatemail for the past month. You get the kernel for free, I spend 30-40 hours per week on development on top of my family responsibilities, baseball, and a full time job. The new app is awesome and I've worked extremely hard to make sure it's a worthwhile purchase.
[Nexus 9 Original Android Development] workdowg:
Can't find the app in the Playstore? Could you give the Playstore link... Thanks!
[Nexus 9 Original Android Development] iamelton:
fastboot dirty flashed lollipop 5.1.1 (with boot, system and vendor images), entered twrp recovery and wiped cache and dalvik, then flashed supersu and elementalx..

while the elementalx configuration screens went smoothly, the last step (to flash and apply settings) lasted more than 15 minutes with a "Please Wait.." message in the middle of the screen.. tapping the screen had no effect, but after more than 15 minutes it suddenly disappeared and the screen flickered a few times and returned to twrp..

i think the msg should be success but it just flickered too fast and i couldnt read it thoroughly..

anyway now the n9 seems to be fine running at 5.1.1 with elementalx kernel..

[edit]

using latest twrp v2.8.6.0..
[Nexus 9 Original Android Development] y2whisper:
https://plus.google.com/communities/109839929618226326192

I assume its only in beta right now
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
[MENTION=4684315]flar2[/MENTION] certainly wasn't exhibiting any ill will towards you for having to buy the app again, more general disdain over it being removed in the first place.

Hell, there is an app on Play that can change SELinux from enforcing to permissive with a long press, and that's been around since the 4.3 days. I can say from extensive use that the original app was worth well over the $3.99 price tag, and I won't hesitate to purchase/install the newer version if and when I move back to ElementalX.

I've always supported your work, and will continue to do so. The community needs more devs that are committed as you are. Cheers.
[Nexus 9 Original Android Development] akaempf:
While I don't have a lot of money I will definitely pay and test if you need it... I have several devices that I use your kernel on... Thanks for the hard work...
[Nexus 9 Original Android Development] Manu270891:
Can I use the Apple 12 W charger to use the 2 amp charging mode? Apparently, this charger uses a 2.1 amp mode :confused:
[Nexus 9 Original Android Development] flar2:
It will probably work
[Nexus 9 Original Android Development] jerrylzy:
[MENTION=4684315]flar2[/MENTION] Any idea about the improvement from Google's 5.1.1 source? I personally think that the device is a lot cooler and someone said io performance is improved.
[Nexus 9 Original Android Development] flar2:
Feels a bit better to me, but I did a nice clean install (which always makes things snappier)
[Nexus 9 Original Android Development] Sayan1987:
I've an un-encrypted device, cause i flashed an unencrypted boot .img

If i flash elementalx i go back to encrypted?
[Nexus 9 Original Android Development] iamelton:
i read in elementalx.conf that "/etc/init.d/99elementalx" must be executed as root, however, i couldnt find the file in /etc/init.d/..

the file could be found in my n5 with elementalx..

are these normal?
[Nexus 9 Original Android Development] flar2:
I made a slight change. init.d was sometimes unreliable, so the scipt was moved to ramdisk.

You will see it in your system as /sbin/elementalx.sh
[Nexus 9 Original Android Development] Ace42:
This kernel doesn't force encryption for data, it's listed in the change log for an earlier version.

Powered by "Yeeart!"
[Nexus 9 Original Android Development] Sayan1987:
So i can flash it and still keep the no encryption without losing data etc right?
[Nexus 9 Original Android Development] Dunka:
Yes
[Nexus 9 Original Android Development] ChristianJay:
How are you guys running stock rooted with just this kernel on 5.1.1 liking it? I noticed massive improvements in battery life when on earlier lollipop version I can only imagine now its even greater.
[Nexus 9 Original Android Development] sing1gnis:
Maybe it's just me, but I'm noticing some stuttering when scrolling with version 2.00. I'm using default settings.
[Nexus 9 Original Android Development] irishboym4:
Feature Request

Is it possible to add otg charging to this kernel? It's already arguably the best kernel :)
[Nexus 9 Original Android Development] octagonPerfectionist:
could be that the governor isn't as aggressive with touch boosting as the stock kernel is. try switching the governor to "interactive" and see if it still does that. you'll probably see a pretty big battery life hit though, so you should really be sticking with the "elementalx" governor. just guessing though since i don't actually know exactly what's changed for elementalx governor from the stock interactive governor. :P
[Nexus 9 Original Android Development] Dr. Hurt:
Could you please add BFS?

Thanks :)
[Nexus 9 Original Android Development] TabletNoob:
is it???
[Nexus 9 Original Android Development] ins5736:
I'm getting stutter and lag as well. I'm trying adjusting the threshold and min freq in elementalx gov before I drop to interactive.
[Nexus 9 Original Android Development] sing1gnis:
I've played around with the different governors and elementalx is definitely the worst. Performance, obviously, is the best. I'm sure flar will find a happy medium somewhere in between and have it rocking soon enough.
[Nexus 9 Original Android Development] laill:
[MENTION=4684315]flar2[/MENTION]

I am interested in setting the SELinux to permissive so as to test the unofficial xposed.

The link you provided earlier is not working somehow

https://www.androidfilehost.com/?fid=23991606952602503

So I made a real short init.d script (I think you enabled the script support even you moved scripts to ramdisk?)

#Set SELinux status using setenforce [enforcing|permissive|1|0]

#!/system/bin/sh

setenforce 0

It is not executed during boot time despite I set permission 777. It worked just fine if I manually execute it.

If it is no trouble, can you reupload your SELinux zip? Thx alot, your kernel and new app are something real great.

Cheers,

L
[Nexus 9 Original Android Development] i3am5not8real13:
I'm using experimental exposed for 5.1 and elementalx for 5.1 and its working fine without having to set selinux to permissive...I'm also on latest AICP build
[Nexus 9 Original Android Development] octagonPerfectionist:
i've actually had no problems with scrolling with elementalx governor. it's pretty much been buttery smooth about 90% of the time and whenever it's not i suspect it's just due to the app or webpage being ****ty, and even then it tends to get better pretty quickly. i'd say it's much improved from 5.0.2, for me.
[Nexus 9 Original Android Development] preacher65:
Is there any chance of an express version of 2.00 - or could I make one myself but putting the 2.00 zimage in the .013 express zip? Would any other files be needed? I noticed some changes in editramdisk.sh as well. Also elementalx.conf, but I'm wondering if the aroma script creates that.
[Nexus 9 Original Android Development] octagonPerfectionist:
there already is one, if downloaded through the elementalx app - has this not been uploaded anywhere else? if I'm allowed, I could attach it here. not sure why it wouldn't be up for download anywhere.
[Nexus 9 Original Android Development] preacher65:
Thanks, I've got it now. I'd done a clean flash and switched back to this kernel as part of that, so I'd downloaded the kernel from http://elementalx.org/devices/nexus-9/ which only has the aroma version. With an unencrypted device I had to flash a kernel before first boot.

I've installed the app now and downloaded the express version, thanks for the pointer.
[Nexus 9 Original Android Development] darkchazz:
Are there any sort of GPU governor settings that can be tweaked?

Since not only the CPU is often pushed to high frequencies on simple tasks, but also the GPU.
[Nexus 9 Original Android Development] mikereidis:
I'd also like to see this.
[Nexus 9 Original Android Development] Dr. Hurt:
I think the closest thing to that would be underclocking the GPU.

I may be missing something though!!
[Nexus 9 Original Android Development] Freak07:
Maybe [MENTION=4684315]flar2[/MENTION] can look into porting simple_ondemand governor to nexus 9?
[Nexus 9 Original Android Development] darkchazz:
I tried underclocking in 5.0.X

It made a huge difference in heat while gaming.. and the funny thing is I haven't noticed any difference in frame rates.

But I reverted it because I felt bad about crippling this powerful GPU. :o
[Nexus 9 Original Android Development] flar2:
That's for qualcomm devices, not tegra.

I may look into the GPU governor, to make it less aggressive. I think limiting the max freq is a good first step though.
[Nexus 9 Original Android Development] Dr. Hurt:
[MENTION=4684315]flar2[/MENTION]

Could you also add BFS? It made quite a difference on FireIce kernel.
[Nexus 9 Original Android Development] flar2:
I've tested BFS on other devices and found no improvement. In fact, I found the opposite. Plus we introduce the possibility of instability by changing one of the most integral parts of the kernel.
[Nexus 9 Original Android Development] Dr. Hurt:
How about this commit?

https://github.com/flar2/ElementalX-N9/commit/a1625a075417adfd29e1416b3f62bc9240c44e43

(tegra-kbc.c)
[Nexus 9 Original Android Development] Hereisphilly:
Do you think the lack of ram is why after a bit of normal use, and then returning to the home screen, the launcher and wallpaper have to redraw?
[Nexus 9 Original Android Development] flar2:
That's what I'm going to revert. It was a lazy commit to get an -o3 build, but I don't even need it since I'm using -o2.
[Nexus 9 Original Android Development] flar2:
Yes
[Nexus 9 Original Android Development] flar2:
Small update, let's see if it fixes the asian keyboard FC.

Voltage control also removed, as explained earlier.

Download:

ElementalX-N9-0.4.img (alpha)

Changes:

-revert linaro fixes

-revert voltage control