yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Addicted2Bass:
No, live in the netherlands, i do not hear about repairs from LG
[Nexus 5X Original Android Development] Argeddion:
I remeber, that I had the same problems. But I had no time to try different setups and went back to full stock. A couple days later my phone startet the infamous Bootloop. Just got my device after the motherboard got switched.

I wont try again since I can't risk my phone not turning on in public

Setup was Stock + Ex + Magisk

I don't know if it is kernel related, or we both did the same thing wrong
[Nexus 5X Original Android Development] Flyview:
I wanted to give an update on this. I ended up giving up on lowering LMK values to keep more app in memory. Even at smaller reductions, the phone would sometimes get seriously laggy. I'm talking not even touch inputs registering. This went away when I went back to stock LMK values :(

P.s. [MENTION=4684315]flar2[/MENTION] did you see what I asked above about overclocking the small cores further?
[Nexus 5X Original Android Development] gorilla p:
That's interesting. I just got mine swapped out about 5-6 weeks ago.

I'll test some more and update.
[Nexus 5X Original Android Development] harib12:
I also experienced a bootloop. i was riding and listening to music v4a installed and suddenly my music stop. i checked the phone was in boot lop. So i first flashed stock 8.1 image no bootlop. then flashed ex kernel same situtaions music playeing and a bootloop occured. It dosnot happen on franco kernel i am currently on it. BUt i will change back to ex try to moodify some settings.

The cure for lagyness i found was that for me just reduced the amount of zram to 256mb it fince now better. and cpu also perform better as it does not need to compress everytime
[Nexus 5X Original Android Development] kevtrysmoddin:
That sounds like the behaviour I had before mine bootlooped too I
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Sadly I've noticed battery drain while using this kernel with just double-tap-to-wake feature being turned on (tested on Android 8.1).

I'm talking about 20+ percent over 7 hours at night, while I'm asleep...

I don't remember such battery drain on previous versions of Android, while using the same kernel.

The only reason I used this kernel is for this feature, which I really like

What's the easiest way to go back to stock kernel?

For now I've set it to be 30 minutes instead. Hope it will help a bit.
[Nexus 5X Original Android Development] SlimSnoopOS:
Flash the stock 8.1 boot image in TWRP or through fastboot.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
ok thank you.
[Nexus 5X Original Android Development] flar2:
The wake gestures cause drain on this device and the Nexus 5. They don't cause drain on other devices

You can still use them without much impact by setting the wake timeout to 15 or 30 minutes in ex kernel manager.
[Nexus 5X Original Android Development] Flyview:
RAM use by the system on 8.1 is much lower! Finally this phone is able to multitask without reloading every app over and over!

[MENTION=4684315]flar2[/MENTION] please let me know if OCing small cluster past 1.63GHz is possible or not.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Yes, I was afraid this will be this way, but I don't remember I had this much drain on previous versions of Android (used this kernel there too).

Really a pity. There are older devices like the LG G2 that have this feature built in, working fine, without battery drain.

I don't get why on this device it's not properly supported, out of the box ...
[Nexus 5X Original Android Development] SlimSnoopOS:
I'm pretty sure I've already told you why in the custom rom thread where you brought this up. I got all of that information from Flar2 from this kernel thread when he first started implementing kernel features.
[Nexus 5X Original Android Development] flar2:
The touch sensor can't sense touches if the lcd panel is powered off. It seems to be a hardware issue. Out of all my devices, only the Nexus 5, 5X and Moto G4 have this problem. I've implemented wake gestures on many other devices and it works fine without causing any battery drain.
[Nexus 5X Original Android Development] ChemBot:
I'm having an issue with the bug cluster speeds on EX kernel 6.0. I just clean flashed AICP 8.1 ROM and this kernel selecting the stock settings during install but my big cluster speed is limited to 633 mhz in EX kernel app even after trying to increase it. In older kernels there was an issue where picking a non-default CPU speed in the Aroma installer would cause the CPU to be stuck at a slow speed until the kernel was re-flashed using default settings. Is this issue I'm experiencing now related?
[Nexus 5X Original Android Development] BS86:
AICP is not on 8.1 yet. They still are on 8.0 so you should use 5.06

In addition, after flashing, CPU speeds are always limited. Put the phone down and let it cool for 10 minutes and check again
[Nexus 5X Original Android Development] manbuze:
Conflicts with shadowsocksr, the phone will restart when shadowsocksr connected
[Nexus 5X Original Android Development] gorilla p:
I wonder if that's what was causing my crash/reboots at night.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Good explanation.

