kernel - Xiaomi Redmi Note 4 Questions & Answers

does this device have any custome kernel?i wanna buy it and i wonder if it has any kernels,mtk version is the choice in my country and i thought with a good kernel and underclock my cpu i can reach a good battery and i will be thakful if you introduce a good rom or tweaks or ............,thanks for your help

pou_gh2 said:
does this device have any custome kernel?i wanna buy it and i wonder if it has any kernels,mtk version is the choice in my country and i thought with a good kernel and underclock my cpu i can reach a good battery and i will be thakful if you introduce a good rom or tweaks or ............,thanks for your help
Click to expand...
Click to collapse
No kernel.

ekin_strops said:
No kernel.
Click to expand...
Click to collapse
at least tell me can i undervolt helio x20?!and can i underclock every core by kernel adiutor and turn off the cores or not?

pou_gh2 said:
at least tell me can i undervolt helio x20?!and can i underclock every core by kernel adiutor and turn off the cores or not?
Click to expand...
Click to collapse
AFAIK Mediatek use DVFS table to adjust SoC voltage so you can't undervolt Helio X20, but you can turn off cores and lower clock frequently by yourself, read this thread and DIY (that default script will limit cores to 5 and A72 cores will totally turn off)
https://forum.xda-developers.com/redmi-note-2/development/b-skinny-pro-t3347906

pou_gh2 said:
at least tell me can i undervolt helio x20?!and can i underclock every core by kernel adiutor and turn off the cores or not?
Click to expand...
Click to collapse
No you can't. That would require a specific kernel, which i think, we will not have.

longnt2007 said:
AFAIK Mediatek use DVFS table to adjust SoC voltage so you can't undervolt Helio X20, but you can turn off cores and lower clock frequently by yourself, read this thread and DIY (that default script will limit cores to 5 and A72 cores will totally turn off)
https://forum.xda-developers.com/redmi-note-2/development/b-skinny-pro-t3347906
Click to expand...
Click to collapse
ty

ekin_strops said:
No you can't. That would require a specific kernel, which i think, we will not have.
Click to expand...
Click to collapse
ty and wanna kill mtk?

longnt2007 said:
AFAIK Mediatek use DVFS table to adjust SoC voltage so you can't undervolt Helio X20, but you can turn off cores and lower clock frequently by yourself, read this thread and DIY (that default script will limit cores to 5 and A72 cores will totally turn off)
https://forum.xda-developers.com/redmi-note-2/development/b-skinny-pro-t3347906
Click to expand...
Click to collapse
the hotplug settings (that change the number of cores that stay online/offline) reset when you unlock from screen off
So far from what I've tried only tweaking GPU frequency/dfvs works using scripts
changing CPU speeds reset after unlocking from screen off.

asusm930 said:
the hotplug settings (that change the number of cores that stay online/offline) reset when you unlock from screen off
So far from what I've tried only tweaking GPU frequency/dfvs works using scripts
changing CPU speeds reset after unlocking from screen off.
Click to expand...
Click to collapse
I'm using AOSP rom and hotplug settings doesn't reset when unlock screen.
I've tested many times with GeekBench 4 show very low scores (2200 on multi-core and MTK Multicore Observer show A72 cores totally off, CPU temperature never exceed 50 °C) when use hotplug settings from Skinny boot image.

Related

MiniCM10 Processor Settings

