yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] flar2:
I'll get to it soon. I have N on my Nexus 6 and I think it's still a bit premature for a daily driver though. Maybe preview 2.
[Nexus 5X Original Android Development] flar2:
No advantage whatsoever, don't do it.
[Nexus 5X Original Android Development] garth719:
Just following up.. This worked, thanks! (For getting the colors to stick on reboot)
[Nexus 5X Original Android Development] OhioYJ:
Is there a way to force slow charging? In the Nexus 5 thread, there seems to be a config file where you can specify the charge rate. However I don't see this option for my N7 or 5X?
[Nexus 5X Original Android Development] Scarchunk:
That's interesting on the initial commit to 1000Hz...this begs the question of what a smaller bump to say 400Hz would result in. If the change from 100 to 300 was the primary factor that resulted in the massive difference in performance that I've experienced, I'd think another 100Hz bump would be significant without crushing the battery. Flar is this something that can be experimented with?

Not sure if there's significantly more to it as Google felt the need to branch Android for the MHC19 builds and I'm not sure what all was changed outside the kernel.
[Nexus 5X Original Android Development] flocke000:
I don't know much about Android specific kernels, but at least in the "normal" Linux kernel the tick frequency isn't something that can be changed arbitrarily. There are fixed steps (100Hz, 250Hz, 300Hz and 1000Hz). So 400Hz wouldn't be possible without additional effort.
[Nexus 5X Original Android Development] mykenyc:
Spoke to soon m8, all i want is FIOPS and Sound increase ability in my life. Might actually stick dev 2 out.
[Nexus 5X Original Android Development] bullitkatcher:
Just a followup: this worked :D (i used the app)

The only thing now is that while using the eas version the screen sometimes doesn't register inputs after the phone has been locked for long and i have to restart it by holding the power button down.
[Nexus 5X Original Android Development] Ghost9867:
Ehy there is a version of this kernel for android n ? Please
[Nexus 5X Original Android Development] dfryer1193:
No there is not. flar2 has mentioned that he doesn't feel the n preview is stable enough for daily use, and that maybe once it is, he will work on elementalx for n.

flar2's comments on the topic:
[Nexus 5X Original Android Development] Ghost9867:
Ok thanks you now i'm using the 2nd preview and ithink that is stable enought for a Daily driver
[Nexus 5X Original Android Development] t3al:
Second that. Pretty much all the UI lag is gone
[Nexus 5X Original Android Development] suku_patel_22:
True that.
[Nexus 5X Original Android Development] panamera2011:
Hi all, best governor GPU for games with this kernel? :)

PureNexus H791 using Tapatalk
[Nexus 5X Original Android Development] schaggo:
http://androidmodguide.blogspot.ch/p/blog-page.html?m=1
[Nexus 5X Original Android Development] thefallen815:
It is said to not flash this kernel over other custom kernels.

But can I flash a newer version of this kernel over an older one?

If not, what do I have to do to update the kernel or change settings?
[Nexus 5X Original Android Development] suku_patel_22:
You can always flash a newer version of this kernel on top of it.
[Nexus 5X Original Android Development] bambuleee:
Does it run smoother/faster/more stable than cm13 kernel?
[Nexus 5X Original Android Development] panamera2011:
[MENTION=4684315]flar2[/MENTION] I am using PureNexus 04 07 16 with MHC19Q vendor + your ElementalX 1.12

When I try to change the GPU governor with Kernel Adiutor my x5 reboot and nothing chenges

This does not happen with CPU governor, any suggestion?

Thanks for you work

PureNexus H791 using Tapatalk
[Nexus 5X Original Android Development] flar2:
I don't know what GPU governors are available and I've never tried any except the default. The default governor is probably the only one you should ever use.
[Nexus 5X Original Android Development] OhioYJ:
I don't think there was necessarily any problems with the CM13 kernel. That being said my battery life is definitely improved over the CM13 kernel. However that is with some tweaking of the settings. It also has a bunch of customization that allows you to change things that you couldn't do with the CM13 kernel.

