yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] ant_avb:
Okay, the action plan is:

1. Download latest factory image and install it.

2. Delete from LineageOS zip package boot.img and flash it

3. Install elementalx.

Right?
[Nexus 5 Original Android Development] mayankkhajnchi:
No. You cant flash a rom without its boot img.

First clean wipe your device then install lineage 14 and then install custom kernel over it.
[Nexus 5 Original Android Development] ant_avb:
But, lineageos package contains custom kernel. Why I can't just install custom kernel right now then?
[Nexus 5 Original Android Development] jineshpatel30:
Blueborne seems already patched in EX 8.06, i just checked with September Patch ROM and EX 8.06 and it's NOT Vulnerable.
[Nexus 5 Original Android Development] NJ5499:
Okay, so u r getting it wrong. The stock kernel here means the kernel shipped with the ROM - any ROM like Lineage or AOSPA or last factory image.

All u have to do is flash recovery then any ROM then this kernel. Hope u get it.
[Nexus 5 Original Android Development] xenyz:
He said only flash over stock kernel but what he really means is only flash custom kernels over the default kernel in the ROM. anykernel installers patch the kernel ramdisk so you must use the same boot & ROM combo to avoid issues.
[Nexus 5 Original Android Development] ant_avb:
I've got things wrong. I've thought stock means the kernel of the factory image.
[Nexus 5 Original Android Development] nyanxo:
Hi, i want to try out F2FS. My phone is encrypted, does ElementalX support encryption and f2fs? If so, can i change to f2fs and just use my nandroid backup as always?

kind regards!
[Nexus 5 Original Android Development] phpbb3:
You can't restore an ext4 backup onto an f2fs partition without the partition formatting back to ext4 (or it might just fail, depends on how your recovery is coded to handle that situation). I've never used device encryption, but I am using f2fs with aicp and this kernel, and have been for probably close to a year.
[Nexus 5 Original Android Development] LoneWanderer_97:
So had a great experience with Ex kernel on my nexus 5x, and now i have a good old nexus 5, and i had to flash it the 5. I was looking forward to appying a governor profile (glassfish) and saw that there arent any? Since it did wonders for my 5x battery life, i was wondering if there are any similar things or settings i can tweak that would be the equivalent of applying a governor profile on the N5. Any suggestions?
[Nexus 5 Original Android Development] lumun:
Maahi
[Nexus 5 Original Android Development] ant_avb:
Hello all, I'm very excited about using elemetalx kernel with my Nexus 5. The battery life is amazing as well as the performance. The only thing I do not like is a loudness of the speaker. I did tried to adjust it with Kernel Auditor app, but nothing is changes. Is anybody has the same issue?
[Nexus 5 Original Android Development] flar2:
I think you can adjust it with ex Kernel Manager
[Nexus 5 Original Android Development] candra yudha tama:
This is kernel support oreo ????
[Nexus 5 Original Android Development] ant_avb:
I do not have a possibility to by the app.
[Nexus 5 Original Android Development] Unni_k:
This thing is not working on my phone my battery getting dry while using internet for an half our... Can u please suggest another one
[Nexus 5 Original Android Development] flar2:
Update!!!

Download

ElementalX-N5-8.07

Changes:

-security updates
[Nexus 5 Original Android Development] kcskcw:
Kernel questions

Thank you for the beautiful kernel.

I'd like to use yours with the last marshmallow update from google, so would you recommend me using your latest kernel or 6.27?
[Nexus 5 Original Android Development] flar2:
I'm currently using the latest 8.07 on stock marshmallow, and everything is good.
[Nexus 5 Original Android Development] kcskcw:
The reason I'm asking this, is because i'm going to give it away and I won't be able to "troubleshoot" the device if any newer releases go south.

is there any significant improvements in 8.07 that lacks in 6.27?

Thank you for your understanding.

P.S. - If I flash this with TWRP, could I flash back the stock recovery and maintain this kernel? Correct me if i'm wrong, but factory resets don't affect kernel img from my understanding.
[Nexus 5 Original Android Development] candra yudha tama:
Will you support this is kernel for Oreo ????
[Nexus 5 Original Android Development] flar2:
8.07 has security patches that aren't in 6.27. The safest bet is latest stock marshmallow and elementalx 6.27. The stock kernel doesn't have all the latest security patches either, but it's still pretty secure and many millions of people are using devices with much less up-to-date security.

You can also flash the stock recovery without loosing elementalx.
[Nexus 5 Original Android Development] flar2:
Is Oreo released in a fully working state? I prefer to follow LineageOS for this.
[Nexus 5 Original Android Development] flar2:
Update!!!

