yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] Giorgos Chatziioannou:
On the bright side, unlike last year now there are many good devices at the same price range to choose from ;)
[Nexus 5X General] roofrider:
Those thresholds, 50°C and 48°C, seem very high to me. What were the results of your tests? What was the charging rate, and how high did the temperature go?
[Nexus 5X General] khanjui:
Not worth for risk. I experienced that phone is charging a bit faster while not using it but it's slow as usual when using it, battery temperature was around 47-49°.
[Nexus 5X General] roofrider:
The thresholds don't apply when the phone is not in use/the display is off. It'll charge fast when the screen is off without any mod.

Yes, those temperatures are high for me, I don't prefer to cross 45°C. I've currently bumped the limits by 3°C.
[Nexus 5X General] Razorless:
That is my experience as well. It seems this temperature setting does not affect charging with the screen on by much. There are other variables that determine the charging current while using the phone.
[Nexus 5X General] khanjui:
I really don't like it. My old LG G2 is charging fast even while using it (around 1200mA), it supports 1600mA maximum without any modifications. And it's not became noticeably hot. My 5X charging at 300-500mA while using it and phone becomes really hot. The only good thing is, 5X is charging really fast when not using it.
[Nexus 5X General] THRUSTer:
Regardless of what you set the battery to, Nexus 5x quick charging is crap. There are times when I will be plugged into a charger, the device claims it is charging rapidly, but I will LOSE charge during use.
[Nexus 5X General] Razorless:
That's sad but true. However, from my tests it seems that increasing the battery temp threshold by a few degrees atleast increases the charging current during light usage (e.g. browsing simple websites, chatting etc.).
[Nexus 5X General] vlachakisman:
first thanks for that great mod!

1.do i have to apply the mod every time i update the kernel?

2.has anyone experience a quick drain of the phone when for example you charge at a charger of 1A?I did it yesterday and the battery drained out after less than a day and now after the normal charger fill up is back to normal 1,5 days long or more and normal SOT...

3.elemental seems like a very solid kernel but franco is usually the one that people get the best SOT is that what you also think?

PS.(my 5x runs on Pure Nexus rom,the 1.2.2systemless tweak-normal profile- and 1,5 months old)
[Nexus 5X General] khanjui:
1) It has nothing to do with kernel. But you must flash it after update your ROM. And be sure that you enabled the apply on boot for thermal throttling setting in kernel manager.

2) It could be anything, I don't think this mod caused that.

3) Franco is better with its default settings, EX is basically stock kernel with additional features. You can get same/better results with EX too if you know what you doing.
[Nexus 5X General] vlachakisman:
thank you very much for you reply

for the 2. i didn't mean it was a kernel issue just if its possible by your opinion..

3.i have done all the necessary for a normal use cause the phone is my tool not gaming etc...(msm-disabled,touchboost-disabled,I/O row,readhead 512)no govenor profiles since i falshed this tweak at normal mode!
[Nexus 5X General] khanjui:
Set read ahead value to 128, use noop or zen I/O scheduler for better battery/general performance.
[Nexus 5X General] Razorless:
The charging current has nothing to do with how "full" the battery gets, only how fast it charges. You can check the voltage of your battery (many apps with some kind of battery monitor can do that). Voltage should be between 4200-4300mV if the battery is full. Other than that, SOT varies wildly, so there are infinite possibilties that could have caused the drain.

You might want to have a look at this CPU governor thread. There are lots of good profiles to improve performance or battery life.
[Nexus 5X General] vlachakisman:
i have been mislead form a forum reply i follow on my country that thermal tweak would be enough but now that i proceeded to 4-5 changes you proposed( read ahead value to 128, use noop or zen I/O,Glassfish governor profile,and of course your built)

i can already see great results indeed!
[Nexus 5X General] andyrtr:
I want to tweak the conf file with custom values via ssh. What's the proper way to remount /system under Nougat? Only the busybox way?
[Nexus 5X General] iPwn_:
Hey, can you update the Magisk module for v9? post-fs modules are no longer supported and there is a new interface for it.
[Nexus 5X General] Razorless:
I have asked [MENTION=7547198]tohtorin[/MENTION] to look into it.

You can always use the "manual" system-installation without magisk by replacing the file in system/etc. (May break OTAs, never tried)
[Nexus 5X General] migueldbr:
This is definitely one of the best mods for our N5X...It improves performance a lot! thanks
[Nexus 5X General] tohtorin:
Ill make a new version for magisk. I do not own n5x anymore tho. I am with op3 now. Should be ready in few days.
[Nexus 5X General] Midomad:
Is there a difference with this mod or it's the same?

