yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] nickvp:
So just to be clear, if I don't check the circles, default Elemental X settings will take effect (so no reason to check the circles on all the settings I don't change, right?). I should check the circles on the Advanced Interactive Governor Tweaks that I changed. However, if for some reason, I want to go back to stock ElementalX then I can just uncheck the circles, and it will act like it did when I freshly flashed it... Does that all sound right?
[Nexus 5X Original Android Development] joetheshmo:
Yeah no reason to check the circles of the settings you don't change. Any setting you want to keep after a reboot you should check. If you want to revert to stock settings you can uncheck all settings and reboot or just go to settings in exkm and hit wipe app data
[Nexus 5X Original Android Development] flar2:
It's thermal throttling, and it's driving me crazy on this phone.
[Nexus 5X Original Android Development] olivercervera:
I've got the same issue, the big cluster is offline, but earlier today it wasn't. CPU reported temperature of 40°.
[Nexus 5X Original Android Development] flar2:
I just looked at the therml config for the first time.

Cpu4 and cpu5 shut off at 41C and don't come back online until the temp drops below 39C.

That's ridiculously low. Does anyone know if that changed in the 6.0.1 update?
[Nexus 5X Original Android Development] flar2:
If you use my other app, DevCheck, you can see all the throttling/offlining behaviour. DevCheck shows both CPU and SOC temperatures, and the offlining seems to be based on the SOC temp.
[Nexus 5X Original Android Development] Scarchunk:
Nice app. Anandtech's review of the 6P has a section detailing the throttling performance of a few of the recent 810/808 based SOC's and it lines up with this super low throttle threshold. It also lines up with my experience that the 5X runs really cool to the touch. While you'd think the engineers would have good reasons for setting thermal thresholds it would seem these are way too conservative. You mentioned earlier that you hadn't touched the thermal daemon...can you?
[Nexus 5X Original Android Development] szucsgf:
I think he plans to:

http://xdaforums.com/showthread.php?p=64365503

Looking forward to it greatly. Loved elexcool on the Nexus 5.
[Nexus 5X Original Android Development] Scarchunk:
Very cool. /etc/thermal-engine-8992.conf certainly looks interesting. Tempted to play with a few of the values. Looking forward to what flar2 has in store.
[Nexus 5X Original Android Development] flar2:
You can change some of those values, mainly the thresholds under CPU4_HOTPLUG_MONITOR and CPU5_HOTPLUG_MONITOR

Then restart the thermal daemon in a terminal or adb shell to see the effects

su
stop thermal-engine
start thermal-engine
[Nexus 5X Original Android Development] szucsgf:
Seems the shut off is still about 41C on 6.0.1.
[Nexus 5X Original Android Development] flar2:
I was actually wondering if the threshold was higher on 6.0, because suddenly this week I'm getting messages and bad reviews because of the big cluster going offline.
[Nexus 5X Original Android Development] flar2:
Could also be the battery current limit (BCL). To disable:

echo disable > /sys/devices/soc.0/qcom,bcl.67/mode
[Nexus 5X Original Android Development] Scarchunk:
I've raised cpu4/5 shutoff value to 44 and I'm wanting to test. What do you guys recommend for pegging the cpu?
[Nexus 5X Original Android Development] flar2:
The hotplugging seems to be based on this temp sensor, which is not reported in DevCheck (will have to update!)

cat /sys/devices/virtual/hwmon/hwmon20/temp1_input
[Nexus 5X Original Android Development] Scarchunk:
It would be interesting to pull the thermal-engine.conf (or equivalent) from a x pure or g4 just to see the diffs between another 808 device. From the anandtech results it seems the g4 has a much different thermal profile.
[Nexus 5X Original Android Development] olivercervera:
Flar2, I am already using 6.0.1 (stock ROM, TWRP, your kernel, systemless root).