Download

ElementalX-N5-8.08

Changes:

-security updates
[Nexus 5 Original Android Development] kcskcw:
There's a new WPA2 wifi vulnerability.

There's no way to patch that from a kernel level, is that correct?

I know I'm updating my home router ahah :)
[Nexus 5 Original Android Development] mobile_sensei:
Hey bro, cant find a definitive answer... is the kernel for caf, aosp, or both on 7.1.2. Thanks
[Nexus 5 Original Android Development] Pshemo__:
Aosp only
[Nexus 5 Original Android Development] jineshpatel30:
AOSP only

Every kernel for Hammerhead is AOSP only unless it's specifically metioned otherwise
[Nexus 5 Original Android Development] Co.Tibi:
For the curious ones out there, just tried installing 8.08 on Unlegacy Android Project (oreo) ... not working (as expected). I had a backup of the stock kernel and restored from that. :)
[Nexus 5 Original Android Development] Progressive82:
Hello, you should disable double tap2wake when the proximity sensor is active. Otherwise, when I get whatsapp calls, fb messenger calls, skype, voip calls, telegram, the screen continues to keep in on and it is impossible to continue talking. Nexus 5 / Android 6.0.1
[Nexus 5 Original Android Development] leemaster81:
I managed to flash this kernel on top of lineageOS latest using flashify -> then Multiboot.

This is my first experience with android N. and ElementalX kernel seems to integrate pretty well on my Nexus 5. Smooth very smooth!
[Nexus 5 Original Android Development] flar2:
At this point, I think I'll change everything over to 8.xx
[Nexus 5 Original Android Development] flar2:
Update!!!

Download

ElementalX-N5-8.09

Changes:

-security updates
[Nexus 5 Original Android Development] the_cr0w:
fast charge doesn't seem to be working. enabled in aroma installer, and also tried on the ex kernel manager.

can't really understand what the buttons that rotate and go blue stand for
[Nexus 5 Original Android Development] truxartis:
Fix for Krack?

Didn't see a changelog on the website...

Thanks for keeping the updates going, regardless!
[Nexus 5 Original Android Development] AndroidBR:
I think it's reliant on both charger amperage AND the USB cable used to charge the phone.

Those blue things when activated allows you to lock those settings even when you reboot your phone.

Aaron makes the most beautiful and easy to use kernel manager app.
[Nexus 5 Original Android Development] kamild_:
Isn't that exploit caused by wpa_supplicant, and not the kernel?

I was wondering what exactly is being fixed through all these previous "security updates". Why not share with us what precisely is being fixed?
[Nexus 5 Original Android Development] truxartis:
You sir, are correct.
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION]

Can you share the RGB configuration values kernel set while we select "slight cooler colours"

I like it more than any of presets in app but i want to make it slight less bluish and when i try via random number it doesn't give me desire result so your values will help me to set baseline :)
[Nexus 5 Original Android Development] flar2:
It's not an RGB setting, it's flipping a register values directly in the driver.
[Nexus 5 Original Android Development] jineshpatel30:
oh..means it's not the values we can set via app ? i mean in 0-255 range ?

I'm not concerned how kernel set those, i want those values to play around manually so that i can make it slight less blueish.
[Nexus 5 Original Android Development] flar2:
The cooler colors setting doesn't translate to RGB values, it's a register setting. All you can do is play with RGB, saturation, hue and contrast to find something you like.
[Nexus 5 Original Android Development] jineshpatel30:
oh..np

Thanks :)
[Nexus 5 Original Android Development] frightfulpotato:
Unfortunately my banking apps won't work when rooted (even with Magisk hide), so I was wondering if there was a way to grant the EK Manager app the necessary permissions through adb (as can be done with Greenify, for example).

I've tried

adb -d shell pm grant flar2.exkernelmanager android.permission.WRITE_SECURE_SETTINGS

however it says that permission has not been requested. Does anyone know if it's possible to use this method and if so which permission(s) need to be granted?
[Nexus 5 Original Android Development] flar2:
No, kernel settings are completely different. I will be releasing a non-root version of EXKM in the next couple months.It might help.
[Nexus 5 Original Android Development] frightfulpotato:
OK, thanks, I'll be looking forward to it.
[Nexus 5 Original Android Development] tom0769:
Sorry for off topic, but folks did you already read this

https://www.xda-developers.com/flar2-elementalx-interview-part-1/

[MENTION=4684315]flar2[/MENTION]

It was very impressive to read and an inspiration for an (also) old man like me;)
[Nexus 5 Original Android Development] jineshpatel30:
I did.

It was very good.

