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

while compiling from your github, after enabling Module Support from menuconfig, kernel fails to build with following error.

earlier versions didn't have that issue and built normally. any way to workaround or disable voltage monitor if possible.

elemetalX for other qualcomm devices don't have that thing included.

In file included from /home/i/build/ElementalX-N9/include/linux/linkage.h:6:0,
from /home/i/build/ElementalX-N9/include/linux/kernel.h:6,
from /home/i/build/ElementalX-N9/include/linux/sched.h:31,
from /home/i/build/ElementalX-N9/arch/arm64/include/asm/compat.h:25,
from /home/i/build/ElementalX-N9/arch/arm64/include/asm/stat.h:23,
from /home/i/build/ElementalX-N9/include/linux/stat.h:5,
from /home/i/build/ElementalX-N9/include/linux/module.h:10,
from /home/i/build/ElementalX-N9/drivers/hwmon/battery_system_voltage_monitor.c:15:
/home/i/build/ElementalX-N9/drivers/hwmon/battery_system_voltage_monitor.c:151:19: error: 'battery_voltage_monitor_on' undeclared here (not in a function)
EXPORT_SYMBOL_GPL(battery_voltage_monitor_on);
^
/home/i/build/ElementalX-N9/include/linux/export.h:57:16: note: in definition of macro '__EXPORT_SYMBOL'
extern typeof(sym) sym; \
^
/home/i/build/ElementalX-N9/drivers/hwmon/battery_system_voltage_monitor.c:151:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(battery_voltage_monitor_on);
^
/home/i/build/ElementalX-N9/drivers/hwmon/battery_system_voltage_monitor.c:183:19: error: 'system_voltage_monitor_on' undeclared here (not in a function)
EXPORT_SYMBOL_GPL(system_voltage_monitor_on);
^
/home/i/build/ElementalX-N9/include/linux/export.h:57:16: note: in definition of macro '__EXPORT_SYMBOL'
extern typeof(sym) sym; \
^
/home/i/build/ElementalX-N9/drivers/hwmon/battery_system_voltage_monitor.c:183:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(system_voltage_monitor_on);
^
make[3]: *** [drivers/hwmon/battery_system_voltage_monitor.o] Error 1

https://stackoverflow.com/questions/32565432/cross-compile-error-when-building-kernel-nexus9-memory-forensics
[Nexus 9 Original Android Development] oo0:
[MENTION=4684315]flar2[/MENTION]

fix is here https://github.com/USBhost/FIRE-ICE/commit/75fdbf4934928b8430cf837acd9e56bbd4b1ea9a
[Nexus 9 Original Android Development] flar2:
Nougat is now official and ElementalX 5.02 is the version you should flash. There were no kernel changes after preview 5.
[Nexus 9 Original Android Development] jamescable:
Can't get twrp nor root on official N

So question....how can I use this kernel? I used flashfire to flash N, I used the keep recovery and root...but twrp bootloops and root didn't stick so I can't flash this
[Nexus 9 Original Android Development] corkiejp:
Use CFAR method to root. Then use Flashfire to flash kernel.

TWRP will bootloop but eventually load and you can use OTG or sideloading to flash zips.

Edit: - TWRP update available that works on encrypted nexus 9. twrp-3.0.2-1-flounder.img
[Nexus 9 Original Android Development] buttie:
I have 5.02 flashed but your app still claims that there's an update... to 5.02...
[Nexus 9 Original Android Development] PacerguyDon:
Also using 5.02 and received the same message from the app as well.
[Nexus 9 Original Android Development] flar2:
Should be fixed now
[Nexus 9 Original Android Development] sejmand:
I'm on MOB30W with ElementalX-N9-4.16 and twrp-3.0.2-0-flounder and UPDATE-SuperSU-v2.76-20160630161323.zip

Did I got i right?:

1

start with flashing the "volantis_7.0.0 NRD90M" image vie flash NRD90M.img with script via fastboot-mode?

