yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] GoremanX:
Huge Thanks!

I bought a Nexus 9 on launch day. To say that it was a disappointment is a massive understatement. Apps getting booted from memory the moment they went off-screen, even the launcher vanishing from memory on a whim, and nothing but constant lagginess and delay. Not to mention the super-slow charging. There's a lot of things love about the Nexus 9 (beautiful screen, single-app performance, etc), but multi-tasking and power management is not among them. I tried it for over a month and was on the verge of giving up. I was planning to return it to Best Buy today. But I decided to give this kernel a try first to see if it would resolve some of my complaints.

In a word: Wow!

The lagginess is almost completely gone and multi-tasking is far more pleasant! I haven't evaluated power management yet, but even if the battery life still isn't anything worth bragging about, I can live with that. This kernel gives me hope that things will only get better from now on. I guess I won't be returning my Nexus 9 after all...
[Nexus 9 Original Android Development] TriadX1:
Would you consider adding Tap2Unlock?

http://xdaforums.com/android/software-hacking/kernel-tap2unlock-tap2wake-feature-t2965344
[Nexus 9 Original Android Development] flar2:
No. This would be better implemented as an app.
[Nexus 9 Original Android Development] snwbrdr852:
Just wanted to say I'm also VERY interested in OTG + charging!!

I know it wouldn't come close to covering your time, but I would gladly throw a few bucks your way for this feature!
[Nexus 9 Original Android Development] guyd:
If you truly appreciate his work, why don't you just donate a little something instead of trying to bribe him to add a feature?
[Nexus 9 Original Android Development] jonahmt21:
hi, how do you go back to stock kernel from this? thx
[Nexus 9 Original Android Development] paychex:
fastboot. you should probably know that before you flash a kernel
[Nexus 9 Original Android Development] jtl6060:
I'm running into a small problem. I've installed ElementalX on my Nexus 5 and have had no problem disabling encryption but following the same steps with my Nexus 9 has not given me the same result. Am I missing something? I've wiped and reflashed OS , installed TWRP, rooted then flashed kernel through TWRP. Let it boot up then powered down. Booted again. Have done multiple factory resets via settings and TWRP. Each time have made sure ElementalX is still installed. I'm running 5.0.1.

Any suggestions would be helpful

Thanks
[Nexus 9 Original Android Development] di11igaf:
1- the nexus 5 is not encrypted by default and encryption is not forced, so nothing needs to be done to disable encryption

2- flash kernel, then flash stock google recovery, boot up, then factory reset and let it reboot. You will not be encrypted. Then flash twrp if you want.
[Nexus 9 Original Android Development] jtl6060:
Didn't realize Nexus 5 was not encrypted after flashing lollipop. Thought it was but never really checked. I will try stock recovery tonight. Thanks!!

Update: That worked. Thanks again
[Nexus 9 Original Android Development] FrankBullitt:
I'm trying some different settings for the zram/swap and I'm getting getting the best memory management (meaning: less time in critical state, less apps getting refreshed or OOM and less launcher redraws) by leaving the zram enabled but having the swappiness down to 30.

For people using this kerner, what are your best tunables?
[Nexus 9 Original Android Development] di11igaf:
Good to see others looking into this.
[Nexus 9 Original Android Development] beats4x:
[MENTION=4684315]flar2[/MENTION], no rush, but just wondering if you've had some time to look at the LTE source that was made available, and if it is close enough to the Wi-Fi version that you will support it.

Again, no rush ? I appreciate your work! M7, M8, Nexus 5, 6, and 7 all running ElX. Love what you do for our devices
[Nexus 9 Original Android Development] brushrop03:
Maybe he was asking before he flashed? :rolleyes:
[Nexus 9 Original Android Development] flar2:
Not yet, I've been trying desperately to update all my kernels, but with the holidays coming I've had a lot of social engagements. I think source is the same, but don't know if maybe the ramdisk is different.
[Nexus 9 Original Android Development] beats4x:
Totally understand, I've been ridiculously busy myself. Unable to keep my themes for the m7/m8 up to date. Enjoy your time my friend. No rush whatsoever.
[Nexus 9 Original Android Development] bruce2662:
Hi flar2

Anyway to disable thermal throttling?

That would be an excellent way to boost up the performance!!!!!!!
[Nexus 9 Original Android Development] TriadX1:
You do realize that the purpose of thermal throttling is to keep you from overheating and destroying the processor right? That really seems like a stupid thing to disable in my opinion...

Sent from my Nexus 9
[Nexus 9 Original Android Development] bruce2662:
Yes I know that but the settings for thermal throttling now is way too sensitive