Thank you.

Do you know why they (LG/Google) did it though? Is it much more expensive ?

Does the gesture always work in the case that the device is being charged (without a timer) ? Maybe at least in this case I can use it without worrying about the battery...
[Nexus 5X Original Android Development] flar2:
No idea why they did it, but I doubt it was intentional.

There is no charge detection option
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Can you please add it then?

Maybe it's ok to let it stay enabled as long as the device is being charged?
[Nexus 5X Original Android Development] BS86:
How do you want to add a hardware feature with software?

The only possible workaround is already there and causes battery drain.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
A kernel has code....

It can even be communicated with, via a system app

Anyway, was just an idea...
[Nexus 5X Original Android Development] BS86:
exactly, the kernel is only software. It can't add hardware features that aren't existing on the phone, it can only "talk" with existing hardware and its features ...
[Nexus 5X Original Android Development] ChemBot:
I think he was asking if the kernel manager could enable the gesture when charging the phone and disable it when on battery in addition to the timeout feature.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Yes.

The rules:

1. charging -> enable gesture

2. not charging-> timeout as usual.

It's not possible?
[Nexus 5X Original Android Development] flar2:
It's likely possible, just not a high priority for me right now
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Oh ok. Please consider this.
[Nexus 5X Original Android Development] 78jimm:
How can I install EX Manager app without gapps? I have purchased it on the play store but want to experience android without gapps.

From other sources the licence has to be authenticated which requires the play store.
[Nexus 5X Original Android Development] Nimalraj:
I have a nexus 5x with aicp rom and elementalx 6.0. I set the max freq of big cluster to 2Ghz during installation. In the exkm the freq of big cluster don't go above 864Mhz. When i select the 2Ghz option it doesn't apply, it goes back to 864Mhz. And the big cluster goes offline every now and then. Btw interactive governor is selected. Can somebody shed some light on this issue. Thanks
[Nexus 5X Original Android Development] joetheshmo:
Thermal throttling
[Nexus 5X Original Android Development] Nimalraj:
Big clusters go offline even at 38°C. I changed the governer to high performance for big core, and it fixed the former issue. now its lagging during small tasks even at 38°C. Is there a way to address the thermal throttling issue at these temps?
[Nexus 5X Original Android Development] jugoslavpetrovic:
I got to newest AICP 13.1 which is android 8.1, I don't have the thermal threshold temp to set.
[Nexus 5X Original Android Development] Lughnasadh:
I'm on the same rom with ElementalX 6.0 installed and I do get that setting. Weird...
[Nexus 5X Original Android Development] jugoslavpetrovic:
I'm with latest Shadow 2.6 kernel, but I used that same kernel with prior AICP 13 (8.0) and it was there. It is weird. I guess I will report it to Shadow thread. Thanks.
[Nexus 5X Original Android Development] Lughnasadh:
No problem :good:
[Nexus 5X Original Android Development] jugoslavpetrovic:
I just flashed franco, same thing. While on 8.0 it was there for every kernel except hardcore kernel. Now I checked with Aduitor and there is in aduitor mod and in regular it says out of range but still I can adjust within the app's range. Seems like EXKM issue maybe. Or it might be related to combined exkm and ex kernel
[Nexus 5X Original Android Development] yochananmarqos:
Have you tried clearing app data for EXKM?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Wow, it was like I didn't even thought about that cuz the system has been just clean installed and fresh not even 24h, lol. And yes, this did the work. Thanks
[Nexus 5X Original Android Development] BS86:
for me, thermal threshold is there on Ex Kernel and Franco Kernel in EXKM.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yes, I did the wipe data in settings and it's back. Weird, cuz the whole system is fresh after clean install and I was busy at work all day so it was just all flashed and apps restored from google cloud. That was all.
[Nexus 5X Original Android Development] Nimalraj:
Anybody have a good governor profile for exkm that is a good balance between batterylife and performance, leaning more towards battery. Thank you.
[Nexus 5X Original Android Development] tom0769:
I'm quite satisfied with Hawktail
[Nexus 5X Original Android Development] manpildo:
I have tried and tested several, but always fell back to HawkTail 1.2. Currently using stock settings to squeeze out more performance on Oreo, but if I need acceptable performance with less battery drain, hawktail is the way to go imo.
[Nexus 5X Original Android Development] JBence:
Add drivers to this kernel

