yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] ulxerker:
March's update build N4F26T has been released:

Full factory images

Full OTA image

---------- Post added at 20:08 ---------- Previous post was at 19:19 ----------

FYI: EX 4.05 is working with latest build.
[Nexus 5X Original Android Development] :
Does disabling perfd in EXKM help? I just saw it on the latest update of the app. :)
[Nexus 5X Original Android Development] khanjui:
Look up.
[Nexus 5X Original Android Development] flar2:
Update!!!

Download

ElementalX-N5X-4.06

Changes:

-March security update

-update conservative and ondemand for big.LITTLE
[Nexus 5X Original Android Development] khanjui:
Will you add analog gains like other phones?
[Nexus 5X Original Android Development] :
Oops, found it. Sorry. :silly:
[Nexus 5X Original Android Development] flar2:
No, sound is more complicated on this phone, and mine died so I can't develop new features.
[Nexus 5X Original Android Development] ulxerker:
thanks a lot for maintaining the kernel for our device, though! :)
[Nexus 5X Original Android Development] tekno4ever:
Might u share just a bit more info as to what was updated on the conservative and on-demand Governors for big little?
[Nexus 5X Original Android Development] flar2:
The tunable parameters are now cached so that they do not get reset when a cluster goes offline.
[Nexus 5X Original Android Development] kako9214:
Hello, which settings you recommend me to set with aroma installer? The first time I installed the kernel, i left everything like stock.

Any recomendation?

Thank you
[Nexus 5X Original Android Development] ulxerker:
keep it stock as overclocking is not necessary and everything else you can adjust in the ElementalX Kernel Manager app, which is highly recommended.
[Nexus 5X Original Android Development] kojak1989:
Where can i find site with translations have someone link to this?
[Nexus 5X Original Android Development] kako9214:
Is this Battery consumption normal? Just today I update to the new version.
[Nexus 5X Original Android Development] Flyview:
Hey [MENTION=4684315]flar2[/MENTION] what controls the balance between the little cluster or big cluster being used? I've been monitoring live frequencies and I've found that the big cluster isn't being used much (or at least not ramping up frequency), sometimes even when the phone is really struggling and the CPU load is high. This is with the ondemand or interactive governor. I've also verified that the big cluster isn't offline. I made sure the phone was cool so that it doesn't throttle and go offline. Anyway is there an adjustable control for the balance between using the small and big cluster and to set it to prefer one over the other? Do I just need a more aggressive governor profile on the big cluster so that it ramps up?

Here's why I want to change it: I find the little cluster is very weak, and the phone often gets bogged down when opening Snapchat. Ideally I would just turn the little cluster off so it stops producing heat and the big cluster can run at higher frequencies longer. However this doesn't seem possible, core 0 can't be turned off through ExKM. The only thing I've found to help so far is to set the big cluster to performance governor, which keeps it pegged at a high frequency. Believe it or not this actually helps or even fixes the lag. I'm so tired of this phone tripping hard over itself I don't even care about battery anymore. I just want it to run smoothly.
[Nexus 5X Original Android Development] flar2:
It's mainly the kernel scheduler, but I'm not very familiar with the tunables. They show up under CPU->Advanced Options in EX Kernel Manager.

The big problem with this device is using the big cluster they almost immediately get throttled

You can't turn of cpu0 or the system will crash because vital processes are affine to that core.
[Nexus 5X Original Android Development] Flyview:
Yea I upped the thermal limits for the big cluster so that it doesn't throttle right away, and under-clocked it a little so it doesn't get too hot. Any idea what I can try changing under Advance Options to just get the big cluster to be used more? So some system processes prefer the little cluster? Why is that? Where is this all set? I don't expect you to know all the answers of course but it'd be great to try and figure this out!
[Nexus 5X Original Android Development] ulxerker:
Looks strange, but no problems here. Clear app data and cache and see if it makes a difference.
[Nexus 5X Original Android Development] borismanalo:
quick question...

does reflashing the zip would give me the option to UC/OC again? or would i have to flash the stock then flash the EX kernel all over again? or is it there a way for me just to change it without doing this process.

i overclock mine, and thinking I should go back to stock freq, or underclock mine for better battery life.

thanks...
[Nexus 5X Original Android Development] kako9214:
Everything ok now! I think it was due to the process to update.

Thank you again :svetius:
[Nexus 5X Original Android Development] pakudaboy:
hi guys,

anyone having issue that big cluster (a57) settings wont stick in Kernel Auditor?