Hello,
I'm writing this thread to know which processor options would be optimal in our minis. The best settings, which give me the best performance/battery, I've found are:
CPU Governor: SMARTASSV2 (Default)
Min Freq: 19MHz
Max Freq: 748MHz
Undervolt: TRUE
I'm also using Apex Launcher. Which settings are you using?
Note: This are just my results, be careful when you change your processor settings.
fuchini said:
Hello,
I'm writing this thread to know which processor options would be optimal in our minis. The best settings, which give me the best performance/battery, I've found are:
CPU Governor: SMARTASSV2 (Default)
Min Freq: 19MHz
Max Freq: 748MHz
Undervolt: TRUE
I'm also using Apex Launcher. Which settings are you using?
Note: This are just my results, be careful when you change your processor settings.
Click to expand...
Click to collapse
Whats the purpose of Undervolting when you have it's max frequency as overclock?
zvdelossantos said:
Whats the purpose of Undervolting when you have it's max frequency as overclock?
Click to expand...
Click to collapse
Because it undervolts on every frequency below 600, and his minimum is 19, so when the phone is idle or doesn't need all of the processing power he saves battery
The SmartAss governor is very good at picking the right frequencies for any given job, so it doesn't allways run on 748Mhz, not even when you're using the phone.
SmG67 said:
because it undervolts on every frequency below 600, and his minimum is 19, so when the phone is idle or doesn't need all of the processing power he saves battery
Click to expand...
Click to collapse
That is the same very purpose of SMARTASSV2 to undervolt your device when idle or on sleepmode and overclocks it when on process. So ticking the undervolt wont affect your device because the one that manage the frequency will be the COUgovernor.
zvdelossantos said:
That is the same very purpose of SMARTASSV2 to undervolt your device when idle or on sleepmode and overclocks it when on process. So ticking the undervolt wont affect your device because the one that manage the frequency will be the COUgovernor.
Click to expand...
Click to collapse
The SmartAss Governor only governs the frequencies, not the voltage that the Processor uses. there is a difference between the speed the cpu runs on (Mhz) and the amount of Electricity (Volts) it gets fed
Say Qualcomm has said it needs 5 volts to run at the stock frequency of 600Mhz, then the processor will always get 5 Volts, no matter which frequency it uses.
Undervolting will feed it less than the 5Volts when the frequencies are lower, SmartAss won't do that, it will run the 19Mhz still on 5Volts.
(Voltages are examples, i don't know the exact values, but I know that running on 122 or less will be stable on less than half of the nominal power)
SmG67 said:
The SmartAss Governor only governs the frequencies, not the voltage that the Processor uses. there is a difference between the speed the cpu runs on (Mhz) and the amount of Electricity (Volts) it gets fed
Say Qualcomm has said it needs 5 volts to run at the stock frequency of 600Mhz, then the processor will always get 5 Volts, no matter which frequency it uses.
Undervolting will feed it less than the 5Volts when the frequencies are lower, SmartAss won't do that, it will run the 19Mhz still on 5Volts.
(Voltages are examples, i don't know the exact values, but I know that running on 122 or less will be stable on less than half of the nominal power)
Click to expand...
Click to collapse
Nice yes yes. good reply. now I know whats the use of undervolting. thanks for the explanation
SmG67 said:
The SmartAss Governor only governs the frequencies, not the voltage that the Processor uses. there is a difference between the speed the cpu runs on (Mhz) and the amount of Electricity (Volts) it gets fed
Say Qualcomm has said it needs 5 volts to run at the stock frequency of 600Mhz, then the processor will always get 5 Volts, no matter which frequency it uses.
Undervolting will feed it less than the 5Volts when the frequencies are lower, SmartAss won't do that, it will run the 19Mhz still on 5Volts.
(Voltages are examples, i don't know the exact values, but I know that running on 122 or less will be stable on less than half of the nominal power)
Click to expand...
Click to collapse
nice to see some piece of truth over here (not perfect, but well explained)
de-noobing is good from time to time
xda is overcrowded of false answers given by people thinking they know but don't
anywhere, at anytime, newbies asking get fake answers from people wanting to help but failing to do so , due to lack of knowledge.
as everyone, i might be one of these, but try not to be.
make sure you know what you are talking about before spreading your (incomplete or false) knowledge
this was my thought of the day
matmutant said:
nice to see some piece of truth over here (not perfect, but well explained)
de-noobing is good from time to time
xda is overcrowded of false answers given by people thinking they know but don't
anywhere, at anytime, newbies asking get fake answers from people wanting to help but failing to do so , due to lack of knowledge.
as everyone, i might be one of these, but try not to be.
make sure you know what you are talking about before spreading your (incomplete or false) knowledge
this was my thought of the day
Click to expand...
Click to collapse
Would you mind to add that to FAQs to avoid false answers?
Tom.K said:
Would you mind to add that to FAQs to avoid false answers?
Click to expand...
Click to collapse
of course i don't
do you mean only the explanation about oc/uv ?
i can add it, note that a while ago i wrote pieces of information about those things
Hey, thanks a lot for all the replies. I had no idea why my settings worked like i wanted.

Clock speed of s2 not reach on its maximum

I just installed the cpu-z to see the processor information and i notice that the maximum clok speed of s2 is 1.20 ghz but it only reach maximum upto 800mhz the clok speed not reach it maximum at 1200mhz why? What is the problem explain i am in worrie.
sandymahrok said:
I just installed the cpu-z to see the processor information and i notice that the maximum clok speed of s2 is 1.20 ghz but it only reach maximum upto 800mhz the clok speed not reach it maximum at 1200mhz why? What is the problem explain i am in worrie.
Click to expand...
Click to collapse
Have you set any limits for the same?
What ROM, kernel, governor is in use?
sandymahrok said:
I just installed the cpu-z to see the processor information and i notice that the maximum clok speed of s2 is 1.20 ghz but it only reach maximum upto 800mhz the clok speed not reach it maximum at 1200mhz why? What is the problem explain i am in worrie.
Click to expand...
Click to collapse
Try other govenor. When using performance it will lock on max speed (eats battery).
kestrel5915 said:
Have you set any limits for the same?
What ROM, kernel, governor is in use?
Click to expand...
Click to collapse
No i do not set any limit the rom is 4.1.2-I9100XXLSJ, kernal 3.0.31-462349 and i also over clock with tegrak overclock to 1.40ghz but after overclocking it shows same 800mhz don't no what the problem is plz can anybody solve it.
Powersaving mode limits your CPU to 800mhz.
Sent from my GT-I9100 using Tapatalk 4
sandymahrok said:
No i do not set any limit the rom is 4.1.2-I9100XXLSJ, kernal 3.0.31-462349 and i also over clock with tegrak overclock to 1.40ghz but after overclocking it shows same 800mhz don't no what the problem is plz can anybody solve it.
Click to expand...
Click to collapse
What governor are you using?
Also is there any sort of power saving mode enabled?
Thanks guys after disable powersaving mode its ok now.i just operate powersaving from upside Tollbar i didn't read the instructions which is clearly mention in settings. Again thanks
sandymahrok said:
Thanks guys after disable powersaving mode its ok now.i just operate powersaving from upside Tollbar i didn't read the instructions which is clearly mention in settings. Again thanks
Click to expand...
Click to collapse
Your welcome.
Sent from my GT-I9100 using Tapatalk 4

Anyway to turn off the A72 cores?

The a72 cores always keeps running at 883 mhz but I noticed when battery level is very low, it turns off automatically, so is there anyway to turn off the a72 cores? or is it possible to make to work dynamically like when theres enough load it will turn on and in normal uses it would be off. It will drastically improve battery life and lessen heating.
If you have some kernel knowledge this could be done with the implementation of hotplug which permits disabling unneeded cores dynamically
aaz03 said:
If you have some kernel knowledge this could be done with the implementation of hotplug which permits disabling unneeded cores dynamically
Click to expand...
Click to collapse
Looks like I have to wait for a custom kernel
Turn off core control in thermal settings now u can turn off one of the cores.
With the #su, find the file "/etc/init.qcom.post_boot.sh"
Add "echo 48 > /sys/module/msm_thermal/core_control/cpus_offlined" after "case "$target" in "msm8952")"
48(110000) meams ,turn off both A72 core,
32(010000) meams ,turn off one A72 core,
12(001100) meams ,turn off two A53 cores,
Binary 1 means turning off the core ,the first two core is A72 ,others means A53 cores
846999999 said:
With the #su, find the file "/etc/init.qcom.post_boot.sh"
Add "echo 48 > /sys/module/msm_thermal/core_control/cpus_offlined" after "case "$target" in "msm8952")"
48(110000) meams ,turn off both A72 core,
32(010000) meams ,turn off one A72 core,
12(001100) meams ,turn off two A53 cores,
Binary 1 means turning off the core ,the first two core is A72 ,others means A53 cores
Click to expand...
Click to collapse
Will try, what does 48, 32 and 12 mean? will this make a72 dynamic? or it will just shut them off?
Use kernel ardiutor and untick the big cores. That will disable them for you. I used it to drop them from 800mhz to 400mhz.
Grantius said:
Use kernel ardiutor and untick the big cores. That will disable them for you. I used it to drop them from 800mhz to 400mhz.
Click to expand...
Click to collapse
It doesn't work like that
Rajdip said:
It doesn't work like that
Click to expand...
Click to collapse
Yes, it does. I just did it. I unticked the big cores and it forces them offline.
Grantius said:
Yes, it does. I just did it. I unticked the big cores and it forces them offline.
Click to expand...
Click to collapse
well it doesnt work for me, Im on AOSP 5.1.1, did you disable something before unticking the cores?
Rajdip said:
well it doesnt work for me, Im on AOSP 5.1.1, did you disable something before unticking the cores?
Click to expand...
Click to collapse
It works if u use custom kernel.And u must turn off core control or any thermal setting.
sanjib734 said:
It works if u use custom kernel.And u must turn off core control or any thermal setting.
Click to expand...
Click to collapse
give me a link to a custom kernel, I'll try
Rajdip said:
give me a link to a custom kernel, I'll try
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=24499762636006037
sanjib734 said:
It works if u use custom kernel.And u must turn off core control or any thermal setting.
Click to expand...
Click to collapse
is that any issue occur if we disable both big core in kernal audtre? like hardware fail etc?
No, but phone will be slower
Denis:) said:
No, but phone will be slower
Click to expand...
Click to collapse
thanks for opinion

All G5 CPUs locked down to 1.5ghz

Hey, I saw that all CPUs are currently locked down to 1593mhz. Our chip should have 2x1.5ghz for general use and 2x2.1ghz for high performance tasks.
But in stock as in custom Roms, I see all CPUs locked down, max freq 1593mhz and no control over queue processing, either from hotplug or CPU front. Is there something I missed? Or LG just lied to us?
I know from thermal point of view that our device would not be able to sustain 2.1ghz for a long time, but if the frequency is not even available, it is a serious matter... +500mhz is not something to overlook!
If thats true, thatd be a heartbreaking, the first thing I look to before choosing a device, is clock speed
Unlock the game optimization
I checked on cpu-z and frequencies. With optimization on, it won't go over 1,5 ghz but with that option off it is easily jumping to maximum clock speed (faster battery drain). Stock rom, don't know about custom roms.
Linux User said:
I checked on cpu-z and frequencies. With optimization on, it won't go over 1,5 ghz but with that option off it is easily jumping to maximum clock speed (faster battery drain). Stock rom, don't know about custom roms.
Click to expand...
Click to collapse
You mean game optimization in settings/battery? I think we do not have that option in custom ROMs (I am currently trying Aicp 12.1) and never changed it in stock. I will try going back to stock to disable that option and see if the frequency table changes... If it does, it will be a pre-requisite before flashing custom ROMs in our device. Still, it is something the kernel should handle.
I would underclock the device on my own, as I did with my good old G2, but not having the option for the CPUs to scale as intended is not cool...
Well, frequency table shows no change with stock, but somehow, CPUs 3 and 4 scale up to 2150mhz now.
I guess LG did not cheat in the strict sense of the word, but just does not want us to have control over our devices...
Sent from my LG-H850 using Tapatalk
Floodland said:
Hey, I saw that all CPUs are currently locked down to 1593mhz. Our chip should have 2x1.5ghz for general use and 2x2.1ghz for high performance tasks.
But in stock as in custom Roms, I see all CPUs locked down, max freq 1593mhz and no control over queue processing, either from hotplug or CPU front. Is there something I missed? Or LG just lied to us?
I know from thermal point of view that our device would not be able to sustain 2.1ghz for a long time, but if the frequency is not even available, it is a serious matter... +500mhz is not something to overlook!
Click to expand...
Click to collapse
So... I was freaked out after reading this thread, so i rushed to check using cpu Z and it turned out that mine is clocked at 2.15, so i don't know what is wrong u
The Snapdragon 820 inside the LG G5 has a quad-core processor which has 2 cores clocked at 2.15 GHz and two other cores clocked at 1.6 GHz (1593 MHz), it's the way the manufacturer (Qualcomm) decided the processor to be, the LG G5 is not underclocked. Some users may get different results in applications like CPU-Z or AnTuTu depending on which core the application is based on.
Android_420 said:
The Snapdragon 820 inside the LG G5 has a quad-core processor which has 2 cores clocked at 2.15 GHz and two other cores clocked at 1.6 GHz (1593 MHz), it's the way the manufacturer (Qualcomm) decided the processor to be, the LG G5 is not underclocked. Some users may get different results in applications like CPU-Z or AnTuTu depending on which core the application is based on.
Click to expand...
Click to collapse
The frequency table shown by kernel adiutor (or any kernel tweaking software) shows ranges 307-1593 for all processors.
I know the hardware behind, my first though was that LG underclocked it. Now I see the phone just hides its behavior and does not show the real table (or the available software is not able to see it).
We will need additional kernel development in order to effectively control the core speeds in our devices.
Case closed, thank you for the responses.
Floodland said:
The frequency table shown by kernel adiutor (or any kernel tweaking software) shows ranges 307-1593 for all processors.
I know the hardware behind, my first though was that LG underclocked it. Now I see the phone just hides its behavior and does not show the real table (or the available software is not able to see it).
We will need additional kernel development in order to effectively control the core speeds in our devices.
Case closed, thank you for the responses.
Click to expand...
Click to collapse
old versions of kernel auditor are buggy with the g5, they see it as a single quad core instead of big/little dual 2 cores. You need the newest kernel auditor.

Overclock check

I have just bought an used LG as second phone. It runs Cyanogenmod 12.1 Lollipop 5.1.1. How can I know if the phone has been overclocked? The ex-owner isn't an expert so I wouldn't trust to keep the phone overclocked as long as it is.
Jeff Weight said:
I have just bought an used LG as second phone.
Click to expand...
Click to collapse
First install the setcpu or similar cpu overclocking app. Look for cpu clock frequency or match to your highest original cpu frequency. Means If your device support to 1.8ghz and it sets to 2.0ghz then its overclocked.
Ashwinrg said:
First install the setcpu or similar cpu overclocking app. Look for cpu clock frequency or match to your highest original cpu frequency. Means If your device support to 1.8ghz and it sets to 2.0ghz then its overclocked.
Click to expand...
Click to collapse
Thanks. Indeed that's what I thought to do..install one of those apps and check. If it is overclocked how do I remove the overclock? Would a hard reset be enough?
Jeff Weight said:
Thanks. Indeed that's what I thought to do..install one of those apps and check. If it is overclocked how do I remove the overclock? Would a hard reset be enough?
Click to expand...
Click to collapse
No. No need to hard reset. Just set to your device default max frequency.
Ashwinrg said:
No. No need to hard reset. Just set to your device default max frequency.
Click to expand...
Click to collapse
Thanks again! But if I do perform a hard reset then I can be sure 100% that a possible overclock is removed ? Sorry for my fussiness but I really care about this phone which is the same like one I had years ago and then got lost..

Categories

Resources