yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] MobyDick92:
If i install the preview in my nexus 9 LTE with this kernel, can i connect to the mobile network? Or are changes required in the ROM side?
[Nexus 9 Original Android Development] dictionary:
Have you flashed the noforce encrypt boot IMG? Flash that first, then elemental, and then root. Bam, rw will work. It's in the m thread.
[Nexus 9 Original Android Development] cmh714:
Thank You!!! I mustve missed that post somehow. :)
[Nexus 9 Original Android Development] metaphz:
I have done this, and it is working great with one MINOR annoyance. When the N9 boots to Home Screen I get a dialog box that says there is something wrong with my device, and I need to send it to the manufacturer. Are either of you experiencing this?
[Nexus 9 Original Android Development] flar2:
I have that. It shows up for some people on the Nexus 6 as well. For some reason, I get it on my N9 but not on my N6.
[Nexus 9 Original Android Development] metaphz:
I'm not so sure it's your kernel, but the modified boot image. I don't get that error when I had just your kernel flashed...
[Nexus 9 Original Android Development] flar2:
It's some sequence of unencrypting the sdcard, rooting and flashing stuff that causes it.
[Nexus 9 Original Android Development] cmh714:
the message is gone for me. i had it prior to flashing the boot img
[Nexus 9 Original Android Development] arunkr:
Anyone?
[Nexus 9 Original Android Development] flar2:
You have to swipe a longer distance on tablets, and the kernel doesn't know the screen orientation. So it's not the same as on phones, where you just swipe across the navbar. I think by default it is disabled along the long side of the phone, otherwise it interferes with scrolling.

Ideally I should make an app for this, so it can tell what's on your screen and adjust appropriately.
[Nexus 9 Original Android Development] Matthileo:
Any thoughts on this?
[Nexus 9 Original Android Development] flar2:
I haven't had this myself. If you can reproduce, a kernel log would be very helpful.
[Nexus 9 Original Android Development] Matthileo:
Would that be a last-kmsg? I'll grab one the next time it happens.
[Nexus 9 Original Android Development] flar2:
If you have EX Kernel Manager, Go to Tools->Save logs->Previous kernel log

Otherwise, send me the files in /sys/fs/pstore

In both cases, this must be done on the very next boot (including recovery)
[Nexus 9 Original Android Development] lmulli:
Which Boot Img? The No_Force_Encrypt one thats knocking about or the one included with ElementalX? Ta.
[Nexus 9 Original Android Development] cmh714:
gone after no force encrypt. it was there when i was just using elemental.
[Nexus 9 Original Android Development] Matthileo:
https://drive.google.com/file/d/0B6jldYSrGoKQRE54TlR1MUZTR2s/view?usp=docslist_api
[Nexus 9 Original Android Development] arunkr:
Undervolting

Hi, I understand that there is automatic UV in this kernel, how do the kernel know what is the lowest and stable voltage for each frequency?.. Just curious..also how can we check if the UV is working?..I tried getting dvfs tables using emulator but its giving some error.. Thanks in advance
[Nexus 9 Original Android Development] joeyddr:
how come no more 5.1.1 updates?
[Nexus 9 Original Android Development] beats4x:
Because it's stable and running amazingly ?
[Nexus 9 Original Android Development] flar2:
Was this taken after a crash? I don't see anything catastrophic.

It's all done automatically, according to an e-fuse on your chip, which is based on testing by the manufacturer. I can't remember all the details, but on Tegra, a lot depends on the speedo number.

Nothing much to change
[Nexus 9 Original Android Development] arunkr:
Can u tell me how to check what values its taking?...if the UV is working..?
[Nexus 9 Original Android Development] Matthileo:
Yeah, it was taken right after it booted back up after a freeze / crash. I've looked at the logs from these before, and never found anything that stood out. But I'm not good at reading logs.
[Nexus 9 Original Android Development] flar2:
It's working. It's automatic. Search the thread, there was discussion about it a few weeks ago.
[Nexus 9 Original Android Development] flar2:
This weekend I'm going to look closer at the line that is repeated over and over. maybe that offers a clue.