I'd like to add some extra drivers (atheros and ralink, usb soundcard, otg and HID Keyboard) to this kernel, is this possible ? I did this for an s5 (klte) many times, but if I recompile this kernel with my drivers, place the image in the installer zip, my nexus5x (bullhead) just hangs on the google logo after install. :(
[Nexus 5X Original Android Development] flar2:
Update!!!

Download (Android 8.1.0)

ElementalX-N5X-6.01

Changes:

-January security update

-Wireguard support

-TTL iptables support
[Nexus 5X Original Android Development] notstevek:
I updated to 6.01 via EX Kernel Manager and it semi-bricked. Stuck at Google logo. I luckily had the 6.0 zip still and reverted back.

How do I use a kernel image backup in twrp? When I go to flash it, it asks me to select boot, system, recovery, vendor. I assume it'd be system? Or is that only to use via the ex kernel manager app?

I'm on stock 8.1.0(opm1.171019.011) with Magisk 15.1
[Nexus 5X Original Android Development] SlimSnoopOS:
Boot = kernel. Flash the stock boot.img to overwrite the custom kernel installed.
[Nexus 5X Original Android Development] notstevek:
Thanks.

I updated to 6.01 by manually installing via twrp and downloading the kernel from this thread. Weird that it didn't work from the ex kernel app. I also updated to Magisk 15.2 prior to that, not sure if that has anything to do with it.

Anyway, great Kernel. Performance and battery life are phenomenal!
[Nexus 5X Original Android Development] Argeddion:
I was stuck at the Google splash screen, too. So I tried to pull kernel log and last_kmsg. (Probably did it wrong. Never done it before. Did not even find last_kmsg, there was only ramoops).

Then I tried to reboot and it worked. Strange, that it happend to both of us, but probably not worth investing time in it. Still uploaded the kernel log
[Nexus 5X Original Android Development] flatpedals:
I was also stuck at the white google logo but restarted and went fine.

Now running stock Jan 8.1.0 and Magisk 15.2.

I don't think the freeze is kernel related, most likely Magisk has something to do with it. It happened on EX 6.0.0 with Magisk 15.1 as well, but didn't occur on Magisk 14 with the same EX version.
[Nexus 5X Original Android Development] tom0769:
Can confirm, the "stuck on google splash screen" issue is definately related to magisk 15.1 and nothing else.

V15.0 and V 15.2 work fine for me.

I' running stock 8.1 and tried ex kernel and stock one.
[Nexus 5X Original Android Development] ttakacs:
Sorry to have to tell you that the "stuck on google splash screen issue" is also present with Magisk v. 15.2. ElementalX 6.01 is working fine. The issue is prevalent with Oreo 8.1 ROMs.
[Nexus 5X Original Android Development] synesthete:
I am on:

• Elemental X 6.01

• Stock Oreo 8.1.0

• Magisk 15.2

... and everything is working just fine. I haven't had any boot or bootloader issues.

It might be worth checking if you have the latest bootloader installed if you are getting stuck in the bootloader.
[Nexus 5X Original Android Development] flar2:
I flash Magisk a lot, and sometimes it fails to boot. Just hold down the power button and it will reboot and probably work.
[Nexus 5X Original Android Development] zurik:
I do this every time when I reboot my 5x.
[Nexus 5X Original Android Development] Kun2210:
Anyone else having issues with ZRAM size not being set at boot? I'm trying to have it at 768MB, but it keeps resetting to 508 each reboot - all of my other changes are kept properly, only this one is causing issues. [MENTION=4684315]flar2[/MENTION], any ideas what might be the problem?
[Nexus 5X Original Android Development] Vipauer:
But the Nexus 5X with Android 8.1 uses ZRAM?

Mine it's disabled... :confused:
[Nexus 5X Original Android Development] Kun2210:
8.1 here as well and it was Enabled by default and is actually being used quite a lot (though I adjusted swapiness to 80).
[Nexus 5X Original Android Development] BS86:
Yes, on 8.1 modified zRAM size does not survive a reboot and has to be applied again manually, although "Set on Reboot" is activated (blue icon instead of the grey one)
[Nexus 5X Original Android Development] Kun2210:
Thanks a lot for the response. Not a big deal, just wanted to make sure it's not something unique to my device. Seems like 786 is optimal.
[Nexus 5X Original Android Development] Vipauer:
In my ... seeing through the EX Manager, indicates that I have 70% of the RAM used, 49% of ZRAM used, ZRAM Enabled, ZRAM size - 508MB, ZRAM compression - lz4 and Swappiness - 60. Both with the gray icon on the front.