I read one with franco as well, Aaron & franco both have many similar views ;)
[Nexus 5 Original Android Development] phpbb3:
[MENTION=4684315]flar2[/MENTION] when I use the express installer, all of my choices from Aroma load correctly, except my io readahead always defaults back to 128. What am I doing wrong?
[Nexus 5 Original Android Development] slmklc:
Just realized something accidentally, my MAC adress is changing by itself ?!? I am supposing MAC is a physical adress from device and It can't be changed ? Am I wrong or something going wrong on my phone ?
[Nexus 5 Original Android Development] flar2:
Update!!!

Download

ElementalX-N5-8.10

Changes:

-security updates
[Nexus 5 Original Android Development] candra yudha tama:
How about ElementalX for oreo....the lineage OS for hammerhead is out now.. would you build for oreo ???
[Nexus 5 Original Android Development] ahzoe:
can i use 8.10 version for stock MM?
[Nexus 5 Original Android Development] ccferinxda:
8.10 Only for N
[Nexus 5 Original Android Development] GopalKaul:
?? When?
[Nexus 5 Original Android Development] candra yudha tama:
Yesterday https://www.lineageosroms.org/forums/topic/download-lineageos-15-nexus-5-oreo-rom/
[Nexus 5 Original Android Development] jineshpatel30:
That Site is Fake.

LOS 15 will come officially only when you'll see LOS 15 (Official) Named thread on XDA N5 Original Development forum , until then all are fake or fork.

below reply stand true for now.

Yes, even Dev him self use 8.xx series on MM. (from past post)
[Nexus 5 Original Android Development] xenyz:
It's not 'fake', it's just an unofficial build. This is how LOS works on 'new' devices until they are officially maintained. You can see a post on XDA here by the dev with sources.

To keep this on topic, I am interested in Oreo on N5 but will wait for [MENTION=4684315]flar2[/MENTION] to update EX for Oreo before upgrading. Too bad EX versions don't match up to Android versions, as many would think elementalx 8.xx would be for Oreo with 7.xx for Nougat, etc.
[Nexus 5 Original Android Development] jineshpatel30:
You conveniently didn't read "fork" , eh?

That's not even LOS's offical Git , i can't believe people falls for that ! Also Hammerhead is no way new device for LOS, hack it's one of the most used device for them.

Plus that site spread some news that were no way official in past & official LOS 14.1 maintainer had to clarify that LOS is no way related to that site, that's why i use fake.

(Search official 14.1 thread, you will find that post if you want.)

So, Until you see official LOS 15 thread on xda don't get you hope high on EX for oreo.
[Nexus 5 Original Android Development] GopalKaul:
Thank God someone has brains...
[Nexus 5 Original Android Development] @vjnexus:
My Nexus 5 ,suddenly screen goes black but mobile seems to be function internally can anyone encountered this thing ????
[Nexus 5 Original Android Development] jineshpatel30:
Check the reply i gave you in other thread, It's not Kernel or ROM related issue so don't flood threads with same thing :)
[Nexus 5 Original Android Development] slmklc:
My camera and flashlight randomly stops working, restart temprorarily fixes it.Dont know it is kernel or ROM related I am using Dark ROM and Ex Kernel both latest version.

Tried safe mode it's working as it should be.Both camera and flashlight
[Nexus 5 Original Android Development] jineshpatel30:
See my reply in Darkrom thread, there's almost negligible chance that this is related to kernel because no other report came till now.
[Nexus 5 Original Android Development] ethem606:
No support for Android 8?:D
[Nexus 5 Original Android Development] jineshpatel30:
read just few posts above yours..will you ?

They are on same page !
[Nexus 5 Original Android Development] Joy Bangla:
How to change settings without exkm? Can't find .conf file in /etc
[Nexus 5 Original Android Development] flar2:
The conf file no longer worked after Marshmallow. Installer options, shell commands or EXKM are the only ways.
[Nexus 5 Original Android Development] deadbrise:
who can add modules from Kali NetHunter? I will be grateful :confused:
[Nexus 5 Original Android Development] gian232:
Hey guys I have a question what values can I put in Input_event_min_freq default is 1574400,0,0,0 the 3 cores left on 0 what could be a good frequency to use on those ? Cheers
[Nexus 5 Original Android Development] phpbb3:
EXKM reports an update from 8.10 to 8.12, but neither the website nor this thread have been updated. Anyone know the changelog?
[Nexus 5 Original Android Development] mikebeatrice:
"Security updates" :)
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION]

init.d also doesn't seem working since couple of updates.

DarkRom 7.1.2 + EX 8.10

is there anything i could try ?
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION] seem like issue related to SElinux , similar to https://jira.lineageos.org/browse/BUGBASH-406