thanks
[Nexus 5X Original Android Development] SlimSnoopOS:
If you choose stock frequencies during a flash, yes you do need to reflash the kernel to overclock. You can just change the clock speeds using EXKM or your preferred kernel app but it's also just as simple to reflash.
[Nexus 5X Original Android Development] ulxerker:
wrong thread as this is about EX and EXKM here. with this there are no issues at all.
[Nexus 5X Original Android Development] LoneWanderer_97:
Whats the best cpu governor profile you guys like to use with this kernel?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Interactive, conservative for lil more of battery
[Nexus 5X Original Android Development] LoneWanderer_97:
Oh I meant as in Ghostpepper, Hawktail, etc. Thanks for the info anyway.
[Nexus 5X Original Android Development] flatpedals:
I keep coming back to HawkTail1.2. It seems to be the most consistent no matter what I throw at it. Ghostpepper seemed fine too for a while.

I get 4.5-5h SoT on a normal day, not too serious use though.

*Also, extreme_v4 thermal engine is a must, with throttling limit at 51.

It runs a little hotter, but it's fine. I prefer this over stock where it throttles so freaking fast and the big cluster would end up offline most of the time and the little one would be around 55-60 degrees constantly. I don't know if there's something wrong with mine, but it's impossible to keep it cool on stock thermal config even on little use.
[Nexus 5X Original Android Development] crazyates:
I've tried Ghostpepper, Heimdall, Hawktail, and Butterfly. Those are the top 4, from what I can gather.

I would say Hawktail and Heimdall slightly edge out Ghostpepper for all-around performance, and Butterfly gives the best battery out of the bunch. Just my experience, tho.

---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------

Question about the EXKM app:

When (like in what scenario) would I want to disable IPA_WS wakelock and/or qcom_rx_wakelock_ws ?
[Nexus 5X Original Android Development] tuhinxp04:
Any screen wake gesture cause battery drain in our 5x with this kernel..??
[Nexus 5X Original Android Development] flatpedals:
All screen wake gestures come packed with battery drain, no matter the kernel. But it shouldn't be too significant.

I don't use any, but I'm guessing something like 1 percent per hour or something like that ..?
[Nexus 5X Original Android Development] flar2:
It adds closer to 2% per hour, unfortunately.

Wake gestures cause drain on this phone, but they don't cause drain on other phones.
[Nexus 5X Original Android Development] ulxerker:
Wake gestures arent't needed on that phone, simply use the FP sensor which is basically a wake gesture, too.
[Nexus 5X Original Android Development] drik05:
anyone RR user here ? does elemental x kernel works without issue ?
[Nexus 5X Original Android Development] ulxerker:
EX works with any ROM without issues.
[Nexus 5X Original Android Development] pakudaboy:
hi guys, i've bought ex manager and still having same thing that big cluster min max stuck at lowest freq (384mhz)

even it works after several reboots but it will eventually stuck at lowest freq...is that a bug?
[Nexus 5X Original Android Development] drik05:
thank you. im gonna try ex kernel in rr rom
[Nexus 5X Original Android Development] khanjui:
Actually it never uses 384 MHz since the power consuming is same with the 633 MHz. But if you set it as 384 MHz, that's because of thermal throttling.
[Nexus 5X Original Android Development] pakudaboy:
hi there,

thanks for your reply.

I think i figured out why it's stuck now.

I was using glassfish 1.2 governor profile and it's stuck on 384, once i change to hawktail then it's working again.

yeh too bad a57 just thermal throttle alot
[Nexus 5X Original Android Development] khanjui:
You are welcome, you can use "Thanks'" button instead of writing. Also check this for thermal throttling.
[Nexus 5X Original Android Development] Paulino Necro:
Hi, does this kernel support doubleTap2Awake?
[Nexus 5X Original Android Development] buffer overflow:
... and other.
[Nexus 5X Original Android Development] ulxerker:
yes, but you'll have a higher idle battery drain.

use finger print sensor instead.

---------- Post added at 11:03 ---------- Previous post was at 10:16 ----------

@flar2 when disabling zram and applying on boot in EXKM, it is enabled again after every reboot. please look into this.
[Nexus 5X Original Android Development] kako9214:
Must be zram disable? I have it enable, zram size 512 and swappiness 64. I configure it because one member recommend me it.