What do you recommend to change?

Thanks for the information and clarification. :good:
[Nexus 5X Original Android Development] Kun2210:
For now I'm testing with ZRAM size at 768MB and Swapiness set to 80. Rest stays the same.
[Nexus 5X Original Android Development] Vipauer:
I need activate the grey icon to turn blue to always run when reboot with the new values? :good:
[Nexus 5X Original Android Development] Kun2210:
Yes, though the ZRAM size does not persist, for some reason.
[Nexus 5X Original Android Development] Aguys:
I use a script to set zram size, put on script manager, so it'll executed each reboot. :D
[Nexus 5X Original Android Development] Kun2210:
Oh, that's nice - care to share the script?
[Nexus 5X Original Android Development] Aguys:
Here bro, mine is 1024MB, but you can change the size (in Bytes)...
[Nexus 5X Original Android Development] Vipauer:
How do I apply this script to my phone?

Add the lines to the build.prop file?

Thank you for your help. :good:
[Nexus 5X Original Android Development] Aguys:
Open that file then copy all the lines->open Exkm->tools->script manager->new script->set whatever name->edit->paste the copied lines
[Nexus 5X Original Android Development] rebeleagle:
I just can't seem to get the phone to doze.

Wakelock Detector shows Project Fi at the top of Wakelock Triggers. PowerManagerService.Wakelocks at the top of Kernel Wakelocks.

Any ideas people? I had the same problem when I wasn't on Fi too.
[Nexus 5X Original Android Development] CazeW:
Would it be possible to repack ElementalX into a Anykernel2 zip? ElementalX has always been the most stellar performer on my phone but I just can't get it working with the newest Magisk, always end up in a bootloop. Meanwhile all of the kernels that use Anykernel2 boot just fine.
[Nexus 5X Original Android Development] Argeddion:
Are you sure, you're doing the whole process in the right order? It is very unusual, that Ex + Magisk seems to work for everybody here, but not for you.

First flash the stock Kernel, then Magisk and at last flash Ex. Do not flash Ex over any other Kernel than stock
[Nexus 5X Original Android Development] CazeW:
Yes, I'm sure. And I've tried them both, stock > Magisk > Ex and stock > Ex > Magisk. My phone seems to sometimes have a mind of it's own of what works and what not. I don't know if my "special" situation of not having RPBM and using FBE encryption has anything to do with it.
[Nexus 5X Original Android Development] 78jimm:
Anyone on Nougat still using this kernel? If so then which build?
[Nexus 5X Original Android Development] yochananmarqos:
If it hangs on the Google logo, just hold the power button to restart and it will boot fine. It only seems to do it right after flashing.
[Nexus 5X Original Android Development] CazeW:
It's not hanging on the Google logo, it hangs on the boot animation.
[Nexus 5X Original Android Development] raffejos:
I had the same problem. I flashed the stock vendor, bootloader, radio and kernel from the firmware I have installed. This solved the problem and I can flashed the kernel without problems.
[Nexus 5X Original Android Development] SlimSnoopOS:
Read the first post.
[Nexus 5X Original Android Development] mspasov:
FBE usually breaks rooting procedure, at least for me several times when I was running nougat on my N5x.
[Nexus 5X Original Android Development] CazeW:
Magisk is working just fine with FBE.

Finally figured out what the issue was and managed to get ElementalX working. As I noticed that Anykernel2 and the method how ElementalX is flashed by modifying the ramdisk is the same, the issue why it wasn't booting had to be elsewhere. Thanks to a failed update of Magisk when I had tried to disable force encryption, I realized that the reason ElementalX was failing might be because it disables it and dm_verity. I took out those two things from the script in the zip and voilà!, it worked flawlessly.
[Nexus 5X Original Android Development] 78jimm:
I did. It's just that some people have been using oreo builds on nougat and i just wanted to know if any of the latest builds still work with it.
[Nexus 5X Original Android Development] RegularSam:
Hi guys, is this kernel compatible with the latest build of Oreo 8.1.0, the one with January security patch?
[Nexus 5X Original Android Development] RegularSam:
Anyone knows if there's a 4 core version of the ElementalX 6.01?
[Nexus 5X Original Android Development] SlimSnoopOS:
Nope. Just flash the BLOD AK2 zip by Osmosis and that will modify the custom kernel of your choice to run on 4 cores.
[Nexus 5X Original Android Development] RegularSam:
I installed all without problems with this method, thank you all!
[Nexus 5X Original Android Development] ikromy:
Can I re-install/re-flash this kernel? I'm using for the Oreo 8.0.