Although the phone was reporting 40° it wasn't even warm: this threshold is too low!
[Nexus 5X Original Android Development] westernmg:
Here is some information extracted of the "/etc/thermanager.xml" from a LG G4 ROM:

<!-- CPU A53 -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="cpu-a53" level="off" />
</threshold>
<threshold trigger="52600" clear="52000">
<mitigation name="cpu-a53" level="1" />
</threshold>
<threshold trigger="53600" clear="53200">
<mitigation name="cpu-a53" level="3" />
</threshold>
<threshold trigger="55500" clear="54000">
<mitigation name="cpu-a53" level="4" />
</threshold>
<threshold trigger="55500" clear="55000">
<mitigation name="cpu-a53" level="5" />
</threshold>
<threshold trigger="55900" clear="55500">
<mitigation name="cpu-a53" level="6" />
</threshold>
<threshold trigger="56300" clear="55900">
<mitigation name="cpu-a53" level="7" />
</threshold>
<threshold trigger="56800" clear="56300">
<mitigation name="cpu-a53" level="8" />
</threshold>
</configuration>

<!-- CPU A57 CLUSTER -->
<configuration sensor="temp-cluster-a53">
<threshold>
<mitigation name="cpu-a53" level="off" />
</threshold>
<threshold trigger="78" clear="70">
<mitigation name="cpu-a53" level="2" />
</threshold>
<threshold trigger="84" clear="80">
<mitigation name="cpu-a53" level="4" />
</threshold>
<threshold trigger="120" clear="100">
<mitigation name="cpu-a53" level="9" />
</threshold>
</configuration>

<!-- CPU A57 -->
<configuration sensor="pm8994_tz">
<threshold>
<mitigation name="cpu-a57" level="off" />
</threshold>
<threshold trigger="52900" clear="51700">
<mitigation name="cpu-a57" level="1" />
</threshold>
<threshold trigger="54200" clear="52900">
<mitigation name="cpu-a57" level="3" />
</threshold>
<threshold trigger="55400" clear="54200">
<mitigation name="cpu-a57" level="6" />
</threshold>
<threshold trigger="56000" clear="55400">
<mitigation name="cpu-a57" level="9" />
</threshold>
<threshold trigger="56600" clear="56000">
<mitigation name="cpu-a57" level="10" />
</threshold>
<threshold trigger="57600" clear="57200">
<mitigation name="cpu-a57" level="11" />
</threshold>
<threshold trigger="58500" clear="58000">
<mitigation name="cpu-a57" level="12" />
</threshold>
</configuration>

<!-- CPU A57 CLUSTER -->
<configuration sensor="temp-cluster-a57">
<threshold>
<mitigation name="cpu-a57" level="off" />
</threshold>
<threshold trigger="78" clear="70">
<mitigation name="cpu-a57" level="8" />
</threshold>
<threshold trigger="84" clear="80">
<mitigation name="cpu-a57" level="10" />
</threshold>
<threshold trigger="120" clear="100">
<mitigation name="cpu-a57" level="13" />
</threshold>
</configuration>

It seems like the thresholds are definitely higher, so i think we can raise ours also.
[Nexus 5X Original Android Development] flar2:
Those look like core (die) temps, which get much higher. The 5X hotplug monitor uses xo_therm, which seems to be the temperature inside the phone casing, or something like that.

To use the LG temp thresholds, you might try changing the monitor sensor to the cpu sensor instead of xo_therm (I don't have the 5X with me right now, so don't know the specifics, it would be whatever monitor is used in the frequency throttling monitors that are also in the config file)

