yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
[MENTION=4684315]flar2[/MENTION]

Can you set gpu oc to .900Ghz

Need to get to the 60k
[Nexus 9 Original Android Development] flar2:
Yes, maybe in the next update
[Nexus 9 Original Android Development] USBhost:
Awesome

Edit: or 1Ghz that would be awesome

Plus I just added a heat sink so it can handle more heat
[Nexus 9 Original Android Development] tyvar1:
Can I see a picture? :)
[Nexus 9 Original Android Development] USBhost:
ok i will have to take apart my N9 again lol
[Nexus 9 Original Android Development] tyvar1:
Say whaaat! Did you open your N9? That heat sink most be rally small :)
[Nexus 9 Original Android Development] USBhost:
Yep i did

Naa it pretty big

Same size of the battery

My Flex is almost gone now
[Nexus 9 Original Android Development] brianbrain:
I'm glad you're having fun - this means good things for the rest of us :)

I am curious what your thoughts are on the CPU in general. Complaints of heat and mediocre battery life while doing simple things like web browsing seem to indicate either a poorly optimized system or a buggy revision of the SoC (or possibly both). FWIW the system is reporting revision r0p0 for the SoC - I've never seen a consumer device running silicon without even a minor revision and I seriously doubt nVidia just shot a "home run" on their first try.

The two denver cores appear to operate in virtual lockstep. This seems rather odd considering the single core performance of the system (one core should be PLENTY for background tasks, and I would assume completely shutting down a single core of this size would give great battery savings), yet it always seems to prefer to keep both cores active and running at the same frequency. Again, potential stability issue with the hardware, or just a poorly optimized system?

Edit: Here's a link of the Denver white paper - many of you probably already read it but I figured why not link it. It seems like optimizing power for this architecture is going to be unlike anything else out there.
[Nexus 9 Original Android Development] Pilz:
I flashed the kernel and my battery has dropped 6% in 5 minutes of use here on XDA. Also I can't view my battery history anymore it just says not available. Any ideas for why these bugs are happening and how to fix them?

Edit: also I just flashed the newest update you posted ~1 hour ago and I'll see if that fixes anything. It's just odd that my battery usage disappeared and its draining for no reason.
[Nexus 9 Original Android Development] mkiderek:
It still FC:(
[Nexus 9 Original Android Development] flar2:
Then I have no idea. The software keyboard should not be affected by the kernel in any way, shape or form.

Perhaps a logcat will shed light on the situation.
[Nexus 9 Original Android Development] jerrylzy:
Will the ramdisk cause Asian keyboard to crash?
[Nexus 9 Original Android Development] flar2:
If this were the case, then Chainfire's patched boot.img wouldn't work either.

We will know more with a logcat
[Nexus 9 Original Android Development] TotallyAnxious:
I'd love to see a tutorial or some basic steps on how to.
[Nexus 9 Original Android Development] mkiderek:
Is this what you need?
[Nexus 9 Original Android Development] Dr. Hurt:
Fair enough! Thanks :)

BTW, if it wasn't for your kernel I would've returned the N9. Your work is truly appreciated, both the kernel and app :)
[Nexus 9 Original Android Development] Leoncino:
Can i use the elementalx app with the stock kernel? can i set the cpu frequency?
[Nexus 9 Original Android Development] Philaphlous:
Anyone else notice popping noises when playing music from headphones? I'm using stock rom and elementalx... Spotify and Pandora both suffering from this popping noise through the headphones...

Ended up flashing back to the stock kernel. 0 issues now. Must either be an issue with the flash process or the kernel itself. I noticed that elementx down clocks to 203mhz and the new stock kernel down clocks to 510mhz. I wonder if that could have something to do with it. I noticed no improvement in benchmark scores with elementalx now... Wonder if there's additional optimization needed now with the new kernel?
[Nexus 9 Original Android Development] Leoncino:
Does CPU hotplugging consume more battery? Also, In elementalx section the app says me there's an update, but for the app or for the kernel?
[Nexus 9 Original Android Development] flar2:
Try with the higher min freq, that might be why they increased it on stock. Otherwise, I don't touch sound.