flash-all.sh:

"fastboot flash bootloader bootloader-flounder-3.48.0.0139.img

fastboot reboot-bootloader

sleep 5

fastboot -w update image-volantis-nrd90m.zip"
​

(all data are lost because of version changing!?)

or step by step like the last updates?:

adb reboot bootloader

fastboot flash boot boot.img

fastboot flash vendor vendor.img

fastboot flash system system.img

fastboot flash recovery twrp*.img​

2

enable "OEM Unlock" in developer options

3

flash the newest "twrp-3.0.2-1-flounder"

4

then start with "CF-Auto-Root-flounder-volantis-nexus9" (for me: run the script: "root-mac.sh")

4

install Flashfire and flash "ElementalX-N9-5.02"

5

done?
[Nexus 9 Original Android Development] tdct12:
[MENTION=4684315]flar2[/MENTION] I would like to report what could be a seriously dangerous bug for the nougat build. On marshmallow when measuring the current with ampere I tended to get ~1100 ma on average. I've noticed when first turning on my tablet with the nougat build (Im also running nougat obviously) I get measurements of around 2230mA!! Is that even safe? If the battery is only rated for 1.5a that's almost a whole amp over

EDIT: Restarted tablet to repliate bug, took a screen shot. I was slow with the screenshot but it seems to last for about a minute after start before spiking down ultra low. This bug does not occur on every restart though.
[Nexus 9 Original Android Development] GiIrain:
Step by step guarantees you will not lose your data or files:

fastboot flash bootloader bootloader-flounder-3.48.0.0139.img

fastboot reboot-bootloader

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot flash recovery recovery.img (or twrp directly)

Then you just "fastboot boot twrp.img" and install SuperSU and the kernel. Wipe Cache to be thorough and reboot. Done.
[Nexus 9 Original Android Development] beats4x:
[MENTION=4684315]flar2[/MENTION], do you plan on supporting the LTE version when it drops like on the n7? I'm considering trading mine in for the LTE model, but I won't if support for ElX won't be there.

I understand it is a new chip set and architecture for you, and that may or may not present it's own set of complications. If I had any clue about kernel deving,, I'd attempt a port but when it comes to that I am clueless. Just am simple themer here lol.
[Nexus 9 Original Android Development] tyvar1:
Haha this is sick! I have 57k stock. I hope I can reach that with oc :D
[Nexus 9 Original Android Development] USBhost:
But i was not able to get there again

Cry because it kept getting stuck on 3d test

But normally I get 22-21k for 3d

When I did a test on my kernel I got to 42k without 3d

So 42k+ 22k = 64k

the course everything was oc
[Nexus 9 Original Android Development] tyvar1:
Lame :( so oc is not stable :(
[Nexus 9 Original Android Development] USBhost:
Lol even on stock it got stuck on 3d so i would not say that
[Nexus 9 Original Android Development] ElArmaSecreta:
I'm quite new to the flashing stuff, so I got a few questions just to be sure. What is the right order of doing things? I think: unl. boot loader > rooting > flashing kernel. Correct me if I'm wrong! When I want to go to stock all stuff, I think the factory images from google are the way to go? And is it a good idea to do a factory reset after flashing the kernel? Thanks in advance!
[Nexus 9 Original Android Development] StuMcBill:
I might have missed something, but where can I download the App? Cant find it on the Play Store?

Stu
[Nexus 9 Original Android Development] tyvar1:
Aah I see! :D I am waiting to root and flash things until a Cwm/twrp is released :)
[Nexus 9 Original Android Development] hover99:
Why wait? Maybe wait for flashing a custom kernel. But you can already unlock the bootloader and root it. If everyone is always waiting we wouldnt have such a great xda community :)
[Nexus 9 Original Android Development] tyvar1:
Actually that's right! Didn't thought that way :) will do it when I get come!
[Nexus 9 Original Android Development] Pilz:
This kernel is a big improvement over the stock one in my opinion. The worst that can happen is you don't like it. It takes 2 seconds to flash and its very eassy
[Nexus 9 Original Android Development] tyvar1:
Yeah! This kernel really wants me to root! :D Chainfire released a new version of the root so will do it tonight!
[Nexus 9 Original Android Development] Pilz:
I rooted the original way but CFautoroot is always nice. As long as you are familiar with the ADB and fastboot commands you will be fine. For some reason it wouldn't let me quote your post due to an error
[Nexus 9 Original Android Development] tyvar1:
Do you know the difference between the old and new new root method? :D