But I would start by simply raising the hotplug thresholds by about 5C.
[Nexus 5X Original Android Development] Scarchunk:
I've been running with thresholds at 44/42 since last night with no noticeable issue. Although I haven't had a chance to stress the phone in order to do any real testing.
[Nexus 5X Original Android Development] szucsgf:
I raised hotplug thresholds for CPU 4 and 5 to 51C/49C (raising the temps by 10C each). All is well. Tested by rebooting phone a few times in a row. Big cluster started getting throttled when temp got over 50C, after the second successive reboot. It didn't unplug though, just limited to 633MHz max frequency. It went back up to 1824 after cooling a bit. Don't know if that's useful info.
[Nexus 5X Original Android Development] tacofromhell:
I was playing around in BetterBatteryStats and noticed a kernel wakelock called fpc_ttw_wl. Does anyone else have this and does it wake your phone as often?

View attachment 3581394
[Nexus 5X Original Android Development] mpetruzz:
I'm running chroma now and am interested in flashing this kernel. Do I need to go through and make all the changes listed in order to get better battery/performance or can I just flash it and see improved results??
[Nexus 5X Original Android Development] bobby janow:
Been asked before but couldn't find it on search. Sometimes the fingerprint reader will not respond. Is this a kernel issue or a 6.01 issue? I can easily turn it on with a power button hit but just wondering.
[Nexus 5X Original Android Development] i_pk_pjers_i:
I think it may actually be the Kernel, someone else is having your issue: https://www.reddit.com/r/nexus5x/comments/3xfdjp/fingerprint_scanner_not_working_when_screen_is_off/
[Nexus 5X Original Android Development] flar2:
The reddit thing references this, and this references reddit.

That's how ridiculous rumours start.

This has absolutely nothing to do with the kernel.
[Nexus 5X Original Android Development] i_pk_pjers_i:
I just thought it was odd how both people seemed to be using ElementalX and their issues happened around the same time and it was the exact same issue. I did reference both because of this.

I'm glad to see that it has nothing to do with the kernel.
[Nexus 5X Original Android Development] SlimSnoopOS:
Just flash Ex and leave everything stock. Only things I've messed with are enabling Sweep 2 Sleep, brightness dimmer, disable touchboost, and lower cluster 2 to 1689 and I've been running this kernel fine for a few days now on stock.
[Nexus 5X Original Android Development] vemakohe:
Hi i just root my nexus 5x with super su 2.5.2 but i want install this kenel wchich can be flashed just with super su 2.6.1 what to do now?

i read from chainfire a imust reflash the stock boot image but i dont know how??

any suggestions please?
[Nexus 5X Original Android Development] flar2:
Just flash EX
[Nexus 5X Original Android Development] bobby janow:
I had a feeling it wasn't kernel related or it would have been well documented long before this. So what can it be, simply a Google thing with Doze or something? The thing is it doesn't happen all that often so it's not a big deal. I'm going to post this the on Q&A forum and not muddy up this thread. (Which I just already did)
[Nexus 5X Original Android Development] matlala:
Any ideas on adjusting thermal throttling? I am upset that cluster 2 is already off at 50 ° C for about 1-2 minutes.

It should go set in the configuration file in /system/etc/thermal-engine-8992.conf, but I'm not sure in the sections hotplug for cpu4 and cpu5 or elsewhere, and exactly what that value is. I'd hate to incorrect setting of damaged equipment.

I tryed disable core control in sectipon thermal and enable temperature throttle in Kernel Adiutor. Cluster 2, dropped antutu, let the test and I reached a better score than the stock settings and cluster 2 throughout tripped.

Next, we tried a few tens of minutes to shoot and cluster 2 was also online, of course, the camera is nelagoval as during warm-up and shut down the second cluster (Cluster 2 is for processing audio and video directly taught by what I read, therefore an improvement).

I do not think my temperature reached about 62 ° C max for the chip boundary. Hazardous could be up to a temperature around 90-95°C. Critical for semiconductors generally is some 100-115°C.
[Nexus 5X Original Android Development] peltus:
I also rooted with 2.5.2. Works like a charm.