is there any work around i can use to run init.d except making kernel Permissive :(

this is response from LOS for similar issue. (from link above)

any other script that runs After boot is completed ?

i tried su.d but if i put delay command (sleep) in it, device just boots after that delay instead of running task after that delay... so not much useful
[Nexus 5 Original Android Development] flar2:
I think Magisk has a non-blocking startup script directory.

You could also add a supolicy command to open up selinux for what you want to do. I really don't recommend permissive mode.
[Nexus 5 Original Android Development] jineshpatel30:
oh..wasn't aware of that. will check it out.

for now i'm using 3rd part app init.d scripts support

it works well except it kills original purpose of init.d by keeping monitor service always in memory :( but sill better than any of other solutions i found.

problem is i can't figure out what to inject, because it's not script specific, it's affecting entire init.d folder & scripts, even simple "print test.log to /data" script is also not working, so i don't know why they are calling it's not a bug on LOS part.

Also,definitely i'm not gonna put kernel to permissive, nothing can be that important to disable kernel's front line of defence :)
[Nexus 5 Original Android Development] 7heEND:
When i install this with Paranoid android 7.3.1, i get stuck into boot loop, any help?
[Nexus 5 Original Android Development] eclaxton:
This kernel is only for aosp Rom and paranoid is a base caf aosp Rom
[Nexus 5 Original Android Development] Co.Tibi:
Don't know where to ask so I'll ask here... Do you plan to release a version for the OnePlus 5T?
[Nexus 5 Original Android Development] flar2:
Yes. I think OnePlus is sending me a 5T, but so far I don't have an ETA.
[Nexus 5 Original Android Development] Co.Tibi:
Good enough for me. Thank you
[Nexus 5 Original Android Development] smutny1221:
Sorry for a newbie question, but can i install 8.1 android on clean 6.0.1 or should i update it to 7.x first?
[Nexus 5 Original Android Development] flar2:
Just install 8.10
[Nexus 5 Original Android Development] smutny1221:
Okay. How does this work exactly, I install kernel from your site (Android 7.0, 7.1, 7.1.1 & 7.1.2 (Nougat) ElementalX-N5-8.10) and i have android 8.1? Coz the zip file weights 9MB, so I think not, but I have no idea how this works :(

Edit: I am using Nexus Root Kit v2.1.9 and when i try to Flash ZIP Files [...], app tells me i dont have twrp and wants to install 3.0.3-3 version, but the newest one is 3.2.0-0 and NRK doesnt accept it and doesnt allow me to flash this kernel
[Nexus 5 Original Android Development] Co.Tibi:
[MENTION=4684315]flar2[/MENTION] did they send you the 5T?
[Nexus 5 Original Android Development] flar2:
Said they were going to, but I haven't heard anything since.
[Nexus 5 Original Android Development] Co.Tibi:
Damn...
[Nexus 5 Original Android Development] mtsimmer:
Will Android Oreo Version of the Kernel Will be released ?

(Soon) Btw Great kernel Worked flawlessly on my 2 previous roms (Android 6.X and 7.X Both of them with consent updates).
[Nexus 5 Original Android Development] flar2:
I don't really see any Oreo ROMs. If LineageOS updates, I will probably follow.
[Nexus 5 Original Android Development] jineshpatel30:
Just to be clear, Flar2 meant OFFICIAL LOS, so don't start quoting other builds, it's already discussed in past ;)

[MENTION=4684315]flar2[/MENTION] is December security patch for 7.x delayed or there's nothing important to release ?
[Nexus 5 Original Android Development] Co.Tibi:
[MENTION=4684315]flar2[/MENTION] did you get a 5t and forgot to tell us? Happy holidays
[Nexus 5 Original Android Development] flar2:
Yes, I just got it a couple days ago and released a kernel yesterday
[Nexus 5 Original Android Development] FBI Surveillance Van #23R:
There is already LOS 15 and LOS 15.1(15.1 has no sound but a user said building with the open commits results in having sound), Liquid Remix 8.0, AICP 13 and AICP 13.1(again, 13.1 has no sound), Unlegacy, AOSiP and soon™ Dirty Unicorn with Android 8.1(and judging by this post DU 8.1 will be pretty stable for Hammerhead https://plus.google.com/+AlexCruz/posts/TXeGHkcVMZA ).

TBH, Liquid Remix is very smooth if you give it time(and that is with the stock kernel), but I really miss ElementalX. I believe you can work your magic seeing that there are already almosy 6 different ROMs.
[Nexus 5 Original Android Development] deadbrise:
I apologize for my illiteracy, but I would very much like to have Kali NetHunter modules in this core, who can do it?:confused:
[Nexus 5 Original Android Development] devil_bs:
Maximum Battery life help

i want maximum battery life can someone tell me about the undervolt settings i am on dark rom 7.0.1
[Nexus 5 Original Android Development] kotfilon:
I'm on Dark Rom + ElementalX.

Undervolt to 700

Underclock to 1497 Mhz

cooler or coolest thermal throttling

Set Read ahead buffer to 128 (Super smooth on 128, if I set it higher, my phone starts to lagg).

don't use elementalX governor (tick "ondemand" on the last screen of aroma configuration)

leave everything else on default

I've been using this setup for a long time (dark rom since november and EX kernel since december). It's super smooth and battery is awesome (more than 4h of SOT with wifi or LTE turned ON). It has never rebooted on its own, didn't notice any bugs.
[Nexus 5 Original Android Development] flar2:
Update!!!

Update for Nougat.

For those interested, there is a test build for Oreo available in EX Kernel Manager. I have not tested it.

Download

ElementalX-N5-8.14

Changes:

-security updates
[Nexus 5 Original Android Development] candra yudha tama:
I try kernel for oreo after installing kernel and reboot always back to bootloader.... room unlegayc 8.1https://xdaforums.com/google-nexus-5/orig-development/rom-unlegacy-android-project-t3593425/page133
[Nexus 5 Original Android Development] flar2:
The Oreo kernel has been updated, it probably won't boot on a lot of ROMs because they require selinux permissive. I strongly discourage that.

I know the kernel works, because after it boots, while stuck on the Google bootsplash, I can use adb shell to set selinux to permissive and then the phone boots up. You can mess around with it if you like.
[Nexus 5 Original Android Development] tathanhlam66:
The oreo kernel of lineage didn't update, they only update branch, i think you need update binder, alarmtimer for oreo version.
[Nexus 5 Original Android Development] flar2:
Both of those are updated. The kernel works good, just the ROM I tested on runs in permissive mode by default. Change to permissive, then ElementalX works fine too.
[Nexus 5 Original Android Development] candra yudha tama:
I used ROM Unlegayc set selinux is permissive default....but I still stuck on Google bootsplash.....I install viper4android on Unlegayc ROM this is app need selinux permissive and working fine
[Nexus 5 Original Android Development] flar2:
Selinux should never be permissive, but if you insist on it, the way to boot is as follows:

1. Install elementalx and Magisk, then reboot

2. While stuck on the Google splash screen, connect to a PC

3. Open adb shell

4. Type setenforce 0

Then it will continue to boot

A script to do this in EXKM would probably work as well
[Nexus 5 Original Android Development] candra yudha tama:
Ok I will try again ? ?
[Nexus 5 Original Android Development] TheLight-Show:
C:\adb>adb shell
hammerhead:/ $ setenforce 0
setenforce: Couldn't set enforcing status to '0': Permission denied

wtf?(
[Nexus 5 Original Android Development] HermannSenator:
You must be root!

adb shell

su

And then the command!
[Nexus 5 Original Android Development] TheLight-Show:
I tried, but didn't work, phone hung on the Google logo (sorry for very bad englis)

C:\adb>adb shell
hammerhead:/ $ su
hammerhead:/ # setenforce 0
hammerhead:/ #
[Nexus 5 Original Android Development] candra yudha tama:
Same for me... still back to bootloader
[Nexus 5 Original Android Development] flar2:
There's no consistency in Oreo ROMs
[Nexus 5 Original Android Development] TheLight-Show:
on what firmware Oreo works EX?
[Nexus 5 Original Android Development] flar2:
You should have the very latest firmware
[Nexus 5 Original Android Development] garuwex:
will there be support Unlegacy-Android?
[Nexus 5 Original Android Development] TheLight-Show:
no
[Nexus 5 Original Android Development] mg71645:
Which ROM should I install?
[Nexus 5 Original Android Development] FirstEver:
Please create a Kernel that works with existing Android 8.1 ROMs, at least compatible with AOSP-based ROMs. Thanks!
[Nexus 5 Original Android Development] flar2:
So far they seem to require selinux permissive, which I don't want to support.
[Nexus 5 Original Android Development] lulli1:
Not all of them. Some are already strikt.

But if you install Xposed (no matter if systemless or not) it breaks SElinux. But without it works for example with Dirty unicorns 8.1
[Nexus 5 Original Android Development] aX12:
I installed your kernel over the uap 8.1 (used ur app - both option like individual and express) but device don't boot to the OS, it only make self-reboot into fastboot mode. What i do wrong?