http://xdaforums.com/nexus-5x/orig-development/mod-xthermal-mod-fast-charging-cpu-gpu-t3477639/page2
[Nexus 5X General] migueldbr:
Does this work on cm14 or RR7.1? Without magisk. I'm using integrated superuser so I can't use systemless install too right?

Edit: nevermind, I'm gonna try the classic method
[Nexus 5X General] khanjui:
You can always change the file manually.
[Nexus 5X General] Razorless:
The Xthermal mod increases the battery temp by an additional 8°C. Theoretically, this should charge the phone faster even if the battery is hot. However, I found that this doesn't help with the charging current while the phone is in use, but I did not test temps as high as in the above mod.

Anyway, I would not recommend raising this temp so far, since the battery is much more sensitive to heat than the CPU.

Regarding the CPU, the Xthermal's temps are below those of my heavy profile, so quite modest.
[Nexus 5X General] Giorgos Chatziioannou:
Wut? The bigger the read ahead the better the performance (up to a point, its 1024 for 5x) and i doubt you could get a significant battery draw.

My phone performs the best with deadline scheduler, seems odd but works.. for my phone that is. Maybe give it a go and see how it fares for you?
[Nexus 5X General] khanjui:
In my experience, noop and zen is best for this phone. Also check this and this. Also default readahead value is 128 kb on Nougat and default I/O scheduler is noop.
[Nexus 5X General] Giorgos Chatziioannou:
I cant find where i read the comparison between readahead values, but imo 512 (stock EX kernel) and 1024 had no noticable difference in either battery or performance

But deadline scheduler is easily the biggest diference i noticed in smoothness. I have tried chill, zen, noop, row, sio, fiops and cfq
[Nexus 5X General] khanjui:
http://androidmodguide.blogspot.com/p/io-schedulers.html

Deadline may or may not perform better than noop. I don't see any feelable difference between them. Deadline is good though.
[Nexus 5X General] Giorgos Chatziioannou:
Oops i meant maple, used it along chill governor so i always get them wrong xD

What governor / profile you use? I am on interactive , hawktail 1.2 , maybe that makes a difference between deadline and noop? Or something is wrong with my phone, only deadline seem to make it smooth all around, rest schedulers seem to choke at various scenarios
[Nexus 5X General] khanjui:
Profiles are myth in my opinion, I don't use or recommend them. Currently I'm using franco.Kernel with its default settings. Maple is really similar to zen by the way.
[Nexus 5X General] Giorgos Chatziioannou:
How profiles are a myth? It just changes how the cpu is being used, 5x is the best example with such crappy cpu. Even google made it run better every few updates, by changing "profiles"

Try couple profiles and see for yourself how different a "battery" and a "performance" one behave.
[Nexus 5X General] khanjui:
Don't tell me, I know what they are and what they do. There is just no point to mess with that settings. Trading 30 minutes of SoT for bad, laggy user experience, no thanks. Do you think they know better than experienced developers like Franco, flar2, jollaman999 etc. I don't think so.
[Nexus 5X General] Psychofrantics:
Just to chime in, the moment you disable touchboost, you start to lag. However, thermal throttling profile is amazing.

However, if you want to save battery, profiles are the way to go
[Nexus 5X General] Giorgos Chatziioannou:
I get better performance with hawktail than stock, not sure about sot, it seems the same. I dont get where you got the idea that all profiles cause lag

Flar just gives you the stock configuration, just in a kernel with more options. Franco use his settings that believes are the best combination, that does not mean it will work for everyone. If one is not sensitive to lag, why not get more battery life? And vice versa

About touchboost, its not necessary to feel lag if you disable it, my phone has no lag compared to stock with touchboost. As far as i know most profiles use some other form of boost, cant remember exactly though :silly:
[Nexus 5X General] migueldbr:
Im with [MENTION=4984423]khanjui[/MENTION] on this one, i definitely prefer a lagfree experience instead of a 30/60 minutes extra SOT. I really hate lag and i am extremely sensitive to it (I notice lag/stutters that dont bother 99% of android users lol). Most noticeable is website's scrolling (yes, even with adblockers). I have tried nearly everything and my conclusion is that its impossible to have a 100% lagfree/stutterfree experience on android. Most people will say "oh i dont have any lag at all, my phone is smooth as butter" and etc, but you do have stutters over time, it just doesnt bother you, and that is a whole different story. Maybe on the latest android phone it is possible, but on this device i have tried everything to try and get a 100% stutter/lag free experience and there is always some kind of stutter, even if its minor.

