Some technical help needed in Mokee Lolipop Nightly Version - Xiaomi Redmi 1S

Dear Friends,
I am using Mokee Lolipop Nightly version in my Redmi 1S.
I need help for the following points :
1) In MKL when i try to disable mpdecision via ADB, nothing is happening and not even by external app like No Frills cpu control I'm able to control max frequency of my cpu.
It is constantly showing 998 MHz only. Earlier in mokee kitkat i was using no frills cpu control and it was working very fine. But not working in lolipop as expected. How to solve that.
2) I have seen in previews and videos that mokee lolipop is having inbuilt super user. But i am unable to see it in my setting menu.
However i am able to get root access via "Privacy Guard" setting in lolipop and that is working well. Comment on that.
Kindly answer me and increase my knowledge on this.

sssaurabh said:
Dear Friends,
I am using Mokee Lolipop Nightly version in my Redmi 1S.
I need help for the following points :
1) In MKL when i try to disable mpdecision via ADB, nothing is happening and not even by external app like No Frills cpu control I'm able to control max frequency of my cpu.
It is constantly showing 998 MHz only. Earlier in mokee kitkat i was using no frills cpu control and it was working very fine. But not working in lolipop as expected. How to solve that.
2) I have seen in previews and videos that mokee lolipop is having inbuilt super user. But i am unable to see it in my setting menu.
However i am able to get root access via "Privacy Guard" setting in lolipop and that is working well. Comment on that.
Kindly answer me and increase my knowledge on this.
Click to expand...
Click to collapse
Use the Release version.

I think it is a thermal script which doesn't allow to do so.
I have noticed that when I have enabled performance option in battery settings(by default it is balanced) I can change the max CPU to 1.6 GHz
However if it is in performance mode but if my CPU temperature is high I cannot change it until the phone cools down.
So I guess if you keep it in performance mode it will automatically set cpu according to your phone's temperature.

Hmm....... May be thermal throttling is responsible

Related

phone hot..

my galaxy grand get hot from back camera after using sometime....is anybody facing this probem???
nareshlove said:
my galaxy grand get hot from back camera after using sometime....is anybody facing this probem???
Click to expand...
Click to collapse
some users have this issues its difficult to know what's the problem sometimes its battery or firmware maby hardware issue. try this use mi1 firmware best stable no issue for me. why I am saying this because I update my phone to mj3 and after that my phone get heated slow charging. then again I downgrade to mi1 firmwear now I don't have any issues
nareshlove said:
my galaxy grand get hot from back camera after using sometime....is anybody facing this probem???
Click to expand...
Click to collapse
I had the same issue when I was using Lenevo Super Camera on J3 firmware. Simply switching the camera app resolved the issue for me, currently using Google Camera from Nexus KitKat
actualy my phone become hot at camera side without using camera.....
nareshlove said:
actualy my phone become hot at camera side without using camera.....
Click to expand...
Click to collapse
Then your phone is staying or jumping to max frequency 1200MHz too often. Make sure whichever app you are using to control your CPU settings has minimum frequency set to 312MHz, if that's not an issue, change your governor (I'm using "Interactive" governor at the moment). Governors handle how often your frequency will jump to the next higher frequency. You can find out about each governor available in our phone by a simple search on google
If you don't have a CPU settings app, you can try No-Frills CPU Control - one of the most common apps for CPU control, with a clean and basic interface
iceyhotguy said:
Then your phone is staying or jumping to max frequency 1200MHz too often. Make sure whichever app you are using to control your CPU settings has minimum frequency set to 312MHz, if that's not an issue, change your governor (I'm using "Interactive" governor at the moment). Governors handle how often your frequency will jump to the next higher frequency. You can find out about each governor available in our phone by a simple search on google
If you don't have a CPU settings app, you can try No-Frills CPU Control - one of the most common apps for CPU control, with a clean and basic interface
Click to expand...
Click to collapse
bro i m on stack rom..
nareshlove said:
bro i m on stack rom..
Click to expand...
Click to collapse
Above method would work regardless of stock or custom ROM, you just need root.
Alternatively, you can try using one of the RAM/Memory cleaners that don't require root to clean the running processes to keep your RAM empty. If there aren't too many processes using your CPU, there shouldn't be any reason for it to get hot :fingers-crossed:
nareshlove said:
my galaxy grand get hot from back camera after using sometime....is anybody facing this probem???
Click to expand...
Click to collapse
after i play some game my phone get hot at the same place, because the CPU is working on high 1200 mhz .. i just restart the phone and it is cool