ADB and fastboot is easy :D
[Nexus 9 Original Android Development] Pilz:
The new method is a cleaner install
[Nexus 9 Original Android Development] tyvar1:
Okey thanks :)
[Nexus 9 Original Android Development] flar2:
No need for factory reset

http://elementalx.org/elementalx-app/

Assuming it uses the same kernel source, then yes.
[Nexus 9 Original Android Development] StuMcBill:
Thanks flar!
[Nexus 9 Original Android Development] ElArmaSecreta:
Thanks for your reply. I typed the command for fast charge in the terminal I downloaded from the play store. But can't find out if it did work. The kernel works good so far, thanks :)
[Nexus 9 Original Android Development] MikeC84:
Hey [MENTION=4684315]flar2[/MENTION] not sure if you are enabling lz4 for zram through sysfs but looks like you still have lzo enabled for zram in source.

https://github.com/MikeC84/mac_kern...594b#diff-76f3e5f12f3d66e410d6476cbe0232f1R41
[Nexus 9 Original Android Development] flar2:
That's nothing to worry about. It's because the system is running full out during the boot process. That is the current flowing out of the battery, not in. I only wish it would charge at 2A, like all my other devices from the past 3 years.
[Nexus 9 Original Android Development] flar2:
That's how I do it
[Nexus 9 Original Android Development] sejmand:
thx "GiIrain"

I did it and it works without a problem...

did flash twrp direct...

great help, great community!
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Nougat:

ElementalX-N9-5.03

Marshmallow:

ElementalX-N9-4.17

Changes:

-September security update
[Nexus 9 Original Android Development] buffal0b1ll:
EX Manager app can download the custom just fine but the express brings back a Download Failed prompt. Thanks!
[Nexus 9 Original Android Development] flar2:
Which one, marshmallow or nougat?
[Nexus 9 Original Android Development] buffal0b1ll:
Marshmallow 4.17
[Nexus 9 Original Android Development] s1l3nt:
Nougat also fails to download too from app. I just downloaded from your post tho to get it.
[Nexus 9 Original Android Development] buffal0b1ll:
Express 4.17 just downloaded successfully from the app. THX
[Nexus 9 Original Android Development] bigsyd:
I went from Marshmallow to Nougat using Flashfire. However, it did not wipe my apps and data etc.

I would like to start from a fresh install with data and apps wiped completely (tablet runs slower than it use to). However, I want to maintain Root and bootloader unlocked and I want to continue using ElementalX.

Can I simply do a Factory Reset in the Backup/Reset section of the Android Settings area? Or, should I REINSTALL THE ANDROID 7 firmware via TWRP?

What would be the best route to get to a clean install without losing root and unlocked bootloader?

---------- Post added at 10:50 AM ---------- Previous post was at 10:41 AM ----------

Any recommendations on ElementalX settings to get the most out of the tablet running Nougat. I usually select the defaults when I install ElementalX. However, I feel it can be pushed a little more without frying it or having it explode in my hands.
[Nexus 9 Original Android Development] flar2:
You can factory reset and the bootloader will remain unlocked. You will lose your data.

You will have to root again, all you need to do is flash SuperSU.