It was enough of an improvement that using this both on my 5X, and N7. I also purchased the app, to help support the developer. You can change things without the app, but the app makes things much easier.
[Nexus 5X Original Android Development] woodp241:
Sorry should of been search window ;-(
[Nexus 5X Original Android Development] shindiggity:
Kernel running great with PN, no issues with reboots at all!! View attachment 3719899View attachment 3719900View attachment 3719901
[Nexus 5X Original Android Development] Crostantin:
running this kernel on my new Nexus5X...excellent work, [MENTION=4684315]flar2[/MENTION] thanks for continuing the development...

the community needs developer like you :highfive:

...and running color profile of my friend [MENTION=4783761]szucsgf[/MENTION]...

I feel at home now :D:D
[Nexus 5X Original Android Development] flar2:
Update!!!

Update for Android N preview 2

**Not tested**

Let me know that it's working and I will push it to EX Kernel Manager

Download

ElementalX-N5X-3.00

Changes:

-update for Android N preview 2
[Nexus 5X Original Android Development] mitchdickson:
Thank you! Booted fine and seems to be working great!
[Nexus 5X Original Android Development] Smultie:
Should it work on Marshmallow too?
[Nexus 5X Original Android Development] suku_patel_22:
Try at your own risk
[Nexus 5X Original Android Development] Smultie:
Nah, I'll wait for flar2 to respond!
[Nexus 5X Original Android Development] Pollie81:
It's only an update for android N so why do you want to flash this on marshmallow?
[Nexus 5X Original Android Development] suku_patel_22:
SuperSU isn't working and causing

Settings FC

SuperSU app would hang

EX manager cant get root

Steps followed:

Flash stock boot.img from N preview 2

Flashed ELemental X 3.0

Flashed superSU 2.71 beta

I have reverted to the stock kernel and everything works again.

I am not encrypted.

dmesg, logcat and recovery log attached
[Nexus 5X Original Android Development] t3al:
Thank you for this. Running N Preview 2.

Edit: I lost root after flashing through the FlashFire app. If I flash SuperSU afterwards, it modifies the boot.img for systemless root. Is there another procedure I should follow to maintain root?

Also, Settings FC.
[Nexus 5X Original Android Development] suku_patel_22:
Does root work for you?
[Nexus 5X Original Android Development] Radeon1337:
Same here.

SuperSU - Screen goes black

Settings - Crashing

Camera - Image freezing

Other than that it seems to be working pretty good :)
[Nexus 5X Original Android Development] t3al:
Can you please check the Camera app and any other app that uses the camera? It wasn't working properly for me, it would show the first frame of the camera when launched and then it would freeze. Same with Snapchat
[Nexus 5X Original Android Development] Radeon1337:
I checked Snapchat and got the same result as you did :)

Have reverted back to stock now.
[Nexus 5X Original Android Development] flar2:
I won't be able to support N. My wife uses this phone and I can't install the previews on it to check this stuff out.

I built the N preview kernel for the 6P, 6 and 9 last night and they all work. But some people had problems unless they did a completely clean install. I had to factory reset my Nexus 9.
[Nexus 5X Original Android Development] Radeon1337:
Too bad, but im pretty shure your wife would like Android N ;)
[Nexus 5X Original Android Development] herBosaurus:
I'm sure we all will once it is released to the public via OTA :)
[Nexus 5X Original Android Development] roofrider:
Oh. I was just getting ready to try N and this kernel. That ok. With time I'm sure N support will come.
[Nexus 5X Original Android Development] Ghost9867:
Ehy guys sorry to ask this here

But is possible to remove the vibration when you unlock the phone with the fingerprint ? or it is not possible ?
[Nexus 5X Original Android Development] joetheshmo:
That can be done with a custom ROM
[Nexus 5X Original Android Development] Ghost9867:
yes but on stock is not possible ?
[Nexus 5X Original Android Development] t3al:
Thank you for taking the time to work on N.

I mentioned earlier that N is stable enough for me, but after a couple of days it needs a 2-3 reboots per day to keep the smoothness going. Maybe we should be more patient :cool:
[Nexus 5X Original Android Development] joetheshmo:
Maybe it's a developer preview and not meant as a daily driver
[Nexus 5X Original Android Development] t3al:
ElementalX doesn't use the daily driver excuse. It's fully working for the other Nexus devices ;)
[Nexus 5X Original Android Development] flar2:
Update!!!

A second attempt for Android N preview 2

Not tested, but I built this from scratch from a clean source. No reason why it shouldn't work, a clean install is recommended. That means wipe data, wipe cache and wipe Dalvik.

Download

ElementalX-N5X-3.01

Changes:

-update for Android N preview 2
[Nexus 5X Original Android Development] mitchdickson:
Root is working. Thank you!
[Nexus 5X Original Android Development] parthabhatta:
Working with root. No problem as such.:good:
[Nexus 5X Original Android Development] suku_patel_22:
[MENTION=4684315]flar2[/MENTION] it seems to be working great here.

Just got the below red denied in logcat.