How again can I try to reproduce this?
[Nexus 9 Original Android Development] Matthileo:
Let the battery get below 50%, let the device get warm/hot, watch those 360-degree YouTube videos.. Pretty reliably reproduces it for me
[Nexus 9 Original Android Development] flar2:
What is a 360 degree youtube video? Any links?
[Nexus 9 Original Android Development] Matthileo:
https://youtu.be/6uG9vtckp1U
[Nexus 9 Original Android Development] workdowg:
Cool vid!
[Nexus 9 Original Android Development] LOVE ME PLEASE:
Hey guys is the 2.00 kernel updated for LMY480I thanks! Thanks dev for all of your hard work!!! I'm very new by the way.
[Nexus 9 Original Android Development] _ASSASSIN_:
you can flash it since it is a kernel, but it's intended for the M3 preview
[Nexus 9 Original Android Development] beats4x:
Yes, 2.0.0 is the correct version for the latest 5.1.1 base

3.0.x is for M preview. Only correcting so that any future uncertainties will be stamped out
[Nexus 9 Original Android Development] arunkr:
Have a doubt guys, is the force 2 A charging a feature of the ROM or the kernel?..also I'm having problems with my battery charging, when I switch off and charge the battery % increases quickly(0-100% in 4 hours approx)..but with it switched on, it just charges 10% per 1.5 hours..:(..:(..As soon as I switch it on and off while charging, the battery % jumps up. Also I checked using battery monitor widget, at 87% charge, the input charging was at a rate of just ~210mA..:eek:..:eek:.,which is totally unbelievable....pls help..:)
[Nexus 9 Original Android Development] flar2:
I can't reproduce this. I'm on M preview 3. Which ROM are you using?
[Nexus 9 Original Android Development] Matthileo:
M3. Also happened on m2 and 5.1, but not 5.0.x
[Nexus 9 Original Android Development] flar2:
This is another thing I can't reproduce. I've tried several chargers, usb fastcharge on and off, etc.

I think it's related to thermals. If it happens again, try unplugging and rebooting to see if it goes back to normal.

But again, I'm on Android M preveiew 3, maybe whatever it is was fixed.
[Nexus 9 Original Android Development] tibere86:
Have you experienced auto rotation dying after some time on Android M Preview 3 too? This is the only bug keeping me from flashing back from 5.1.1 ROMs.
[Nexus 9 Original Android Development] USBhost:
Will do soon
[Nexus 9 Original Android Development] flar2:
Normally that's what I need for kernel development, but in this case I need a logcat because the keyboard is in userspace.

Either use an app like catlog or do adb shell logcat > logcat.txt

Must be taken right away after the keyboard fc
[Nexus 9 Original Android Development] TotallyAnxious:
https://play.google.com/store/apps/details?id=scd.lcex&hl=en Logcat Extreme works good for me, since it has a built in floating mode, haven't tried it on lollipop yet
[Nexus 9 Original Android Development] mkiderek:
hope this helps
[Nexus 9 Original Android Development] USBhost:
[MENTION=4684315]flar2[/MENTION]

can you tell me where you oc the gpu at

so i can do some testing to see how far i can go before reboots
[Nexus 9 Original Android Development] flar2:
Mystery solved: it's the toolchain I was using. Should be fixed in next release.

I didn't save the changes, you have to change two or three files. I will come back to it when I have a chance.
[Nexus 9 Original Android Development] USBhost:
O ok

Can you apply this patch in the next release

http://xdaforums.com/showpost.php?p=56628283&postcount=11
[Nexus 9 Original Android Development] Pilz:
Reflashing fixed my issue, is anyone else having an tutu crash using the 0.04 update? It stops when it gets to the 3D test when it used to run fine.
[Nexus 9 Original Android Development] flar2:
It seems antutu doesn't complete the 3d test on the first run after you change the kernel, I suspect due to the cached code optimizations. Subsequent runs work.
[Nexus 9 Original Android Development] Pilz:
I ran it 3-4 times same it failed before the 3rd test each time. It's not a big deal I was just curious if anyone else had the issue. I'll try to clear there cache and reset the nexus to see if that helps.
[Nexus 9 Original Android Development] flar2:
Don't stop the test, let it go all the way til it shows a dialog. It takes a while, but that worked for me.
[Nexus 9 Original Android Development] Pilz:
I don't stop it, it stupid on its own and just said test failure or something to that effect
[Nexus 9 Original Android Development] USBhost:
Try this

echo 3 | su -c tee /proc/sys/vm/drop_caches
[Nexus 9 Original Android Development] Pilz:
Thanks it seems to work now, I think I need to test it cold because it scored ~55k which is lower than the ~56k it was stock. It could be due to the temperature? I checked it before the benchmark and it was at ~100 degrees F which is normal for mine. I'll give it another run later.
[Nexus 9 Original Android Development] flar2:
Thermal throttling defintiely plays a role. I've benched anywhere from 54k to 59k. Most of the time around 57k. As always with benchmarking, let the device boot up all the way (5 minutes) and wait for it to cool down between runs.
[Nexus 9 Original Android Development] Devildog78965:
Was the Elemental app updated yet?
[Nexus 9 Original Android Development] flar2:
Yes. I still have to adjust a few things for this device, like powersave and performance modes aren't tuned yet.
[Nexus 9 Original Android Development] frap129:
Weird, it just stops building even though there are no errors. No message, no reason why, just stops. Had to build with -k to actually get it to work.
[Nexus 9 Original Android Development] Pilz:
I'll give it a go later again,I just did a cold run and this is the score:

Is there a way to reduce the thermal mitigation without hurting the Nexus?
[Nexus 9 Original Android Development] USBhost:
I can do a build with out thermal throttle

But be very careful
[Nexus 9 Original Android Development] flar2:
Yes. I go to the lockscreen and then it starts rotating again, but it's annoying.
[Nexus 9 Original Android Development] albsat:
Will we get a treat for 5.1.1? :) any update?
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Security update for lollipop (Android 5.1.1)

Download:

ElementalX-N9-2.01

Changes:

-google security update
[Nexus 9 Original Android Development] armaki:
Exactly same situation for me with Nexus 9 LTE and Pure Nexus ROM.

Edit: Original HTC charger that came with the unit does not charge the N9. I am using Morotola's turbo charger from my N6 to charge it. HTC charger works fine on other devices so it's not defective.
[Nexus 9 Original Android Development] orangehk:
Same as I, I thought the HTC charger was broken :crying:
[Nexus 9 Original Android Development] Manu270891:
Which CPU governor does the Stock Nexus 9 kernel use? I love this kernel features, but I would like to use the stock CPU governor instead of the elementalx one.

Thanks!
[Nexus 9 Original Android Development] cobyman7035:
What's the latest elementalX version I can use on 5.01?
[Nexus 9 Original Android Development] 3c:
hot restart on M preview 3?

I've installed M preview MPA44G then MPA44I, with this kernel (v3.00) since a while, however I get frequent hot restart, not a full reboot, but the OS restarts itself, seems to be thermal related, and before that CPU is at 50% for a while, however no process consumes near that!?

Since I installed MPA44I, WiFi is no longer working, it's on and scanning but finds nothing and I can't disable/enable it, switch does nothing.

Another issue I discovered is that the WiFi MAC address keeps changing on every reboot. Seems to relate to the system being tampered (and the warning during boot) once I rooted the M preview. I think it also happened on 5.1.1. Couldn't find any hint on how to prevent that on XDA or googling it ;(

Anyone else experienced those and found solutions? Searched the thread but no-one seems to have such issues? I'll go back on 5.1.1, hopefully it's more stable.
[Nexus 9 Original Android Development] cmh714:
Get the 3.02 kernel that will fix the random MAC address issue...at least it did for me.
[Nexus 9 Original Android Development] 3c:
Gee, I wish I waited a little more before flashing 5.1.1 back. Didn't do my home work on this, lol. Thanks for the info, I'll try again soon.
[Nexus 9 Original Android Development] cyraxx84:
Just installed latest Version for 5.1.1, Seems that the GPU clock never goes higher than the stock 852Mhz.

I set it to 900 in Aroma and also did it with EX. It shows that GPU clock is set to 900 but doesn't get higher as 852. Is it just how it is? Or im a noob??

---------- Post added at 04:11 PM ---------- Previous post was at 03:20 PM ----------

There's something else i noticed. Every time i turn off my N9 it just reboots instead of being off.

So whats wrong? Or is it really that im a noob:)
[Nexus 9 Original Android Development] py_martinez:
Hi,

I love this kernel but for the moment I am still stock and brand new tablet[emoji4] .

If I root (to be able to install [MENTION=4684315]flar2[/MENTION] kernel) will I be able to receive or to install easily the next Google updates (android 6 I think) ? [emoji61] .

And if I want to return to stock is it easy and safe?

Envoyé de mon Nexus 9 en utilisant Tapatalk
[Nexus 9 Original Android Development] flar2:
Returning to stock is easy, just backup boot partition in recovery

You can't install OTA updates unless everyhting is 100% stock, including recovery.

But you can simply download the factory image and install the system and boot images in fastboot.

adb reboot bootloader

fastboot flash vendor vendor.img

fastboot flash system system.img

fastboot flash boot boot.img

Then reboot to recovery:

install SuperSU and elementalx

Wipe cache and dalvik

reboot to system
[Nexus 9 Original Android Development] py_martinez:
So if I understand well I can root and install twrp + your kernel, and in two weeks, when the next version of Android will be available I will be able to install the update ONLY if I return 100% stock?