For performance tweaks, go to the governor settings and increase input boosting.
[Nexus 9 Original Android Development] bigsyd:
Thanks for everything. Worked just as you said.
[Nexus 9 Original Android Development] sejmand:
7.0.0 (NRD91D) for nexus 9 is out...

flashed without a problem...
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Nougat:

ElementalX-N9-5.04

Changes:

-October security update
[Nexus 9 Original Android Development] inscythe:
Currently using Nougat on my Nexus 9 LTE 32GB. I'm using ElementalX with Magisk+phh root. I found 2 problems at the moment:

1. The Android Neko easter egg crashes every time.

2. The camera cannot be connected.

Returning to stock (with Magisk+phh) fixes the problem.
[Nexus 9 Original Android Development] flar2:
Have you used a different kernel? Did you do a clean install? Do you have the latest firmware?

I keep all that stuff identical to stock, there should never be a problem.
[Nexus 9 Original Android Development] inscythe:
I have only ever used ElementalX for this device. I did a clean install of NRD90R from fastboot image. There might be some issues with the stock kernel in general though. Even as the back camera working with the stock kernel, the front camera just shows fully red image now.

I'll try just ElementalX first without anything later.

EDIT: ElementalX-5.04 only (without the magisk/root) still breaks back camera. Logcat simply says no camera detected (just like the first time around). I cannot try pure stock, as it will force-encrypt my local data. I really do think that this is a problem with the stock kernel itself.

So to recap:

- ElementalX + magisk + phh superuser: back camera breaks

- ElementalX only: back camera breaks

- Stock + magisk + phh superuser: back camera works, front camera full red tint
[Nexus 9 Original Android Development] Vartom:
flar2 The problem with cameras is possible because of the October security patches. Some of these patches affected definition cameras.

https://github.com/flar2/ElementalX-N9/commit/230b60212abc38b04999b95be2cc9e693254b121

inscythe Try kernel version 5.03, with the September security patches. Since the Nexus 9 LTE 32GB firmware is only September security patches
[Nexus 9 Original Android Development] giancarlo_f:
No camera problems at all with latest ElementalX 5.04 and NRD91D (un-encrypted) on N9 wifi.... So it's not a general problem but LTE related?
[Nexus 9 Original Android Development] inscythe:
Sorry for the late reply, went out of town over the weekend.

Thanks for the suggestion! I flashed the 5.03 over the magisk v7, and the back camera works. Front camera still exhibit the same red-tint issue though.

So, there are 2 possible issues:

1. My front camera is busted (I highly doubt so, since I have been routinely using it to video chat daily, even till the night when I flashed Nougat over)

2. The issue only affects LTE model (most probable, might be the very issue that prevented the launch of Nougat in LTE model, need another LTE user to confirm)

[MENTION=4684315]flar2[/MENTION], to sum it up:

1. ElementalX-5.04 breaks back camera for LTE model

2. Stock October update and ElementalX-5.03 have back camera working, but the front camera has red tint

I'm sure the issue largely falls on Google here, but if anything I can help, let me know...

EDIT: since I can't use the tablet anyway, I'll reflash MM on it and see whether the front camera works... Back in 1-2 hours

EDIT2: back camera and front camera works with the last MM build from Google, no red tint or disconnection. I can confirm that it is a software issue.
[Nexus 9 Original Android Development] bigsyd:
I selected the performance Governor. However, I do not see any input boosting options. Actually there are no options under that cpu governor
[Nexus 9 Original Android Development] flar2:
Yes, because it just runs at max all the time.

Use interactive or elementalx gov
[Nexus 9 Original Android Development] bigsyd:
Will do. Thanks again.

I have a DJ app (Algoriddim DJay 2) that tends to lag sometime when playing music on both decks. I'm just trying to get the best performance the tabs can give. Thanks.
[Nexus 9 Original Android Development] flar2:
Update!!!

Download

ElementalX-N9-5.05

Changes:

-November security update
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

December security update

Download:

ElementalX-N9-5.06

Changes:

-December security update