Which has seriously affected user experience

That's why I think disabling thermal throttling is necessary
[Nexus 9 Original Android Development] TriadX1:
In that case maybe allowing for setting the threshold temperatures would make more sense than disabling it all together...
[Nexus 9 Original Android Development] TriadX1:
Works perfectly on my device.

Please note that, if you are coming from Fire-Ice, then good luck. I had to format cache as ext4 and also do a factory reset, and reflash system.img.
[Nexus 9 Original Android Development] USBhost:
You dont need to do a factory reset

To go to this kernel

Only the cache thing
[Nexus 9 Original Android Development] paychex:
Try dropping your max frequency and see if that helps before you disable thermal throttling
[Nexus 9 Original Android Development] bruce2662:
thermal throttling

Not really..... It atarts throttling since 50 degrees!!!!!! It is so frigging sensitive!!!!

Hopefully flar2 will fix that soon
[Nexus 9 Original Android Development] beats4x:
[MENTION=4684315]flar2[/MENTION], getting my LTE model later today. If there's anything I can do to help or test let me know
[Nexus 9 Original Android Development] bruce2662:
swap and zram

I found that disabling these functions quite affect multitasking perfotmance.

any method to re enable that?
[Nexus 9 Original Android Development] flar2:
Go to /etc/elementalx.conf and reenable zram, or use the elementalx app, or reinstall and make sure not to disable zram
[Nexus 9 Original Android Development] upNsmokeAllDay:
Any plans to add fauxsound like in your other kernels?
[Nexus 9 Original Android Development] flar2:
I don't usually do sound mods myself, I'll wait for a bit and see if faux releases anything. Maybe I'll try when I come back to this kernel.
[Nexus 9 Original Android Development] paychex:
Can't want for some elementalx governor on this one
[Nexus 9 Original Android Development] USBhost:
Same
[Nexus 9 Original Android Development] beats4x:
+1 ?
[Nexus 9 Original Android Development] tyvar1:
+2
[Nexus 9 Original Android Development] flar2:
sorry for the lack of updates. elex gov and other things are coming, I've been preoccupied with the app and the nexus 6 and getting everything updated to lollipop.

Have a Merry Christmas!
[Nexus 9 Original Android Development] USBhost:
No problem!

Same to you
[Nexus 9 Original Android Development] D-m-x:
0.08 is running fine, haven't had any Problems, so no need to rush things, enjoy the Holidays.
[Nexus 9 Original Android Development] oediv:
Can i use this kernel on the Lte Version?

It's my first tablet sorry if this is a stupid question dont know if there are other kernels for wifi / lte
[Nexus 9 Original Android Development] berendspruijt:
Well you can try.

There is a option to boot the kernel instead of installing it.

That way it wont be permantly installed onto your device.

You will need a tool that dous that automaticly or you can manualy boot it trough fastboot.

I use the nexus root toolkit.

If something goes wrong it can also unbrik your device with the toolkit

Dont forget to report back if it works ^^
[Nexus 9 Original Android Development] paychex:
No rush dude. Tablet is already great on .8 and the N6 is great too! Merry Christmas
[Nexus 9 Original Android Development] beats4x:
[MENTION=5501864]USBhost[/MENTION] said in another thread that the kernels will work on the LTE model (except his). I was a little nervous to use TWRP and then flash a zip, but I took the plunge and fastboot flashed faux kernel in the meantime and it is working without issue.

I'm still unsure if the TWRP that is available works 100% without issue on the LTE model, but if/when it does, I will be jumping back over to ElX
[Nexus 9 Original Android Development] paychex:
You could always use

Fastboot boot boot.IMG

To see if it boots before you flash it permanently
[Nexus 9 Original Android Development] beats4x:
True that
[Nexus 9 Original Android Development] Philaphlous:
So what are people over clocking this tablet to these days?

Looking at the cpu clock more than the gpu... Tablet gets a tad warm already. How's thermal throttling? Haven't checked since I've had mine 1 day...
[Nexus 9 Original Android Development] flar2:
Anyone try LTE yet?

I suspect the kernel is the same, but it might have something different in the ramdisk
[Nexus 9 Original Android Development] beats4x:
I'll give it a go. Downloading now

Edit: Up and running just fine. Flashed w/ TWRP 2.8.3.0.
[Nexus 9 Original Android Development] Philaphlous:
So I've had the chance to do some modding on the nexus 9. I noticed that the max temp would get upto 77c when running benchmarks. This wasn't good at all... Well at least for me. So I decided to take her apart and see what I could do to help.