If you have a working root solution just flash the kernel, and install ex kernel manager and busybox from play store.
[Nexus 5X Original Android Development] vemakohe:
Everything is working now :)
[Nexus 5X Original Android Development] vemakohe:
But my led is not blinking :(
[Nexus 5X Original Android Development] biglilsteve:
Is SuperSU 2.61+ REQUIRED for the latest version? I'd rather use 2.52 if I can.
[Nexus 5X Original Android Development] nathanchance:
SuperSU 2.6x is only required if you are on stock. If your ROM comes with 2.52, you can just flash EX on top of it.
[Nexus 5X Original Android Development] biglilsteve:
It is for my girl's 5X. She is currently on 6.0 cataclysm. Planning on putting her on the latest stable 6.0.1 cat. Seems like that counts as stock, eh? Sigh. Oh well.
[Nexus 5X Original Android Development] nathanchance:
Actually, December 14th patched the SEPolicy and made it possible for SuperSU 2.52 to work. Follow my process here and it should work no problem.
[Nexus 5X Original Android Development] Jamal Ahmed:
Cluster 2 unavailable

Option for Cluster 2 is unavailable for me. I've attached a screenshot of how it looks like for me. Is this normal?
[Nexus 5X Original Android Development] joetheshmo:
It's a known issue for when your cpu hits a temp over like 41C iirc. Let your phone cool down and it should be configurable.
[Nexus 5X Original Android Development] vemakohe:
Just ask guys what can be reason from this issue? (my battery drain in crazy way i stuck on 98% of battery 6 minutes and then jump the battery not on 97 but on 96 % and from 92 to 90)

Im confused

---------- Post added at 07:01 PM ---------- Previous post was at 07:00 PM ----------

Oh and im running stock rom
[Nexus 5X Original Android Development] gleggie:
[MENTION=4684315]flar2[/MENTION] would just like to say that whatever voodoo magic you did with the brightness settings, it has worked flawlessly for me
[Nexus 5X Original Android Development] flar2:
The second cluster goes offline very easily due to heat. When it's offline, the settings aren't available. This also causes problems with apply on boot. Only solution is to modify the thermal configuration.
[Nexus 5X Original Android Development] i_pk_pjers_i:
Can this Kernel modify/allow for modifying of the thermal configuration? Like, does this Kernel have an ElementalX thermal option like the N5 version of this Kernel? Sorry for asking this question if it's a dumb one but I don't have my N5X yet so I can't check yet.
[Nexus 5X Original Android Development] szucsgf:
Right now there are no custom thermal settings in the kernel. You can do this though:

http://xdaforums.com/showthread.php?p=64369167
[Nexus 5X Original Android Development] i_pk_pjers_i:
Hmm, wasn't that like one of the features of the N5 Kernel?

[MENTION=4684315]flar2[/MENTION] Do you think that is something that will eventually be added to this Kernel? I think that would be AWESOME.
[Nexus 5X Original Android Development] panxer:
I just want to say that I got insane battery life on the last build, but it spent the majority of time with the screen off ;)

Seriously though, I am not complaining and I appreciate all of the hard work that went into this app/kernel. I noticed on the app that the time on battery was outrageous and incorrect. I will charge the phone here soon and clear the cache to see if it helps.
[Nexus 5X Original Android Development] flar2:
Yes

I've been working on the battery monitor all weekend, it's had those bugs for a long time. Hopefully I got them, that's the feature of the app I use the most.
[Nexus 5X Original Android Development] i_pk_pjers_i:
Brb, donating quite a bit of money to you right now. <3
[Nexus 5X Original Android Development] flar2:
You are incredibly generous, thank you!
[Nexus 5X Original Android Development] flar2:
Looking for a favour from you guys:

I want to include some colour profiles in EX Kernel Manager and I'm hoping to update it in the next day or two.

If you want your color profile in the app, please attach it here ASAP. To make things easier (as I am really, really busy this week), please upload the profiles here and mention me in the post ( like this [MENTION=4684315]flar2[/MENTION])

Instructions:

1. set your RGB, Saturation, Contrast, Value and Hue settings

2. Click the blue button with the + sign in the bottom right corner

3. Click the save button

4. Give your profile a name and save it

5. Upload the file here (it will be saved in /sdcard/ElementalX/kcal_profiles/)
[Nexus 5X Original Android Development] dickenam:
Hi Aaron, thanks for your hard work on this kernel. It rules. I would love to contribute to this but, I just have a question about the KCAL implementation - is this Savoca's implementation or your own?

When I was on the OPO, using AK kernel (Savoca's implementation, IIRC), the multipliers for Sat, Cont, Value, and Hue were all 0-255. I noticed that's not the case in EXKM. Any ideas? TIA!
[Nexus 5X Original Android Development] gleggie:
Is this kernel compatible with CM based ROMs? Thanks!
[Nexus 5X Original Android Development] joho5:
I can't get sound settings to stick. They revert back to stock after reboot. All I'm doing is raising gain on headphone volume.
[Nexus 5X Original Android Development] DroidIt!:
:) Will do here in a bit (should be by midnight or so). My 5x shows up in the next hour. I'll load your kernel and EX and upload ;)
[Nexus 5X Original Android Development] dg4prez:
Here you go flar.

https://www.dropbox.com/s/e5qt2z772e2jboe/dg4prez colors?dl=0
[Nexus 5X Original Android Development] DroidIt!:
Thanks for supplying yours. ???? Ima have to wait till tomorrow. My wife has her new phone in her clutches now. ????
[Nexus 5X Original Android Development] perrocaliente:
What exactly is the battery current limit?
[Nexus 5X Original Android Development] gdskp:
I am using the settings from the following thread, but both value of 130 for Value and Contrast cannot be saved which are always 131 and 128 when I go back to the color setting screen. It is still a good profile anyway.

http://xdaforums.com/nexus-5x/general/nexus-5x-display-color-calibration-t3240898
[Nexus 5X Original Android Development] bmbm:
yellowish white

attached profile for a little yellowish display ;)

thanks to [MENTION=4684315]flar2[/MENTION] for adding this profile!
[Nexus 5X Original Android Development] gleggie:
Has anyone made display settings that imitate an AMOLED display? ?
[Nexus 5X Original Android Development] erto90:
I think our display can't habdle a thing similar to an amoled..
[Nexus 5X Original Android Development] gorilla p:
I know in Synapse, kernels could provide display profiles. One popular one was Obsanity Amoled, that mimicked it a bit.

Will try with this kernel, but Synapse has been having trouble getting settings to stick since 6.0
[Nexus 5X Original Android Development] flar2:
My app has the ability to save and load profiles. If people post them here, I will add them to the app. I added a few in the update last night.
[Nexus 5X Original Android Development] peikojose:
One question, I think the control we had with the N5 was deeper right?
[Nexus 5X Original Android Development] bobby janow:
But is there gamma correction on the 5X? That is what gave me my cool screen color on the N5. I can't find anyplace to change that in any color app, only rgb, hue, saturation etc.
[Nexus 5X Original Android Development] flar2:
Were you using the cooler colors option? That was actually a glitch, an incorrect command sent to the panel. But it was harmless and many people liked the result.
[Nexus 5X Original Android Development] bobby janow:
Yes, there was a program called Display Control which was a subset of another kernel program that was released a while ago. I still have it but it is not supported on the 5x. I used Kernel Adiutor on the N5 which also had these "color profiles" that changed gamma values. They had names like Volmer Amoled, Piereligio_trueRGB V7, and others. The profile looked like this:

0 12 19 30 39 48 56 72 83 105 118 126 121 112 104 102 93 73 63 54 40 33 20

0 12 19 30 39 48 56 72 83 105 118 130 121 115 111 102 82 76 63 54 40 33 20

0 12 19 30 39 54 61 81 89 109 123 133 116 109 103 95 86 69 61 52 45 37 21

