yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] raptor22:
With Touchboost disabled & set on boot so, may I clarify how is the big.little CPU supposed to work?

My device is behaving as such:

Usually the 4 "small" cores are on standby, however during so in EXKM the max frequency and minimum freq of cluster 2, that is the 2 "big" cores show a value of NA MHz, and clicking on the governor settings show nothing. I don't touch them i this case

However sometimes, apps like CPU Spy Reloaded show that all 6 cores are on, in which I am able to modify all of the kernel cpu parameters. My question is, does the phone drain battery in this state as it should be the 2 "big" cores online and the other 4 offline? And are the other behaviours stated above acting weird/normal?
[Nexus 5X Original Android Development] flar2:
Normally all cores are online. Sometimes the big cores go offline due to heat or low battery. But otherwise that is not normal behaviour.
[Nexus 5X Original Android Development] raptor22:
Ok I've allowed the device to settle down a bit and its now almost always with 6 cores online.

Using an app monitoring the cpu freqs hovering above the UI, what happens for example when I launch an app is that the 2 "big" cores spike to a higher freq for a split second before returning back to 384MHz. After which the 4 small cores seem to take over the task and go to 960MHz for a while after I've selected some music to play, then does all 6 cores return to 384MHz. I'm unable to change the max freq for the "big" cores above 633MHZ as well. I'd assume this is the kernel's intended work schedule/management of the CPU?

Worth noting that my phone was plugged in all the time when I posted, was the heat (though very mild at 45C) a possible reason for the 2 big cores to shut down? As right now the device has cooled after finishing charging and its consistently having all 6 cores online. This behaviour is also preserved after reboots, though it takes a while longer for the 2 "big" cores to actually come online after that compared to the 4 "little" cores.
[Nexus 5X Original Android Development] flar2:
If you install normally and don't mess with anything, this kernel behaves identically to stock. That means:

-6 cores online most of the time

-min freq of 384 on little, 633 on big

-touching the screen boosts min freq to 1248 for one second on little, 864 for split second on big

-big cores (and more rarely, little) go offline occasionally due to heat and/or low battery

Most of the work is done on the little cores, the big cores are not used very much. The big cores use more power than the little cores and are only for quick bursts of high load tasks. You can turn off touchboost with my app, but everything else still behaves the same.
[Nexus 5X Original Android Development] occtec:
Do you recommended turning off touchboost or only for the above scenario?
[Nexus 5X Original Android Development] gleggie:
I turned touch boost off and have not experienced any dip in performance. Some people have said that they noticed slightly better battery life with touch boost disabled.
[Nexus 5X Original Android Development] occtec:
I guess you could also lower the frequency and still keep it enabled. I'm quite satisfied with my battery so far, can't really complain. With 21hrs since last recharge over 2hrs SOT and 48% battery left, I'm happy with that :)
[Nexus 5X Original Android Development] flar2:
Update!!!

This is only for Android 6.0.1!

You can just flash this. You only need to flash SuperSU if you are coming from stock unrooted kernel and want to be rooted.

This update adds Wake Gestures (Sweep2wake and Doubletap2wake).

My recommended setting: Enable sweep2wake up with a timeout of 30 minutes. Leave the other gestures disabled.

I do not recommend doubletap2wake for a few reasons: a) it's less reliable than sweep up to wake, b) it causes more accidental wakes, and c) it causes more interference on phone calls. Sweep up to wake is 100% reliable, does not interfere with phone calls and will not accidentally wake up in your pocket.

Yes, on this device the wake gestures cause drain. I'm seeing about 1.3% per hour idle drain with them enabled. That's actually not too bad, it was a lot worse on the original Nexus 5. The touch panel gets its power from the LCD panel regulators, so they have to be enabled for touch response during screen off/suspend.

There are a couple ways to manage this.

First, there is an optional timeout. You can set the gestures to automatically disable after X number of minutes. The screen will flash on and off quickly after which gestures will be disabled and idle drain will return to normal.

Second, there is an option to temporarily disable gestures by turning the screen off with the power button. Then the gestures will only be enabled if the screen times out, or you put it to sleep with sweep2sleep.

Finally, this is compatible with the Wake Gestures app. You don't need this app to use the gestures, but it has a ton of options and features to extend wake gestures, including pocket detection.

Download

ElementalX-N5X-1.01

Changes:

-add Wake Gestures
[Nexus 5X Original Android Development] largeselection:
Awesome thanks! What has everyone found to be the best settings/tweaks to use to get the most battery life?
[Nexus 5X Original Android Development] szucsgf:
In CPU settings, disable Touchboost. Default settings otherwise. Awesome battery life.
[Nexus 5X Original Android Development] gleggie:
[MENTION=4684315]flar2[/MENTION] if I don't enable the wake gestures, us 1.01 identical to 1.00? Thanks!
[Nexus 5X Original Android Development] gdskp:
Does DT2W consume more battery than S2W? (Assume no accidental wakes)
[Nexus 5X Original Android Development] nathanchance:
They consume the same amount because they work the same way.
[Nexus 5X Original Android Development] danthepan124:
just wondering, if DT2W and S2W cause batteries drainage, does SWEEP LEFT TO SLEEP do too?
[Nexus 5X Original Android Development] dfryer1193:
No more than any other time your screen is on. DT2W and S2W both turn the screen "on" in order to function, because the digitizer is on the same circuit as the screen itself. For sweep to sleep, the screen and digitizer are already on.
[Nexus 5X Original Android Development] dg4prez:
Would it be possible to have an option that only enables d2tw when the device is plugged in?
[Nexus 5X Original Android Development] flar2:
Many people do tweaks like this with Tasker.
[Nexus 5X Original Android Development] elmagio:
Is it normal if I don't see an option named "Touchboost" to disable in the CPU settings? Does it have another name?

Also, how good is elementalX as a governor?
[Nexus 5X Original Android Development] dg4prez:
That's certainly easy enough to do, I already have a plugged in profile. Is there a shell command to enable and disable it?
[Nexus 5X Original Android Development] sniperIT:
OK cool much appreciated.
[Nexus 5X Original Android Development] [DAO]:
Am I only one who is experiencing the problem (restarts at any time) with 4.01 on CM 14.1?
[Nexus 5X Original Android Development] khanjui:
Never had any restarts even with overclocking on 7.1.1 stock. Probably something is wrong with CM. Post a log.
[Nexus 5X Original Android Development] ulxerker:
see sig for setup, plus I disabled zram, ksm und input_boost. also, I use Naptime for instant doze after screen off.
[Nexus 5X Original Android Development] [DAO]:
how to do it?
[Nexus 5X Original Android Development] Midomad:
There is no point to disabling zRAM on this device!

2GB is insuffisant for an 64 arm device.
[Nexus 5X Original Android Development] [DAO]:
I found that it hangs & restarts when I'm looking photos in gallery, any thoughts?
[Nexus 5X Original Android Development] khanjui:
That's because of sdcardfs. flar2 probably will fix it in next update. Don't use CM 14.1 if you don't want to face with issues like that. Or use it with its default kernel.

And you can use these commands for export logs:

adb logcat -d > logcat.txt

adb shell dmesg > dmesg.txt

From your favorite terminal emulator.
[Nexus 5X Original Android Development] [DAO]:
ok thanks but if you are saying that flar2 is already working on this issue then it's unnecessary to get any logs. however how i can increase the volume of speaker using stock kernel?
[Nexus 5X Original Android Development] flar2:
You can't. I'll be updating tonight or tomorrow night.
[Nexus 5X Original Android Development] ulxerker:
not true, I always have approx. 500 MB of free memory without zram. also, zram uses cpu cycles and thus battery.
[Nexus 5X Original Android Development] leolawliet:
I'm gonna try disabling zram for a day and see how that effects my battery life.
[Nexus 5X Original Android Development] ulxerker:
also disable KSM due to the same reasons.
[Nexus 5X Original Android Development] Midomad:
[MENTION=4684315]flar2[/MENTION]?
[Nexus 5X Original Android Development] nathanchance:
Franco said he asked one of Google's engineers why they enabled it on even the Pixel which has 4GB of RAM and they said it caused no regressions and only helped. So I wouldn't personally disable it but whatever makes you feel good.

Source: http://xdaforums.com/oneplus-3/deve...kernel-r1-28th-november-t3508904/post69848197
[Nexus 5X Original Android Development] Midomad:
Thanks for the info..

As i said 2gb is not enough for arm 64 devices
[Nexus 5X Original Android Development] flar2:
I would keep ZRAM enabled on this device, otherwise you will get apps reloading, background services killed, and tabs reloading on your browser. This might actually have a noticeable battery (and bandwidth) cost, depending how you use your phone.

Enabling ZRAM means that a portion of memory equal to the size of the ZRAM is no longer available as regular memory. And any read or write to zram has to be compressed and decompressed, which is slower than regular memory and uses more CPU. However, both these costs are probably negligible on fast modern devices. Probably barely even measurable. That's why the Google engineer says it doesn't hurt anything to leave it enabled. ZRAM won't even get used if there is no memory pressure, that's what the swappiness setting is for (set it lower and ZRAM is less likely to get used compared to regular memory).