I don't think the hotplugging makes a difference.

The update is for the kernel
[Nexus 9 Original Android Development] Krayvon:
just bought a n9 and the only familiar name I see on XDA is ElementalX.

Figured there would be many devs working on the new "hot" tablet.
[Nexus 9 Original Android Development] flar2:
Pretty quiet here
[Nexus 9 Original Android Development] Krayvon:
any idea why this tablet didn't get that hot?
[Nexus 9 Original Android Development] flar2:
Too expensive, I think

Nexus 7 was very popular, but only $200
[Nexus 9 Original Android Development] iamelton:
yes indeed, but its still an excellent tablet to worth the price..
[Nexus 9 Original Android Development] Krayvon:
my n72013 got water damage and stopped working, i've done all the remedies online but nothing.

and to be honest, n9 is way too chunky for a college student. if i could get my n7 to work, i'd return the n9 :(
[Nexus 9 Original Android Development] celkin:
Now that the carriers are pumping them (well at least in Canada) you should hopefully, see some additional development.

Im on Rogers, got the LTE model, am really pumped to see Elemental here, the N7 version was spectacular!
[Nexus 9 Original Android Development] wingdo:
I've been unable to play Dungeon Hunter 5 on my N9, it eventually ends up on nova launcher during loading. Tracked it down to ElementalX late last night. Runs fine with a modified stock kernel or CM's default kernel.
[Nexus 9 Original Android Development] flar2:
Please post the output of dmesg during the error
[Nexus 9 Original Android Development] Dr. Hurt:
Since this kernel supports more filesystems, It would be quite handy to complement it by an option to mount OTG drives in the ElementalX app.

I use stickmount but I'm not a fan, really!!

Hope you give this a consideration!!
[Nexus 9 Original Android Development] wingdo:
I'm still getting everything set back up. I will do a Nandroid over the weekend and flash EX and post the log for you and then revert back.
[Nexus 9 Original Android Development] Dr. Hurt:
[MENTION=4684315]flar2[/MENTION]

Just had a look at logcat, and found a flud of this message:

05-30 19:24:39.317 E/FlounderPowerHAL(545): Error writing to /sys/devices/system/cpu/cpufreq/interactive/boostpulse: No such device
[Nexus 9 Original Android Development] flar2:
That's just because we're not using interactive
[Nexus 9 Original Android Development] Dr. Hurt:
I tired switching to interactive in the ex app to see what happens, but it's the same. I even get an occasional io error message where the boostpulse value should go (in the app).

It's really annoying because the error message is fludding the log at an outrageous rate making it extremely hard to debug anything else.
[Nexus 9 Original Android Development] Kyuubi10:
[MENTION=4684315]flar2[/MENTION] awesome kernel.

I have a couple feature requests I'd like you to consider. Could you add KSM support and the ZEN I/O scheduler?
[Nexus 9 Original Android Development] Leoncino:
Are there any bugs with this kernel?

What about cpu temp?
[Nexus 9 Original Android Development] beats4x:
Kernel runs great, no issues to report. CPU temp seems fine
[Nexus 9 Original Android Development] Freak07:
Also if you like to lower cpu tmp just underclock to 1.8, 1.9 or 2.0 ghz. You will not notice a major performance drop but much less heat.
[Nexus 9 Original Android Development] yunananase:
Nexus9 OC

How can I change doing the "scaling_available_frequencies"

What I should be in order to further OC in ElementalX2.0

I have installed the heat sink to Nexus9

h ttps://blog.cope.jp/archives/74

It is operating at CPU:2.5ghz GPU:984Mhz.

Since the margin in the cooling is likely, we want to further overclocking.

