[mod]cpu_tuning - Xiaomi Redmi 3s Themes, Apps, and Mods

tribute to xda.
tuning parameters for cpufreq_interactive & core_ctl & hmp_sched & some more
for MIUI and LOS, RR, AOKP, MoKee, Bliss (all zwliew's forks).
v.4
- conception is changed (again)
sometimes 1 big + 2 little is not enough. so now i offer you 1 big + 3 little or 2 big + 2 little at your choice.
all these combination is very individual and i want you will make your own good config.
now it's much simpler to customize - all configs are in separate patches.
just download zip, unpack it, correct config, pack it back. that's all.
if you will find better configuration, please, give your advices here in this thread.
i recommend you to use good monitoring and profiling tool from Qualcomm https://play.google.com/store/apps/details?id=com.quicinc.trepn
for custom rom (!!!zwliew's sources based) users:
you can apply cpu_tuning* patches direct on your native kernel, you dont need to change kernel, it will work (may be even better, who knows).
or you can apply patch with new LOS kernel from fedosis with very light undervolting, new low frequences and some more improvements.
(all kernels are zwliew's sources based, compatible)
so,
1. install "lineage-13.0-20170202-UNOFFICIAL-land-kernel.zip" (kernel only)
2. install "cpu_tuning-4-1x3-cm13.zip" (config only)
if you skip 1st step, it will repack your present boot (only "init.qcom.power.rc" will be replaced) and will work with your old kernel, but without low freqs, etc. you can test this case also.
!!!backup your "boot" partition.
for MIUI users:
there are patches with similar settings for you.
just install "cpu_tuning-4-1x3-miui.zip". only "/system/etc/init.qcom.post_boot.sh" will be replaced.
!!!backup "/system/etc/init.qcom.post_boot.sh"
(there are also patch with original MIUI "/system/etc/init.qcom.post_boot.sh", if something will go wrong)
https://drive.google.com/drive/folders/0B1G5yP4fi63mbEpzNHREVVB6a00
and later i will add something about thermal config, there are also some points to change
v.3
- conception is changed:
now 1 big + 2 little cpus are permanent online (offline-to-online is not cheap).
permanent also means, they are always the same: cpu0 (big master), cpu4 (little master), cpu5 (little master's friend). all others are lazy, they stay offline most times and go online and work only if these three are very busy. "core_ctl" was patched to implement this logic.
- (not for MIUI) low frequences was added. 768 and especially 960 are too high for low load.
- (not for MIUI) light cpus boost on screen touch was implemented.
v.2
now 8 cpus sleep more (in active mode) and wake faster.
LITTLE cluster for little tasks (at least 1 active), big cluster for big tasks (mostly sleeps).
awaiting of your impressions and results about working time and performance before and after.
we will tune it
one more thing:
i think xda is for advanced users. it's all experimental.
and better do nothing if you dont understand what are you doing.

will this work in mokee rom??

Subhampaul12 said:
will this work in mokee rom??
Click to expand...
Click to collapse
may be late. these are most popular.

thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer

RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
may be. i dont know. thats why i want you to test it. but you need more time to make right compare results.

RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
CPU load is bigger because the task focused only on one core and sleep another core so that they may use upto 100% of one core rather than dividing it to another core (MAYBE, IT'S JUST HYPOTHESE)
I don't even know how it works ?

Will try, thanks for your work.

Thanks for this mod. I'll try, I hope this mod will update reguraly.
Sent from my Redmi 3X using Tapatalk

Could you please make a version for Bliss rom too ? Thnaks!

My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk

Crissdua said:
My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk
Click to expand...
Click to collapse
Same
Wysłane z mojego Redmi 3S przy użyciu Tapatalka

miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).

it often stucks only on one core enabled which cause lags. RR ROM

difr said:
miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).
Click to expand...
Click to collapse
yes, mine feels lag too, but only at the start after long sleep. it's fine after some minutes/hours regular use
Got a great battery life improvement after using this mod. Arround 8,5 hours SOT (remaining at 8%) full 4G data with heavy browsing & some gaming use

Waiting for more feedback, thanks for making this mod!

first post updated. please, take a look.

Bliss added.

difr said:
Bliss added.
Click to expand...
Click to collapse
Thanks! I'll update this post after trying it out.

with rr antutu score is 40k, when use your latest mod, my antutu score decrease to 36k.

Can you mod it for only 1 small core online? i want only battery life. Or just guide me how to do it

Related

Most used (rom-kernel)

just a poll to know what is the most common rom and kernel ...
the poll is going to be about kernels as there is alot of roms so a i will leave it to discussion
i don't want it to be which is best but more of which is popular and may be a couple words about it's adv. disadv.
i am using Perseus kernel .... dunno just felt its good .. other kernel distort my speaker
stock deodex sammy rom .. (couple visual mods and full screan caller + extended power menu )
Perseus kernel... Crash rom.. Simplistic framework.. Xposed framework.. Twrp recovery.. Overclock at 1800 Mhz.. But sometimes auto restart and and the whole system not responding .. Still don't know why, may be due to Overclocking..Is it due to Kernel fault?
Sent from my GT-N7100 using xda app-developers app
I usually use Perseus. Had my note for 5-6 weeks, tried 6 ROMs so far. Most impressed WITH (and still using) X-Note 3.2. Total ROM size is 350 MB so its stripped down with the good Samsung apps left in. S Note is offered as seperate 100 MB zip to flash if you choose.
Subtly and elegantly themed, not jazzy or flashy - more like understated black and grey tones. Includes xposed plus some nice mods e.g. transparent status bar etc and boots at 260 DPI which is so much better than stock 320.
ROM comes bundled with Wanam Adam kernel
Well, there's my 2 cents
Well, Perseus kernel for me because of AMOLED color profile and Wolfson sound options in STweaks app.
Phoenix rom since it nicely integrates Xposed and 240dpi mod @ install time (along with a lot of mods in Aroma Installer) along with Internal / Externa SD switch. It was nice to clean everything then install system without any strange operations afterwards.
Now overclocked / undervolted (a lot) and customized with Xposed modules and very happy with it. Haven't had an error or reboot in 3 weeks despite 1.8Ghz CPU and 733 GPU OC.
Battery is great with Perseus, easily 7-8 hours of screen on time over 48-60 hours between charging.
after using antutu (for the first time) i got strange results
sammy rom with perseus oc to 1.8 and under volted a little ..i get about around 9500 ..
same rom with adam kernel 1.6 under volted i got 14680
flashed couple aosp roms .. got 17800 and 16900 ...
so what am doing wrong ?
I'm in Love with Redpill Kernel.. it gave me great antutu score and great experience
i want to know the best rom\kernel combo that make a good benchmark score ..??
anybody got an answer
devil_slayer said:
i want to know the best rom\kernel combo that make a good benchmark score ..??
anybody got an answer
Click to expand...
Click to collapse
Search these threads about benchmarks. You'll find it's been asked and answered many many many many times.
-----
I would love to help you, but help yourself first: ask a better question
http://www.catb.org/~esr/faqs/smart-questions.html
tried saber recently and i got very good performance .. but i like Perseus controls more especially audio
Omega ROM v18 .NEAk kernal very li8 and no lagging. including Wolfson audio controle ...The best part MULTI CORE MANAGER for naormal usage and awsome for GAMING
Big fan of xnote and perseus combination. Now switched to assassins batterylife breathtakingly amazing and redpill... For better sound control and more undervolting compared to perseus.
For those of you running TouchWiz ROM and hasn't update FW since March, then TerraBuzz is the answer for your kernel. Only screen got above 30%, android os, android system, etc. is below 15% with this kernel.
is it possible to combine multiple options in one kernel .. that would be gr8 ..
for my personal preference ..
1- 100 mhz step in saber
2- screen mods in perseuse
3- audio controls in stweaks of red pill and perseus with the gui of trickster
4- the zzmoove governer of saber give me good battery life with light to normal usage ... which is gr8
wanna know your thoughts .. and if that's even possible
First and only custom kernel I installed: N.E.A.K.
Needed Wolfson chip control, it provides. Also, great battery life!
Using CyanogenMod 10.2 nightly with its kernel... No problems at all, even battery is very good for me.
Wysłane z mojego GT-N7100 przy użyciu Tapatalk 4
Don't bother the CM 10.2 color set? It's too much satured.
Minerael said:
Using CyanogenMod 10.2 nightly with its kernel... No problems at all, even battery is very good for me.
Wysłane z mojego GT-N7100 przy użyciu Tapatalk 4
Click to expand...
Click to collapse
otaviofsousa said:
Don't bother the CM 10.2 color set? It's too much satured.
Click to expand...
Click to collapse
Honestly it doesnt bother me, I don;t really see the difference heheh.

Smoke Kernel[mocha][last update 10.04.2018][4.4-7.1.2]

Kernel
FOR STOCK BASED ROMS ONLY​
features :
- kexec-hardboot(multirom support)
- CPU governor - smartmax
- other stuff which I don't remember
SmokeKernel+ProfilesApp+LiveDisplayApp(new updates always will be here)
Performance profiles App​
Description :
Power profiles for Smoke kernel
The monitoring window is closed by double-tapping on it
Requirements:
Root access
Necessary actions for the full work of the performace profiles application in android 4.4
1) add app to autostart
2) allow the application to display pop-ups
3) Delete the file power_mode.sh, which lies on the path /bin/
LiveDisplay App​
Description :
The application allows you to change the color temperature of the screen
at 8:00 a daily value is set
at 20:00 the night value is set
Requirements:
Root access
Instruction:
1) Install zip via recovery
2) Install Performance profiles and LiveDisplay apps
Changelog:
30.05.2017
31.05.2017
03.06.2017
11.06.2017
16.06.2017
18.06.2017
23.06.2017
06.07.2017
10.05.2018
XDA:DevDB Information
Smoke, Kernel for the Xiaomi Mi Pad
Contributors
Artemka2008, DbIm4pda
Kernel Special Features: Custom performance profiles App, custom powerHAL
Version Information
Status: Testing
Current Stable Version: 1.3.4.1
Stable Release Date: 2017-07-06
Created 2017-05-26
Last Updated 2017-07-06
reserved
Will work on Lineage OS 14? (Oops: didn't see "boot.img for LineageOS14.1(7.1.2)")
Update 1: Works on Lineage OS 14. Testing to see if battery is better on this kernel and performance profile app (only browsing, no gaming)
Coule you make a flashable .ZIP please?
vickdu31 said:
Coule you make a flashable .ZIP please?
Click to expand...
Click to collapse
I'm lazy. I have already completely described the installation. May be later
Thank you for effort. Could anybody compare with F1xy kernel?
Thanku @Artemka2008 and @Dblm4pda
.
.
.
.
Btw Anyone tried antutu with this kernel ?
So far, so good.
I did not yet install the custom powerhal or whatnot. What does it even do?
FYI: You have to reroot the tablet after installing this boot.img.
Anyway, of the performance profiles the high is the only useful if one watches youtube. All other profiles results in occasional jerk/lag in the video.
Deep sleep battery consumption so far has been minimal for me. Usage battery consumption might be a tad higher, at least with the high profile, which is the only useful one unfortunately.
This kernel like f1xy and Foxy all suffer from the same wifi problem that when you wake the tablet from deep sleep and wifi is turned off (wifi option Keep awake: never), it takes 30+ secs for the wifi to activate and reconnect. You can't even enable the wifi by yourself during this time, you basically have to just wait...
I haven't run any antutu etc test cos I don't care what the numbers say. All I care is how it works and feels and how the battery lasts.
I'll keep testing.
I am running LOS14 with the new blobs. Which reminds me, I think I get more of the graphical glitches now than I did before. But this all too subjective atm. to say conclusively if it is the kernel or not.
Tautologica said:
So far, so good.
I did not yet install the custom powerhal or whatnot. What does it even do?
FYI: You have to reroot the tablet after installing this boot.img.
Anyway, of the performance profiles the high is the only useful if one watches youtube. All other profiles results in occasional jerk/lag in the video.
Deep sleep battery consumption so far has been minimal for me. Usage battery consumption might be a tad higher, at least with the high profile, which is the only useful one unfortunately.
This kernel like f1xy and Foxy all suffer from the same wifi problem that when you wake the tablet from deep sleep and wifi is turned off (wifi option Keep awake: never), it takes 30+ secs for the wifi to activate and reconnect. You can't even enable the wifi by yourself during this time, you basically have to just wait...
I haven't run any antutu etc test cos I don't care what the numbers say. All I care is how it works and feels and how the battery lasts.
I'll keep testing.
I am running LOS14 with the new blobs. Which reminds me, I think I get more of the graphical glitches now than I did before. But this all too subjective atm. to say conclusively if it is the kernel or not.
Click to expand...
Click to collapse
Problems with wi-fi are not due to kernels, these are the problems of the system
Artemka2008 said:
Problems with wi-fi are not due to kernels, these are the problems of the system
Click to expand...
Click to collapse
I am not sure what you mean by "system" in this context.
The particular wifi issue I mentioned above does not happen with a stock kernel, only with custom kernels. And it is the only wifi issue I have encountered. No breaking off, nothing else, just a slow reconnection after deep sleep. But if it is a necessary evil while changing the kernel, so be it cos with stock kernel I have much bigger problems and I rather use a custom kernel to get more fluidity of use.
Spassiba for the kernel komrad!
does this kernel support vulkan API?
I ran into a same kind of issue I have with stock kernel; After waking from deep sleep the mipad is usually slow as hell for a minute or 2. Like everything is lagging. A bit like a cold engine which is warming up.
Anyway, I moved back to F1xy cos of this which doesn't suffer from the same issue.
Does this kernel support MIUI?
Richard20000321 said:
Does this kernel support MIUI?
Click to expand...
Click to collapse
all miuis run on Android 4.4.4, do you really think this kernel can run on Android 4.4.4?it only works on Android 7.1.2
---------- Post added at 08:11 AM ---------- Previous post was at 08:08 AM ----------
Richard20000321 said:
Does this kernel support MIUI?
Click to expand...
Click to collapse
there's a "miui smoke rom"using this kernel, maybe you can try that rom, it's also using this kernel
Update
cameras works now
Artemka2008 said:
Update
cameras works now
Click to expand...
Click to collapse
Does this mean camera will work on ROM with new blobs?
maccafan said:
Does this mean camera will work on ROM with new blobs?
Click to expand...
Click to collapse
It's not a kernel problem
maccafan said:
Does this mean camera will work on ROM with new blobs?
Click to expand...
Click to collapse
No
Please make it a flashable zip... Cheers...
Update
Update for performance profiles application
Changelog:
- application was rewritten with Kotlin
- added current RAM freq displaying
- increased low power mode performance
You do not need to reflash the kernel(if u use SmokeKernel), just update the application

Oneplus 3 - PubG Lags!

I've a OnePlus 3 Device.. When I Play Pubg in Med Settings.. it Lags like hell and i turned to Low Preset Still The same any solutions???
There was same problem with me too...
1. Make sure upgrade to v0.4.0.
2. If problem still continues use Elementalx kernel and overclock cpus and also turn on GPU boost to high.
Though regardless to say play on Europe server?
I play with framerate set to HIGH and BALANCED and it runs smooth most of the time.....
Saurabhlondhe24 said:
There was same problem with me too...
1. Make sure upgrade to v0.4.0.
2. If problem still continues use Elementalx kernel and overclock cpus and also turn on GPU boost to high.
Though regardless to say play on Europe server?
I play with framerate set to HIGH and BALANCED and it runs smooth most of the time.....
Click to expand...
Click to collapse
Thank you For Your Kind Response.. Which Rom Are You On?
Msm-xtended
Saurabhlondhe24 said:
Msm-xtended
Click to expand...
Click to collapse
Will Try :good:
i'm on latest OOS beta with Derp kernel, no lag what so ever on PUBG , just played it for the 1st time last night, on HD and medium fps (and one mission on high), no lags what so evert, but here's heating normal and expected with this type of games, but didn't effect the game play.
it'll hit the battery though , i went from 92% to 20% in 70 mins of continues playing on high settings. also make sure if you're on OOS to add it to game do not disturb mode, it helps.
i do have same problem on open beta, ill try to flash costum kernel...hope they fix this on next update...
M.Dinesh said:
I've a OnePlus 3 Device.. When I Play Pubg in Med Settings.. it Lags like hell and i turned to Low Preset Still The same any solutions???
Click to expand...
Click to collapse
Sorry to say but it will lag in anyway
Coz it is powered by Snapdragon 820 which just sucks in gaming , not becoz of GPU (Andreno 530 is good enough) but becoz of low cores count and thermel throttle ?
And PUBG mostly depends on multicore performance of the processor, in which sd820 littrely sucks (820=450 in multicore performance)
Snapdragon 660 is much better choice for gaming it's much stable than 820/821
Someone said to me to use GFX Tool on play store and enable the vulkan and see the changes. He said it was lagging but after enable the vulkan it turns out pretty smooth after but pretty much drains the battery.
MFAR198 said:
Someone said to me to use GFX Tool on play store and enable the vulkan and see the changes. He said it was lagging but after enable the vulkan it turns out pretty smooth after but pretty much drains the battery.
Click to expand...
Click to collapse
I second this, used GFX Tool with the following parameters:
PUBG M Version 0.6
Resolution: 1280x720
Style: Classic
Graphics : Balanced
FPS: 60fps
Vulkan : Enabled
Anti-Aliasing: Disabled
Running On DU v12.3
Kernel DU stock
Active battery drain after 33mins of use 9% and lags at all.
ya7hu said:
I second this, used GFX Tool with the following parameters:
PUBG M Version 0.6
Resolution: 1280x720
Style: Classic
Graphics : Balanced
FPS: 60fps
Vulkan : Enabled
Anti-Aliasing: Disabled
Running On DU v12.3
Kernel DU stock
Active battery drain after 33mins of use 9% and lags at all.
Click to expand...
Click to collapse
I dont know, it was smooth here currently on Nougat Zenity RR. But I do also face the lag when I'm using Unofficial RR Luis and I even overclocked the cpu, but it was smooth on OOS with stock kernel and MSM Xtended so far before. That recommendation to enable vulkan was from someone I haven't test it yet since I dont face the lag right now. Sorry can't help much, I also did not understand much why.
GuiderNeedsGuide said:
Sorry to say but it will lag in anyway
Coz it is powered by Snapdragon 820 which just sucks in gaming , not becoz of GPU (Andreno 530 is good enough) but becoz of low cores count and thermel throttle
And PUBG mostly depends on multicore performance of the processor, in which sd820 littrely sucks (820=450 in multicore performance)
Snapdragon 660 is much better choice for gaming it's much stable than 820/821
Click to expand...
Click to collapse
Not true , as mentioned on another post above, I also use the latest oos beta ROM, with derp kernel 4.4 , nonlags what so ever , not even a little ...
I've been playing pubg for a month now , and with the above setup I had no lags... I even use maple I/O sched , which by nature may cause some lag and despite that it doesn't.
onePlus stock kernel specially on beta may have issues from time to time, and a lot of cutom kernels for cutom ROMs are configured more toward battery life...
For stock rom use either derp or blu_spark, they will work out of the box without issues, Blu have more heating though on my experience.
For custom ROMs you'll need to ask the kernel dev what settings anss scheds to use ...I'd imagine flash kernel will be ok right out of the box but will not be as battery friendly as the others .
No
Well if you are happy with 20-35fps performance, than trust me you don't really need a flagship, you will be satisfied even with Snapdragon 450 which can give similar performance to sd820 in PUBG lol [QUOTEuke7;76899133]Not true , as mentioned on another post above, I also use the latest oos beta ROM, with derp kernel 4.4 , nonlags what so ever , not even a little ...
I've been playing pubg for a month now , and with the above setup I had no lags... I even use maple I/O sched , which by nature may cause some lag and despite that it doesn't.
onePlus stock kernel specially on beta may have issues from time to time, and a lot of cutom kernels for cutom ROMs are configured more toward battery life...
For stock rom use either derp or blu_spark, they will work out of the box without issues, Blu have more heating though on my experience.
For custom ROMs you'll need to ask the kernel dev what settings anss scheds to use ...I'd imagine flash kernel will be ok right out of the box but will not be as battery friendly as the others .[/QUOTE]
Guys if you want to game dont do it on a mobile device. Let alone a cheap China device with high failure rates on hardware.
Could anyone suggest a ROM / Kernel that is tried and tested to not lag on OnePlus 3T? I am currently using a different phone just to play the game and I really wish to move back to my phone ... Any method that is tried and tested to function properly with no lags on the current PubG update would be really appreciated
anshul1123 said:
Could anyone suggest a ROM / Kernel that is tried and tested to not lag on OnePlus 3T? I am currently using a different phone just to play the game and I really wish to move back to my phone ... Any method that is tried and tested to function properly with no lags on the current PubG update would be really appreciated
Click to expand...
Click to collapse
You will be hard pressed to find a combo that works. You will most likely need to build a rom made for it as most roms are not made for gaming which to be honest is a sad state on mobile device.
zelendel said:
You will be hard pressed to find a combo that works. You will most likely need to build a rom made for it as most roms are not made for gaming which to be honest is a sad state on mobile device.
Click to expand...
Click to collapse
Try msm extended pie and aosp extended pie both with stock kernel runs pubg smooth with hd - high fps
Well i'm baffled with you guys, i ran it just fine, i even downclocked it to 1 & 1,5 Ghz (lil&big). My configs: Omnirom and the included kernel (holydragon) downclocked, display driver updated to V313 (look for adreno driver in mi mix forum) use rev15 as it is less glitchy and even has tangible score boost almost 6000 gain in antutu GPU section. And that's it, HD and High setting acquired, i even get extreme setting when i first install the driver, but somehow it disappears lol. If you want to run it even better, use old gfxtool to old pubg apk, run and then update the pubg, immediately uninstall the gfxtool to avoid ban by the new pubg detection for gfxtool. Sorry too long.
Rizezky said:
Well i'm baffled with you guys, i ran it just fine, i even downclocked it to 1 & 1,5 Ghz (lil&big). My configs: Omnirom and the included kernel (holydragon) downclocked, display driver updated to V313 (look for adreno driver in mi mix forum) use rev15 as it is less glitchy and even has tangible score boost almost 6000 gain in antutu GPU section. And that's it, HD and High setting acquired, i even get extreme setting when i first install the driver, but somehow it disappears lol. If you want to run it even better, use old gfxtool to old pubg apk, run and then update the pubg, immediately uninstall the gfxtool to avoid ban by the new pubg detection for gfxtool. Sorry too long.
Click to expand...
Click to collapse
Can you share the old apks?
Rizezky said:
Well i'm baffled with you guys, i ran it just fine, i even downclocked it to 1 & 1,5 Ghz (lil&big). My configs: Omnirom and the included kernel (holydragon) downclocked, display driver updated to V313 (look for adreno driver in mi mix forum) use rev15 as it is less glitchy and even has tangible score boost almost 6000 gain in antutu GPU section. And that's it, HD and High setting acquired, i even get extreme setting when i first install the driver, but somehow it disappears lol. If you want to run it even better, use old gfxtool to old pubg apk, run and then update the pubg, immediately uninstall the gfxtool to avoid ban by the new pubg detection for gfxtool. Sorry too long.
Click to expand...
Click to collapse
Can you share the rev15 zip of those drivers? I went to that thread and all the dev has right now i rev22 or rev21.

how long does your battery last?

Hello there guys, I've started to use this phone a week or so, and I tried a bunch of different ROMs and finally I have settled with Dot Os since is the one that worked flawlessly for me, but here's my question
How long does your battery last?
I've seen older posts complaining about this phone battery. But I wanted to check with you guys that have been using this phone with custom ROMs.
My battery last very poorly, most days I need to recharge from 2 to 3 times in the same day, I don't play games, but my screen time is long I suppose, I use it a lot to look up things in the browser or to read posts on reddit mostly.
Since this is a second hand phone I thought it could be that the battery had run its course and that it was time for a replacement, but even with a new battery the performance still far from desirable.
It's very hard to compare, because it depends a lot on your ROM, kernel, adjustments and usage !
On my side I bought the phone (a6020a46) more than a year ago, and I use it for my work with Bluetooth for the headset, but I don't use much games or browser, so it lasts around 24 hours...
Really the developers have stopped thinking about the battery life, custom roms are more focused on performance and smoothness now a days. I am watching temperature of my cpu its always above 42 C even on using whatsapp it gets heated. I was searching for Kernal with hotplug like stock kernel but didnt found. All CPU cores are working Tirelessly consuming tons of battery. I wonder whether no developer can develop a battery saving kernel with better management of cores like stock kernel developed in 2016.
It could be the ROM, but since I'm not sure what to expect from this phone in trying to first figure it out if my battery is in fact OK, so you guys recommend any app or method for that, I'm using Accubaterry and according to it my battery health is fine, but even though it can't last a whole day on the other hand I can't complain about performance, it really is fast and just works (DotOS)
Edit : yeah I think that the main source of battery drain might be the ROM itself, I've been lookin at kernel adiutor and by default all cores are always on with the minimum frequency of 960 MHz
Sent from my A6020l36 using XDA Labs
ghst7 said:
It could be the ROM, but since I'm not sure what to expect from this phone in trying to first figure it out if my battery is in fact OK, so you guys recommend any app or method for that, I'm using Accubaterry and according to it my battery health is fine, but even though it can't last a whole day on the other hand I can't complain about performance, it really is fast and just works (DotOS)
Edit : yeah I think that the main source of battery drain might be the ROM itself, I've been lookin at kernel adiutor and by default all cores are always on with the minimum frequency of 960 MHz
Click to expand...
Click to collapse
Only kernel with hotplug turning the cores off by default I've found is the one that comes with AEX 5.7 by Harry.
See this post:
https://forum.xda-developers.com/k5-plus/development/rom-aospextended-v5-0-t3688595/post77036466
Also he added a core control to manage hotplug values.
You don't like (for whatever reason) cores being offlined all the time? Ok, go to core control and set the properly value to switch all the cores on as you like.
If you want low battery consumption, I would suggest to stay on Nougat, it's not a troll it's a fact
walterfuster said:
Only kernel with hotplug turning the cores off by default I've found is the one that comes with AEX 5.7 by Harry.
See this post:
https://forum.xda-developers.com/k5-plus/development/rom-aospextended-v5-0-t3688595/post77036466
Also he added a core control to manage hotplug values.
You don't like (for whatever reason) cores being offlined all the time? Ok, go to core control and set the properly value to switch all the cores on as you like.
Click to expand...
Click to collapse
thanks I will check it out AOSPEX and see how it goes
adinechin said:
If you want low battery consumption, I would suggest to stay on Nougat, it's not a troll it's a fact
Click to expand...
Click to collapse
Honestly I don't really care if it's nougat, oreo or whatever, I'm just looking for a stable release to use as a daily driver for a while since I can't keep flashing a new ROM every day
@shubhgoan, @ghst7 here's offlining hotplug working properly on Oreo AOKP, by using Dragon Elite v1.4 kernel.
As many others custom ROMs, no way to hotplug the cores without using a custom kernel wich support that feature.
I'll be testing how much the battery lasts now.
@walterfuster let me know how it's goes, BTW can you tell me where did you find DE kernel v1.4? On the Dev section I have found only version 1.2
In the meantime I'm using AOSPEX and although the hot plug behavior is not that aggressive, it works and I already have noticed an improvement in my battery life
Sent from my A6020l36 using XDA Labs
walterfuster said:
@shubhgoan, @ghst7 here's offlining hotplug working properly on Oreo AOKP, by using Dragon Elite v1.4 kernel.
As many others custom ROMs, no way to hotplug the cores without using a custom kernel wich support that feature.
I'll be testing how much the battery lasts now.
Click to expand...
Click to collapse
I am using Dragon Elite on RR oreo now i switched to Aokp with DE 1.4. But i Didnt see any hotpluging or thunderplug. Please give the Details of how you flashed and which exact rom with all changes you did.
---------- Post added at 06:08 AM ---------- Previous post was at 06:06 AM ----------
ghst7 said:
@walterfuster let me know how it's goes, BTW can you tell me where did you find DE kernel v1.4? On the Dev section I have found only version 1.2
In the meantime I'm using AOSPEX and although the hot plug behavior is not that aggressive, it works and I already have noticed an improvement in my battery life
Sent from my A6020l36 using XDA Labs
Click to expand...
Click to collapse
You will find it on Androidfilehost website in the developers folder.
ghst7 said:
@walterfuster let me know how it's goes, BTW can you tell me where did you find DE kernel v1.4? On the Dev section I have found only version 1.2
In the meantime I'm using AOSPEX and although the hot plug behavior is not that aggressive, it works and I already have noticed an improvement in my battery life
Click to expand...
Click to collapse
you'll find in page 8 from the same thread:
https://forum.xda-developers.com/k5-plus/development/kernel-t3725978/post76549650
which was the last update this kernel had.
shubhgoan said:
I am using Dragon Elite on RR oreo now i switched to Aokp with DE 1.4. But i Didnt see any hotpluging or thunderplug. Please give the Details of how you flashed and which exact rom with all changes you did.
Click to expand...
Click to collapse
STEPS:
flash DE kernel doing the cache/dalvick wipes previously.
install this app:
https://androidfilehost.com/?fid=673791459329056791
(similar to KA)
open it and goto CPU Hotplug->Hotplug Style and select "Per-Core-Hotplug".
That's it.
Now check with CPU info overlay cores automatically being turned on/off according to needing.
@shubhgoan I corrected the link. Sorry for that bro.
walterfuster said:
STEPS:
flash DE kernel doing the cache/dalvick wipes previously.
install this app:
https://androidfilehost.com/?fid=673791459329056791
(similar to KA)
open it and goto CPU Hotplug->Hotplug Style and select "Per-Core-Hotplug".
That's it.
Now check with CPU info overlay cores automatically being turned on/off according to needing.
@shubhgoan I corrected the link. Sorry for that bro.
Click to expand...
Click to collapse
thanks a lot
@ghst7 Just reporting the results running DE as you requested me some posts ago.
What do you think? It's real. I promise.
walterfuster said:
@ghst7 Just reporting the results running DE as you requested me some posts ago.
What do you think? It's real. I promise.
Click to expand...
Click to collapse
Thanks I will try it myself with DotOS and see how it goes, AOSPEX also worked pretty well for my battery, it got to last a full day worth of work.
walterfuster said:
(similar to KA)
open it and goto CPU Hotplug->Hotplug Style and select "Per-Core-Hotplug".
Click to expand...
Click to collapse
Hey I looked it up but couldn't find relevant info about this, can you explain it what exactly does this option do?
ghst7 said:
Hey I looked it up but couldn't find relevant info about this, can you explain it what exactly does this option do?
Click to expand...
Click to collapse
yes, it makes hotplug work, turning the cores off and on independently, depending on the cpu load.
I'm in stock rom, thinking about changing to aospex, i'm just done with 2 hours of battery from the stock rom, but I've never made any custom rom stuff... So, what's the best battery life/performance rom out there?
sevla_luke said:
I'm in stock rom, thinking about changing to aospex, i'm just done with 2 hours of battery from the stock rom, but I've never made any custom rom stuff... So, what's the best battery life/performance rom out there?
Click to expand...
Click to collapse
You will have to flash ROMs and find the one that works for you, from my experience AOSPEx, Dot Os and AOKP are all pretty good, if you wish to improve your battery life you can also flash DE kernel
Sent from my A6020l36 using XDA Labs
Hey @walterfuster sorry to bother you again, but can you answer one last question for me, are you using an external SD card? And if so is your SD card formatted in what extension, fat32 or exfat?
I'm asking because I'm using a 64gb SD card formated as Exfat, and every time after I flash DE kernel I lose access to it, I mean the system still recognize my SD card but when I navigate to it, it shows no files, they are still there I just can't access them, I just want to be sure before I have to make a huge backup to format my SD card as fat32, I'm on AEX 5.7 btw
Sent from my A6020l36 using XDA Labs
ghst7 said:
Hey @walterfuster sorry to bother you again, but can you answer one last question for me, are you using an external SD card? And if so is your SD card formatted in what extension, fat32 or exfat?
I'm asking because I'm using a 64gb SD card formated as Exfat, and every time after I flash DE kernel I lose access to it, I mean the system still recognize my SD card but when I navigate to it, it shows no files, they are still there I just can't access them, I just want to be sure before I have to make a huge backup to format my SD card as fat32, I'm on AEX 5.7 btw
Click to expand...
Click to collapse
Hi guy, oh, I don't use an external SD card, so, I can't check anything for you.
BTW, I've also tried PB2 kernel with AOKP (completely compatible), and no chance to hotplug. It's a shame, man. because it's a great kernel: no random reboots like DE 1.4, and also has overclocking!
So, only way to get hotplug on any custom Oreo is by flashing DE v1.4, AFAIK.
I also attempted a crazy thing wich was replacing AOKP boot, with the one from AOSPEX, in order to run AOKP with AOSPEX kernel, to finally get hotlugging, but, guess what: DIDN'T work. Just got an endless unicorn boot logo

Thermals and Kernel Managers

Thermals, Kernel Managers and their affect on short and long term battery life.
As requested, by fellow LePro 3 owners, I created this thread for a discussion on the benefits of thermal management, using manual thermal settings, and sharing flashable thermals and user settings. To be clear I am not yet an expert on this subject, so I am learning along with everyone else. But, why not share the experience?
Of course we want our phones to last, while also pushing them to their limits, but in a safe and efficient manner. Recently our developers have shared their ideas on thermal management, and they have been gracious enough to allow us access to their own settings, that can be used across multiple builds. See the link below to download the first set of flashable thermal management options.
Recently, some of us have encountered shutdown issues, with some roms having battery stats reporting issues, unexpected shutdowns, and unrelated unrelated lockscreen issues. We users have found that often these troubled builds can be fixed by flashing a fix. Such as the thermals from a previous or other builds that did not have the same issue. Fortunately, it appears that we can use alternate perf and thermal management files that have not only offered a quick fix for some of these current issues, but also offers a longterm solution for using old, new, and future roms builds...collectively. :good:
The plan is to make this discussion much more extensive and simple
So consider this initial post to be an ever changing rough draft.
The end goal is to make it much easier for people to access and share their thermal management files or settings in one easily found central location, and hopefully for everyone to share their suggestions along the way
Helpful to Gamers who want safe power and speed.
Helpful to Non-Gamer's who want simply want stable performance, long battery life
Help everyone by helping us learn to optimize our phones to last for the longterm.
For me, no more repeating the same stuff over and over on various Rom threads, or private messages. No more having trouble digging through threads to find a recommended thermal or setting. So please participate, we can keep the OP updated whenever anything new comes along. Should I get access to something new I will add it to the Megadrive and make a post
Inventory
So far we have the thermals from Lineage, AEX, Balkan, AICP, EUI and in my view one the best is the latest by Jabashque. The idea of this post is to share the thermal settings so that they can be used on whichever ROM you want to try out.
Finally, you do not necessarily need to use these thermals unless you have an issue with general usage, heat or battery life. However, you will immediately notice the benefits.
Edit ( Updated Info)
Regarding kernels: Personally, I use BlackScreen 6.3, it has a long list of governors and I like options.
Currently the best thermal option is the Jabashque edit ( Thermal Fix 7 ) Get it Here: https://forum.xda-developers.com/showpost.php?p=78717015&postcount=18
These thermals work!
Over the past 2 weeks, I have gone back and tried several old ROMs, and these thermal and profiles make those old Roms perform so much better! For example, the September 3rd JMXL version of DotOS.: Yes, Its outstanding with the Sergey thermal. BootLegger's is also much improved, and it was already pretty great as it was. The Miui ROMs, are significantly improved by far! etc.
Of course we have so many great Roms. Occasionally, we get a build that is experimental and it may have unexpected issues. We have seen over the past week that flashing an alternate thermal is a perfect way to save the installation without having to revert to an earlier build. I mentioned old Roms above, they also work on every single Pie Rom.
Here is My Mega Drive Link for all of Thermals that I have collected so far
https://mega.nz/#F!9EokAQTb!Au6cBnJaCJXZrUlaXSLjhg
Alternate Link with key
Link: https://mega.nz/#F!9EokAQTb
Key: Au6cBnJaCJXZrUlaXSLjhg
Jabasque's thermals are in the Jabashque folder. Version 1 and 2 :
Probably shouldn't result in any difference if not gaming.
"Most likely, it would only be noticeable if you're not throttled down to 1440/1900MHz and you're running something that's using 100% cpu" ( Jabashque)
What to use
If you are wanting long battery life and low temperatures use Sergey's thermal or JaBashque version 1
If you want stock EUI faster throttling but slightly higher temps use the ShivateJappedi EUI thermal.
If you want to leave your cores unchanged from the default setting with higher temp throttling, more full power access and yet still safe while use JaBashque 6 Its a rework of the EUI 30s thermals designed to work better on modern Pie Roms : See more information here: https://review.lineageos.org/c/LineageOS/android_device_leeco_zl1/+/238809
Soon, I will create a post in the reserved section below to deeply define the details and differences between these thermals. Because while they all have similarities, they are also very different from one another.
In addition, I plan to add various kernel manager settings for various uses : Gaming, Long Life etc.
Finally, even when moving to another Rom. kernel manager programs such as Ex Kernel Manager will allow you to import and use saved profiles. It seems that it is possible to save the best of each of these thermals by saving the profiles of each. We can share those settings! Then later you can manually choose within your kernel manager which settings you want to use by simply importing choosing a preferred profile.
I hope this clears up the confusion. As mentioned this is a work in progress that was requested by 3 people. This is just the beginning of this discussion that will help everyone understand how to use Kernel Managers and the add-on thermals patches. I need to do some further research to make it all worthwhile . For example, although I love the elementalX governor, I haven't researched it enough to explain why I think it's better. So I plan to find out specifically what it's actually doing vs what other governors do, and how does changing sample rates, and wake locks affect performance and battery life etc.
If there are any experts out there? Please chime in and contribute.
See Updated information from Jabashque, which explains the differences between patch 1 and patch 2
https://forum.xda-developers.com/showpost.php?p=78670166&postcount=2
Installation
Dirty flash the patch that you want to use..thats it.
If you want to try a different patch, dirty flash the Rom, reflash Magisk and dirty flash the patch
You can manually adjust settings by going to /vendor/etc/thermal-engine.conf
Update from JaBashque Edit April 21 2019: ( I use ThermalFix7, its my personal favorite/ it is the best and the safest period.)
@tsongming
Hey, after seeing your thread about thermals, I felt I should write an explanation about how my v1 and v2 differ from stock EUI thermals that you could add to that forum post, since the one you have on there was me describing the difference between v1 and v2, not stock EUI: "JaBashque"
There are two different set of sensors that the original config monitors for the CPU:
the CPU temp sensors (tsens_tz_sensor{4,6,9,11}) and xo_therm_buf. The CPU temp sensors measure the temps of the cores themselves. xo_therm_buf measures what seems to be some sort of overall temperature, though I'm not sure what in particular. However, xo_therm_buf does correlate more directly with how hot your phone feels.
Original:
thermal-engine rapidly throttles your CPU down to 902MHz on the little cores and 825MHz on the big cores when any one of the cores hits 95C, and stops only when the hottest core drops back to 65C. When xo_therm_buf gets to 43C, thermal-engine slowly throttles all your cores to 902MHZ little and 825MHz big until xo_therm_buf drops back to 40C.
Patchset 1:
thermal-engine rapidly throttles your CPU down to 902MHz on the little cores and 825MHz on the big cores when any one of the cores hits 85C, and stops only when the hottest core drops back to 65C. When xo_therm_buf gets to 37C, thermal-engine throttles all your cores to 1440MHZ little and 1900MHz big until xo_therm_buf drops back to 34C. When xo_therm_buf gets to 43C, thermal-engine throttles all your cores to 1132MHZ little and 1363MHz big until xo_therm_buf drops back to 40C. When xo_therm_buf gets to 50C, thermal-engine throttles all your cores to 979MHZ little and 1132MHz big until xo_therm_buf drops back to 43C.
Patchset 2:
thermal-engine throttles your CPU down to 1516MHz on the little cores and 2054MHz on the big cores when any one of the cores hits 95C, and stops only when the hottest core drops back to 65C.
This change was made because I realized that the previous version still had a situation where the CPU performance can tank unpredictably. xo_therm_buf-related CPU throttling is same as Patchset 1.
Thanks to JaBashque for sharing his work! Patch-set 2 is my personal preference. Although the Sergey Perf + Combo is also very good.
@tsongming
Thank you very much for listen us and always give your help.
Rigth now I am on BaikalOS 28th December 2018, if I want to flash any Profile of those, what I should to do (Clean flash? This first, later that etc... and Wich of them I should ti flash for best battery, I do not play on movil)
I am very curious for test this...
I have x722, I do not play. I am now on aex 5.7 oreo. The most depends on the battery, so which zip to flash ? This is a great topic.
kukuteku said:
@tsongming
Thank you very much for listen us and always give your help.
Rigth now I am on BaikalOS 28th December 2018, if I want to flash any Profile of those, what I should to do (Clean flash? This first, later that etc... and Wich of them I should ti flash for best battery, I do not play on movil)
I am very curious for test this...
Click to expand...
Click to collapse
You can dirty flash these thermals.
Personally I like Sergey and Jabashque version 2 the best so far on Pie roms.
The Shivate patch works really well on Marshmallow, Nougat and Oreo.
The Sergey patch works really well on Oreo and Pie, I haven't tried it on Nougat Roms yet.
You can manually adjust settings by going to /vendor/etc/thermal-engine.conf and In this same folder ( vendor/etc) you can also make audio changes, and I am not talking about policies and Tasha.xml files, although you would make changes to those files too, if wanted. This will be something that we can discuss in more detail soon.
gsiwy said:
I have x722, I do not play. I am now on aex 5.7 oreo. The most depends on the battery, so which zip to flash ? This is a great topic.
Click to expand...
Click to collapse
Either the Sergey or the JaBashque 2 with be perfect, depending on what you want.
Use Sergey if your goal is battery saving.
Use JaBashque 2 if you want better gaming performance.
@tsongming thank you for this useful thread. I just have one question. I noticed that sergey's thermal file you uploaded comes also with perf so do you know is it maybe EUI perf and if not is it possible to upload just sergey's thermal without perf? Thanks.
I'm using aex 6.2 and i play a lot of games, but i looking for something that gives the power to run the games and after that (of course after some time without using the cellphone to cooldown) use the phone without worry of him overheat with simple use like 39 or 37 ºC. Do you have something like that?
I have a x722
MnMchill said:
@tsongming thank you for this useful thread. I just have one question. I noticed that sergey's thermal file you uploaded comes also with perf so do you know is it maybe EUI perf and if not is it possible to upload just sergey's thermal without perf? Thanks.
Click to expand...
Click to collapse
Sure, I can extract the perf, I will do that and add it to a separate folder so that there are two options.
Edit: Here is the Sergey thermal only
I removed the perf and added the additional key edit options from the Jabashque patch. So this a combo patch.
Use at your own risk
However, I have tested this and it works fine. I wanted to give the caveat that I am a Noob at this! But its okay. FYI: all I did was remove the perf, so now the perf will come from the rom and I added the Moshe key feature, which some Roms such as AICP includes anyway.
https://mega.nz/#F!ZVpXBQjC!PpXn1ZtLEHJb72Gbw7nWqg
Heitor Lima said:
I'm using aex 6.2 and i play a lot of games, but i looking for something that gives the power to run the games and after that (of course after some time without using the cellphone to cooldown) use the phone without worry of him overheat with simple use like 39 or 37 ºC. Do you have something like that?
I have a x722
Click to expand...
Click to collapse
Use the Jabashque 2
See updated in depth info from JaBashque : here: https://forum.xda-developers.com/showpost.php?p=78670166&postcount=2
So, thank you for your work!!One question,i am at the last AICP Pie,do you believe is better to flash one of these or stay with the settings of AICP?
Thanks in advance!
Don't work
I used to play pubg and the big stay on 1,4 ghz and little on 1,0 ghz
tsongming said:
Sure, I can extract the perf, I will do that and add it to a separate folder so that there are two options.
Edit: Here is the Sergey thermal only
I removed the perf and added the additional key edit options from the Jabashque patch. So this a combo patch.
Use at your own risk
However, I have tested this and it works fine. I wanted to give the caveat that I am a Noob at this! But its okay. FYI: all I did was remove the perf, so now the perf will come from the rom and I added the Moshe key feature, which some Roms such as AICP includes anyway.
https://mega.nz/#F!ZVpXBQjC!PpXn1ZtLEHJb72Gbw7nWqg
Click to expand...
Click to collapse
Works good, thanks.
geo307cc said:
So, thank you for your work!!One question,i am at the last AICP Pie,do you believe is better to flash one of these or stay with the settings of AICP?
Thanks in advance!
Click to expand...
Click to collapse
If you are not having any issues, then don't install any of these.
However, if you want to try it, keep a record of your existing performance, battery life, heat levels for battery and CPU (when idle) and compare that against using these thermals.
If you flash one of these thermals and don't like it. You can quickly return to your previous settings by dirty flashing your rom, or by restoring the system part of a nandroid backup.
Heitor Lima said:
I used to play pubg and the big stay on 1,4 ghz and little on 1,0 ghz
Click to expand...
Click to collapse
So which one of the 5 thermals did you try? Some of them include perf
Understand that you still have to setup your kernel manager. If you are wanting to use it for Gaming use the JaBashque version 2 to and leave the cores on the highest setting.
Yes, it works. It works for me a and a lot of other people on Telegram
If you want low temperatures and long battery life underclock the cores at idle my battery hovers around 85 F and the CPU are around 100-105F
Just so you know you can access your thermal.conf file and edit it manually to increase your thermal limit in /vendor/etc/thermal-engine.conf
Next, save a copy of your existing current setup as a profile, so you can easy switch from one to another with ease and easily compare it to the changes of using an alternative file. You can tweak it to the settings that you are wanting...Just keep safety in mind or you could burn up your CPU.
UpDate!
@jabashque has spent time recently improving his thermals further, and released several new versions .
The latest and greatest is now version 6!
Get it here: https://mega.nz/#!pFoSRaQA!R068WV-YltbQAFzuc3aH72z_OPyrN2uBjgsux2h0dNY
If you like it, please thank him!
Anyone who is using the last build of Jabashque 6 . It has a small error with he tthermal.
Flash this zip file from my Mega drive.
https://mega.nz/#!UZwhAQwY!GDUYQX2Ewcj92jjhs2t-oYnVcUKSbu9WfaOyAJjaKzs
The file adds a GPU setting to the Thermal
Repair by Jabashque: https://mega.nz/#!UZwhAQwY!GDUYQX2Ewcj92jjhs2t-oYnVcUKSbu9WfaOyAJjaKzs
Reference : https://review.lineageos.org/c/LineageOS/android_device_leeco_zl1/+/239612
I want to install Bootleggers os 8.1 on x722 and I have a question: after installing romu and gapps and initial configuration I can flash BS5.1-r3 AND thermal.zip a magisk mantle? will thermal.zip not interfere with BS? Thank you.
gsiwy said:
I want to install Bootleggers os 8.1 on x722 and I have a question: after installing romu and gapps and initial configuration I can flash BS5.1-r3 AND thermal.zip a magisk mantle? will thermal.zip not interfere with BS? Thank you.
Click to expand...
Click to collapse
Sorry I haven't been on XDA much recently, and never received the notification.
If you use Bootleggers, the stock kernel is fine. But blackScreen 6.3 will work fine and it gives you more options. You flash the thermal at anytime. I recommend the Thermal-fix7 which is Jabashque 6 that I edited to fix a typo. No there is no conflict

Categories

Resources