0 12 19 30 39 54 61 78 84 107 121 130 119 112 104 99 76 72 57 50 45 37 21

0 12 19 30 39 48 56 72 83 105 119 127 120 112 105 99 91 71 63 53 44 36 22

0 12 19 30 39 48 56 72 83 105 121 134 119 113 108 98 78 72 59 50 44 36 22

33

That was pretty much my favorite and made the screen a very soothing blue. Some people didn't like it said it was too "cool" for their taste and wanted warmer display colors.

Edit: Here's the thread. It was a Franco app. http://xdaforums.com/showthread.php?t=2424467
[Nexus 5X Original Android Development] flar2:
Here's a zip you can use to relax the thermal limits for the big cluster. This should allow your governor settings to stick on reboot (unless your device is really hot).

This modifies your system partition (in case you care about that for Android Pay or OTAs)

This can be used until I have more time to look at the thermal driver in-kernel.

Download:

N5X-Thermal.zip

Instructions:

Flash in recovery
[Nexus 5X Original Android Development] i_pk_pjers_i:
Hey,

Sorry to bug you, but I'm just wondering, will there eventually be voltage control in ElementalX Kernel Manager/with this Kernel? I have no problem waiting like months and months if that's what it takes, I'm just wondering if it ever will come out or if it's not really possible?

Thanks for the amazing work as always!
[Nexus 5X Original Android Development] ppaasseeii:
Every time the EX Manager is updated, the big core minimum frequency jumps back to 633mhz :(
[Nexus 5X Original Android Development] DroidIt!:
It may be different with the 5x...who knows :) But every nexus I've had before, I personally haven't seen any difference between switching from stock voltages to say -25 global on battery at all. Maybe somebody has, but I've tried that on N5, N6, N7, N9, and so far have not been able to measure any kind of perceptible difference in battery savings. I know it CAN theoretically reduce heat under heavy loads which should also reduce temps and by extension increase battery, but I've found there are things that can be tweaked that have far greater impact on battery savings than uv'ing. So, more control IS good, but I'd shoot for other things first IMO. :)

---------- Post added at 03:45 PM ---------- Previous post was at 03:44 PM ----------

What ROM are you flashing? I noticed off a clean install with Dirty U that that happens with me too. But I just reset it in EX and it sticks just fine after reboot and such. ;)
[Nexus 5X Original Android Development] MontAlbert:
quick question- does the terminal command to turn DT2W on the Nexus 6P work with the 5X as well?
[Nexus 5X Original Android Development] k.s.deviate:
Thank you very much [MENTION=4684315]flar2[/MENTION] for your work. I installed and did not select any over/underclock, I have EX Kernel Manager installed and noticed that the min cpu values will change on their own. At first I noticed that my 5X would drop down to 384MHz on its own when not touching the screen (I assume this is normal) although the min speed was at 1248. So, last night I changed that value to 384MHz and rebooted. (I selected apply on boot). The values changed back to 1248 and now without touching the screen it won't drop below 960(first cluster)(second won't drop below 1248). Let it charge/settle overnight but seeing the same behavior this morning.

Changed nothing else but vibration. Gov still at interactive.
[Nexus 5X Original Android Development] flar2:
Just leave it alone. It's the built in touchboost. There is a daemon called perfd that is doing this.

I am able to change the actual min frequencies with version 2.26 of EX Kernel Manager or later, but they still don't display correctly on the CPU settings screen.
[Nexus 5X Original Android Development] k.s.deviate:
I will not touch it, was just thinking on v0.01 I didn't notice this behavior. The min values always dropped back down to 384.
[Nexus 5X Original Android Development] flar2:
There is no difference between 0.01 and 0.02 except I added vibration control
[Nexus 5X Original Android Development] k.s.deviate:
I know, I just didn't notice it before. :)

I'm loving having this tho. Big thanks.