PS: i have n5x 16 gb
[Nexus 5X Original Android Development] ulxerker:
no, its recommended to keep it enabled. I just wanted to report this kinda bug, though.
[Nexus 5X Original Android Development] kako9214:
Perfect!
[Nexus 5X Original Android Development] bromoxitos:
Hello guys, i have the 5x 16 gb and i flash the lineage os latest version with latest twrp 3.1 i have the stock lineage kernel, but i want to flash this ex in the same time i want to keep my phone no root cose of some apps ho works only with no root roms, but i want to make some settings in ex, more than you give in the zip flash steeps, so what you saggest to do??

Flash the kernel manually and after use supersu to make some settings and after that to unroot it again??? Any ideas??

Tnx a lot for you time!!

P.s magisk is good?? I try to use it but i can't understand how it works.
[Nexus 5X Original Android Development] joetheshmo:
Without root, you won't be able to configure the kernel outside of what's available in the aroma installation
[Nexus 5X Original Android Development] bromoxitos:
Thanks for the replay and the information
[Nexus 5X Original Android Development] Argeddion:
Probably ot: Have you tried Magisk? Works for me (but I only use it to play Pokémon Go :D )
[Nexus 5X Original Android Development] bromoxitos:
I will try it
[Nexus 5X Original Android Development] LoneWanderer_97:
Anybody here use the flar2 color profile under graphics? Cam anybody suggest the values to make the screen pop more and give deeper blacks?
[Nexus 5X Original Android Development] kojak1989:
Sorry for this, but with GlassFish 1.2 profile only this values I must have on boot ?
[Nexus 5X Original Android Development] ulxerker:
+ apply the profile on boot in governor options + apply disabled TouchBoost on boot
[Nexus 5X Original Android Development] kako9214:
And i have boost milliseconds to apply información boot too!
[Nexus 5X Original Android Development] kojak1989:
boost miliseconds are 0 with default values too :)
[Nexus 5X Original Android Development] ulxerker:
boost milliseconds is not important (keep it at 0), input boost milliseconds is.
[Nexus 5X Original Android Development] SlimSnoopOS:
[MENTION=4684315]flar2[/MENTION],

The changes you've made to ensure Conservative sticks after cores go offline are working great. Since you pushed that update on your kernel, I've made the big cluster go offline intentionally every few days and the governor sticks. I'm sure you're aware of this but wanted to provide support. I'm running Dirty Unicorns March 7.1.1 for reference. Thanks for the consistently good work even without the device.
[Nexus 5X Original Android Development] Flyview:
Exactly, you guys can try using my app KinScreen if you want battery efficient wake gestures! Link to XDA thread is in my signature.
[Nexus 5X Original Android Development] canodroid15:
Man that stinks it died :( What happened to your 5x if you don't mind me asking. Many thanks for the work you put into this kernel for our device.

Sent from my OctOSified N5x
[Nexus 5X Original Android Development] Argeddion:
Search the thread for "died" should be 3th post the search finds.

Well, now its the 4th :D

Tldr: Hardware failure
[Nexus 5X Original Android Development] batwingnz:
Updated this morning to march 6 from previous version. Status bar clock is completely stuck, but lock screen clock is fine.

Haven't updated any apps in last 24 hours so I'm not sure if this can be app or kernel related.
[Nexus 5X Original Android Development] khanjui:
Everything is fine here.
[Nexus 5X Original Android Development] batwingnz:
Probably unrelated, came unstuck after a few hours
[Nexus 5X Original Android Development] HesThatGuy:
Hi [MENTION=4684315]flar2[/MENTION] & [MENTION=3292224]franciscofranco[/MENTION] digging through the 5X's Nougat kernel init files shows that it has EAS tunable nodes. I wanted to hear your opinions on if the 5X can have EAS implemented like how the Pixel & Pixel XL does to possibly improve our battery life. I know you guys must know a fair amount about EAS as Flar has made an EAS version of his kernel before and Franco has made a post about it on Google+.

Apologies if I'm off topic and for calling on both of you, I didn't want to clog both of your threads with my posts.
[Nexus 5X Original Android Development] flar2:
It didn't make much difference. Interactive is vastly more customizable too.

I think for eas to work well, it needs a lot of userspace hints.
[Nexus 5X Original Android Development] PoisonNinja:
I had a random reboot today. It happened when I was unlocking the device with my fingerprint. I felt the vibration, but the screen didn't turn on. It remained black for ~10 seconds, then showed the Lineage logo. I had to decrypt the data again, and I'm pretty sure it did a full reboot (as opposed to a soft reboot).

I got two logs from /sys/fs/pstore: dmesg-ramoops-0 and console-ramoops.

Let me know if you need additional information.
[Nexus 5X Original Android Development] flar2:
If you are overclocking, stop. Otherwise, this is a one-off error.
[Nexus 5X Original Android Development] PoisonNinja:
Everything is at stock speeds. The only thing I changed was the governor profile.

If it's a one-off error, that's fine I guess. Thanks!
[Nexus 5X Original Android Development] ollidiemaus:
Okay so I'm at stock android 7.1.2 right now.

But somehow I still cannot find the settings for thermal temperature in the ex kernel Manager.

I must be blind or something because usually I was able to find it lol.

This is what my app looks like. And I thought the setting was down there somewhere...
[Nexus 5X Original Android Development] PoisonNinja:
I spoke too soon. Today it rebooted twice. I'm going to return to stock to see if it's related to the kernel. If it's still there, I guess my 5X is dying :(
[Nexus 5X Original Android Development] flar2:
Doubtful that it's related to kernel, there would be many reports here if it were. Plus I keep things very stable. No experimental stuff here.
[Nexus 5X Original Android Development] ulxerker:
I use EX since many years with different devices and I never had a single reboot/crash. So there really has to be another issue.
[Nexus 5X Original Android Development] crazyates:
I had two reboots yesterday, and I'm not sure if it was the ROM or the kernel. What ROM were you using?
[Nexus 5X Original Android Development] PoisonNinja:
The latest build of LineageOS
[Nexus 5X Original Android Development] ulxerker:
you can safely disable them and normally they stay disabled when set apply on boot. what rom do you use, maybe its interferring?
[Nexus 5X Original Android Development] joetheshmo:
Are you giving exkm enough time after a reboot to reapply the apply on boot settings?
[Nexus 5X Original Android Development] flar2:
The wakelock settings don't apply on boot, it's a bug.
[Nexus 5X Original Android Development] Mesmurized:
Hi my fav kernel expert :) I'm having a detailed discussion over in the govenor thread that maybe only you can clarify.