I dont want to use double tap to sleep. I know there are a lot of kernel manager, but I dont want install Root.

Thanks
[Nexus 5X Original Android Development] flar2:
You can reflash as much as you want
[Nexus 5X Original Android Development] ChemBot:
Isn't there a way to save your selections in the Aroma installer so the kernel can be reinstalled without manually selecting everything each time? Can I do that in the Ex kernel app? I want to keep up to date on nightlies but the Aroma installer process is lengthy and requires more tapping than the rest of the update process.
[Nexus 5X Original Android Development] flar2:
Yes, you can do that with the app. Use the express version.
[Nexus 5X Original Android Development] Vink67:
Hi,

Someone knows what Audio high performance mode does ?

I don't notice any modifications or changes.
[Nexus 5X Original Android Development] manpildo:
https://xdaforums.com/showpost.php?p=72892613&postcount=4435

https://xdaforums.com/showpost.php?p=72152301&postcount=4320
[Nexus 5X Original Android Development] flar2:
Like any kind of sound mod, the difference will be very subtle. You need to unplug and replug the headphones too.
[Nexus 5X Original Android Development] stifmaster81:
hello, any page to put other gammas color profile? elementalx you have only a few, and some time ago I saw a pdf with many gamma color to try, thanks

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] flar2:
This phone only has RGB, Hue, Saturation, Contrast and Value
[Nexus 5X Original Android Development] mr.ace:
It doesn't work if frequency isn't 192Khz/24bit according to this commit https://github.com/mortezadadgar/bullhead/commit/eac4b94d30e125ab8502e6557874296b8f37819e

In this case we should force enable it https://github.com/mortezadadgar/bullhead/commit/a881148fa9826668870c2ee04149b5b6bbf080b6
[Nexus 5X Original Android Development] Skittles9823:
So there is no point of it even being in a Nexus 5X kernel as the device doesn't support 192/24 playback unless you use an external DAC/AMP via OTG. (Also there isn't really a point to 192Khz playback on phones at all. 96Khz is the highest you really need to go).
[Nexus 5X Original Android Development] mr.ace:
That commit force enable audio high_perf_mode for other frequencies like 96Khz
[Nexus 5X Original Android Development] Skittles9823:
Ohh I see.
[Nexus 5X Original Android Development] JeauxAdam:
I'm sure the answer is yes but is this kernel compatible with Lineage 15.1? I'm getting pretty mediocre battery life after using it a few days and I always enjoyed this with PureNexus (RIP).
[Nexus 5X Original Android Development] BS86:
Go to developer settings and disable the option that says stay connected to mobile data although connected to WiFi ;)

Using it on AICP and no battery issues at all.
[Nexus 5X Original Android Development] JeauxAdam:
I may have misspoke, I am getting mediocre battery with the Lineage kernel and wasn't sure if I could use EX with that ROM. Also doesn't turning off mobile data when on Wi-Fi mess with SMS?
[Nexus 5X Original Android Development] BS86:
SMS are not sent as "data", they use the regular cellular network which is not affected by that option. The option was off by default until Android 8.1, with 8.1 Google decided to activate it by default.

ElementalX will improve your battery life. AICP is LOS based, and there it works.
[Nexus 5X Original Android Development] JeauxAdam:
Excellent. I will flash this straight away. Thank you for your help!

I hesitated because there was a time when you needed to flash a separate version of this depending on if it was LOS based or stock based. I'm old and set in my ways. ;)
[Nexus 5X Original Android Development] jugoslavpetrovic:
You can also hit the Thanks button if some post helped you in this forums... ;)
[Nexus 5X Original Android Development] zurik:
This kernel some time it will have the Linux version 3.10.108? I don't ask for ETA. If will be available some time soon...

Thank you!
[Nexus 5X Original Android Development] yochananmarqos:
No, because Google won't be updating it. There's a whole discussion about why kernel dev's won't use upstream kernels. Search G+ if you're curious.
[Nexus 5X Original Android Development] flar2:
Update!!!

Download

ElementalX-N5X-6.02

Changes:

-February security update
[Nexus 5X Original Android Development] CazeW:
I'm having trouble with the ElementalX app. The Input boost frequency settings aren't sticking and get reset with every boot while everything else sticks. And yes, I've tried disabling and re-enabling the button, also tried with clearing data.