Hello folks!
This thread is intended for sharing, please be kind. Any suggestions would be appreciated
A few days ago I was tired of having my Mi3 running on stock global dev MIUI 8, it was inefficient system with really bad memory management. On my experience, the MIUI tend to run out of memory. In some case, after a few hours of usage the system cannot reclaim the occupied RAM, thus making the system lags a lot and generate excessive heat!
Yes, MIUI is a feature-rich ROM, and the Mi ecosystem is a pretty mature ecosystem. However, those all greatness needs a lot of power to run on our 3 year old device. After a few research I decided to switch to CM13 ROM.
With efficiency in mind, I do my research and tinkering with my device to get the best setup possible without losing performance. The results are AMAZING! I can use my phone for a whole day without recharge in the mid day. All of this with huge improvement on performance, Real Racing 3 highest graphic setting without any noticeable lag! CPU and battery temperature are now significantly lower (43-47C idle / light tasks, 55-57C heavy gaming). Now that I've found the best setup, I want to share it with you folks! Here we go:
Mi3W 64GB
CM13 ROM snapshot build
CM kernel (automatically flashed while flashing CM13 zip through TWRP)
Screen resolution changed to 720x1280 use this guide
Modded interactive CPU governor (see screenshot below)
Undervolt (see screenshot below, this one really helps reduce CPU working temperature)
Noop I/O scheduler
Reduce aggresiveness of LMK (see screenshot below)
Thats all folks, hope this guide will get our Mi3 having another year of flagship-grade experience! Cheers! :highfive:
How did u undervolt
kingnikpic said:
How did u undervolt
Click to expand...
Click to collapse
It depends on the kernel used. Cm kernel that he used supports undervolt. Careful when undervolting though as too much of it can cause cpu instability and reboots.
kingnikpic said:
How did u undervolt
Click to expand...
Click to collapse
Yes, it depends on the kernel used. Some kernel support undervolting while others don't. You need to flash kernel that support undervolt.
solazz said:
It depends on the kernel used. Cm kernel that he used supports undervolt. Careful when undervolting though as too much of it can cause cpu instability and reboots.
Click to expand...
Click to collapse
While testing CPU voltage value, don't tick "apply on boot" option until you find the most stable voltage without causing system reboot or crashes. Every CPU has different limit on how far you can undervolt, but you can use the values on my screenshot as guidance (Snapdragon 801 / MSM8974-AB only)
Wow!! Thanks a lot bro. I'll fiddle now with my phone.
miui8polska,i cant root it .can you give me a supersu.zip?
Sent from my MI 4LTE using XDA Labs
Random reboot after setting undervolt just likes yours
z1d4n21 said:
Random reboot after setting undervolt just likes yours
Click to expand...
Click to collapse
Undervolting (and clock adjustment, in general) pretty much is a case-per-case basis, so different handsets (even if it's the same type of device) may have different setup. Try lowering it first incrementally and test it, until you have it stable enough.
rxl.noir said:
Undervolting (and clock adjustment, in general) pretty much is a case-per-case basis, so different handsets (even if it's the same type of device) may have different setup. Try lowering it first incrementally and test it, until you have it stable enough.
Click to expand...
Click to collapse
Ok thanks i will test it later
Related
Hello guys
I'd like some help on installing the Undervolt for WB's 4.0.3 ROM
I'm on 4.0.3 stock kernel. All I have to do is flash the Undervolt addon and Ill be good or do I need other apps like CPU Master after flashing it?
I know theres a lot about it in the topic but its all untied and confusing
If someone could take some time to explain to me how it works I'll be really thankful.
dnt have wb rom but in general I believe ud update with the file provided n I believe u would need either set cpu or cpu master to be able to adjust the minimum value to the lowest 1 possible
Sent via xda using cyanogenZmod running Enigma v2.3 on Xperia x10
So whats the difference between having just cpu master and setting it to the minimun and doing the same with the UV?
Sent from my X10i using XDA App
Hi,
for undervolting you do not need an additional app.
Ralf
Kat-CeDe said:
Hi,
for undervolting you do not need an additional app.
Ralf
Click to expand...
Click to collapse
I want to understand the difference between just setting the CPU speed with an app like CPU master and setting it with undervolt flashed
Could someone please explain?
i flashed the stock kernel first but there was no option to 128mhz also i believe uv works without app...you can also flash the custom kernel and choose the least frQ as i did. i also have enlightment but don't know is that from overclocking to 1113mhz or from the minimum 128mhz or from the undervolt itself??
romasalah said:
i flashed the stock kernel first but there was no option to 128mhz also i believe uv works without app...you can also flash the custom kernel and choose the least frQ as i did. i also have enlightment but don't know is that from overclocking to 1113mhz or from the minimum 128mhz or from the undervolt itself??
Click to expand...
Click to collapse
I think overclock/underclock is different from undervolt, no?
Hi,
underclock = reduce frequency = gain life
overclock = increase frequency = loose life = gain speed
undervoltage = reduce voltage for certain frequencies = gain life
With good settings for undervoltage and underclocking you can gain a lot of extra batterie life.
Ralf
Kat-CeDe said:
Hi,
underclock = reduce frequency = gain life
overclock = increase frequency = loose life = gain speed
undervoltage = reduce voltage for certain frequencies = gain life
With good settings for undervoltage and underclocking you can gain a lot of extra batterie life.
Ralf
Click to expand...
Click to collapse
nicely said.. I totally got the end of the wrong boat there! lol
Sent via xda using cyanogenZmod running Enigma v2.3 on Xperia x10
Under and overclocking changes the speed at which the cpu works.
Less speed means it doesnt work as hard so saves battery.
More speed means it works harder so needs more power so reduces battery life.
At the different speeds the cpu works at it uses different voltages from the battery, less speed needs less voltage, as the speed increases it pulls more volts from the battery.
The voltages it uses are controlled by the kernel.
The undervolt module changes the default voltages each speed uses so in effect a higher cpu speed can work at a lower voltage so it improves performance at no cost to the battery life.
However, if the new voltages are too low the cpu doesnt have enough power to run so you WLOD.
The UV module (and custom kernels) have been tested on loads of devices and generally are stable, however, reading the threads suggest that some phones are still vulnerable to the occasional WLOD using these modules...
Just try and see what is stable for you...
Just remember
Always backup in case you f*** up!!!
but what causes the enlightment??!!! over or under clock?
romasalah said:
but what causes the enlightment??!!! over or under clock?
Click to expand...
Click to collapse
Sir, i think you missunderstood the point of the topic.
The enlightenment which im talking about is learning the beyond the basics of undervolting you device and not a function of the addon
10assaye said:
Under and overclocking changes the speed at which the cpu works.
Less speed means it doesnt work as hard so saves battery.
More speed means it works harder so needs more power so reduces battery life.
At the different speeds the cpu works at it uses different voltages from the battery, less speed needs less voltage, as the speed increases it pulls more volts from the battery.
The voltages it uses are controlled by the kernel.
The undervolt module changes the default voltages each speed uses so in effect a higher cpu speed can work at a lower voltage so it improves performance at no cost to the battery life.
However, if the new voltages are too low the cpu doesnt have enough power to run so you WLOD.
The UV module (and custom kernels) have been tested on loads of devices and generally are stable, however, reading the threads suggest that some phones are still vulnerable to the occasional WLOD using these modules...
Just try and see what is stable for you...
Just remember
Always backup in case you f*** up!!!
Click to expand...
Click to collapse
Thanks, that was very helpful!
Just to complement, which cpu speeds (low/high) are the recommended to undervolt the X10 on WB's rom?
GuilhermeXOT said:
Thanks, that was very helpful!
Just to complement, which cpu speeds (low/high) are the recommended to undervolt the X10 on WB's rom?
Click to expand...
Click to collapse
It seems to change from phone to phone because the chips inside are not all exactly the same.
They are tested to conform with stock speeds and voltages but can become unstable when changing these.
Some phones (Luckily mine included) can handle 128 - 1113 Mhz with ony a few (Very rare, about 2 a week) WLOD's while other people say their phones WLOD constantly with any change.
The best way is to apply the mod you want and check.
I seem to remember that the UV and the UC/OC modules are not compatble on WB's ROM, you have to choose what you want.
However, I am running freekernel 4.05 which allows me to use UV and then configure which speeds to run via SetCPU.apk.
If you install a kernel there is no need to apply the UV or OC/UC modules..
Read DooMLoRD's custom kernel thread, he has a lot of good info and useful tips on how to test which is best for your phone.
exactly, wolfbreak also mentioned in his thread about the incompatibility of overclock and undervolt with some devices.
unfortunately i'm at the short list of devices that can't handle both, for users like me he gave the option for stock kernel with optional undervolt, which i'm using now with no problems.
Thx for all the info guys! Now ill try the undervolt
I have one more question: everytime that i flash a update on the ROM i need to reflash Undervolt?
Hi all!
I premise that I'm quite good in modifying PCs: for example I successfully undervolted my HD5870 Mobility by flashing VBios.
You are not talking with a complete noob, I know what is undervolting, flashing operations (in PCs) and so on; I simply need someone who can teach me what to do, because I entered smartphones (and Android) world 2 weeks ago.
My goals are:
- Reducing temperatures
- Increasing battery life
- Rock Solidity in every condition
- Increasing my "skill" and create my own voltages pattern, I don't want a "pappa pronta", as we Italians say.
I don't now if it's possible to modify the original kernel. If yes, is root access needed?
Which applications are necessary?
Thanks ahead.
Luca
not possible with stock kernel
- Increasing battery life
Click to expand...
Click to collapse
Undervolting too far will actually result in less performance and higher battery usage. Even if the phone's stability seems unaffected it may have calculation errors or unfinished calculations at the end of a cycle so it will have to repeat them.
- Rock Solidity in every condition
Click to expand...
Click to collapse
My S3 randomly reboots with only 25mV undervolting. It seems to happen when the 3. CPU-Core is powered up. (But as soon as it's online it won't cause crashes)
There is a reason for Samsung setting a CPU voltage. That reason is physical limitations of electrical patterns and power loss and manufacturing instabilities.
If you're unlucky you cannot undervolt at all, if you're lucky you can go below -100mV
Thanks to both. I'd like to try... Battery life is secondary, my primary goal is to decrease temperatures...
Eden only a -25 mV would be appreciated!
Can you help me ?
Just flash Siyahkernel ( http://gokhanmoral.com/ ) and install the ExTweaks apps (free) from the Play Store. It brings everything you want/need and some more.
It also includes Root so your warranty is void when flashing. (At least in most countries...)
(Th wrranty would be gone anyway as soon as you tinker with the kernel)
And what about:
http://forum.xda-developers.com/showthread.php?t=1728758
?
(I know this kernel can't be modified)
You can flash any kernel you want thats for the i9300 and supports undervolting.
Which one to choose depends on your preference and feature requirements.
Hello all
I have a bit of a small problem. I like to run my phone using the Performance Governor but after a while it goes to 1Ghz on all 4 cores despite me running it at 1.8Ghz. Setting it back seems to correct the issue but in time it goes down again.
I believe it is getting a bit warm and thus it hits a limit and the system auto slows to 1Ghz.
Can anyone confirm this behaviour? It never happened to me before but I have had a few kernel updates and updates to the Omega ROM that could be the cause but I am not sure. Is there a setting where I can tell my phone what temps to throttle at?
Also, I assume all this is down to the Kernel and not the ROMs?
Would like some imput regards where to start my search to return my phone to its previous state as a pocket heater.
Many Thanks
Syl
. I like to run my phone using the Performance Governor
Click to expand...
Click to collapse
Don't use it. Pegasusq is the only one really working for multi-core CPU's with hotplugging and so on.
but after a while it goes to 1Ghz on all 4 cores despite me running it at 1.8Ghz.
Click to expand...
Click to collapse
1.8Ghz is not healthy for the CPU in the long run and will cause overheating which is exactly what you are currently seeing.
Especially since you keep the phone on 100% CPU power all the time (performance governor) which should drain battery like hell as a side effect.
Also, I assume all this is down to the Kernel and not the ROMs?
Click to expand...
Click to collapse
This is down to your settings. Neither rom nor kernel.
- Don't overclock (much)
-Use a good kernel such as Siyah
-Undervolt if the phone remains stable
-Use pegasusq Governor
-Enjoy
d4fseeker said:
Don't use it. Pegasusq is the only one really working for multi-core CPU's with hotplugging and so on.
1.8Ghz is not healthy for the CPU in the long run and will cause overheating which is exactly what you are currently seeing.
Especially since you keep the phone on 100% CPU power all the time (performance governor) which should drain battery like hell as a side effect.
This is down to your settings. Neither rom nor kernel.
- Don't overclock (much)
-Use a good kernel such as Siyah
-Undervolt if the phone remains stable
-Use pegasusq Governor
-Enjoy
Click to expand...
Click to collapse
Hi buddy and thanks for your response.
I am not sure about what you said regarding it working correctly, it gets the best results for any benchmark compared to others so I would be interested in more detail about the specifics of how its not working correctly as I have never been told that. It would be appreciated.
I dont mind the battery drain although I do heed your warning about about longevity of the CPU.
I have been using Siyah Kernel for some time now and I find undervolting a little unstable, for now I am forced to use pegasusq.
Can you or anyone else answer the original question as I still wish to pursue this to a resolve other than not using it.
Many thanks for your time and efforts non the less!
Syl
SyLvEsTeR20007 said:
Hi buddy and thanks for your response.
I am not sure about what you said regarding it working correctly, it gets the best results for any benchmark compared to others so I would be interested in more detail about the specifics of how its not working correctly as I have never been told that. It would be appreciated.
I dont mind the battery drain although I do heed your warning about about longevity of the CPU.
I have been using Siyah Kernel for some time now and I find undervolting a little unstable, for now I am forced to use pegasusq.
Can you or anyone else answer the original question as I still wish to pursue this to a resolve other than not using it.
Many thanks for your time and efforts non the less!
Syl
Click to expand...
Click to collapse
it´s samsung´s based roms related: when the battery temp hits 41C the cpu will throttle. Nothing related with de cpu temp (can be at 80C before throttles).
try CM10.1 and you´ll see what im talking about.
We need a solution for this throttling with samsung based roms
DISCLAIMER
Code:
USE AT YOUR OWN RISK, NO WARRANTY IS PROVIDED. ONLY TESTED IN H990DS.
Why?
Certain games doesn't work well in the original LOS17.1 kernel for me.
What's new?
alucard hotplug
What's fixed compared to the original kernel?
none, if you don't need the features here just use the original kernel which is better.
Which build should I use?
General build if you don't play heavy games. Likely more stable.
Gaming build if you play heavy games. Likely less stable. Based on gamma but still uses LOS 17.1 sources.
Gaming-OC build if you play heavy games and have good thermals. Likely less stable. 2.34ghz big, 1.88ghz little, 710mhz gpu. Note that default voltages might be too high, use Gaming build first, take notes of the voltages, flash Gaming-OC then fix it up when some frequencies are too high.
Is it plug and play?
Certain new features will be disabled by default.
Pre-configured settings on the new features are not optimized, you should configure it yourself.
You can use smartpack to change adrenoboost, undervolt/overvolt, etc.
If you are throttled by thermal-engine, you will likely to never reach the OC cpu frequencies.
IF YOU DON'T KNOW WHAT YOU ARE DOING, DO NOT TOUCH ESPECIALLY ANYTHING RELATED TO VOLTAGES.
LineageOS 16.0?
Some users say it works, so ¯\_(ツ)_/¯
Download Links
Download here
Changelog
BETA 1
Initial Release
BETA 2
general build skipped, nothing changed.
(Gaming) Voltage Control
(Gaming) OC builds
Special Thanks
mk2000, gamma.
sources
US997 should be labeled US996.
scottyrick said:
US997 should be labeled US996.
Click to expand...
Click to collapse
Thanks for noticing. US997 build has been removed
For anyone that already downloads US997 build, keep in mind it is not a typo of US996, it is really for US997 (LG G6).
lybxlpsv said:
Thanks for noticing. US997 build has been removed
For anyone that already downloads US997 build, keep in mind it is not a typo of US996, it is really for US997 (LG G6).
Click to expand...
Click to collapse
US996 works with the VS995 kernel but shows white screen while booting up. Otherwise works great.
what does that gaming folder means .i am unable know ..about these files ..plzz help
any update for this kernel? it's very amazing for battery life and performance
H918
I flashed general build and what I have noticed.
Battery life improved.
Games runs smooth.
Phone runs cooler now.
Overall very stable kernel.
Ir blaster is not working kindly fix it in another build.
Thanks for your great work. ?
Is it possible to add ttl support in the next build?
So happy to see someone still willing to spend time developer kernel for v20, so I just want to see if it's possible
No general build
Hello.. Thanks for the work you are doing. But i can't find general build. Thanks
princedede said:
Hello.. Thanks for the work you are doing. But i can't find general build. Thanks
Click to expand...
Click to collapse
I believe its in the beta 1 folder
Does PD charging work?
I was tried on h990ds I run antutu benchmark and I get score just 94.860
How it can be?
gading_aji said:
I was tried on h990ds I run antutu benchmark and I get score just 94.860
How it can be?
Click to expand...
Click to collapse
What are your thermals like? If ur cpu is getting too hot, it`ll lower it`s clockspeed
xxseva44 said:
What are your thermals like? If ur cpu is getting too hot, it`ll lower it`s clockspeed
Click to expand...
Click to collapse
cpu thermal is throttling, i will try run antutu 5 times with 1,5 Ghz Cpu Speed and 5 time with 2,1 Ghz CPU Speed
gading_aji said:
cpu thermal is throttling, i will try run antutu 5 times with 1,5 Ghz Cpu Speed and 5 time with 2,1 Ghz CPU Speed
Click to expand...
Click to collapse
I'd recomend removing the crap thermal pad and replacing it with thermal paste like arctic mx-4. I did it and my thermals are very good, the cpu barely goes over 55 degrees celsius under heavy load. Before the mod i was hitting 70-80 degrees
xxseva44 said:
I'd recomend removing the crap thermal pad and replacing it with thermal paste like arctic mx-4. I did it and my thermals are very good, the cpu barely goes over 55 degrees celsius under heavy load. Before the mod i was hitting 70-80 degrees
Click to expand...
Click to collapse
My device using LOS 17 and this kernel always loch CPU clockspeed @ 1,19 Ghz and it can't be modified
I don't know, this bug from kernel or the ROM??
could be battery
here's few things you can try :
using the thermal engine I put on the drive link.
This can be dangerous since it is tuned for my phone or you can use gamma's thermal engine flashable.
Disable BCL, this is dangeorus and may shorten your battery lifespan. ONLY USE THIS FOR TESTING.
Code:
echo -n disable > /sys/class/power_supply/bcl/device/mode
if BCL fixed it then you need a new battery and be sure to restart so bcl enables again.
lybxlpsv said:
could be battery
here's few things you can try :
using the thermal engine I put on the drive link.
This can be dangerous since it is tuned for my phone or you can use gamma's thermal engine flashable.
Disable BCL, this is dangeorus and may shorten your battery lifespan. ONLY USE THIS FOR TESTING.
if BCL fixed it then you need a new battery and be sure to restart so bcl enables again.
Click to expand...
Click to collapse
So the battery cause the clock speed lock at 1,19 Ghz??
This is a nice update to Gamma, but unfortunately anything beyond the camera-fixed-but-otherwise Gamma kernel in the `MAGISK-TWEAKS` directory doesn't have a functioning IR sensor - even in the supposed 'General' build. If this project is still in development, would it be possible to add the feature back in? It's a lot to ask for, but for those who use a V20 as a secondary device specifically for some of these (now) niche hardware features, it's almost the final decision between using this kernel, or not.
...I'd say 'other kernels' but, there really isn't anything else for new AOSP-based ROMs beyond, uh, Gamma.
What is the difference in between this kernel and last gamma kernel 20.0? Thanks
Let's share best configs for OnePlus 8 PRO. Anyone used it?
What is this?
A simple app that can custom GPU frequency and voltage tables without recompiling the kernel, compatible for Snapdragon 865 series, 855 series, 888, 765 series, 750 / 690 series and 780G.
How it works?
By unpacking Boot / Vendor Boot image, decompiling and editing relevant dtb (device tree binary) files, and finally repacking and flashing.
Why "KonaBess"?
"Kona" is the code name of Snapdragon 865 series.
Snapdragon 888 's GPU has minus improvement in energy efficiency, thus we are able to overclock sd865 and beat it. And this is the reason why the app was born.
Though sd888 is compatible now, the app name won't change.
How much improvement can I get?
I see someone undervolted his sd865, reducing power cost 25% in gfx(4.2w->3.2w) bench.
In fact, it is chip-specific and depends on your stability requirements.
Topic for Other Device
Download APK
Very helpfull if you provide example, also is it possible to under volt CPU too?
Who testing this solution? Works and safe ?
this worked wonders. I can play pubg and genshin impact with basically not that much heat and throttling
davidsamuelib said:
this worked wonders. I can play pubg and genshin impact with basically not that much heat and throttling
Click to expand...
Click to collapse
let us know what settings have you applied
Here's my config for less heat while trying to achieve maximum performance:
https://drive . google . com/file/d/1GhjJJttl5UZvUIytOSF1LZmEaPzxGbh6/view?usp=drivesdk
Paste and delete spaces.
I experience very rare artifacts in Dolphin Emulator with this config, so if you all suggest some changes, you're welcome.
Is there any tutorial for this?
CPU uv its possible this app?
I've been using this in combination with mslezak's fork of the Radioactive kernel. Undervolting works even on the overclocked gpu settings. It's fantastic.
For anyone wondering how to get this to work on stock, make a backup and offload it onto the pc first so you can recover in case of a failure.
Open the frequency settings and add a new frequency under the "Snapdragon 865" menu that matches the highest clock frequency in the "Snapdragon 865+" menu. They should be identical before proceeding. Hit the save button.
Edit the gpu volt table next, there's no submenus, it's all on one table. Hit the save button after any changes before you press the repack and flash button. "MIN_SVS" is the lowest voltage while the "Turbo" settings are the highest.
Do small changes, flash, then benchmark checking for artifacts and crashes.
Config v1
Overclocked and undervolted. If you see any artifacts, just bump voltage level up
Edit, removed.
No adreno boost.
DrDominate said:
I've been using this in combination with mslezak's fork of the Radioactive kernel. Undervolting works even on the overclocked gpu settings. It's fantastic.
For anyone wondering how to get this to work on stock, make a backup and offload it onto the pc first so you can recover in case of a failure.
Open the frequency settings and add a new frequency under the "Snapdragon 865" menu that matches the highest clock frequency in the "Snapdragon 865+" menu. They should be identical before proceeding. Hit the save button.
Edit the gpu volt table next, there's no submenus, it's all on one table. Hit the save button after any changes before you press the repack and flash button. "MIN_SVS" is the lowest voltage while the "Turbo" settings are the highest.
Do small changes, flash, then benchmark checking for artifacts and crashes.
Click to expand...
Click to collapse
What settings are you set?
Config v2
Edited voltages a bit.
Edit removed.
gsser said:
Edited voltages a bit
Click to expand...
Click to collapse
It's stable? No crash, bootloop, artifacts in daily usage?
Noob9496 said:
It's stable? No crash, bootloop, artifacts in daily usage?
Click to expand...
Click to collapse
yes, on high clocks voltage is set, editing lower clocks rn, giving rare artifacts in games. i will upload a new one soon
gsser said:
yes, on high clocks voltage is set, editing lower clocks rn, giving rare artifacts in games. i will upload a new one soon
Click to expand...
Click to collapse
What kernel do you use? Latest RA fork?
Noob9496 said:
What kernel do you use? Latest RA fork?
Click to expand...
Click to collapse
Yes
gsser said:
Yes
Click to expand...
Click to collapse
I will wait for your stable configuration
Edit, since nobody cared to read or give feedback i'm going to remove the config, idc if someone renames it and shares it, just know that i'm not responsible for any damages. Did my warnings, waited for some time and still got no feedbacks. Fine for me, and i will not give a v4, i will keep it to myself this time.
Noob9496 said:
I will wait for your stable configuration
Click to expand...
Click to collapse
Latest should be fine. Tested drainage between 295mhz and new voltage vaules of 4xxmhz, they differ like -40 -50mA which is ok considering clock difference. Should be stable now. Im not getting any artifacts or glitches.
gsser said:
Latest should be fine. Tested drainage between 295mhz and new voltage vaules of 4xxmhz, they differ like -40 -50mA which is ok considering clock difference. Should be stable now. Im not getting any artifacts or glitches.
Click to expand...
Click to collapse
If you manage to stabilize everything, I would be very grateful for sending the configuration. I care about the highest stability, energy efficiency and low temperatures.