Do the big cores turn completely off when the screen turns of?

If no, under what circumstances would they be used? Not used? Limited? Normal? or ?

Thanks in advance,

Mes
[Nexus 5X Original Android Development] flar2:
I can't remember for certain on this device, and it may have changed over time.

You can find out for sure by connecting with adb shell. Turn off the screen and check which cores are online with "cat /sys/devices/system/cpu/cpu*/online"
[Nexus 5X Original Android Development] Mesmurized:
Thanks. On my 5X, PN, ELX, all 6 are set to 1 (online) with the screen off.

Maybe it changes when it enters doze?
[Nexus 5X Original Android Development] flar2:
Have a look at CPU Times. Do the big cluster stats reset after being in deep sleep? If so, the big cluster probably went offline.

These things tend to be controlled by perfd on recent phones.
[Nexus 5X Original Android Development] Mesmurized:
[/COLOR]

Haven't checked over a long period yet. (I'll create a bg job to record status every 5 or so mins -- don't know if it'll doze while usb connected.)

Are the stats you're referring to found here .....cpu[4,5]/cpuidle/state[0-3] ?

Note: in ...cpu4/power, both runtime_active_time and runtime_suspended_time are zero. Seems contrary to me. Maybe this stat isn't supported.
[Nexus 5X Original Android Development] flar2:
No, time-in-state. The path varies by device, so your best bet is to check with EX Kernel Manager or DevCheck. If the big cluster stats reset after having the screen off, then the big cluster was offline.

You will need to unplug the usb cable for it to deep sleep.
[Nexus 5X Original Android Development] Mesmurized:
Thanks. I got it.

I'll let you know the results ... likely tomorrow :)

Thanks [MENTION=4684315]flar2[/MENTION]
[Nexus 5X Original Android Development] SlimSnoopOS:
Oh man, Google announced Android O developer preview is available right now. Lol I can only imagine how many requests you'll receive across your 5X/6P threads regarding upcoming support [MENTION=4684315]flar2[/MENTION].
[Nexus 5X Original Android Development] crazyates:
I'm using Pure Nexus, which is an AOSP rom. Nothing to do with each other.
[Nexus 5X Original Android Development] Smultie:
Well.... you're the first in this thread at least, gratz!
[Nexus 5X Original Android Development] AvisAile:
Does it work on android o ? Thanks
[Nexus 5X Original Android Development] Joyarup:
It does boot up, but you lose the baseband and the sim detection as well.

So, Nope. Won't work.
[Nexus 5X Original Android Development] Skulltec:
does this kernel work properly with Android 7.1.2 beta?