So basically, I don't think ZRAM (or KSM) will use a noticeable amount of battery. And I don't think you will be able notice the slightly slower memory access.

I've been using ZRAM since way back on the Moto Xoom and HTC One XL. The speed and battery cost was noticeable back then, when RAM and CPU were slower and therefore took longer to do things, with higher voltages as well. But even then, the trade-off was usually worth it, so your apps wouldn't be killed and your browser tabs wouldn't have to constantly reload. Those things are much slower than compressing and decompressing RAM on the fly.
[Nexus 5X Original Android Development] Batticus:
Which specific settings are those in ExKManager? I want to try it out.
[Nexus 5X Original Android Development] joetheshmo:
You'll find both under the memory tab in exkm
[Nexus 5X Original Android Development] :
When you will uptade the kernel with livedisplay support is it hard to do or not and it's coming soon?

Thanks for developing the best nexus 5x kernel ?

Ps : which governor settings do you recommend for battery because there is not (really) active thread about this (I'm currently using ghostpepper).
[Nexus 5X Original Android Development] sniperIT:
I seem to be getting a lot of heat with this kernel and CM 14.1 when making a phone call or playing some light gaming within a couple of minutes.

I had tried using it with CM 13.1 and did not have the same issue. The heat is disabling the Big Cores as well.

Anyone else having the same issue?
[Nexus 5X Original Android Development] flar2:
Maybe tonight.
[Nexus 5X Original Android Development] aamadorj:
I think this thread titled "Advanced Interactive Governor Tweaks" is quite active: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

Right now my N5X is using DrunkSauceLite profile and I'm very happy with performance / battery life balance.

Sorry for the OT, [MENTION=4684315]flar2[/MENTION].
[Nexus 5X Original Android Development] KillerVamp09:
Can you merge the patch that Franco merged from pixel to decrease idle power consumption?
[Nexus 5X Original Android Development] betahaedar:
can I use 4.01 on my 7.1.1 nexus? (the stable version, not the developer preview)

or should I use 3.10?

thanks
[Nexus 5X Original Android Development] aamadorj:
This previous posts will answer your question:

http://xdaforums.com/showpost.php?p=69964280&postcount=3521

http://xdaforums.com/showpost.php?p=69950082&postcount=3513

http://xdaforums.com/showpost.php?p=69987257&postcount=3535

Don't forget to search the thread.
[Nexus 5X Original Android Development] flar2:
Update!!!

Test update, since my 5X is broken I'm not pushing to the app or elementalx.org until everything is confirmed working

Nougat Android 7.1.1

ElementalX-N5X-4.02

Changes:

-cyanogenmod compatibility

-LiveDisplay support

-fingerprint sensor improvement
[Nexus 5X Original Android Development] KillerVamp09:
Fair
[Nexus 5X Original Android Development] SlimSnoopOS:
While I can't comment on the CM compatibility, your Ex 4.02 boots and runs well on stock, rooted NMF26F. Flashed through Jollaman's TWRP 3.0.2-3. I am still decrypted and only flashed your new kernel update.

Hope you get the feedback you're looking for!
[Nexus 5X Original Android Development] :
Yes it's the best thread about this but they dont speak about all governor settings ?

---------- Post added at 06:38 AM ---------- Previous post was at 06:37 AM ----------

Testing right now BIG Thanks. ?

---------- Post added at 06:45 AM ---------- Previous post was at 06:38 AM ----------

Because your worked on this all the night I downloaded it in 4G and I tested it all work perfectly now THANKS A Lot ! ???
[Nexus 5X Original Android Development] Midomad:
Booted fine!

Working good.
[Nexus 5X Original Android Development] [DAO]:
Testing right now, no hangs & reboots during oppening gallery for a last half hour... It seems that everything ok! :)
[Nexus 5X Original Android Development] flar2:
Can you try livedisplay too?
[Nexus 5X Original Android Development] [DAO]:
My phone just switched to "night" mode (I'm living in KZ our current time 19:48). I opened settings and changed any of options (day, night, color temperature, etc) and no hangs, FC, etc. Everything works fine on CM 14.1 (latest night build).

Is it what you asked for?
[Nexus 5X Original Android Development] flar2:
Yes, thanks
[Nexus 5X Original Android Development] till22:
Hi guys,

I'm usually on a custom ROM - but now I am on the stock Google image (7.0) with EX kernel & root access. I just got a notification for the 7.1.1 OTA - would accepting it and letting it install be the same as the manual flashing as instructed by flar2 on his page (here) or is this different because it's also an Android version upgrade?

Thanks in advance!

Till
[Nexus 5X Original Android Development] flar2:
Are you talking about this patch from Google?

https://github.com/Flash-Kernel/bullhead/commit/db5463a9eac1aa2a2cb8f679976e883a37ceeeed

If so, I am testing on my 6P to see if it makes a difference. I only add patches like these if there is a measurable difference.
[Nexus 5X Original Android Development] SlimSnoopOS:
The OTA would fail because it is looking for stock boot.img, stock recovery, and an unmodified system. Follow the steps in your link to update properly.
[Nexus 5X Original Android Development] nathanchance:
I'll say this was my stats yesterday with that patch, the overall drain probably would have been 0% if I didn't listen to music. at all during the day Might not be entirely because of that patch but I do feel it has helped quite a bit. Let me know how your tests go.
[Nexus 5X Original Android Development] delgado83:
Testing 4.02 with cm14.1 (12/12 build). Gallery no longer restarts phone. However, if camera button is pressed within gallery app, gallery forces closes. Not sure if I am the only one.
[Nexus 5X Original Android Development] flar2:
Try wiping caches
[Nexus 5X Original Android Development] delgado83:
Thanks for the quick reply. Just wiped both gallery and camera cache. Still crashes.
[Nexus 5X Original Android Development] flar2:
Wipe the Dalvik cache. Not sure what else I could do, I think I already covered all the kernel changes in cm.
[Nexus 5X Original Android Development] delgado83:
Will do. Thanks again for the help.
[Nexus 5X Original Android Development] khanjui:
Is it FC with stock CM kernel? That might be app bug.
[Nexus 5X Original Android Development] Hakosuka11:
Using 4.02 on PureNexus 7.7.1, working smooth and nice battery. I been setting up the phone, playing YouTube videos, using NX camera and everything runs perfect. Thanks for your effort and attention.
[Nexus 5X Original Android Development] aaanonymous:
Using 4.02 on CM 14.1 20161215 nightly on two 5X phones. Both running fine so far....
[Nexus 5X Original Android Development] ulxerker:
anyway, I tested it a few times for myself and I definitely have better stats (longer battery life without performance issues) with zram off. most likely it depends on the entire setup and usage, of course.
[Nexus 5X Original Android Development] Hempsader:
Hello, im new to this and i want to install elementalx to my nexus 5x 7.1.1, where i can found a tutorial for instalation?
[Nexus 5X Original Android Development] thorrules:
You will need a custom "recovery" like TWRP to "flash" a kernel like elementalx. You might want to go through some basic how to guides here - http://xdaforums.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930/page155
[Nexus 5X Original Android Development] fmir864:
OT : Can you point me to the monitor app please?
[Nexus 5X Original Android Development] khanjui:
EX Kernel Manager.
[Nexus 5X Original Android Development] kojak1989:
[MENTION=4684315]flar2[/MENTION]

In the op is not changed yet to 4.02 :D I know that you have a lot of work just mention this.
[Nexus 5X Original Android Development] khanjui:
I think that "preview" word can be deleted since stable 7.1.1 is available. [MENTION=4684315]flar2[/MENTION]
[Nexus 5X Original Android Development] flar2:
So far it is improved, from 0.23 before the patch to 0.13 after. I will keep checking, it could be an anomaly, or it could be one of those rare patches that actually make a difference.
[Nexus 5X Original Android Development] flar2:
Update!!!

Nougat Android 7.1.1

ElementalX-N5X-4.03

Changes:

-cpuidle patch
[Nexus 5X Original Android Development] miksontije:
[MENTION=4684315]flar2[/MENTION]

Tnx!

in download page of 4.03 it says ElementalX-N5X-4.02.zip it looks you put wrong link.

there is also 4.03 in other link

https://www.androidfilehost.com/?fid=385035244224406173
[Nexus 5X Original Android Development] L-ViZ:
hey guys, got a little question.

i am using the n5x, but i also got the nexus7 2013.

in the ex kernel manager i got a download button for my n7, but none on my 5x.

so is the autoupdate not available for the 5x?

thx in advance :)
[Nexus 5X Original Android Development] flar2:
It's available, not sure why it isn't showing. Did you do a mod that chagnes the name of your phone (to Pixel for instance)?
[Nexus 5X Original Android Development] Mesmurized:
Yea, the link points to 4.0.2. Easy fix:

Just search for ElementalX-N5X and version 4.03 shows.
[Nexus 5X Original Android Development] fanta110:
Updated to 4.03 on pure Nexus, now system UI crash when pressing home button.

Edit: removed and readded home button in navtuner, now working.

A bit strange.
[Nexus 5X Original Android Development] L-ViZ:
flashed latest pure nexus yesterday + ElementalX-N5X-4.01 yesterday.

only those 2 + super su.

made some build.prop changes, but not related to any names.

edit:

-but there were no cpu profiles

-and lowest cpu clock was set to 1,2ghz on the little cluster.

so is the new update related to the 1,2ghz that fixes that or was it a bad dl may be?
[Nexus 5X Original Android Development] SlimSnoopOS:
I'm not seeing this on stock, rooted NMF26F. Clock speeds are normal once thermal throttling goes away from recovery file flashes. CPU governors still displayed in EXKM.
[Nexus 5X Original Android Development] L-ViZ:
well just to make sure i didnt make somethin wrong.

my flash order is:

rom

gapps

super su

kernel.

is that okay?

View attachment 3971971

edit: stock settings after reflashing kernel(now latest):

ex manager has been deleted and i made a reboot and had these settings again after installing ex manager again.
[Nexus 5X Original Android Development] SlimSnoopOS:
The order looks right. Are you waiting for SuperSU to grant root access to EXKM after rebooting?
[Nexus 5X Original Android Development] L-ViZ:
yep.