How it should be for me to further overclocking.

By Google translation the Japanese to English
[Nexus 9 Original Android Development] KedarWolf:
Thanks!

Just bought your app. Been using your kernels for years for free on different devices and have no squalms about paying a few bucks to help a developer. :D
[Nexus 9 Original Android Development] Corey-:
I just brought A Nexus9.. Hopefully it'll arrive tomorrow :) gonna root and flash the kernel instantly.

Thank you!
[Nexus 9 Original Android Development] albsat:
I installed it yesterday but it always reboot to twrp when I choose reboot to system . What did I do wrong?
[Nexus 9 Original Android Development] flar2:
Do a clean install and try it again
[Nexus 9 Original Android Development] flar2:
Update!!!

Android M Beta Kernel:

Download: http://elementalx.org/devices/nexus-9/

Source: https://github.com/flar2/ElementalX-N9/tree/ElementalX-3.00
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Thank you:thumbup: :cool: successfully rooted my N9 with m :cool::beer:
[Nexus 9 Original Android Development] metaphz:
Thank you for all that you do! Haven't installed Android M on my N6 yet because I need your kernel on my daily driver phone so I've been experimenting with M on my N9 and loving it. Now that your kernel is on the N9 even better!
[Nexus 9 Original Android Development] Rydah:
What's the process? Manually fastboot flash boot boot.img, flash twrp then flash root?
[Nexus 9 Original Android Development] Headless96:
Yeah but you don't need to flash boot.img manually again if you already did it when installing M

Make sure you flash the unencrypted image that USBhost put up in the M thread in the general section or twrp won't be able to read internal storage without a passcode.
[Nexus 9 Original Android Development] Rydah:
So I flashed the boot.IMG usbhost posted, flashed twrp and it still asked for a password. I put in the default password and my own pin and neither work. Am I supposed to flash anything else?

I feel like a noob where I shouldn't. Lol thanks for your time.
[Nexus 9 Original Android Development] dictionary:
Did you figure it out? If not, you'll need to format data in TWRP, otherwise you won't be able to see the sdcard. Be aware though that this wipes the device. Not factory reset, actual format data in the wipe screen.
[Nexus 9 Original Android Development] Rydah:
No i haven't got it working. ??? not looking forward to wiping everything. Lol I have it so perfectly setup. Why would I need to wipe data? I'm very familiar with Android but the nexus seems much more complicated than any of my htc sense devices. Lol