-fix fastcharge setting
[Nexus 9 Original Android Development] lemon567:
I've been using this great kernel for awhile now thank you so much for all the work you put into it. I've got a question since Ex 5.05 with 7.0 and the same with 7.1.1 and Ex 5.06 it seems to me that after installation in twrp 3.0.2.1 (previous stock kernel) the default Ex kernel settings do not stick/apply when I check them with kernel adiutor the CPU clock is on max and the gov on interactive. I'm probably doing something wrong or overlooking something I've installed the kernel multiple times still the same even downloaded the kernel multiple times to make sure that a corrupt download wasn't the issue. Does anybody have some advice, my device is encrypted and I did a full wipe on the device before installing 7.1.1 if this is important. Sorry I'm pretty noobish when it comes to this any help or advice is much appreciated.
[Nexus 9 Original Android Development] corkiejp:
Is the update for 7.1.1??
[Nexus 9 Original Android Development] flar2:
It should work the same as before, I didn't change anything with settings.

Yes, it's for 7.1.1
[Nexus 9 Original Android Development] chrmica:
Hi, I don't think it's an issue with the kernel but since Nougat the Nexus 9 is freezing very frequently , there is no particular pattern but after about an hour of usage it just freezes , for e.g. watching you tube or browsing with chrome, it seems Nougat is still very buggy on N9 and still running same apps running under Marshmallow and did not have many issues. Is anybody having the same type of issues? thanks.
[Nexus 9 Original Android Development] giancarlo_f:
Nope, I do not recognize the issues you describe. With every great update (like from marshmallow to nougat) I do a complete wipe /format, install complete stock rom, try it out and then install custom rom / kernel. With this method I have never had any issues or whatever.
[Nexus 9 Original Android Development] Bryanx86:
Are there any profiles available for ex kernel manager, i did a search but it didnt turn up anything. I use profiles on my 6p and it is of great benefit. Thank you and Merry Christmas!
[Nexus 9 Original Android Development] flar2:
If anybody posts profiles here, I will add them to the app.
[Nexus 9 Original Android Development] flar2:
Merry Christmas to all those who celebrate Christmas, and Happy Holidays to those who celebrate other traditions at this time of year.

Thanks to everyone here for a great year of development and I hope 2017 will be just as great.
[Nexus 9 Original Android Development] Marky__Mark:
I got this too. Theres more ram freed up than before with no apps open, but it seems the apps use more memory than they did before. My tablet completely froze up running gellow and Youtube. Never had that in Marshmallow Elemental X.
[Nexus 9 Original Android Development] chrmica:
I did a factory reset restored the apps by reinstalling but still encountering occacional freezes on Nougat and it seems this issue is also occurring on pixel phones!
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Download:

ElementalX-N9-5.07

Changes:

-January security update
[Nexus 9 Original Android Development] sladflob:
Hi everyone, I just installed ElementalX 5.07 on my N9 and it seems to be working pretty well except that FX File Explorer now won't start.

Here are the log entries after I try to start it up: http://pastebin.com/9QLHyq7g. Am I correct in inferring that the log entry at 11:37:25.936 indicates that the app is unable to allocate enough memory to start up? If so, then is there a kernel setting I can change to get it working?

Thanks.
[Nexus 9 Original Android Development] buffal0b1ll:
Experiencing an issue when trying to build, enable, disable overlays in Substratum on 5.07 (5.06 is fine BTW) on every ROM with January security updates. Instead of the expected dark installing progress overlay in Subs, the button action for build/disable/enable returns the device to the launcher and the notification that Substratum is processing appears in the notification dropdown but just hangs there forever.

As an aside, FireIce 10.5.8 has the same problem (and 10.5.7 works fine still too).

Here's a table that outlines the ROMs and kernel versions I've tried https://drive.google.com/open?id=1Ipwihi1hyOxudPJv_HfNKQKbATyTkt94tX23BnzpmlA