04-17 09:28:56.179 10298 10298 W exkernelmanager: type=1400 audit(0.0:838): avc: denied { read } for name="scaling_cur_freq" dev="sysfs" ino=28387 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
[Nexus 5X Original Android Development] yanleites:
Wipe user data to flash a kernel?
[Nexus 5X Original Android Development] flar2:
No, to flash N preview 2.
[Nexus 5X Original Android Development] flar2:
Android N is totally ridiculous. You can't do anything. I will take stock of my apps on Android N again soon, I already spent many hours making them work on the first preview. Google is locking things down too much now.
[Nexus 5X Original Android Development] yanleites:
So if I am rooted with stock kernel I can flash EX?
[Nexus 5X Original Android Development] roofrider:
Updated to N and everything is fine with root, however I had to re-enable the kernel settings in the app and set it all on boot even though I had enabled certain gestures features during the installation.

Is it possible to have doubletap to sleep feature (for N), especially on the lockscreen? Or is this something only a ROM can achieve?

By the way, MultiROM works too! :good:
[Nexus 5X Original Android Development] vampire36:
Thats a rom feature :)
[Nexus 5X Original Android Development] de3pkeeper:
Hi and thanks for an awesome kernel.

I was wondering, since forced encryption is disabled here, is there a way to use the Android M encryption mechanism on an "adopted" USB stick.

So it boils down to:

I sthere a possible terminal emu command to enable "per-filesystem/volume" adoption + encryption with a user defined PIN (so after the USB is phy attached, I can have Android M do its AES encryption of the partition data just on the stick and not on the internal storage)

If I first adopt the USB stick and then go to Settings / Security / Encrypt phone, will it possibly encrypt both the stick as well as the internal storage? That is still going to be ok, since I already have a PIN set up and it's not Android generating a pseudo-random encryption key that I don't know.

been searching for an app to do that but can't seem to find one that can handle entire volumes, just separate files within the filesystem which is tedious. Did I miss one?

Thanks in advance for any advice on this.

BR
[Nexus 5X Original Android Development] asqwrd:
how is the kernel working with n preview are people seeing improvements
[Nexus 5X Original Android Development] suku_patel_22:
Been good here. Disabled touch boost, applied butterfly and set input boost to 600 for 40ms.
[Nexus 5X Original Android Development] SlimSnoopOS:
Flash the kernel and try it yourself instead of posting the same question in every kernel thread we have. Everyone will have a different experience with N Preview.
[Nexus 5X Original Android Development] asqwrd:
thanks will give it a try then
[Nexus 5X Original Android Development] parthabhatta:
Do you know of any ROM either based on N or M which works parallely with Android N preview 2 as primary and not requiring change of vendor image files.

BTW I have also installed successfully the MultiRom in Android N with EX kernel 3.0.1.
[Nexus 5X Original Android Development] asqwrd:
im stuck on bootloop from the google is there a stock kernel for n i can flash?
[Nexus 5X Original Android Development] Maritus1:
This hasn't been asked for quite a while. Is it possible to get Viper4android working while using SEAndroid enforced? In January and February builds i did manage to get it working by flashing Lolliviper.zip mentioned a few month ago in this thread, but now i'm not able to install viper drivers successfully, it always asks to install after reboot. I believe that few month ago I used non-systemless SU, now I'm using SuperSU 2.68 systemless root. Perhaps someone can point me to a proper installation istruction. I just want to avoid setting SEAndroid to permissve, if possible. Thanks for your help.
[Nexus 5X Original Android Development] Komodoketavaran:
Dirty flash your current rom to clean up system partition and then flash this:
[Nexus 5X Original Android Development] joetheshmo:
Credit for this mod goes to [MENTION=4445176]guitardedhero[/MENTION] at this thread: http://xdaforums.com/showthread.php?t=2952137
[Nexus 5X Original Android Development] Komodoketavaran:
Holy **** i totally forgot that.

Does it work for you [MENTION=5608915]Maritus1[/MENTION] ?

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Original Android Development] knipp21:
Does anyone else have an issue with size battery drain? Running this and the current Pure Nexus ROM.
[Nexus 5X Original Android Development] Maritus1:
OMG, the hours I've tried to get it working, and it would have been so easy:victory::highfive:

Thanks a lot to you, works like a charm.

Here's what I did:

1) Wipe System, Cache and Dalvik Cache => Wipe system to get rid of old ViperApp Copies

2) Flash Rom+Kernel, Reboot

3) Disable MusicFX, delete /vendor/etc/audio_effects.conf

