hi all
ive been having major difficulties controlling batt drain and 100% cpu usage after rooting and then flashing a custom firmware.
it usually...almost always..in fact- happens when i switch on wifi together with auto-sync data.
so i thought it must be one of the sync accounts, plus I'd read a bit about htc sync accounts sucking batt. So I disabled most...and there was improvement. but then it still does happen once in a while..once or twice in the middle of the night, meaning i woke to a dead phone in the morning. every time it gets so bad that I just have to reboot the phone.
when the slow down happens, i open up osmonitor, watched Android's own process log or the HTC launcher's log and i'd usually see a million of these:
gc_for_malloc freed xxxx objects / xxxx bytes in xxx ms
but am unable to troubleshoot further because it seems to be nothing meaningful.
anyone got any ideas?
yellowchilli said:
hi all
ive been having major difficulties controlling batt drain and 100% cpu usage after rooting and then flashing a custom firmware.
it usually...almost always..in fact- happens when i switch on wifi together with auto-sync data.
so i thought it must be one of the sync accounts, plus I'd read a bit about htc sync accounts sucking batt. So I disabled most...and there was improvement. but then it still does happen once in a while..once or twice in the middle of the night, meaning i woke to a dead phone in the morning. every time it gets so bad that I just have to reboot the phone.
when the slow down happens, i open up osmonitor, watched Android's own process log or the HTC launcher's log and i'd usually see a million of these:
gc_for_malloc freed xxxx objects / xxxx bytes in xxx ms
but am unable to troubleshoot further because it seems to be nothing meaningful.
anyone got any ideas?
Click to expand...
Click to collapse
I have the same problem just like yours!
I don't know how it happens?
But I founded a way to solve it temply.
when you saw the CPU load are 100% and system runs lagging.
First, launch the "set CPU" if you had installed.
Than you'll see the frq. Goes to 245 Mhz if you're set profile to "ondemand"
don't need doing anything, At least, you can see that CPU load are back to 5%~15%
As normalized. I don't know how it works? But it works everytime.
I'm using coredroid v3.2 and O/C 1.2G Hz, desire hd.
Can anyone who can tell us how it happend?
I've read that this is a common problem with many custom ROMs. If I remember correctly it had something to do with a file being constantly read. So you have to set permissions for that file which forbid reading. The trouble is that the system changes permissions again, and you have to constantly change the permissions using a sheduled script. It works but doesn't really solve the problem. The solution is to flash a custom ROM which has this fixed. Android Revolution HD 3.2 is one of them. With 3.1 I had this issue, now with 3.2 it's gone for good.
haha i don't know how you managed to get to setcpu..
mine is a near-freeze most of the time and would probably take forever to get there
but if i do get the chance i'll give it a try, thanks.
thanks, am indeed running on 3.0 so i'll give 3.2 a try.
my defy is just 2 weeks old and i have started experiencing trememdous lags....
its 2.2.2 running , kernel is 2.6.32.9-g0671d13 , just in case it could help in finding a solution...
1. the screen goes off on its own half of the time (even though the time out is of 1 minute) and even when i unlock it , it again goes off.. ITS REALLY FRUSTRATING
2. i have just 1 game installed, but even then the phone lags a lot, the game lags and so does the entire phone..!
3. the internet isnt getting activated (i guess thats a network problem though), anyone with a similar problem!?
please post replies as soon as possible..
well i too experience the same, mine is 30 days old...
I have disabled gps/data/wifi/auto brightness to get max battery yet it fails to go beyond 1 day even if i use max an hour of wifi.
screen going blank on it own is frustrating
moto widget for time and date does not keep current time
lag in touch even after running ATK on auto aggressive mode
defy is running indian 2.2.2
p.s. any idea if i can get data on first date of use for battery? I somehow feel a new one should give more standby life.
my phone does last around 1 1/2 days with an hours gaming....and it does keep the current date and time (as of now)...
mine too lags inspite of the ATK being on autokill.... even the homescreen takes time to load after pressing the home button ...
Might want to try getting rid of ATK.
Tasks/services run for a reason on android. When something kills them, they'll start back up, causing more cpu and memory usage than if you'd just leave the service running.
Run for a reason, but not necessarily a good one. Stock motorola/vodafone firmware that I had on my defy would run many completely irrelevant processes - VF360, newsandweather, amazon mp3, etc. Task killing isn't the solution because they just start up again.
The best way to get best performance from the phone is to install CM7.
You could try to wipe in stock recovery. Check http://forum.xda-developers.com/showthread.php?t=1216982, point witch says Froyo laggy. You will lose all data.
If you find it laggy afterwards, you will never be happy with the preferments on stock froyo. Then try CM7. You will be able to downgrade to send it to warranty as I also did this. It is quite a difference.
shreymehta said:
1. the screen goes off on its own half of the time (even though the time out is of 1 minute) and even when i unlock it , it again goes off.. ITS REALLY FRUSTRATING
Click to expand...
Click to collapse
Is it going off while you are holding it by the top, with a finger on the left of the speaker hole?
If it is the case, it is because you are masking the proximity sensor. And if you have the "Pocket detection" feature activated, it will cause this annoying stuff...
Well not to worry even mine was laggy before, i had just installed 2-3 apps. I had to restart my phone at least once then i installed cm7 rc1.5 Now its very fast and i dont remember the last time when my phone was lagging and freezing.
I guess it has something to do with the froyo and motoblur on defy that makes it laggy.
You have to have get rid of stock froyo after owning a defy.. thats the truth..
I did a readup on the ATK stuff and the excerpt from the and dev documents... well since the read i have uninstalled all task killers... (kept one just in case with all auto actions disabled)
I do hope the lag issue is resolved after moving to CM7/Jboogie3 etc
however the battery issue is a major hurdle for now as one day is too less, i probably have to take it to the service center for a checkup and/or claim warranty on battery. till them no flashing for me...
att: patriiice - even when the proximity sensor is not covered, i do experience screen blanks, almost immediately asa the power button is pressed to wake the device.
The lag presented on the Defys running Froyo is a "super nice feature" by Motorola it has an easy fix tho.
Its caused by the VM consuming all memory, all its needed is adjusting the amount of MB the VM should leave free.
There are a few ways to it:
1) Run a terminal emulator, or use GScript Lite to run this:
su
vm.min_free_kbytes=8192
(Not permanent, need to be ran every time you reboot)
2) Get Sysctl from market and do it from there.
3) Get SetVSel and do it from there.
Lag
I have that problem to. The bad thing is that i can`t answer call during the lag, it says i have my phone is closed or i don`t have signal. I`ve installed Temp+CPU and during lag it shows that the proc is running at 100%. Memory has all the time, around 130 min and 230 max. Closed all programs one by one, no change. I restart the phone and everything is running smooth and it lasts max 1 day. i have stock rom 2.2.2. (please excuse my spelling)
mmariann2001 said:
I have that problem to. The bad thing is that i can`t answer call during the lag, it says i have my phone is closed or i don`t have signal. I`ve installed Temp+CPU and during lag it shows that the proc is running at 100%. Memory has all the time, around 130 min and 230 max. Closed all programs one by one, no change. I restart the phone and everything is running smooth and it lasts max 1 day. i have stock rom 2.2.2. (please excuse my spelling)
Click to expand...
Click to collapse
I also use 2.2.2 stock and my defy runs without lag... you should consider to root the phone and freeze some unnecessary stock-preinstalled apps like Kindle, Voice command, etc... the ones you will never use. I freezed about 20 apps and there is no lag at all. (I even froze Maps, Streets, SIM toolkit, and some others)
Zephyrot said:
The lag presented on the Defys running Froyo is a "super nice feature" by Motorola it has an easy fix tho.
Its caused by the VM consuming all memory, all its needed is adjusting the amount of MB the VM should leave free.
There are a few ways to it:
1) Run a terminal emulator, or use GScript Lite to run this:
su
vm.min_free_kbytes=8192
(Not permanent, need to be ran every time you reboot)
2) Get Sysctl from market and do it from there.
3) Get SetVSel and do it from there.
Click to expand...
Click to collapse
My Defy was lagging until I rooted and installed SetVSel. Now its running as breeze with Stock Indian Froyo.
stock froyo is not good but it shouldn't be that bad. there were some faulty battery issue that i have heard of before too. but in your case your defy might even be faulty. so i would suggest you get it replaced or fixed under warranty first before flashing any custom rom.
lag on defy
with rootunistaller i`ve frozen skype and yahoo and i haven`t had any lag since. If i want 2 use them "defrost" and when i`m finished i just "freeze" back the app
mmariann2001 said:
with rootunistaller i`ve frozen skype and yahoo and i haven`t had any lag since. If i want 2 use them "defrost" and when i`m finished i just "freeze" back the app
Click to expand...
Click to collapse
Easy as that...
Lag on defy
Nope. I was wrong after 3 days of normal proc usage it started again. I`ve installed OS Monitor (free on market) and there was a process the ate all my resources: "DRM Protected Content Storage". Selected watch log and there was something like "enter,delete update, uri: content://media/external/audio/media/1 ../44.... /254..."
This process is searching ur phone for media, video audio and looked like it was stucked at this folder. I`ve searched the phone for that folder but couldn't find it so i just killed the app in OS Monitor. After the process restarted at log was showing "media search finished:182 audio files found and 1 video found". Looks like that's my problem and maybe yours to. Cheers mates
so I might visit the service center this weekend to have my battery life checked.. one day life with all wifi/data/gps disabled and below average voice calls is not acceptable at all.
what is stock recovery?? and will it void my warranty???
thanks a lot guys for ur replies!!
but the thing is my phone has become even slower!!
when i first switch on the phone i have around 240MB free RAM but just after an hour everything becomes too slow, even opening of the menu! and after 2-3 hours of usage it keeps on reducing and finally reaches as low as 40MB .....
what could be causing this??
i have android assistant by which i clear cache, ram still it doesnt help....
Hi guys.
I have global device version, without root, everything is default.
Sometimes (independently how exactly I use the device) it could be locked on maximum CPU frequency. I noticed this issue just, randomly. I've installed CPUZ to see more details about phone and then noticed that all frequencies in maximum (1612 first 4 cores and 1804 all another 4 cores).
Then I've installed AccuBattery to see the energy consumption and noticed that when this bug occurs, the device consumes about 210-240 mAh (with disabled all wireless interfaces surely), but after restart, when everything OK with frequencies stepping, it consumes about 110-140 mAh.
I've been facing this issue on 9.5.19.0 and the same on 8.8.16.
Have someone similar issues? Could you please install CPU-Z (or any anorher similar application) and say if everyone has locked frequencies?
Yes, I know, I've checked all background processes, I've enabled debug mode, connected via cable to laptop and.. adb shell -> top, I was seeing on real CPU activity. It could occurs randomly and then only reboot device could fix it until it happen again.
The same bug I found on the same phone in my friend. Strange, actually.
iFreeMan said:
Hi guys.
I have global device version, without root, everything is default.
Sometimes (independently how exactly I use the device) it could be locked on maximum CPU frequency. I noticed this issue just, randomly. I've installed CPUZ to see more details about phone and then noticed that all frequencies in maximum (1612 first 4 cores and 1804 all another 4 cores).
Then I've installed AccuBattery to see the energy consumption and noticed that when this bug occurs, the device consumes about 210-240 mAh (with disabled all wireless interfaces surely), but after restart, when everything OK with frequencies stepping, it consumes about 110-140 mAh.
I've been facing this issue on 9.5.19.0 and the same on 8.8.16.
Have someone similar issues? Could you please install CPU-Z (or any anorher similar application) and say if everyone has locked frequencies?
Yes, I know, I've checked all background processes, I've enabled debug mode, connected via cable to laptop and.. adb shell -> top, I was seeing on real CPU activity. It could occurs randomly and then only reboot device could fix it until it happen again.
The same bug I found on the same phone in my friend. Strange, actually.
Click to expand...
Click to collapse
i have samne problem on 8.8.16
Just uninstall CPU Z and accu battery problem solve
iFreeMan said:
Hi guys.
I have global device version, without root, everything is default.
Sometimes (independently how exactly I use the device) it could be locked on maximum CPU frequency. I noticed this issue just, randomly. I've installed CPUZ to see more details about phone and then noticed that all frequencies in maximum (1612 first 4 cores and 1804 all another 4 cores).
Then I've installed AccuBattery to see the energy consumption and noticed that when this bug occurs, the device consumes about 210-240 mAh (with disabled all wireless interfaces surely), but after restart, when everything OK with frequencies stepping, it consumes about 110-140 mAh.
I've been facing this issue on 9.5.19.0 and the same on 8.8.16.
Have someone similar issues? Could you please install CPU-Z (or any anorher similar application) and say if everyone has locked frequencies?
Yes, I know, I've checked all background processes, I've enabled debug mode, connected via cable to laptop and.. adb shell -> top, I was seeing on real CPU activity. It could occurs randomly and then only reboot device could fix it until it happen again.
The same bug I found on the same phone in my friend. Strange, actually.
Click to expand...
Click to collapse
I knew this problem about 2-3 weeks ago. When you charging, it go up top freqs too
That's why I want to use custom kernel. But sometimes ( much less than stock ) locked at top freqs so I think it is Miui system policy also.
You should try some kernel manager to solve temporary.
---------- Post added at 09:20 AM ---------- Previous post was at 09:19 AM ----------
SunilSuni said:
Just uninstall CPU Z and accu battery problem solve
Click to expand...
Click to collapse
Problem will back soon on stock kernel
SunilSuni said:
Just uninstall CPU Z and accu battery problem solve
Click to expand...
Click to collapse
Actually bad solution, you know
Zanr Zij said:
I knew this problem about 2-3 weeks ago. When you charging, it go up top freqs too
That's why I want to use custom kernel. But sometimes ( much less than stock ) locked at top freqs so I think it is Miui system policy also.
You should try some kernel manager to solve temporary.
Click to expand...
Click to collapse
Aha, yes, you're right. Now I sorted our everything in my mind and seems it occurs after charging.
Do you think the same issue has all people with this smartphone? But just a lot of them doesn't look on that?
But I'd say it's critical bug to have locked frequencies. Why do you think it's like "miui system policy"?
I had many xiaomi devices, only here I faced with this issue. I thought may be my phone has manufacturing defects.. but seems the bug is general on our device.
What the miui version you have?
Ah, I didn't want to root my device.. I wanted to leave it as is, as stock and don't think about all this headache, but seems the time to unlock bootloader.. Because I haven't root, so, I'm not able to use any kernel managers to reset the frequencies/governors
iFreeMan said:
Actually bad solution, you know
Aha, yes, you're right. Now I sorted our everything in my mind and seems it occurs after charging.
Do you think the same issue has all people with this smartphone? But just a lot of them doesn't look on that?
But I'd say it's critical bug to have locked frequencies. Why do you think it's like "miui system policy"?
I had many xiaomi devices, only here I faced with this issue. I thought may be my phone has manufacturing defects.. but seems the bug is general on our device.
What the miui version you have?
Ah, I didn't want to root my device.. I wanted to leave it as is, as stock and don't think about all this headache, but seems the time to unlock bootloader.. Because I haven't root, so, I'm not able to use any kernel managers to reset the frequencies/governors
Click to expand...
Click to collapse
- I'm on Masik 2.5 with BlackBox kernel. If Kirks solve Dual app problem I will switch
- Miui system policy: I can not freeze/delete many system apps/modules after rooted. I also can not disable many Miui services/procsess ( by MyAndroidTools ). Miui also has performance mode for some purposes, can be auto activate in some cases
Does it drain battery faster? It can be caused by one of your user app. Try to remember when this started to happen, and traceback to the time you install/update apps during that period. Use MiXplorer and check the last installed app. There are apps that can triggered to mine cryptocurrency during charging, making your phone super hot and charge very slow. I am not saying it must be a malware, but it can be some apps that act similarly.
Try to boot to safe mode for several hours to check if it really caused by user app. Turn off your phone > Hold power to turn on > As soon as mi logo appear, quickly hold volume down until the phone finish booting (can be up to 30 seconds). You should see "safe mode" watermark at the bottom left corner, indicating all user app has been temporary disabled. Leave it for several hours to see if the battery still drain or the phone stay awake all the time (high cpu usage). To exit from safe mode, simply reboot.
I always found it is kind of a habit to blame MIUI for everything. I am not defending MIUI here, they bloat a lot. I also hate it and I am using RR now. But on several occassions when we troubleshoot, we found out it is one of the user app that cause the trouble, ads, or slow charging; not anything related to MIUI. Blaming MIUI won't solve the problem, only troubleshooting will lead us to the real culprit. In your case, it still can be caused by the MIUI itself. But until you troubleshoot it out, you won't know who is the real culprit.
For comparison, when still using MIUI 9.5.17.0 I can easily achieve 10+ hours SOT within 1,5 days (max is 14 hours). When switched to RR, affected by the wifi deep sleep drain, I rarely get 10 hours SOT anymore. Still in the process of troubleshooting the problem.
Zanr Zij said:
- I'm on Masik 2.5 with BlackBox kernel. If Kirks solve Dual app problem I will switch
- Miui system policy: I can not freeze/delete many system apps/modules after rooted. I also can not disable many Miui services/procsess ( by MyAndroidTools ). Miui also has performance mode for some purposes, can be auto activate in some cases
Click to expand...
Click to collapse
I don't mind to have additional applications.. But I don't like when my CPU works incorrect O_O
Desmanto said:
Does it drain battery faster? It can be caused by one of your user app. Try to remember when this started to happen, and traceback to the time you install/update apps during that period. Use MiXplorer and check the last installed app. There are apps that can triggered to mine cryptocurrency during charging, making your phone super hot and charge very slow. I am not saying it must be a malware, but it can be some apps that act similarly..
Click to expand...
Click to collapse
I've checked everything. It occurs after charging in most cases. I think that is the bug in governor. Yes, it drain battery a bit faster, but just a bit, I just calculated emergy consumption.
So, when my frequencies was locked, I just connected my phone via ADB to laptop and was looking at the "top" utility to see the load of CPU. And guess what? No load! Idle 796%. (all another 4% for top with refreshing each second and for CPU-Z ran on device).
Weird bug, actually...
I think I have unlock device and re-flash firmware via fastboot to over-write everything.. who knows where bug is hidden.
I've already done full reinstall system. wipe.. but it could occurs even during I read the book. Or just.. enable device, go to CPUZ, and frecuencies locked at max. Absolutely random event
iFreeMan said:
I've checked everything. It occurs after charging in most cases. I think that is the bug in governor. Yes, it drain battery a bit faster, but just a bit, I just calculated emergy consumption.
So, when my frequencies was locked, I just connected my phone via ADB to laptop and was looking at the "top" utility to see the load of CPU. And guess what? No load! Idle 796%. (all another 4% for top with refreshing each second and for CPU-Z ran on device).
Weird bug, actually...
I think I have unlock device and re-flash firmware via fastboot to over-write everything.. who knows where bug is hidden.
I've already done full reinstall system. wipe.. but it could occurs even during I read the book. Or just.. enable device, go to CPUZ, and frecuencies locked at max. Absolutely random event
Click to expand...
Click to collapse
Try not to install anything first after the wipe. Or just try the safe mode. As I said before, it might be caused by the same user app you installed after you wipe.
Desmanto said:
Try not to install anything first after the wipe. Or just try the safe mode. As I said before, it might be caused by the same user app you installed after you wipe.
Click to expand...
Click to collapse
That's could be.
I've unlocked bootloader and just flashed the last 8.8.16 with fastboot (just had thought about it could fix something, may be some thin deep bug).
But no, after I've installed the firmware with fastboot, I've started to install all my software from Google play. And guess what? I just see in cpuz and see the same - frequencies are locked on maximum values.
Strange .. I don't use something custom, or from unverified sources, just everything from google play.
Even without games (just PUBG). All another software just social. FB, messenger, Instagram, telegram, WhatsApp, Viber, and so on. And I even cannot to see what application could cause that. Don't want to root the device. After I've installed everything and rebooted device (to reset that bug with frequencies), now everything normal. Continue observation...
Just wanted to find someone who has the same issue and at least compare revisions, installed apps and so on...to try to find the trigger which causes this issue.
iFreeMan said:
That's could be.
I've unlocked bootloader and just flashed the last 8.8.16 with fastboot (just had thought about it could fix something, may be some thin deep bug).
But no, after I've installed the firmware with fastboot, I've started to install all my software from Google play. And guess what? I just see in cpuz and see the same - frequencies are locked on maximum values.
Strange .. I don't use something custom, or from unverified sources, just everything from google play.
Even without games (just PUBG). All another software just social. FB, messenger, Instagram, telegram, WhatsApp, Viber, and so on. And I even cannot to see what application could cause that. Don't want to root the device. After I've installed everything and rebooted device (to reset that bug with frequencies), now everything normal. Continue observation...
Just wanted to find someone who has the same issue and at least compare revisions, installed apps and so on...to try to find the trigger which causes this issue.
Click to expand...
Click to collapse
That's why I prefer the troubleshooting starting from small first, before going thru the whole ROM flashing. 80% of the time, it is caused by user app. A simple safe mode or factory reset will pointed out a very obvious clue immediately.
Not all playstore app are bug-free, we just don't know what happened in the next update of the app.
While you don't state it before, it can be mediaserver bug. It is caused by the mediascan which stucked at certain file/folder during the scan and keep eating CPU cycle forever. But I've never seen it goes thru almost full CPU load. The solution is to rearrange the files/folder in your internal storage or microsd (if you have it), clean up as needed. Sometimes, a simple restart resolve the issue, but not always.
I have Whatsapp. Some users in the kaskus has FB, IG, Telegram installed; I don't see much complaint from them regarding the CPU usage, except that the IG story are cropped/zoomed (16:9 to 18:9 ratio problem). You can only troubleshoot it step by step, by installing one app at a time. It is very lengthy process and tedious. But usually you can spot which app can be the potential culprit by looking at the battery usage of them. Example, you don't use viber at all, by it appears as one of the highest battery usage.
Desmanto said:
That's why I prefer the troubleshooting starting from small first, before going thru the whole ROM flashing. 80% of the time, it is caused by user app. A simple safe mode or factory reset will pointed out a very obvious clue immediately.
Not all playstore app are bug-free, we just don't know what happened in the next update of the app.
While you don't state it before, it can be mediaserver bug. It is caused by the mediascan which stucked at certain file/folder during the scan and keep eating CPU cycle forever. But I've never seen it goes thru almost full CPU load. The solution is to rearrange the files/folder in your internal storage or microsd (if you have it), clean up as needed. Sometimes, a simple restart resolve the issue, but not always.
I have Whatsapp. Some users in the kaskus has FB, IG, Telegram installed; I don't see much complaint from them regarding the CPU usage, except that the IG story are cropped/zoomed (16:9 to 18:9 ratio problem). You can only troubleshoot it step by step, by installing one app at a time. It is very lengthy process and tedious. But usually you can spot which app can be the potential culprit by looking at the battery usage of them. Example, you don't use viber at all, by it appears as one of the highest battery usage.
Click to expand...
Click to collapse
Yes, I understand that and understand why it would occurs and tried to investigate in this way, but...
I have equals application list which I had on previous device except...CPU-Z and AccuBattery (the AccuBattery for now is removed) because of I faced with this frequencies issues.
This morning it happened again. But I just.. woke up, saw on frequencies - everything OK. Then I just.. Instagram, Telegram, Facebook Messenger and Google Chrome and no more. Then I realized that the phone became a bit warm.. I saw on frequencies - it was locked again
As it happened, I've came to office, connected via ADB to laptop and made several screenshots from `top` utility and looked a bit into `adb logcat`. But nothing... IDLE ~798%. And then I've tried to go to all apps and do force stop for ALL apps. But nothing.
I just rebooted device again...
Please look on it.. https://drive.google.com/open?id=1yXjQQ4rsF3MURh1PF0DZ1Z_Gtgc4-m4_
Just concerning about.. there are a lot errors in logcat. But I understand that.. that's ok.
But 90% of logs flowing from system processes, not from apps. But there is nothing critical.. Nothing something what could flow unstoppable text and caused over-loading CPU.
I'm afraid that it could be manufacturing defects
I event tried to re-flash firmware with fastboot (I thought that byte-by-byte flasing into ROM memory could fix some random small issues). But after flashing with fastboot this CPU locking happening again.
Actually.. dunno what to do with that. The last thought to try any custom ROM (may be Lineage OS) with custom kernel and make sure that it is just bug in Xiaomi's ROM..
And I've posted about this bug on official MIUI forum and seems this bug happening with some people.
http://en.miui.com/thread-3620931-2-1.html
Talking about me. I've flashed Pixel Experience and for now everything good. Seems that's the bug in xiaomi firmware.
iFreeMan said:
And I've posted about this bug on official MIUI forum and seems this bug happening with some people.
http://en.miui.com/thread-3620931-2-1.html
Talking about me. I've flashed Pixel Experience and for now everything good. Seems that's the bug in xiaomi firmware.
Click to expand...
Click to collapse
Maybe that's the random issue with certain apps configuration with some users. Not all reporting the same. Seems to be related to thermal engine or CPU governor configuration. But I don't know where it goes wrong. At least you solved it now by flashing custom ROM.
Desmanto said:
Maybe that's the random issue with certain apps configuration with some users. Not all reporting the same. Seems to be related to thermal engine or CPU governor configuration. But I don't know where it goes wrong. At least you solved it now by flashing custom ROM.
Click to expand...
Click to collapse
I just used custom firmware just for check is that factory defect. But seems that's issue only with xiaomi's firmware.
Yes, I thought that could be governor likewise. But.. Don't think so, because this low-level things, I think, debugged and enhanced successfully by default. Seems some conflicts between system applications.
On custom ROM I haven't faced with this issue, so...
But this morning I've flashed again the global stable firmware (9.6.3.0), will see how it will going..
iFreeMan said:
But this morning I've flashed again the global stable firmware (9.6.3.0), will see how it will going..
Click to expand...
Click to collapse
Yes, I've got first lock on maximum frequencies.
So, after researches.. I could say that it's a bug in xiaomi firmware. Definitely.
I also have this problem on every MIUI rom, with stock or custom kernel. It happens randomly. I have tested in 9.6.19, 9.6.4.0, and betas 8.8.23 and 8.8.30.
If I flash any custom rom the problem desapears so it must be a problem of miui rom itself.
marc_alv said:
I also have this problem on every MIUI rom, with stock or custom kernel. It happens randomly. I have tested in 9.6.19, 9.6.4.0, and betas 8.8.23 and 8.8.30.
If I flash any custom rom the problem desapears so it must be a problem of miui rom itself.
Click to expand...
Click to collapse
I have no problem with Miui based custom Rom + custom kernel
Zanr Zij said:
I have no problem with Miui based custom Rom + custom kernel
Click to expand...
Click to collapse
Could you specify the rom and kernel, please?
Long story short, I have been experiencing a severe battery drain with any ROM I try for the last month or so. Some ROMs seemed not to have it until first reboot, then the drain showed up.
Installing BetterBatteryStats showed me there was a "fingerprint wakelock" active 100% of the time. This was a bit strange, because my fingerprint sensor doesn't even work most of the time (sometimes it works after installing a ROM, sometimes after a few reboots, but it always stops working eventually for no apparent reason).
But searching around, I came across this page, where the following step is suggested:
mv "/vendor/bin/hw/[email protected]" "/vendor/bin/hw/[email protected]"
By renaming the corresponding file on my current ROM (/vendor/bin/hw/[email protected]) and restarting the device, I got rid of the battery drain and it now shows a healthy deep sleep time! I suppose that kills the fingerprint sensor, but since it wasn't working anyway, no harm done.
Just posting it for posterity and reference to whoever wants to try, I have no idea if anyone else has the same issue. (now I'll go hunt down PowerManagerService wakelocks, which seem to be the next big thing eating battery)
First, thank you for your guide. After updating from 7.1.2 to 9 i experienced a severe battery drain issue as well and this solved it. Actually, the fingerprint sensor never worked on android pie for me (crdroid 5.3). I would like to add some information that may be usefull to people.
This battery drain was caused by the fingerprint sensor and can be diagnosed by cpu spy where you will see your phone not going into deep sleep at all (interactive mode kernel, no idea for performance or gaming modes), and better battery stats showing finger print sensor being responsible for a big part of kernel wake lock when the screen is off.
Renaming the file can be done either if you are rooted on the phone or ( as i have noticed many apps like netflix refusing to work on rooted phones, making it inplactical to having your phone rooted ) using adb usb debugging to rename the files. if you are not allowed to rename the files, remount the phone and try again, remounting will automatically mount it in ReadWrite, while sometimes the first time will mount only as read.
If the problem is fixed the cpu spy app will show a much larger time spent in the lowest clock state in interactive mode and actually phone spending time in deep sleep.
PS: DO NOT hunt down the power wake locks as stated in your post, as those are active when your screen is on, and those should be on.