I added some mx2 thermal paste to the chip where the heat pad was. This has reduced my temps about 4-5c overall. It was quick and easy. I just had to decide to do it.

The one downside is this kernel seems to reduce performance benchmark wise... Scores in antutu go down about 2-3k for me and also geekbench 3 is lower. Real world performance isn't much different but just thought it was odd. My best antutu is stock right now at 58k...

This is after the mod.

Much better thermals. However it is only helping short term... There's no actual "heatsink" just the emi shield that spreads the heat...

I'll post pics of me opening it. I have to get it off my phone...

As you see, there is some weird glue on the nvidia chip. I'm not quite sure what it is but it won't come off...and it has a few air bubbles in it and doesn't cover the entire chip. Obviously terrible for thermals if you actually put a heatsink on it...

This is the underside of the EMI shield. All it has is a thermal pad. Which, if you look closely, doesn't even make full contact with the chip. So that's why I decided to use thermal paste. I'm sure if you had like a 1-1.5mm heatpad it would work better but that's all I had at the time. The thermal pad is 0.5mm thick.
[Nexus 9 Original Android Development] tyvar1:
Take your time man! :D happy holidays!
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Just flashed, love the kernel so far. Trickstermod isn't allowing me to edit or set GPU frequencies, so I just purchased the ElementalX app. Have to say THANK YOU. Since I use ElementalX on all my devices anyhow, the app is a perfect addition to each of my devices. Well done, and thank you for supporting all of my Android devices and experiences.. Have tried other kernels and always go back to ElementalX. Can't wait to see what future releases have in store for the N9 community.

Edit:

1 thing to add, DT2W doesn't seem to work if the screen falls asleep on it's own. If you lock the screen with the power button, DT2W functions as expected. Am I missing something, or is this normal?
[Nexus 9 Original Android Development] paychex:
You should start your own thread with nice step by step guide. Most of us here will flash just about anything... But at least I am leary of taking apart my devices
[Nexus 9 Original Android Development] Philaphlous:
Yes, I'll need my own thread here soon. I'm hoping to get my hands on a thin copper sheet so I can replace the current emi shield with a copper one. I believe the current shield is stainless steel or a bronze metal so it's very poor in conducting heat. The copper flap over the shield I think is to dissipate heat behind the battery... So hopefully I'll be able to get a better guide up once I have all the materials. I'll need a new thicker thermal pad also...
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Have you tried anything to alleviate some of the heat on the hotplate that is the Wi-Fi radio yet? (Sorry if you've already explained and I missed it)
[Nexus 9 Original Android Development] Philaphlous:
No, wasn't aware there was a heat issue with it... The huge downside to this and adding cooling is the fact that it'll only work till the entire copper sheet is saturated with the heat.. Then it'll just built until it thermal throttles... Which this would basically make the inside of the tablet a small toaster oven... Since the heat has nowhere to go... :crying:
[Nexus 9 Original Android Development] oRAirwolf:
*Sigh* If only tablets could be constructed of some material other than plastic that has better heat transfer capabilities....If only such a material existed...
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Yeah a lot of users are reporting huge issues with overheating of top backside of tablet (by the Wi-Fi radio) when doing things like simple web browsing or running speed tests.

---------- Post added at 10:39 PM ---------- Previous post was at 10:37 PM ----------

Just to confirm, SELinux is NOT disabled in this kernel, correct?
[Nexus 9 Original Android Development] dstryrwiz:
You mentioned that this tablet can handle 1.5A. Are you basing that on the power supply that came with it, or is that just the max draw? I ask this because the first generation Nexus 7 (and maybe the second gen too) came with a 2A charger. Given that the Nexus 9 is bigger and has a bigger battery I would have thought it could handle the same kind of amperage as the Nexus 7 to charge the device quicker. Is that not the case? And if I use the Nexus 7 charger, would I be putting my Nexus 9 at risk of damage?
[Nexus 9 Original Android Development] flar2:
There is no risk at all using your 2A charger. The driver will make sure it doesn't overheat or draw too much current.

I'm guessing it will be limited to 1.5A because I saw this commit in the kernel source:

https://github.com/flar2/ElementalX-N9/commit/081ed57219ea77d9c8c5475d05539757031988eb
[Nexus 9 Original Android Development] flar2:
Another test release. This one has voltage control.

I am going to revert voltage control in the next release, because this device has dfll mode enabled by default and it scales the voltage automatically and probably does it better than any tweaking we could do (the dfll mode voltages are lower than the software controlled defaults).

I just offer this for testing and other devs may want to use it. For now I will be going back to the automatic dfll mode.

ElementalX-N9-0.03 alpha
[Nexus 9 Original Android Development] USBhost:
Hey [MENTION=4684315]flar2[/MENTION]

Do you know how to disable the double tap to wake feature
[Nexus 9 Original Android Development] flar2:
echo 0 > /sys/devices/platform/spi-tegra114.2/spi_master/spi2/spi2.0/input/input0/wake_gesture
[Nexus 9 Original Android Development] USBhost:
Ty vary much

I have been trying find that for the last 2days
[Nexus 9 Original Android Development] aFancyTickler:
how can i disable 3D scaling ? or atleast have a way to lock gpu at full frequency
[Nexus 9 Original Android Development] Hechnicaul:
omg..

This kernel is not running "Google Korean IME" .. T_T
[Nexus 9 Original Android Development] flar2:
Play around with the settings in /sys/kernel/tegra_gpu/

???
[Nexus 9 Original Android Development] aFancyTickler:
is there an app i can use to do that ? im alittle new to this kinda stuff. sorry
[Nexus 9 Original Android Development] Hechnicaul:
Using Stock Kernel is running "Google Korea IME " . But, when using the Elemental X Kernel "Unfortunately, Settings has stopped." Message will appear..

Is it because the alpha version?
[Nexus 9 Original Android Development] flar2:
The next version of the ElementalX app can do it. I'm working on it right now and will push the update later tonight.

Kernel has absolutely nothing to do with that
[Nexus 9 Original Android Development] USBhost:
Cheers cant wait
[Nexus 9 Original Android Development] Hechnicaul:
Hmm, I see .
[Nexus 9 Original Android Development] USBhost:
NVM
[Nexus 9 Original Android Development] laill:
The kernel runs okay, and updated the kernel app, everything seems fine.

Hope it will get better and better, like the M8 version.

cheers,

L
[Nexus 9 Original Android Development] flar2:
Good news, sweep2wake works perfectly on this device and causes no battery drain.
[Nexus 9 Original Android Development] pantmunu:
God damn you are fast .. ??
[Nexus 9 Original Android Development] tfouto:
I have a great idea, please consider:

A fast way to change screen brightness. The volume rocker could be used to change screen brightness when a finger was touching the screen of the phone.

When one wants to change the volume, they just use the volume rocker with their right hand. If someone wants to change the brightness of the screen, one would for instance, touch with a finger off the left hand, on the screen and with the right hand press the volume rocker. The difference is an extra touch on the screen while you are pressing the "volume rocker".

Something like when one press the volume rocker the phone would check if there was any point ot touch on the screen. If not it would just change the volume as usual. If any finger was touching the screen, then it would change the screen brightness instead.
[Nexus 9 Original Android Development] aFancyTickler:
Anyone know where to find the elementalx app ?
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Yes it is, or yes it isn't? Assuming you meant yes it isn't..
[Nexus 9 Original Android Development] USBhost:
It is not disabled

Or just do

getenforce

And that tells you
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Thanks!
[Nexus 9 Original Android Development] futaris:
If only such a material existed... ;)
[Nexus 9 Original Android Development] Philaphlous:
I'll be creating my new thread with a guide soon. I noticed today when I took the cover off that some of the clips for the back are already getting worn... So taking apart the tablet should be very very limited by everyone... Not like me and my laptop, I've taken that thing apart about 40 times...

I have a new theory that will be much much better for modding the inside of the tablet so it dissipates more heat into the tablet for a limited time before the area is saturated by the temps. It should work. I just need some additional sticky pads to make it possible. I'll report back with my findings. So far the tablet can get upto 75c on the cpu before it starts to throttle. I got the gpu all the way upto 85c by accident :p

How are people getting 2200 single core scores with this tablet in geekbench 3? Best I get is like 1800...
[Nexus 9 Original Android Development] Freak07:
Hey I had a thought about the heat issue for some people. Maybe there are different revision of our k1 chip like the pvs bins from qualcomm.

We have dynamic uv as I understand correctly from [MENTION=4684315]flar2[/MENTION]. If this dynamic uv does its job dependent on the pvs bin it would explain why some people don't get any issues.

[MENTION=4684315]flar2[/MENTION] is there any chance you could implement a file where on is able to check the bin of the chip they've got? :)
[Nexus 9 Original Android Development] Philaphlous:
Here's my mod. Only thing you need is foam and thermal paste.

Before:

After:

It'll eventually get upto the high temps... However. For any benchmark it should stay under any throttling temperatures. I'll work up a guide a post it later.
[Nexus 9 Original Android Development] flar2:
It's not exactly a pvs bin on this chip, there is a number printed right at the beginning of the kernel log after you boot. It's called speedo. IIRC, higher is better.
[Nexus 9 Original Android Development] USBhost:
Ok so heres mine

[ 0.000000] Tegra13: CPU Speedo ID 1, Soc Speedo ID 0, Gpu Speedo ID 1
[ 0.000000] Tegra13: CPU Process ID 0,Soc Process ID 1,Gpu Process ID 0
[ 0.000000] Tegra13: CPU Speedo value 2500, Soc Speedo value 2217, Gpu Speedo value 2076
[ 0.000000] Tegra Revision: A03 SKU: 0xf CPU Process: 0 Core Process: 1
[Nexus 9 Original Android Development] Philaphlous:
Could a few people run benchmarks for me so I can compare? I'm running 916mhz gpu and 2.5cpu

26100 in 3dmark ice store unlimited

59400 in antutu

1700single core 2900 multi core geekbench 3

Thanks
[Nexus 9 Original Android Development] USBhost:
Thats odd

I get ~2200:SC ~3500:MC on geekbench 3

CPU 2.5ghz
[Nexus 9 Original Android Development] R3Lax1:
2k single 3,5k multi for me geekbench with stock eX settings. Antutu is about 57k.
[Nexus 9 Original Android Development] oRAirwolf:
CPU: 2499 Mhz

GPU: 918 Mhz

Governor: Interactive

3DMark Ice Storm Unlimited:

Overall: 26608

Graphics: 38379

Physics: 12833

Graphics Test 1: 209.4 FPS

Graphics Test 2: 138.7 FPS

Physics Test: 40.7 FPS

Antutu v5.5

Overall: 56667

Multitask: 13182

Runtime: 883

CPU Integer: 2515

CPU Float: 2229

Single Thread Integer: 4536

Single Thread Float: 2953

RAM Operation: 1294

RAM Speed: 5066

2D Graphics: 643

3D Graphics: 20455 (2048x1536)

Storage IO: 2186

Database IO: 725

Geekbench 3.3.1 for Android AArch64 http://browser.primatelabs.com/geekbench3/1616738/

Single Core Overall: 2058

Multi Core Overall: 3544

Single Core Integer: 2742

Multi Core Integer: 5038

Single Core Float: 1269

Multi Core Float: 2662

Single Core Memory: 2270

Multi Core Memory: 2321
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Geekbench: single core 2054 multi core 3610

AnTuTu: 58988
[Nexus 9 Original Android Development] Philaphlous:
Thanks guys. I did a factory reset and reflashed the factory system. Seems its back to normal. I get 1997 in geekbench 3. Antutu is 59k

Ice storm extreme is 26300. I think the CPU temp overlay was also reducing my scores.

For some reason the stock kernel is a tad faster benchmark wise than elementalx with the same clocks...any reason why?
[Nexus 9 Original Android Development] Philaphlous:
Any word on a new update? I find the kernel works great but for some reason benchmarks are a ton better with the stock and overclocked settings...
[Nexus 9 Original Android Development] flar2:
I'll be updating soon
[Nexus 9 Original Android Development] tyvar1:
Great news man! :D
[Nexus 9 Original Android Development] Holer Togni:
Much appreciated!
[Nexus 9 Original Android Development] paychex:
So? It's the fastest Android device on the market. What else do you need to know?

---------- Post added at 04:41 PM ---------- Previous post was at 04:41 PM ----------

**waiting intensifies**
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Guys, can we work on etiquette? [MENTION=4684315]flar2[/MENTION] is maintaining multiple kernels and apps for multiple devices for free. Asking for ETAs is slightly rude. Not calling anyone out or trying to start a fight, but the updates come when the updates come.

Thanks for this amazing kernel. Use it on both of my Nexuses. (or Nexi maybe?)
[Nexus 9 Original Android Development] nealkoy:
You just did when you quoted the text.[emoji6]

I really don't see why asking for an update after some time of no activity is considered slightly rude and has anything to do with etiquette. [emoji28]

Anyway I love your kernel flar2! Been using it since you started elemX kernel for the N5. Looking forward to having the same experience with the N9 as well! [emoji106] Happy new year!!!
[Nexus 9 Original Android Development] Philaphlous:
Ouch...

Usually everyone wants to know of the next update or when it'll be... I know flar is quite busy with other devices. I wasn't being picky or impatient... Just wondered when the next update would be...