Anyway, this tweak sure helps a lot
[Nexus 5X General] khanjui:
For the best user experience, use ElementalX kernel with zen I/O scheduler, (more responsive than noop), 128 kb readahead, select the 1632 MHz for little cluster, 2032 MHz for big while installing kernel from the AROMA installer. Also you can increase your zRAM to 768 MB and disable KSM. Most of lag is coming from bad coded and/or heavy, RAM hungry apps like Facebook, Google+. I think 2 GB RAM is not enough for x64. At least we should have 3 GB for fluid user experience.
[Nexus 5X General] Batticus:
What have people's experiences been? Is normal enough to reduce all stuttering in daily use? I'm not doing a lot of heavy gaming. Any other tweaks like governors for improved performance?
[Nexus 5X General] migueldbr:
I dont use Facebook or google+...2gb should be more than enough honestly. Also, my previous phone was a oneplus x with 3gb and it lagged even more than my nexus lol. Overclocking also does not make the phone smoother in my experience, it does however makes thing faster(which is different). I care for a smooth experience, which is way harder for Android to achieve. It struggles to keep the UI constant at 60fps and the longer the uptime, the more it suffers. One of the most noticeable lags that happen in almost all Android phones is scrolling on the play store for example. Android 7.1 does bring very good improvements, but still not flawless.

Anyway, my most noticeable lags happen in the play store and Chrome browser, which are indeed heavy apps
[Nexus 5X General] Fille84:
You keep saying "on android" a lot. Just for the record, iPhone lags too. I have an iPhone 7 and you can definitely see small stutters in apps and in Safari. These small stutters is something we just have to deal with in smartphones. Anyway I think I have a smooth experience with this device.
[Nexus 5X General] migueldbr:
It lags considerably less, there is no doubt...dont get me wrong, I hate iPhone and ios, but it's definitely smoother than Android, there is just no other way to put it...android is getting better and better though. Anyway, after using this thermal profile, performance is quite good yeah
[Nexus 5X General] ndarkside93:
It's something that will unfortunately never completely be equal due to the way Android is built on a VM and iOS runs natively and is optimized by the manufacturer for the specific hardware. And also the Apple SoCs are faster than what's available on Android currently.
[Nexus 5X General] migueldbr:
True, thats why i said Android is getting better but not on the same level. But there are always people saying "iphones lag too, android has no lag at all, its just as smooth as iOS"=p
[Nexus 5X General] militantmind:
which is better. shutdown the big cores at high temp or reduce frequency of both little cores and big cores with the motive of maintaining acceptable performance with less heat.
[Nexus 5X General] Razorless:
From my experience, the big cores generate too much heat, even at the lowest frequency. So the only way to maintain some level of performance is to shut them off completely and use the little cores at their maximum speed.
[Nexus 5X General] jugoslavpetrovic:
ThNks
[Nexus 5X General] SREEPRAJAY:
.

there is a button here Sir
[Nexus 5X General] jugoslavpetrovic:
I know where the button is, sir. Im not on this forum since yesterday.

As you might know or not I have a limitation of 8 thanks per day and I did not have any left, so at least I did what I could at the moment to pay respect.
[Nexus 5X General] Plonkyplonk:
I'm using OmniROM, and I was wondering if I should flash the Aroma ZIP after every update (because it requires manual interaction and like it to be automatic).
[Nexus 5X General] Razorless:
If you are using the sytem method, then you have to flash it again. The updated ROM most likely overwrites the thermal-engine with the stock one.

For systemless magisk install, I don't know since I'm not the one who developed it. Someone mentioned earlier that the Aroma does not work with the new magisk update. I asked the developer [MENTION=7547198]tohtorin[/MENTION] to look into it way back in November, but haven't gotten an answer.
[Nexus 5X General] Razorless:
You can run a quick stability test and compare it to stock.

Even without directly comparing to stock you should be able to tell if it's working: With any profile that is not stock, the big cluster should go offline before throttling too much (remember to set the "throttling" temp when using elemental/franco).
[Nexus 5X General] Razorless:
I posted it somewhere before, but can't find it now.