Not sure if the beta sources are out yet. Battery life is not so great on stock kernel. Otherwise I change back to stable build, or should move to Android O and hope for better battery life but it's doubtful
[Nexus 5X Original Android Development] ulxerker:
Yes, it does.
[Nexus 5X Original Android Development] ninjablackwing:
I can't seem to find it either. I'm on 7.1.1 pure nexus though.
[Nexus 5X Original Android Development] ollidiemaus:
I just fixed it by resetting all settings in the ex app.

After that the option just appeared :)
[Nexus 5X Original Android Development] jrk190:
On latest purenexus, I can't seem to get both of the big cores to turn off and stay off. Any suggestions?
[Nexus 5X Original Android Development] ninjablackwing:
I just tried that and it worked. Thank you for the help.
[Nexus 5X Original Android Development] flar2:
Probably a good idea to wipe EXKM and start fresh if you find anything not working. I finally got around to making some much needed improvements under-the-hood, and this caused problems with a few saved settings, which is fixed by resetting the app data. But everything is a lot faster now.
[Nexus 5X Original Android Development] ed2975:
[MENTION=4684315]flar2[/MENTION]

+1 same problem, was able to get them reliably to stay off and max freq limit to stick three weeks ago with elementalx 4.05 and exkm 3.07. Update from google play store to 3.08 broke this and my settings wont stick even minute to minute let alone to reboot. I appreciate you're rebasing the code to clean it up but would you please consider mirroring an apk for the 3.07 version of exkm for now for those who want to revert for now and let others test new version?? Or does anyone on this thread have an apk they made a backup of for 3.07 or earlier? that was my last known configuration that worked perfectly, and ive tried clean flash of n4f26o and n4f26t with clean install of elementalx 4.05 and 4.06 and reinstalling the new 3.08/9 app over and over and I can't get those settings to stick like they did in 3.07

using elementalx 4.05 on stock feb n4f26o for bullhead
[Nexus 5X Original Android Development] jrk190:
Glad I'm not the only one who experienced this.
[Nexus 5X Original Android Development] flar2:
I don't keep my old APKs.

I'm surprised that you ever got CPU settings to stick on this device.
[Nexus 5X Original Android Development] crazyates:
I've also noticed it as well. One thing I found helped is disabling "core_control" in the CPU option. WIth this enabled, the kernel kept reactivating the disabled cores.

That said, I haven't been able to get that to work at all recently. If I disable the big cores, it keeps at least one of them online at all times, usually core 4.

I supposed this has probably been answered elsewhere, but does this phone/kernel not support any sort of hotplug? It seems to keep the cores on 100% of the time, while my Nexux 7 (2013) with it's own ElementalX kernel turns cores on/off almost constantly.
[Nexus 5X Original Android Development] flar2:
Hotplugging is not necessary, and introduces too much latency for big.LITTLE setups to work properly.

That said, I wonder if the cpu behaviour changed in one of the recent system updates. Because the app should work the same as always with regards to frequencies.

In general, the system has pretty tight control of the cpu frequencies on any modern device.
[Nexus 5X Original Android Development] Mesmurized:
[MENTION=1974038]fair2[/MENTION] Update. I have been unable to prove/disprove any on-line/off-line change in the big-cores in any phone state. When it does run, they always appear on-line. However, I can not keep my periodic 'cat ...' script running (@30 min intervals) during deep-deep doze. (5X, PN 7.1.1, EXK). Screen off OK, 1+ hr later OK, then once every 2-4 hrs until awakened.
[Nexus 5X Original Android Development] joetheshmo:
If your phone is going into deep sleep and you have acceptable idle drain... Does it matter?
[Nexus 5X Original Android Development] Mesmurized:
Yes. To me it does ;)

I'm trying to prove my theory that during deep sleep the big-cores are doing little to absolutely nothing, wasting our precious battery, and should be off-line.

But first I need facts. Then I can begin testing different scenarios.

Imagine the possibilities?!!? Battery consumption less then 1% overnight? Or taking it a step further ... improving idle but screen on time with better cpu scheduling. Or ??
[Nexus 5X Original Android Development] joetheshmo:
I already get less than 1% drain on my 5X overnight... It's called doze xD
[Nexus 5X Original Android Development] Mesmurized:
That's great, Mine is ok @ ~3% (7-8 hrs). However, that's not my goal. There's always room for improvement. I'm a retired engineer, have the time and desire, so why not give it a go?!? :good:

BTW: Will you share details how you achieved 1%? PM is ok if you want to reduce the OT clutter.