4)Flash Xposed, Reboot => I've you don't need Xposed, skip that

5) Flash ViPERAudio 4.8 Sony Beats Edition.zip, Reboot

Drivers are installed automatically, works flawlessly :D

Damn have I missed that sound :D
[Nexus 5X Original Android Development] mchstream:
kernel manager

I have a question about the ex kernel manager. Is this where I should ask?

Thank you.

nexus 5x 32g

pure rom 6.0.1_r24

ElementalX-N5X-1.12
[Nexus 5X Original Android Development] flar2:
Go ahead
[Nexus 5X Original Android Development] Komodoketavaran:
No problem mate :) That's exactly the right order you've done. Nice to hear that it works for you. As already said the credits goes to [MENTION=4445176]guitardedhero[/MENTION] for his awesome zip files. But don't let us spam [MENTION=4684315]flar2[/MENTION] 's thread with soundmod-offtopic here.

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Original Android Development] OhioYJ:
Size battery drain? My battery life has been better than ever with tweaks to the kernel. It's all in how your set it up. You can select a bunch of options that will drain the battery quicker.
[Nexus 5X Original Android Development] knipp21:
Meant Doze. My bad.
[Nexus 5X Original Android Development] Ryther:
[MENTION=4684315]flar2[/MENTION] I'm trying to build some of the modded ROMs from here and I want to get a step forward and implement your kernel directly to learn more; I tried before but failed, only later I learned how to properly manage defconfig :silly:

Now to my questions:

Which branch I need to use?

I read in your OP that for max compatibility we need to flash ElementalX upon the original kernel of the ROM because it modify the original ramdisk; if I try to compile your kernel directly with the ROM I have to follow a particular procedure or I can simply add your repo to my local_manifest and everything works out of the box?

My ultimate goal is to implement this interactive gov settings along with the kernel, where can I make the changes in your code?

Thank you very much for you attention, your work is awesome!
[Nexus 5X Original Android Development] flar2:
I never build inline with the ROM, so I don't really know the answers. I think the ramdisk should get built automatically.

You should use elementalx-2.00 if you are building the latest marshmallow.

The governor tweaks should not be applied in code, do it with a script.
[Nexus 5X Original Android Development] HesThatGuy:
Hello flar I really enjoy your kernel and I was wondering if you had plans to add support for F2FS.
[Nexus 5X Original Android Development] patmann03:
Will this work with Project Fi?
[Nexus 5X Original Android Development] dfryer1193:
I've been using this with Fi for quite some time :)
[Nexus 5X Original Android Development] roofrider:
Nope. The vendor needs to be flashed according to the ROM, but N (as primary) does boot with M's vendor image.
[Nexus 5X Original Android Development] parthabhatta:
Great piece of info BTW. I will definitely try. But then I don't think Android N will work 100% with M vendor image, specially camera, gyro and other sensors.

Thanks.
[Nexus 5X Original Android Development] roofrider:
You will get that vendor needs to be updated message, but I'm not sure about the effect a mismatched vendor will have on N. I'll soon be back to M and moving N to secondary; I find it to be buggy at the moment.
[Nexus 5X Original Android Development] mchstream:
Howdy and thank you for the go ahead.

First been using your kernel for my nexus 5 and 5x. Very happy with it. Thank you. Battery life and just plane general use have been excellent for both phones. Thank you again for your work.

When I installed the kernel, after a clean install of the rom, I left everything default during the install ( twrp ) but I made three changes, I bumped the speed of big and little one jump over stock ( been working excellent ) and I disabled sweep2sleep. After all is said and done, fully booted, everything runs excellent but when I start the ex Kernel manager it says the both cpu govs are interactive not elementalx. Granted I have probably missed the explanation somewhere but why is that? Because I bumped the speed up? I am just going by my past installations of your kernel on nexus 5, but I was always under the impression the elementalx gov was set default.

I do have too much time on my hands lately so thank you if you choose to respond.

btw the ex kernel manager is dope. thank you again.
[Nexus 5X Original Android Development] flar2:
Thanks!

Interactive is default on this device. I think it's the best all around governor for this chip. If you want to use elementalx governor, you will have to set it for both clusters in EXKM and click the apply on boot icons.
[Nexus 5X Original Android Development] Smultie:
[MENTION=4684315]flar2[/MENTION]. Any comment on this?
[Nexus 5X Original Android Development] flar2:
It's in the N version, not in the marshmallow version. I'll probably add on the next update, although I seriously doubt any one would be able to notice a difference.
[Nexus 5X Original Android Development] Smultie:
Thanks for the reply.