With Trepn Profiler you can activate Advanced Mode at the top left. Then under settings-->overlays you can choose what you want to monitor. Choose CPU 4 or 5 frequency for one of the overlays. After that you can exit the settings and start to profile the system and activate the overlays.

After that you can run any stability or benchmark app to see the throttling/shut off of the selected core. A lightweight stress test is an app called Stability Test. Just run the classic test for some time and watch the CPU frequency. If any profile is installed the CPU 5/6 should stay above 1 GHz most of the time before going offline.
[Nexus 5X General] Razorless:
Thanks for confirming, I updated the main post accordingly.

Also, it seems there is a hardcoded limit for the thermal throttling of the big cluster (may be kernel related). That means that the profiles above extreme are hurtful and should not be used.
[Nexus 5X General] francesco totti:
Hi , I'm a little bit confused ! please help ! now for installation , i should flash just "thermal_tweaking_systemless_v1.2.2.zip" in recovery ? or do i need to flash anything else ? and should i also edit "thermal-engine-8992.conf" ?
[Nexus 5X General] Razorless:
The installation instructions at the top of the first post are still applicable
[Nexus 5X General] Smultie:
Wait, what's this? So, Extreme is the highest one should go? Care to explain a bit more?
[Nexus 5X General] Razorless:
Increasing the thermal throttling temperature of the big cluster beyond a certain limit does not postpone the throttling any longer. However, increasing the hotplug temperature through a kernel manager can increase the shut-off temperature of the big cluster by a lot more.

If the minimum step of the big cluster throttling algorithm has been reached, it is not utilized by the system anymore. Forcing the core to be kept alive (online) will only increase the heat, without giving any advantage in performance. Instead, this could lead to throttling of the little cluster or even overheating of the phone.
[Nexus 5X General] Batticus:
Which temp setting for DU with Extreme V4 in ExK manager?
[Nexus 5X General] Razorless:
What setting does "DU" stand for? If you mean the trottle temp it's 51.
[Nexus 5X General] Batticus:
I was talking about the Dirty Unicorns ROM. It has its own kernel, that's why I'm asking. In ExK manager I can see that the throttle is set to 60.
[Nexus 5X General] Razorless:
I don't know if that kernel has any thermal modifications. Using this mod might not work properly, you should ask this in the corresoponding kernel thread. Elemental and Franco kernel only touch the throttling temperature of the big cluster, that is the reason why this setting has to be changed in a kernel manager (the value from ther thermal-engine is ignored for this temperature only ).
[Nexus 5X General] HSaints:
This work with Advanced Interactive Governor Tweaks,Right?
[Nexus 5X General] khanjui:
Yes, why not?
[Nexus 5X General] leolawliet:
Holy s*** man! Extreme V4 has made a huge difference for me, especially when combined with the right Interactive governor tweaks.

I guess you could say I'm happy and very satisfied with the results. Thanks!
[Nexus 5X General] rachanta:
Big Thank You

Finally cracked the Antutu code for consistent 75K+ scores. Thanks a lot [MENTION=1138056]Razorless[/MENTION]. You have ended many days of struggle. :good::good::good:
[Nexus 5X General] Razorless:
I'm glad you like it as much as I do. With extremeV4 it feels like the phone should have been out of the box.
[Nexus 5X General] rachanta:
Absolutely agree. My latest kernel now has thermal-engine-8992.conf_extreme_v4 being loaded to system/etc like a module from anykernel along with stock nougat-mr2-preview1 thermal code. Here is my result starting from a CPU temp of 32.5C (As read by Kernel Adiutor Mod). Core Control Enabled, VDD Restrictions Disabled, Throttling Enabled, Temperature Limit 46C.
[Nexus 5X General] Razorless:
That's nice to hear. I suppose "Temperature Limit" refers to the big cluster shutdown temperature? If so, I would recommend raising it to 51°C for better sustained performance.
[Nexus 5X General] rachanta:
sys/module/msm_thermal/parameters/temp_threshold. I think it is big threshold, and it can easily go to 51C. My previous setting which was for Jolla thermal was 60C. Now I am with almost stock thermal.

Yes I see your point, the next release will have temp limit set to 51C.
[Nexus 5X General] rachanta:
My rocket

With extreme v4 and this profile:

https://www.androidfilehost.com/?fid=745425885120715850
[Nexus 5X General] Razorless:
That's a nice score, but how's battery life with that profile?
[Nexus 5X General] rachanta:
I couldn't check properly, but it took some effort to drain battery to zero. Idling drain appeared to be higher than my previous settings. This one was uptuned to break 80k without caring for battery. I also got some idea of effects of settings.

I've downtuned my latest profile a bit. Antutu is still 80k+.

I hope to test idling battery drain overnight with this:

https://www.androidfilehost.com/?fid=745425885120715913
[Nexus 5X General] EstiR86:
I once worked on a profile for max speed it made the device FLY but the idle was absolutely insane. I then found Butterfly profile and messing with the boost frequency and milliseconds help drop the idle to an acceptable 0.4 %. Also greenify aggressive doze greatly helped went from 10% idle to 0.4% mostly because of greenify.
[Nexus 5X General] rachanta:
After the excursions, I am now back with google stock profile for interactive gov. The straight horizontal line I see for idle drain is very encouraging. It looks like thermal conf is all that is needed. All other settings including scheduler can just remain stock. Antutu score is just under 80k.
[Nexus 5X General] yochananmarqos:
Updated Magisk module:
[Nexus 5X General] khanjui:
That was the only thing that keeps me away from using Magisk. Thank you so much.
[Nexus 5X General] Razorless:
Awesome, thanks! I updated the OP accordingly.
[Nexus 5X General] zurik:
Installed the Normal version of Thermal engine MSM8992 and my phone is less hot than with stock! Thanks for your work! Installed with Magisk module.
[Nexus 5X General] Razorless:
It may actually be more efficient in some cases to use the big cluster for a short amount of time instead of the small cluster for a longer period. However, in most scenarios this mod trades increased heat for better performance.

If you think the phone gets too hot even with stock, you should consider decreasing the big cluster frequency to about 1.2 GHz. So the big cores are still much faster than the small ones, but should generate significantly less heat.
[Nexus 5X General] zurik:
Before flashing the normal, my phone goes a lot hot when i used web browser for example chrome, Yandex Browser or tuga browser (from XDA Labs) and listening music at the same time. That feel that cpu melting. With your tweak, is much better (Normal Profile 46/44) . Is not too hot than before. With customers kernels I didn't had any overheat.... Only ones when I flashed Jolla's custom kernel and phone is unable to take to hands because of overheat.... (In newer versions is fixed) ... I am now on stock kernel and The normal Man 8992 thermal engine. Thanks for this tweak.
[Nexus 5X General] Razorless:
Your heating issues sound like they were kernel and CPU governor related. This tweak does not change the CPU frequency behavior, only the thermal throttling limits. Anyway, glad your issues are gone now.
[Nexus 5X General] xda26:
Where I can download extreme v4?
[Nexus 5X General] khanjui:
Look at the attached files on OP.
[Nexus 5X General] leolawliet:
There are two places where you can find this.

1.) The first post on this thread.

2.) The Aroma installer has all of the scripts built-in.
[Nexus 5X General] jlmntl:
Not sure if anyone else is having this problem, but when I attempt to install the magisk version per OP instructions I get an error in the aroma installer stating the magisk module isn't installed. I've tried flashing the module in magisk, then rebooting and flashing aroma installer in TWRP, flashing both back to back in TWRP, and one at a time in TWRP and get the error every time . I'm on Nexus 5X, Purenexus 3/17 build, ElementalX 3/06 kernel, Magisk 11.6, and TWRP 3.1.0.0. Any suggestions would be greatly appreciated!
[Nexus 5X General] Razorless:
I haven't tried the new magisk 1.3 module yet. Do other magisk modules work? Maybe it's an issue with Magisk itself.
[Nexus 5X General] zurik:
Flash stock kernel from Purenexus rom zip that included with twrp, then flash magisk 11.6 (if you already flashed the mod) reboot to recovery again and flash the systemless zip 1.2.2 and select magisk and the profile that you want. At the end, check "Reboot Now" from Aroma Installer or reboot from twrp.
[Nexus 5X General] jlmntl:
Ahhh, elementalX probably modifies the boot image, huh? Didn't think of that, thanks a bunch!
[Nexus 5X General] zurik:
In magisk thread , instructions say that is necessary to have the stock kernel. After installation of magisk, you can flash elementalX . I have no issues there. If you want clear answer , flash the ROM included boot.img (PureNexus if you are user of this ROM), then latest magisk and then elementalX kernel. (It's just like SuperSU, it also need default kernel that comes with ROM.) .