Here's the PureNexus build I'm using https://plus.google.com/+BillBlandford/posts/RWBRUg6F7ym

Here's a couple logs http://pastebin.com/cYWhaayD http://pastebin.com/t7b47Sn1
[Nexus 9 Original Android Development] damngood98:
using elemental w/abc and no issues with substantum...using spectrum btw, jan security updates, rom was from abc thread, nothing i built
[Nexus 9 Original Android Development] buffal0b1ll:
Interesting. I tested on same setup as you with destiny theme and a couple others. You sure we're talking about same kernel version? Subs worked fine on a January ROM with 5.06 but I started getting the problem enabling, disabling, building overlays with 5.07
[Nexus 9 Original Android Development] damngood98:
5.07, yes....substrantum is 524, kernel is permissive as well btw (gotta have my arise)

edit: went into advanced manager, disabled themes and all was fine.....re-enabled them fine as well....disabled again, applies new theme (domination) and everything still ok....last clean flash was going to 7.1.1
[Nexus 9 Original Android Development] buffal0b1ll:
Hmmm. Tried again all clean everything on PureNexus with superuser. I found that disabling and enabling already installed overlays in Advanced Manager works, but building new overlays is the Problem. I'm testing with Destiny.
[Nexus 9 Original Android Development] damngood98:
dammit....i see what you mean now....building new isn't doing anything but hanging on "preparing theme overlay" or "substrantum is running"...i've killed the app, cleared the data, re-installed it and am now in the same boat as you :confused::eek::mad:

edit: i did find this post over on G+....I'm sure it'll get sorted out soon enough
[Nexus 9 Original Android Development] buffal0b1ll:
Thank God I'm not crazy.

Reverting to 5.06 works.

Btw I tested using the December vendor IMG too, because I think I noticed that the ABC build you're on never updated the build fingerprint.
[Nexus 9 Original Android Development] maelfilk:
Did anyone flash latest kernel on LTE version? Taking into account it's still stuck at December vendor.
[Nexus 9 Original Android Development] sejmand:
Update Crashs in nexus9....
[Nexus 9 Original Android Development] sejmand:
logcat:

UPDATE: You fixed it!

Thanks, it works again! ?
[Nexus 9 Original Android Development] flar2:
UPDATE!!!!

Download:

ElementalX-N9-5.08

Changes:

-February security update

-update lz4
[Nexus 9 Original Android Development] sladflob:
Just installed 5.08 and the problem I was having with FX File Explorer seems to have gone away! Not sure if this was an intentional fix or an accident but I'm happy either way. Thanks for your work on this kernel - it's given my Nexus 9 a new lease of life!
[Nexus 9 Original Android Development] buffal0b1ll:
Same here. The problem with building overlays I reported on 5.07 https://xdaforums.com/nexus-9/orig-development/kernel-elementalx-n9-0-02-alpha-t2931657/post70504352 is gone on 5.08 too.
[Nexus 9 Original Android Development] mutlucan96:
Loop device support?

How to enable loop device support? I want to install Ubuntu on Android but it fails.
[Nexus 9 Original Android Development] flar2:
The kernel should have loop device support. Probably some selinux problem.
[Nexus 9 Original Android Development] mutlucan96:
I'm not sure but I installed loop device checker app and it said no support. I tried set Selinux to permissive. Complete Linux İnstaller and it said terminal permission denied, Linux Deploy installed successfully but can't connect to vnc.

Maybe it's not kernel related. Better add a new thread.
[Nexus 9 Original Android Development] WhammyDroid:
[MENTION=4684315]flar2[/MENTION], any updates for the March security patch?
[Nexus 9 Original Android Development] WhammyDroid:
[MENTION=4684315]flar2[/MENTION], Any thoughts on this? Is the Nexus 9 still being supported?
[Nexus 9 Original Android Development] flar2:
Google didn't update the flounder branch. When they do, I will also update.