Will test it once available!
[Nexus 5X Original Android Development] rebretz000:
I was running EAS kernel the last few days with Pure Nexus and it was fantastic. Good battery life and very fluid.
[Nexus 5X Original Android Development] suku_patel_22:
How did it compare to interactive? I am assuming you were on sched governor
[Nexus 5X Original Android Development] rebretz000:
Seems just as good.
[Nexus 5X Original Android Development] Smultie:
[MENTION=4684315]flar2[/MENTION], would it be safe to increase the thermal limit from 46 to, let's say, 50 or something?
[Nexus 5X Original Android Development] suku_patel_22:
I am using 60. Weather is 33 degrees here
[Nexus 5X Original Android Development] Scutariu:
Newbie question: what is in the EAS version, and not in the normal one?
[Nexus 5X Original Android Development] b1g.p0ppa:
http://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-project/
[Nexus 5X Original Android Development] banciii:
How can I install it on N P2? Twrp is not working, flashfire loads it, then black screen.

Sent from my N5X (with Android N)
[Nexus 5X Original Android Development] mitchdickson:
TWRP works great.
[Nexus 5X Original Android Development] cagaagac:
I had the same problems and did not want to decrypt my phone in order to use TWRP.

After trying to flash with flashfire for several times it finally worked. I got further in the installer when the phone was not connected to any USB-cable. Just keep trying :fingers-crossed:
[Nexus 5X Original Android Development] banciii:
Only on decrypted phones, which I don't want to.
[Nexus 5X Original Android Development] joetheshmo:
Lol. Try the newest twrp...
[Nexus 5X Original Android Development] t3al:
I tried the express install in FlashFire and worked. The aroma installation was acting strange.
[Nexus 5X Original Android Development] roofrider:
Did you guys post this in the flashfire thread? Does the app support aroma in N?
[Nexus 5X Original Android Development] gpvecchi:
I have this issue with EX app donate version, I tried overclocking big core to 1.9, but even selecting it in the app still stays at 1.8 (with cold cpu)...
[Nexus 5X Original Android Development] flar2:
That's normal. Check CPU times and you'll see.
[Nexus 5X Original Android Development] Casey Walt:
Best 3.99 I ever spent on an app by far! I am using the butterfly CPU governer and consistently get 4hrs sot. I was lucky to get 2 before I started using this kernal and app. I'm just on the stock March update.
[Nexus 5X Original Android Development] yanleites:
The new TWRP doesn't work with encrypted Android N.
[Nexus 5X Original Android Development] arhael1:
I have to say i'm shocked. Great experience on pure nexus and elementalx-n5x-1.12.
[Nexus 5X Original Android Development] Zackptg5:
[MENTION=4684315]flar2[/MENTION]

I'm trying to set gboost to on for the elementalx governor on a different kernel with the EX Kernel manager app but can't find the option anywhere and since it's not elementalx kernel, there's no elementalx file where I can do this manually. Any way I can do this or could you add this to the kernel manager app? Thanks
[Nexus 5X Original Android Development] schaggo:
[MENTION=4684315]flar2[/MENTION] I noticed when using ElementalX (either Aroma installer, some kernel scripts or the EXKM app) there are files created at certain locations. As I am a heavy OCD distorted young man, I find it troublesome to know there are files on my storage chip, serving no use when, for example, switching to another kernel to try other flavours etc. :p

Could you quickly point out which files get created in conjunction with your kernel and app, which might need some cleaning done when switching kernels or ROM? So far I "discovered":

/data/local/tmp/elementalx.log*

/data/user/0/elementalx.conf

/sdcard/ElementalX/gov_profiles/*

/sdcard/.elementalx.backup

/sbin/elementalx.sh

/init.elementalx.rc

Thanks in advance.

Edit:

Towards the end, the Aroma installer log says

grep: /tmp/ramdisk/fstab.angler: No such file or directory

We're on bullhead not angler, don't know if it matters.
[Nexus 5X Original Android Development] flar2:
The files created by installing the kernel are /data/data/elementalx.conf, /sdcard/.elementalx.backup and a temporary log file in /data/local/tmp/. These have no effect if you install another kernel. If you delete /sdcard/.elementalx.backup, then you will lose any customizations when reinstalling elementalx by the express method.

/sdcard/ElementalX is created by EX Kernel Manager and holds color profiles, governor profiles, user settings and kernel downloads.

The other files are part of the ramdisk and automatically disappear if you install another kernel