[Q] Stock kernel - bugs and behavior

Did anybody noticed the following bugs and behavior in stock kernel CPU controls ? If not, can you please post your ROM/build/kernel versions or even firmware version? Maybe some firmwares are fixed?
- Setting max CPU frequency actually change kernel internal min CPU frequency! eg if I set 1GHz max frequency, all cores jump to 1GHz minimum! Setting min CPU frequency seems to have no effect. Only a reboot can recover from this, sadly.
- Setting governor to interactive_eglinteractive freezes the phone which then reboots after a while.
- There doesn't seem to be any mpdecision module running, so all cores are always online, except maybe second CPU cores are turned-off in standby.
On the positive side, it appears that controlling online states of individual cores works well, good to turn off cores when screen's off for example.
I'm running latest received OTA: Android 4.3, kernel 3.4.39-2641344, build version JSS15J.N7505POUBND2.
Most of the features you are talking will not work correctly without a custom OC kernel....So let it be like it is untill we get a custom kernel....

[Mod/Fix] [No Root] Control Overheating and Performance with Thermal Engine

Hi Everybody,
After v45 update, we all are facing huge drop in performance in our Redmi 1s.
One of my dear provided one patch by modifing some system files.
But that patch will yes revert back the performance BUT IT WILL ALSO BRING BACK THE OVERHEATING ISSUE.
So i am presenting you all with this patch.
It will restore your performance and also will control overheating.
NOTE: THIS MOD ONLY CONTROLS MAX CPU+GPU FREQUENCIES AT HIGHER BATTERY TEMPS. SO IT WONT HARM BATTERY PERFORMANCE AT ALL.
How to do:
NO ROOT IS NEEDED NOW.
JUST FLASH ZIPS EVEN THROUGH STOCK RECOVERY.
How to undo:
Just flash undo zip.
Download:
Updated in attachments as recovery flashable zips.
NOW IT CAN BE FLASHED THROUGH STOCK MIUI RECOVERY.
What have i done:
(1) somebody ask me to remove some of the line from the file but if we remove them our redmi will start overheating as it wont control the cpu.
So i have not removed them but i have set them to frequencies which will neither make phone overheat nor will hang it.
(2) file is patched with little help from my nexus.
(3) in the v45 update the cpu was limited to use less than 1ghz. It hangs the phone. So i changed it.
Now reboot and you device will go easy.
Please comment if you find any issue or suggestions.
A thanks will motivate me.
Also if you want to use my mod in any rom then plz give credits.
Credits:
Ryuinferno : for the wonderful script to sign zip files.
Notepad++
My Nexus
Update (17-11-14)
1. Removed density data from patch. Now only used cpu and gpu to control it.
2. Uploaded Hard Gaming, Power saving and Balanced patch for specific usage.
3. Cleaned and power saving based on original parameters.
What have i done :
Lets have a close look at the original \system\etc\thermal-engine-8226.conf file:
algo_type monitor
sensor batt_temp
sampling 1000
thresholds 380 390 420 500 550
thresholds_clr 370 380 400 450 500
actions cpu+hotplug_2+hotplug_3 cpu+hotplug_3 cpu+hotplug_3 cpu cpu
action_info 998400+1+0 998400+1 787200+1 600000 600000
In above lines, the sensor is batt_temp so here battery temperature is observed.
When the temperature of bettery reaches 380 (i.e. 38*C) then cpu+hotplug_2+hotplug_3 will be performed. Means cpu will clock at 998400 mhz and core2 will be hotpluged. Here your device will start hanging as 1.6 ghz cpu is asked to run at only 0.998 ghz with core2 hotpluged.
Similarly, at 390 (i.e. 39*C) core3 will also hotpluged.
35*C is normal temperature. But you will reach around 39-40*C even at light internet browsing/gaming.
At 42*C your cpu will die with only 0.787 ghz speed. This is less than half of 1.6 ghz.
Now what have i done is i have pushed the limits to little high level.
I have stopped hotplugging of cores and to low down the temp. i have used cpu & gpu both.
algo_type monitor
sensor batt_temp
sampling 1000
thresholds 390 410 420 450 550
thresholds_clr 380 400 410 440 500
actions cpu+gpu cpu+gpu cpu+gpu cpu+gpu cpu+gpu
action_info 1344000+450000000 1344000+320000000 1190400+320000000 787200+200000000 600000+200000000
Here at 39*C the cpu will go to 1.34 ghz but the gpu will remain at max of 450 mhz.
Then at 41*C the cpu will remain at 1.34 ghz but gpu will lower down to 320 mhz.
Likewise, at 420*C the cpu will go to 1.19 ghz and gpu will remain the same.
Above 45*C is too hot so the device is really needed to cool down. So above 45*C both cpu and gpu will lower down a lot for enough cooling.
Again when the temperature with lower down, you will start getting the normal speeds.
All the above information is also observed closely with the help of cpu-z apk.
is it really works ??????
why you didn't just simply configure the ondemand governor to do the same thing? Is more easy and can be done manually or using Trickster mod.
Thanks a ton for the patch but flashable zip file be a lot easier to install. So please make a flashable zip.
pgreed said:
why you didn't just simply configure the ondemand governor to do the same thing? Is more easy and can be done manually or using Trickster mod.
Click to expand...
Click to collapse
Ya but as per me if we have limited something in the thermal config file to behave at a specific battery temp. then we can not use any app or mod to change the cpu frequencies.. I have tried that also..
Also this mod controls cpu+gpu+dencity at specific battery temps...
sumitsrk123 said:
is it really works ??????
Click to expand...
Click to collapse
I also had same questions so me and my friend have tested it with the help of cpu-z app...
Cpu-z app gives you details of your battery temp. and your current cpu clock speeds. Set governor to performance and start playing games like need for speed... Then in between checked the temp of the battery and the cpu clock speed ...
It really works it changes the frequencies as per specific temps...
coolpepe said:
Thanks a ton for the patch but flashable zip file be a lot easier to install. So please make a flashable zip.
Click to expand...
Click to collapse
Yo bro... Signed flashable zips are up... Also added undo zip to revert to stock.
This is what i am using ...
I prefer little more performance over heating...
Nice....now i can use the phone @1.6Ghz without heating !!
Beast Mode Unlocked
Thanks Man for this
In a sense. But you cannot run your cpu at 1.6ghz continuously for a very long time.. Every cpu will get overheat.
Here i have tried to make some balance between the performance and heat.
What miui did.. They just tried to limit us to use at 0.99 ghz when temp is above 38.c so i have pushed that limit to high level with help of other factors like gpu and density etc.
So simple you will not be limited if you go at a high limit of temp.. After that slowly slowly cpu gpu and density will be limited and cpu will cool down...
ravinder0003 said:
In a sense. But you cannot run your cpu at 1.6ghz continuously for a very long time.. Every cpu will get overheat.
Here i have tried to make some balance between the performance and heat.
What miui did.. They just tried to limit us to use at 0.99 ghz when temp is above 38.c so i have pushed that limit to high level with help of other factors like gpu and density etc.
So simple you will not be limited if you go at a high limit of temp.. After that slowly slowly cpu gpu and density will be limited and cpu will cool down...
Click to expand...
Click to collapse
What i meant was this is smarted thermal control and i won't be having to manually underclock any more to prevent heating !
Also i can help my friends who are not aware of rooting and stuffs
No you dont need to do anything... this is balanced version..
If you prefer more power or more battery just tell me i will edit it for you according to ur needs..
ravinder0003 said:
No you dont need to do anything... this is balanced version..
If you prefer more power or more battery just tell me i will edit it for you according to ur needs..
Click to expand...
Click to collapse
Can you make it more reliable for hard gaming & multitasking??? Mod is working perfectly and really increased my battery backup and performance, No heat anymore. Thanks bro keep it up.:beer::thumbup:
Sent from my HM 1SW using XDA Premium 4 mobile app
ravinder0003 said:
Hi Everybody,
After v45 update, we all are facing huge drop in performance in our Redmi 1s.
One of my dear provided one patch by modifing some system files.
But that patch will yes revert back the performance BUT IT WILL ALSO BRING BACK THE OVERHEATING ISSUE.
So i am presenting you all with this patch.
It will restore your performance and also will control overheating.
How to do:
NO ROOT IS NEEDED NOW.
JUST FLASH ZIPS EVEN THROUGH STOCK RECOVERY.
How to undo:
Just flash undo zip.
Download:
Updated in attachments as recovery flashable zips.
NOW IT CAN BE FLASHED THROUGH STOCK MIUI RECOVERY.
What have i done:
(1) somebody ask me to remove some of the line from the file but if we remove them our redmi will start overheating as it wont control the cpu.
So i have not removed them but i have set them to frequencies which will neither make phone overheat nor will hang it.
(2) file is patched with little help from my nexus.
(3) in the v45 update the cpu was limited to use less than 1ghz. It hangs the phone. So i changed it.
Now reboot and you device will go easy.
Please comment if you find any issue or suggestions.
A thanks will motivate me.
Also if you want to use my mod in any rom then plz give credits.
Credits:
Ryuinferno : for the wonderful script to sign zip files.
Notepad++
My Nexus
Click to expand...
Click to collapse
HI Ravindar,
Thanks for your post it is helpful.
I tried it. Given better improvement.
Ram performance better
No heating
But
Battery life poor
Can u rectify
Please
What to do to RAM management with thermal control guys??
It have nothing to do with ram dear its totally cpu+gpu+density hack...
Also, this hack comes into action when you overuse your cpu and it starts heating... But at normal usage it only improves your performance at no extra battery cost...
Simple there is no use of having 1.6 ghz if you are limited to use only 0.988 ghz over 38 degrees... I have extended this limit only... As this limit is manadatory for cooling process...
For hard gaming !!! Will be uploading in some minutes...
Thanks for request...
For hard gaming !!! Will be uploading in some minutes...
Thanks for request...
Mod for hard gaming is up... Plz check the op or attachment...