Sent From My HTC One (M9)
[Nexus 9 Original Android Development] dictionary:
Encryption. You'll be fine so long as you don't need to flash anything in twrp. If you do though, without that password (don't think anyone actually knows what it is), you won't be able to access anything on the devices internal memory. If you are sure you won't need to flash anything, you're okay. Just be advised that you won't be able to change ROMs either. Not unless you plan on fastboot flashing everything. This is why your best bet is to back up everything on a computer, and then format. Just do it once and forget it.

Nexus devices of old didn't do this, it's just something new with L and the 64bit
[Nexus 9 Original Android Development] Rydah:
Understood. So this is a one time thing? Or will I need to do this for every new base?
[Nexus 9 Original Android Development] dictionary:
If you're going to be flashing complete images and doing full wipes, then every time. Won't be bad though if you're doing complete wipes already. If you are just going to fastboot flash the system, boot, cache, and bootloader, then you should be okay I think. It may actually encrypt you again. Best bet would be hoping someone on here just makes a twrp flashable version for each new M release.
[Nexus 9 Original Android Development] i9100g user:
[MENTION=4684315]flar2[/MENTION]

Do you have any future plans for implementing thermal throttling control ?

I know that you are busy on other devices which have a lot bigger community though.

I feel it can be useful for keeping the cpu temperature down for those who live in high temperature environments(like myself)

Thanks for the great kernel btw[emoji1]
[Nexus 9 Original Android Development] flar2:
There are already tunables for throttling in stock but I don't know exactly how to use them. Tegra seems way overcomplicated. I can't remember the parts off hand
[Nexus 9 Original Android Development] pyro6314:
Hey, I have been reading up and find no mention of charging + OTG support with ElementalX on the Nexus 9. I see that it was implemented on the Nexus 7 (as it was in Timur's ROM/Kernel). Is this a hardware limitation or is it possible using the same method as on the Nexus 7?

Thanks
[Nexus 9 Original Android Development] flar2:
I haven't tested yet, but I'm pretty sure otg+ charge using a y cable was added to the M Kernel.
[Nexus 9 Original Android Development] darkchazz:
Are there any sort of GPU threshold tunables ?
[Nexus 9 Original Android Development] Headless96:
One time thing if USBhost or anyone creates an unencrypted boot for every base released.

But if you don't want to wipe you can either stay unrooted or flash back to lollipop through fastboot
[Nexus 9 Original Android Development] i9100g user:
I tried looking up sys/devices/virtual/thermal

But I couldn't figures out anything ( as expected [emoji19] )

Looks like I will have to cap the CPU frequency to make my way around.

Anyways appreciate your input.
[Nexus 9 Original Android Development] Luk37astic:
What are the stock min/max frequencies for the CPU and GPU?

I know the stock CPU speeds are 510/2295 MHz.

But for GPU, I only know the max, so ???/852 MHz.
[Nexus 9 Original Android Development] darkchazz:
GPU min freq is 72 MHz

the rest are correct
[Nexus 9 Original Android Development] roblav96:
I notice that when I plug in my headphones then start music even with the volume down it plays at full volume for a quick millisecond. it never did that before using this kernel.
[Nexus 9 Original Android Development] flar2:
I did not touch the sound on this device
[Nexus 9 Original Android Development] znarf2369:
hey [MENTION=4684315]flar2[/MENTION], i have a question.

in the op it says that your kernel has ntfs read/write support. i installed it on my N9 (running dirty unicorns rom) but I was not able to get my ntfs hard drive working through usb otg.

Do you have an idea what I could do to get the HD working?

Would be awesome. Thanks in advance
[Nexus 9 Original Android Development] flar2:
Install StickMount. Kernel has the drivers, but userspace has to mount it.
[Nexus 9 Original Android Development] znarf2369:
thanks. is there anything i could do that it gets automaticly mounted?
[Nexus 9 Original Android Development] brotbuexe:
Is it normal, that while cpu temp shows 51° C in green color in the ex kernel manager app, the cpu already gets throttled down to 1500-1700 MHz? (5.1.1 v2.0)
[Nexus 9 Original Android Development] WhammyDroid:
I am trying to install this kernel on my N9 (coming from fireice). After flashing the kernel and wiping cache, I am bootlooping back into recovery. What do I do to fix this?
[Nexus 9 Original Android Development] mikebeatrice:
if you didn't flash your original rom again first, then your ramdisk is all jacked.

Flash your current rom over the top again and then flash elemental over that.

OP should probably be updated with those instructions. Pretty sure it says to do that over in the N5 forum for this kernel.
[Nexus 9 Original Android Development] WhammyDroid:
[MENTION=2285413]mikebeatrice[/MENTION], Thanks! So if stock, just reflash system.img?

Edit2: Had to perform a complete wipe/reflash of the entire device.
[Nexus 9 Original Android Development] tysj:
I would flash vendor.img again too
[Nexus 9 Original Android Development] metaphz:
I have the latest Kernel installed on Android M. I have a USB OTG drive formatted exFAT and Android M keeps telling me to Format it FAT32. Any ideas, I leave for a flight in an hour.
[Nexus 9 Original Android Development] wgxdz:
I'm wondering can we unlock the extra WiFi band (UNII-2) by flashing this kernel? Any comments on how to unlock it?
[Nexus 9 Original Android Development] leos0000:
Can i flash on lte nexus 9? Thanks android stock rooted 5.1.1

Отправлено с моего Nexus 9 через Tapatalk
[Nexus 9 Original Android Development] flar2:
No idea, exfat support is built in to the kernel, but I don't know how M handles things in userspace.

Not sure. When I messed with wifi bands on my Nexus 6, it screwed up my (and other users') router, so I probably won't mess with it.

Yes
[Nexus 9 Original Android Development] leos0000:
I meen lte nexus 9 so i can?

Отправлено с моего Nexus 9 через Tapatalk
[Nexus 9 Original Android Development] i9100g user:
3.00 working fine on m preview 2 (MPZ79M) here.
[Nexus 9 Original Android Development] .MoHaMaD:
Root preview 2 (MPZ79M)

1.twrp reboot recovery

2.elementalx 3.00

3.SuperSU

4. selinux mode changer > ENFORCING(work VPN & viper 4)
[Nexus 9 Original Android Development] mjc2251:
Forgive my ignorance, but does the nexus 9 require CAF based kernels for CM based ROMs? I don't see any so I'm assuming there's something different with the 64bit processor?
[Nexus 9 Original Android Development] USBhost:
no it does not

its only the ramdisk

thats why i love tegra devices
[Nexus 9 Original Android Development] WhammyDroid:
[MENTION=4684315]flar2[/MENTION], I'm noticing my tablet does not go to deep sleep when in airplane mode. I put mine in airplane mode when going to bed and the tablet was in deep sleep for only 17min out of 8 hrs.

In looking at battery app, system processes were the culprit. Thoughts?
[Nexus 9 Original Android Development] Philaphlous:
Quick side note... I've noticed a HUGE difference in operating temperatures if you disable all animations in the developer options. Especially with chrome I'm seeing about a 15C drop in CPU temp.. it's crazy. Just set all 3 animations to "Off"
[Nexus 9 Original Android Development] flar2:
A reboot usually solves that kind of thing.
[Nexus 9 Original Android Development] Philaphlous:
Flar, would you be able to help me out?

I'm doing some tests by changing frequencies of my board. Specifically the GPU for now.

I can change the core clocks via the commands no problem. However, I want to undervolt the GPU and see if I can keep it stable at high clock, to try and reduce temperatures... I can't get the right command to set the VDD_GPU_MV. Would you have any insight into this?
[Nexus 9 Original Android Development] Philaphlous:
Also, to add to my previous request. Do you know of the commands and changes for altering CPU voltage also? Thanks!
[Nexus 9 Original Android Development] flar2:
I don't know what all that does. Tegra has s huge amount of settings, experiment and let us know what you find.
[Nexus 9 Original Android Development] Philaphlous:
Working on it. Do you know much information about the "sbus"? It has a value of 816MHz stock. It seems you're able to overclock this. And unlike the EMC, 816MHz isn't the max value. I upped it to 1.02GHz but I have yet to experience any befits...
[Nexus 9 Original Android Development] sceptikart:
Hello mates!

Is this working on LTE version? Thanks!
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

-Update for Android M preview 2

-Add f2fs support to fstab in ramdisk (thanks [MENTION=4473900]amaces[/MENTION] for the script). This is untested, but you should be able to flash on f2fs converted cache and data without using a dummy kernel

-led triggers from [MENTION=5501864]USBhost[/MENTION]

Download:

ElementalX-N9-3.01
[Nexus 9 Original Android Development] beej199:
Just installed Elemental on stock Lollipop 5.1.1 on my Nexus 9, now the stock Usb charger doesn't charge the device!

Any ideas?

Device looks to be charging with my 5.1a usb hub but not 1.5a, 2a or 1a adapters.....

Please help!
[Nexus 9 Original Android Development] Renejo:
Just installed the kernel with the EX app. No problems with charging. Nexus 9 Wifi, 5.1.1. Lollipop
[Nexus 9 Original Android Development] beej199:
hmmmmm....charging not working for me though. Weird

Any idea how to troubleshoot?

Could it be something else I've installed?

I have Xposed installed with

Amplify

APM+

App Settings

Bootmanager

DS Battery Saver

Greenify

Remove Battery Saver Warning Colour

True Silent Modem

Wanam Kit

mine is the 4g/LTE version too

---------- Post added at 08:12 PM ---------- Previous post was at 07:47 PM ----------

New problem. Backups are not saving either, keep getting a " Save backup failed," message.

Not sure what I've done wrong!?
[Nexus 9 Original Android Development] CZ Eddie:
$20 bounty if USB-OTG charging can be added to this kernel. :)
[Nexus 9 Original Android Development] USBhost:
well its already there

so go give [MENTION=4684315]flar2[/MENTION] $20
[Nexus 9 Original Android Development] CZ Eddie:
Are you sure? I just tested and have no USB-OTG charging at all.
[Nexus 9 Original Android Development] USBhost:
Google added it in M p1

And if your on 3 you should have it
[Nexus 9 Original Android Development] CZ Eddie:
Okay, yes Google did add it to M.

But I'm here for 5.1.1, not M.

Not sure what you mean by "3"?
[Nexus 9 Original Android Development] USBhost:
ElementalX 3

one person told me otg charging worked my kernel

and Elemental is on M p2

so it should work!
[Nexus 9 Original Android Development] CZ Eddie:
Oh, 3 as in version number.

Looks like 3 is only available for Android M kernel, not for 5.1.1.

Or at least it's not on the download location yet.

I'll go check out your kernel. :good:
[Nexus 9 Original Android Development] flar2:
OTG charging was added to the M kernel, but I haven't tested it.

Does the M kernel work on Lollipop? It might work, many Nexus 5 and 6 users are running M kernels on Lollipop.
[Nexus 9 Original Android Development] Freak07:
Yes it does work on lollipopalooza
[Nexus 9 Original Android Development] Philaphlous:
Well... I'm pretty sure I've finally found out how to alter the voltages for the CPU and GPU. I did a quick check since it's hard to really tell if the voltages actually changed, did some crazy drop at load from 0.900 to 0.750....instant power off from the tablet. So I'm pretty sure it works. I'm going to continue to do more testing before I reveal anything else. Pretty I can overclock the GPU with no voltage increase at all because of how it's binned...but still checking on that. Will report back. woohoo!
[Nexus 9 Original Android Development] CZ Eddie:
The Android M kernel did work on 5.1.1 and provides USB-OTG charging.

It doesn't charge nearly as fast as my Samsung tablet does.

But I found the charging went up and down quite a bit, so it may be Google code managing this.

Paypal Confirmation number: 5C327752G5148273Y
[Nexus 9 Original Android Development] darkchazz:
Awesome! Awaiting your results.

Also, it would be much appreciated if you could help test the contents of "/sys/kernel/debug/gk20a.0_scaling"

Tagra K1 gpu is named gk20a

I am looking for any option to make the gpu less aggressive.

From "/sys/class/devfreq/gk20a.0/" we can see that the nvidia gpu governor is called nvhost_podgov, but I'm not sure how to edit the parameters...

Thanks a lot.
[Nexus 9 Original Android Development] Philaphlous:
Not exactly sure what the values are bud, but I can find the folder and it does appear to have some strange values for some of the things in there. Let me know what you find. Not sure if this is the power limit values or frequency change intervals...

So far it seems -60 is stable for me for the GPU. Meaning, there's no voltage bump going from 852MHz to 914MHz. When it boost to 914MHz, it's the same voltage as if it were at 852MHz, which is kewl! I tried -150 and it crashed, I might be able to push -100 on the CPU side but probably not for the GPU. The device just hangs when I undervolt too much...