downloaded all files again and gonna make a complete fullwipe again.

edit:

FIXED,

but dunno why it didnt work before. made everything the same way. may be bad dl or flash.

at least everything works now, so sry for making "trouble", everthing is fine :)
[Nexus 5X Original Android Development] Aman301582:
Available on my 5x.
[Nexus 5X Original Android Development] ensboarder:
Flashed 4.03 and still reads Pure Kernel
[Nexus 5X Original Android Development] dragojoe:
4.03 is amazing!!!! Thank you so much!!! Running pixel ROM 6.0 and drunksauce EK profile.
[Nexus 5X Original Android Development] govno64:
Just tried to flash this Kernel with a fresh (clean) install of PureNexus (7.1.1_r6), followed all directions exactly, got boot loops. Re-wiped, followed all directions except I didn't flash this Kernel, and no boot loops (phone booted fine). Any ideas?
[Nexus 5X Original Android Development] khanjui:
You are flashing the wrong version.
[Nexus 5X Original Android Development] :
Thanks for 4.0.3 !!!!
[Nexus 5X Original Android Development] ndarkside93:
Flash 4.03. It will work on pure Nexus
[Nexus 5X Original Android Development] govno64:
I flashed 4.0.3. The file name (on my pc) is ElementalX-N5X-4.03.zip which I downloaded from https://www.androidfilehost.com/?fid=385035244224406173

I wiped, installed rom, then gapps, then the kernel 2x, both times got boot loops. Should I try flashing it again (after creating a backup) now that my system is booted fully and functional on PureNexus 7.1.1 without ElementalX?
[Nexus 5X Original Android Development] ndarkside93:
Make the backup in TWRP Just in case. I had no problem with my install on the latest pure Nexus release. If it falls again, wipe system and try one last time. Don't really know what else to tell you. Sorry I can't be of much more help
[Nexus 5X Original Android Development] khanjui:
Maybe the zip file that you download is corrupted, try downloading it again. Other than that I don't know, it should work.
[Nexus 5X Original Android Development] axiel7:
Install rom, gapps, kernel... After that, flash the boot.img from your rom and your phone will boot with all installed
[Nexus 5X Original Android Development] ndarkside93:
If you flash the boot IMG you are overwriting elementalX
[Nexus 5X Original Android Development] axiel7:
I know it, but I did this when I had problems with SuperSU.zip (that modify the boot.img also) and works, I don't know why
[Nexus 5X Original Android Development] ndarkside93:
Yes, I get what you're saying, but then you don't have root or custom kernel so we're not solving the real problem :/
[Nexus 5X Original Android Development] Psychofrantics:
If anyone feels like fingerprint is slow to recognize recorded fingers, it is most probably related to winter. So don't fret yet.

PS: I was feeling like that. But hey it is cold

http://www.bioenabletech.com/dry-finger-issues-in-winter.html
[Nexus 5X Original Android Development] ed2975:
Elementalx governor

Hey [MENTION=4684315]flar2[/MENTION] do you still maintain the elementalx governor? Do you still recommend it? It's an option that I'm curious about.

Running elementalx 4.03 on stock 7.1.1

Thanks!
[Nexus 5X Original Android Development] khanjui:
http://xdaforums.com/nexus-5x/orig-development/kernel-elementalx-n5x-t3240537/post66449363
[Nexus 5X Original Android Development] Aman301582:
How do I get black notification screen with dt2w?
[Nexus 5X Original Android Development] Midomad:
What do you mean?