Fix for heating issue without performance drop [Root Required]

Redmi 1s Indian version has some worst heating problem. During gaming or video recording the external device temperature gets to around 45-50 degree Celsius which makes it difficult to even hold the device and is also dangerous. The reason behind this is poor heat management and its a shame Xiaomi could not still fix it after many updates. They further made a mess with MIUI 5 v45 by killing the performance still having the heating issue.
After experimenting with the device for about one month, I noticed that hot plugging decreases the battery backup and performance. It consumes more current for low performance. [Tested manually with 3C Cpu Manager and Cpu Temp Apps.] So I concluded Cpu Performance, Battery Performance and Hotplugging should be used optimally to extract the maximum out of this device without any sacrifice.
It is possible to have Good Performance with almost No Heating by enabling the default qualcomm MP decision, Core Control and Thermal Driver and a modified thermal config.
We can fix this in two simple steps [Make sure you have root access]
First Fixing Heating Issue
Download Device Control App from Play Store
Open the app and grant root permissions
1. Go to Extras in the Performance menu and select Thermal Driver and enable Core Control and MSM-Thermal.
2. Now go to Cpu Setting in the menu and enable MPdecision.
3. Goto Preferences >> Reapply on boot and choose Cpu settings and Extras.
4. Close the app and go to Security App >> Permission >> Auto-start management >> Add auto-start apps and choose Device Control
Second Restoring Performance
Go to this Thread by ravinder0003and download either Balanced Config or Gaming Config
Flash it in recovery or extract the thermal-engine-8226.conf file and move to /system/etc manually (Don't forget the permissions).
Now your device can be used at its full potential without any heat issue
This will work almost in every kernel with qualcomm thermal drivers and is found to the most efficient way of fixing Redmi 1s Performance without affecting battery backup.
If the thermal-engine-8226.conf file is deleted once and rebooted in the past then heating issue will occur even after above settings- try after installing the firmware again through recovery.
Other Settings
Go to Extras >> Powersaving >> Power Scheduler >> 2 - Aggressive in Device control App. It forces the tasks into 2 cores and doesn't wake the other two cores for simpler tasks improves battery backup.
Set the CPU Maximum frequency to 1344Mhz using Device Control if you don't want any heat on the device and get maximum battery backup.
If you want to use the device while plugged in to mains while watching movies or use youtube set the CPU Maximum Frequency to 600Mhz or 998Mhz. [Its highly recommended not to use the device while charging via mains].
Heating Issue for Redmi 1s
I have two questions ?
1. Whether the phone has to be rooted.
2. Whether it will work for the latest update of MIUI V50 for Redmi 1s
Thermal Patch by ravinder.
dangerjaison said:
Redmi 1s Indian version has some worst heating problem. During gaming or video recording the external device temperature gets to around 45-50 degree Celsius which makes it difficult to even hold the device and is also dangerous. The reason behind this is poor heat management and its a shame Xiaomi could not still fix it after many updates. They further made a mess with MIUI 5 v45 by killing the performance still having the heating issue.
After experimenting with the device for about one month, I noticed that hot plugging decreases the battery backup and performance. It consumes more current for low performance. [Tested manually with 3C Cpu Manager and Cpu Temp Apps.] So I concluded Cpu Performance, Battery Performance and Hotplugging should be used optimally to extract the maximum out of this device without any sacrifice.
It is possible to have Good Performance with almost No Heating by enabling the default qualcomm MP decision, Core Control and Thermal Driver and a modified thermal config.
We can fix this in two simple steps [Make sure you have root access]
First Fixing Heating Issue
Download Device Control App from Play Store
Open the app and grant root permissions
1. Go to Extras in the Performance menu and select Thermal Driver and enable Core Control and MSM-Thermal.
2. Now go to Cpu Setting in the menu and enable MPdecision.
3. Goto Preferences >> Reapply on boot and choose Cpu settings and Extras.
4. Close the app and go to Security App >> Permission >> Auto-start management >> Add auto-start apps and choose Device Control
Second Restoring Performance
Go to this Thread by ravinder0003and download either Balanced Config or Gaming Config
Flash it in recovery or extract the thermal-engine-8226.conf file and move to /system/etc manually (Don't forget the permissions).
Now your device can be used at its full potential without any heat issue
This will work almost in every kernel with qualcomm thermal drivers and is found to the most efficient way of fixing Redmi 1s Performance without affecting battery backup.
If the thermal-engine-8226.conf file is deleted once and rebooted in the past then heating issue will occur even after above settings- try after installing the firmware again through recovery.
Other Settings
Go to Extras >> Powersaving >> Power Scheduler >> 2 - Aggressive in Device control App. It forces the tasks into 2 cores and doesn't wake the other two cores for simpler tasks improves battery backup.
Set the CPU Maximum frequency to 1344Mhz using Device Control if you don't want any heat on the device and get maximum battery backup.
If you want to use the device while plugged in to mains while watching movies or use youtube set the CPU Maximum Frequency to 600Mhz or 998Mhz. [Its highly recommended not to use the device while charging via mains].
Click to expand...
Click to collapse
As above thread asked.. Will this work on V50 on latest release of Stable MiUI ???
Sent from my HM 1SW using XDA Free mobile app
It should work fine for all the version. I lost the device and moved to android one. Rooting is required and warranty is not lost if rooted for XIAOMI device. Make a full backup using philz recovery and try it
Sorry for late and incomplete reply.
The Power scheduler which forces apps to use 2 comes always resets after some time to its default configuration. Any fix?
Sent from my HM 1SW using XDA Free mobile app
[Its highly recommended not to use the device while charging via mains
Click to expand...
Click to collapse
Facepalm
So how to navigate in car on 8 hour trip? Phone downlock to 300MHz from 600MHz. I can't even answer phone call (it's hanging)
Suprb..thanx bro
I just want to know that is there any drawbacks of using core control and msm thermal at same time?
Do they conflict?

Lineage OS 7.1.1 big.LITTLE Scaling Issue (Need help Gurus)

Hello XDA. Several days ago I flashed Lineage OS of Firelord. In all honesty, I am not happy with scaling frequency. After the ROM flashing>setup process, I learned that the default governor was set to Performance: Cores 0 and 1 are set to a static frequency of 960mhz. While Cores 2 and 3 are disabled.
Little Cluster 4,5,6,7 are set to a static frequency of 1.1ghZ.
Am not sure if this was a design to begin with or may have been overlooked. Either way, it's giving me intemittent freezes due to higher temp than stock. I tried so many Kernel Managers to manipulate the min/max scaling frequency. Was able to use the 1.46ghz frequency for a day and just reverta to 960mhz. This wasn't the case when I was stock Vibe Ui. 5.1.1 and 6.0.1
Tried this approach too: https://forum.xda-developers.com/vibe-p1/development/frequency-decrease-to-save-power-t3392943/page2 the frequency holds after flashing s272 but iT sometimes overwritten by a conflicting parameter.
I understand CM doesn't normally use mpdecision but I'd be very grateful to anyone who can extend his assistance in resolving this governor/scaling issue. I just need a min_freq of 345000 and use 1340000 frequency while playing MC5. Or stock S272 and S288 scaling frequency which can be ported/applied on this rom on boot and normal use.
I have already tried Exkernel manager, 3c toolbox, kernel adiutor. These 3 don't haveprevent changes from other apps (or system)" option unlike setcpu and nofrills. But unfortunately setcpu and nofrills aren't working on CM14. Not sure if it's due to a systemless root setup.
*
In over simplification, I would like to have a stock Lollipop/MM Interactive/Ondemand Governor be applied here. Thanks.

Categories

Resources