Envoyé de mon Nexus 9 en utilisant Tapatalk
[Nexus 9 Original Android Development] flar2:
No, it's faster and easier to do the fastboot method I describe
[Nexus 9 Original Android Development] py_martinez:
Hi guys, I am a bit lost[emoji16] [emoji35] [emoji33] ...

I usually root HTC phones without problem...

This time I unlocked the nexus 9 boot loader, OK, I flashed the last twrp recovery via fastboot on my pc....

Then the phone entered in twrp recovery...I installed supersu with twrp, flashed elemental x via twrp....

Okayyyy.....

The tablet rebooted normally and functions normally but I can't enter in twrp recovery directly via the tablet on hboot menu...

Have I missed something? Do I have, with nexus, to ALWAYS connect the device to the pc to enter in recovery and try or modify kernels?

Envoyé de mon HTC One_M8 en utilisant Tapatalk
[Nexus 9 Original Android Development] cyraxx84:
You could try to install Flashify from the Play Store. There's an Option to reboot to recovery and you can also flash kernels & recoveries(.img not .zip) without booting into a recovery. But you need root!
[Nexus 9 Original Android Development] flar2:
Did you try using an app like Quick Reboot?

There is no img file for elementalx (it's cuatom built on the fly in recovery), but you could flash stock that way.
[Nexus 9 Original Android Development] cyraxx84:
You still didn't answer why the Gpu clock never goes above the stock 852Mhz,...or is it normal?
[Nexus 9 Original Android Development] flar2:
It's due to your hardware, some chips have an efuse that doesn't allow oc.
[Nexus 9 Original Android Development] py_martinez:
Ok I tried with twrp manager and installed the recovery.img with it, it worked! I also installed ex kernel with it.

Worked better for me (for twrp recovery) that flashing with the pc.[emoji2]

Envoyé de mon HTC One_M8 en utilisant Tapatalk

---------- Post added at 07:46 PM ---------- Previous post was at 07:43 PM ----------

Oh I forgot :

Thank you [MENTION=4684315]flar2[/MENTION], your fast charge option works very well :

My device charges entirely in 3h30 now vs 4h12 before !

Envoyé de mon HTC One_M8 en utilisant Tapatalk
[Nexus 9 Original Android Development] nickefor:
Hello, I'm on fire-ice kernel but I'd like to also try elementalX.

Since fire-ice disables SElinux, if I flash elementalx and then flash a zip posted earlier which sets SElinux to permissive, will I be ok?

Thank you
[Nexus 9 Original Android Development] flar2:
Update

For Android 6.0 Marshmallow

Download:

ElementalX-N9-4.00

Changes:

-update for Android 6.0
[Nexus 9 Original Android Development] flar2:
flash the stock boot.img before installing elementalx and if you need permissive, then flash the permissive zip as well.
[Nexus 9 Original Android Development] nickefor:
I know I can wipe data, flash rom and flash elementalX.

But I am looking for a way to avoid wiping data. I asked over at fire ice kernel thread and the developer said I should use a kernel which sets SElinux to permissive so that i dont have to wipe That's why I asked about flashing elementalX and then flashing the permissive zip.
[Nexus 9 Original Android Development] furbyx92:
Is SuperSU working with this update.?
[Nexus 9 Original Android Development] craigacgomez:
Yes, SuperSU does work with the latest update to this kernel on Android M

Side note: If you do not encrypt your tablet, you will see a "device is corrupt" warning whenever you boot up. This can be ignored, but if you don't want to see that message, encrypt the device.
[Nexus 9 Original Android Development] Harry551:
Yesteday i had flash the factory image of Android marshmallow with full wipe... Today I have flash the latest twrp for flashing this custom kernel and root the device but when I boot into recovery twrp ask me the password... How can I fix that? Anyone can help me?
[Nexus 9 Original Android Development] brotbuexe:
[MENTION=4684315]flar2[/MENTION], you asked in the N5 thread about system rw and the "corrupt device" message on boot. I did not tried the N5 yet, but on N9 I have both issues.

system is readonly in MM. For example adaway can't write to /system/etc/hosts. (running SuperSU 2.49 Beta)

And I got the red warning at boot about the corrupt device.

For now both not a big deal, but if we can try something...

[MENTION=4889437]Harry551[/MENTION]: the issue is reported in the N9 TWRP thread. No solution yet. http://xdaforums.com/nexus-9/orig-development/recovery-twrp-2-8-2-0-touch-recovery-t2944788/
[Nexus 9 Original Android Development] Harry551:
I have fix it. I have instal the latest Nexus Root Toolkit and next i had flash the no force encrypt boot and i have do a full wipe and format data. Now Twrp works fine.
[Nexus 9 Original Android Development] v12xke:
Yes TWRP works fine on an unencrypted Nexus, but are you rooted with SU 2.49 and running ElementalX 4.0? Like you, I did a factory reset from bootloader and installed the image unencrypted with Wug's tool kit. Then factory reset from bootloader again. It wasn't until later on when I installed the kernel (first) and then SU that I started to get the error on boot. TWRP appears to be working normally and allows me to make a full backups. Other than a 10 sec. delay in boot, the tablet is working perfectly. Not saying it is the kernel at all, just providing my sequence of install and when it started happening to me.

https://support.google.com/nexus/answer/6185381?hl=en

Nexus 9 LTE, ElementalX 4.0, Beta SU 2.49.

---------- Post added at 01:05 AM ---------- Previous post was at 12:05 AM ----------

Not out of the woods yet... can't set permissions in the /system folder. Was setting up Adaway and the hosts file is write protected. Using Root Explorer I still cannot change permissions, so root is not complete. I'll go look over there.
[Nexus 9 Original Android Development] Hereisphilly:
Yeah same here, anyone know a way to set system as writeable so adaway works?
[Nexus 9 Original Android Development] brotbuexe:
Not exactly on topic but there is an option in adaway where it put the hosts file in /data/data/hosts. All you have todo is create a symlink in /system/etc (through recovery)

http://imgur.com/ZoZcii2

for example in twrp via adb shell:

rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts

Then change the location in the options in adaway. works fine as a workaround.

About the readonly and red warning. Is there an relation? Maybe when you get a red warning the system mounts readonly on purpose?

Or are all of you with system readonly on 6.0? Its weird that on the N5 thread at least some have a writeable system.
[Nexus 9 Original Android Development] flar2:
Okay, I just checked the system rw thing on my Nexus 6, and all you need is an insecure boot.img

I'll push an update tonight

Note that it will be OPTIONAL, as I prefer to ship the kernel in as secure a state as possible.
[Nexus 9 Original Android Development] Harry551:
Yes i'm running Android 6.0 build MRA58K without encrypt. Also i'm running ElementalX 4.0 with latest beta of SuperSU 2.49. Try this step:

Flash factory image with full wipe and format data--> with Wug's tool kit select your device Nexus 9 LTE and your Android Build MRA58K---> Flash the latest TWRP downloaded from the TWRP website--> go to advanced utility-> launch-> boot-> no force encrypt-> now the tool download the new boot image-> flash the boot image-> Factory Reset and Format Data from TWRP-> boot-> reboot into recovery and flash ElementalX 4.0 with latest beta of SuperSU 2.49
[Nexus 9 Original Android Development] brotbuexe:
[MENTION=4684315]flar2[/MENTION]: the n5 kernel supports color control and kcal driver for CFlumen. Do you have plans to support this on the N9 too? I only found some old posts from 11/2014 about looking into it.

At least on N6 CFlumen seems to work with the kcal driver:

http://xdaforums.com/showpost.php?p=63162998&postcount=803

http://xdaforums.com/nexus-6/development/kernel-stock-kernel-root-color-control-t3218958
[Nexus 9 Original Android Development] flar2:
Those are all Qualcomm devices, which share basically the same driver. This device requires something completely different, and I don't foresee myself having the time to do it. There is not a great need for it anyway, as the screen is very well calibrated on this device.
[Nexus 9 Original Android Development] v12xke:
Thanks for your reply Harry. Your sequence is identical to mine except you used TWRP to factory reset and format data instead of me using the boot loader to just factory reset instead. Weird, but I'll give it a shot. Can you please verify you have write permissions to /system? eg. can you modify permissions on /system/etc/hosts to allow full read/write? Cheers!
[Nexus 9 Original Android Development] Harry551:
/system is with read only permission... i can't modify or delete anything... maybe we must wait a SuperSU update.
[Nexus 9 Original Android Development] v12xke:
Yes, or [MENTION=4684315]flar2[/MENTION] 's update. Exciting times.
[Nexus 9 Original Android Development] mjc2251:
http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

Use the modified boot.img from the chainfire thread and the new version of supersu. Booting up now...no device corrupted message...ill comment back on system read/write in a few.

EDIT: System is read/write, confirmed by installing Adaway and successfully applying hosts file. All is working perfectly with ElementalX 4.00!!!