<Solved> Need help. CPU usage maxed out constantly. - Google Pixel 2 XL Questions & Answers

Not sure if this is the best place to ask, but here goes...
Google Pixel 2 XL (Google variant)
TWRP 3.2.1-2
ElementalX kernel
Rooted with Magisk
TL;DR - Need something to view app CPU usage
Today (and a few times before this) my system UI started crashing every 20 to 45 seconds. The few times this happened before, I just assumed it had something to do with Substratum or app updates and I've uninstalled all theme overlays and updated the system to the latest factory image. So, today, I uninstalled theme overlays, uninstalled Substratum, updated to May image and rebooted back to the system. The system UI still crashes without root, Substratum and custom kernel. This time, I noticed that the phone was getting a little hotter than it normally does. So, in between system UI crashes, I determined that all 8 CPU cores are staying maxed out. I haven't found an app or any setting that allows me to monitor what apps are using the CPU (or rather, what apps are hogging the CPU). Does anyone have any ideas where to start with this kind of issue?
BTW, the phone was running fine a couple of hours earlier. I was out driving around (for work) and this just started.
Any help would be greatly appreciated....
Thank you

Got it fixed.
Thanks for listening

Inane65 said:
Got it fixed.
Thanks for listening
Click to expand...
Click to collapse
What was the culprit?
Sent from my Pixel 2 XL using Tapatalk

soopermarkus said:
What was the culprit?
Click to expand...
Click to collapse
Sorry. Never got a notification for this question.
It was an app called volume locker. Apparently, it changed the volume from a Tasker profile and when it changed back to the default it kept trying to go back and forth constantly. Caused the CPU to max out. Reboot wouldn't fix it. Had to uninstall and reinstall it.

Related

Music skipping/freezing when screen is off

I notice that whenever I play music (Pandora or Google Music) with the screen off and a bunch of recent applications, the sound will skip and stutter. This only happens when the screen is off AND when I have a bunch of recent applications open. It sounds like an issue with how JB is handling RAM, but I have 80-90% ram usage at most when it happens; or perhaps is an issue with the wakelock under heavy RAM usage. If I clear all the recent applications by holding the home button down and clicking the trash icon, this problem goes away.
Phone Info:
- Teshxx's stock T-889 rom odexed (03-05-13) 4.1.2
- Baseband T889UVALK8
- Model: GT-N7105 (I could rename to T-889 but I believe this is relevant to the issue)
Attempts to resolve:
- Wiped dalvik cache and regular cache
- Installing newer versions of Teshxx's stock odexed rom
- Wiped app data from Google Music and Pandora
Potentially related:
- I deleted the stock music player and musicFX app
- I deleted some other miscellaneous apps
- I have some tasker profiles that address both Pandora and Google Music (one is a trigger to open Pandora, the other is to increase volume of Google Music)
- I have not tried and would like to avoid doing a full system wipe
Im completely stock and listen to pandora several hours a day. Usually while driving to and from work.
No issues for me.
Could be an issue with your ROM.
IAmSixNine said:
Im completely stock and listen to pandora several hours a day. Usually while driving to and from work.
No issues for me.
Could be an issue with your ROM.
Click to expand...
Click to collapse
Do you usually have the screen off and have a bunch of recent apps?
Same happens to me with LG O3D in every music player (only while screen off). Even If I Use only 70 % of ram
Sent from my LG-P920 using xda app-developers app
Jinra321 said:
Do you usually have the screen off and have a bunch of recent apps?
Click to expand...
Click to collapse
Screen is off when im driving.
Ive gone days with out rebooting my phone, and i dont go in and stop them. So yes recent apps has what ever has been opened in between reboots.
Probably a ROM issue. I am back onto stock with my gs3 (Waiting on note 2) and have never had those issues. O have had them on different ROMS though.
I can have tons of apps open and screen off and no issues on stock. Shouldn't be a RAM issue either as 2G is plenty.
Sent from a galaxy far away!
I encountered a simular problem on my Samsung infuse tracked it down to cpu throttling I'd check governer and scheduler may be some screen off power save bias built in to rom maybe
Sent from my SGH-T889 using xda app-developers app
SIGMAxB said:
I encountered a simular problem on my Samsung infuse tracked it down to cpu throttling I'd check governer and scheduler may be some screen off power save bias built in to rom maybe
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
I do believe it may be related to CPU throttling as well. I do not have powersaving enabled and also do not have have any governing apps. I have better battery stats to track my CPU speeds and battery stuff, but I'm not sure how to set governing without an app.
Jinra321 said:
I do believe it may be related to CPU throttling as well. I do not have powersaving enabled and also do not have have any governing apps. I have better battery stats to track my CPU speeds and battery stuff, but I'm not sure how to set governing without an app.
Click to expand...
Click to collapse
With a script
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Are you using voodoo sound?
Could be ROM, kernel, CPU settings, etc. This happened to me last week with the CM nightlies. I installed an update & my music started stuttering like crazy when the screen was off. Turns out I had the CPU settings customized for a special kernel but hadn't reinstalled that kernel, so the phone was trying to manage the stock CM kernel with settings for the custom kernel.
This used to happen to me before I switched to Perseus kernel. Since then I don't have the issue. Could you try that?
Sent from my SGH-T889 using xda app-developers app
I tried doing a full wipe and installed teshxx's N7105 t-mo rom (4/09/13) and did not use any throttling apps (everything else stock). The music was still skipping with the screen off, but I tried setting my minimum CPU speed to 400mhz (from 200mhz) and the skipping stopped (300mhz still skips). So I'm positive it's a problem with CPU throttling now. Since it's a full wipe and I'm still having this issue, I feel that it's a hardware issue. Perhaps I should just warranty my phone.
Changed governor to on demand and all is good.
Music skipping when screen turns off
Hey guys, I didn't realize how many other people were having this problem too....
My phone is rooted and I used ROM Toolbox Pro to turn up the min CPU value from 200mhz to 400mhz and it seems to work so far. So if you can find any type of app that can up your minimum value on your CPU it might do the trick. Because that stutter is super annoying....
I will keep you guys up to date if this doesn't work. But so far so good.
I noticed the same thing on my note 10.1 tab. Fully stock, first day i got it it did that with Google play music. Only noticed it that one time though. I'll report back if it happens again.

[Q] Random Reboots

My Note 3 randomly reboots and a factory restore hadn't solved the issue. There's no bootloop issue, it just reboots a few times a week, sometimes twice a day. Any possible solutions?
Kawaisa said:
My Note 3 randomly reboots and a factory restore hadn't solved the issue. There's no bootloop issue, it just reboots a few times a week, sometimes twice a day. Any possible solutions?
Click to expand...
Click to collapse
dont install any apps, except for the essential one, and see if it reboots. Probably it might be an app which is hogging your memory
prasanthlt said:
dont install any apps, except for the essential one, and see if it reboots. Probably it might be an app which is hogging your memory
Click to expand...
Click to collapse
You're probably right, I had like half the app store installed. I did another hard reset and will see if it happens again. Is there a way to check if there's any specific apps that are memory hogs?
I had this cleaner app that kept asking me to clear my memory because 90%+ of it was being constantly used. I figured 3GB was enough
Kawaisa said:
My Note 3 randomly reboots and a factory restore hadn't solved the issue. There's no bootloop issue, it just reboots a few times a week, sometimes twice a day. Any possible solutions?
Click to expand...
Click to collapse
Are you rooted, stock, custom? If your using a stock kernel would you have installed any apps that would require a custom kernel such as android tweaker.
This exact samething happened to me on my rooted stock S3 running a stock kernel. I installed android tweaker pro not realizing I needed to have a custom kernel installed and it caused random reboots 3 or 4 times a day. Flashing back to stock or doing a factory reset would not fix the issue I just ended up sending it back because I wasn't sure what the issue was then realized it was Android tweaker that caused the random reboots.
Sent from my SM-N900T using XDA Premium 4 mobile app
djrysk said:
Are you rooted, stock, custom? If your using a stock kernel would you have installed any apps that would require a custom kernel such as android tweaker.
This exact samething happened to me on my rooted stock S3 running a stock kernel. I installed android tweaker pro not realizing I needed to have a custom kernel installed and it caused random reboots 3 or 4 times a day. Flashing back to stock or doing a factory reset would not fix the issue I just ended up sending it back because I wasn't sure what the issue was then realized it was Android tweaker that caused the random reboots.
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Running stock everything
no android tweaker installed
My note did this for a bit when I unlocked it. Called tmobile they told me it was a Gmail issue. So go. Into settings/apps disable Gmail reboot then re-enable it. It's something with how Samsung integrated it into the system.
Sent from my SM-N900T using XDA Premium 4 mobile app
I am currently running*DARTHSTALKER*v5*and Compulsion Ultimate v6. *I have been running Jovys roms and kernels for a few months already and absolutely love it. *Just recently (about a week ago) I decided to go into Trickster Mod and try overclocking it. *The phone runs fine for a while but all of a sudden out of nowhere when it is just sitting on idle it will reboot. *At least once or twice a day. *I only know this because I will wake up in the morning and I see the notification that Trickster Mod set on boot was successful. *The last 2 times it happened, I received an Exchange mail and it looks like when these emails came in, it woke the device and then it rebooted. *I installed "CatLog" from the play store to see what the logs are saying and I see about 8 of these messages around the time of the reboot:*
296 ThermalEngine E Threshold 0 Action [0] : shutdown
I know the phone is not overheating when this happens. *I am wondering if the kernel has an issue with the Intelli-Thermal Controls or something. *I did enable that and set the thresholds to 95 and 100. *If that is Celsius or Fahrenheit I do not know since it is just a number value in trickster. *I was on Darthstalker v3 a couple days ago when this started happening and I thought upgrading to v5 would fix it but to no avail. *Does anybody have any thoughts or seen this issue?
I am going to try to overclock it again to the full 2.6 GHz (2649600) but this time turn off Intelli-Thermal and see if I still get this issue. *I am hoping I don't have a faulty device. *I never had a problem until I changed the max frequency from 2265600 to anything higher. *With the device not overclocked and with Intelli-Thermal enabled I do not get this problem; only when I introduce the slightest overclock into the mix.
Changed in trickster are as follows: (everything else is stock)
--Scheduler = sio
--Governor = ondemand (I think this was stock but just in case it wasnt)
--Max Frequency = 2649600
--MP-Decision = OFF
--Intelli-Plug = ON
--Intelli-Thermal Control = ON (freq throttle = 95, core offline = 100)
Sent from my SM-N900T using xda app-developers app
so it happened again today, noticed that I have about 1GB of free ram at start up, not sure if that's normal

Please help me identify the source of random soft reboots

These are random soft reboots. There's no lag before or after them. They happen out of nowhere. If I unroot my phone, they don't happen so I'm sure these are caused by any root app.
Here are all the mods I have on my completely stock rom.
- I have everything from -----> [GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life! including the kernel and all the settings.
- I have greenify with xposed and almost every option turned on with the donate version. I have greenified a lot of apps which I don't use
- I have Naptime by Franco and keep it at "Aggressive", to switch to Doze as soon as I turn my screen off.
From what I think, maybe greenify and Naptime are somehow conflicting with each other, but in the end, that's just my non-professional amateur opinion, and I would really be glad if anyone could help me thanks
Jamal Ahmed said:
These are random soft reboots. There's no lag before or after them. They happen out of nowhere. If I unroot my phone, they don't happen so I'm sure these are caused by any root app.
Here are all the mods I have on my completely stock rom.
- I have everything from -----> [GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life! including the kernel and all the settings.
- I have greenify with xposed and almost every option turned on with the donate version. I have greenified a lot of apps which I don't use
- I have Naptime by Franco and keep it at "Aggressive", to switch to Doze as soon as I turn my screen off.
From what I think, maybe greenify and Naptime are somehow conflicting with each other, but in the end, that's just my non-professional amateur opinion, and I would really be glad if anyone could help me thanks
Click to expand...
Click to collapse
Not to steal anything from your post, but this is happening to me as well (though my setup is a tad different:
- 6.0.1 stock + root + TWRP Recovery
- No kernel mods of any sort
- Xposed w/ modules:
-->App Settings
-->GravityBox
-->RootCloak
-->YoutubeAdaway
-->Greenify w/ Experimental Features "Wakeup Timer Coalescing", "Don't remove notifications", "Allow GCM push for greenified apps", "Greeniying system apps", and "Reveal hidden Sync", all enabled
-->Amplify(though the reboots have happened before Amplify)
From what I can loosely tell, my reboots tend to occur near, during, or after either 1)some network connectivity change or screen on/off/rotational change or 2)when doing/handling a task. Sometimes that task could be intensive (like adding muliple photos to a text message with a large amount of text in Textra, or maybe something dealing with media playback.
It's hard to determine what's causing it because it happens randomly, and sometimes once a day, sometimes a few times a day. Not really sure how to ID the problem either
Edit: Okay, I'm definitely seeing more reboots when using my camera than anything else.
How often does it reboot?
Try unstalling naptime for a few days and see if that helps. I accually tried naptime today but got problems with my mobile data, maybe the aggressive mode is still experimental..
Im noticing that mine reboots reliably when looking and scrolling through images in Photos...
NameLessThugZero said:
Im noticing that mine reboots reliably when looking and scrolling through images in Photos...
Click to expand...
Click to collapse
I flashed 6.0.1 factory image yesterday and started from scratch again. rooted, using just naptime with aggressive doze setting, and have had no reboots so far. before this, if i only just rooted my phone, it would start rebooting regardless of naptime installed or not, kernel being stock or not, and greenify installed or not, and xposed installed or not. glad that it's not rebooting anymore, but I don't know if I should do the modifications again

Little cores running at 1440 all the time

Hey guys, need some help. I have an AT&T H810 rooted 10o. My little cores seem to be running full out at 1440mhz even though my governor is set to Interactive. This is causing it to heat up incredible, to 70c+, and is draining the battery quickly. It seems to have only started occurring in the last few days! I can run it in powersave governor which fixes it to 384mhz, and it fixes the problem, but I don't understand why it is running at full speed under interactive now. The big cores do NOT have this problem AT ALL.
I've removed any apps I installed during that time, cleared my phones cache, cleared the memory, I have tried running it in airplane mode, I've looked into what apps were running and it seems to be very few. Turned location off. I've tried freezing the play services because I have been getting a very intermittent force close. I have also tried to disable all xposed modules, and used avg to scan for any malware. Possibly init.d? Possibly the new xposed v79? I'm at a loss as to what is causing this!
Does anyone have any other ideas as to what could be happening?
There's always the good old factory reset if everything else fails.
Just asking the obvious but there is no offending wakelocks or anything that sticks out in the battery usage stats?
spartan268 said:
There's always the good old factory reset if everything else fails.
Just asking the obvious but there is no offending wakelocks or anything that sticks out in the battery usage stats?
Click to expand...
Click to collapse
Battery usage Android OS is highest at 33, followed by screen at 16%.
Wakelocks, I seem to have them under control with amplify, and I don't see any new ones.
Question about factory reset, I am not near a pc for the next few days, will it cause any problems with xposed or my rooted system image, and basically what can I expect with it? I came from a M8 where with custom recovery I was pretty fearless with being to wipe and refresh, can't do that here.
Noticed that disabling 2 of the little cores with kernel auditor really helps with the heat buildup of the phone with not much slowdown
elementalfusion said:
Noticed that disabling 2 of the little cores with kernel auditor really helps with the heat buildup of the phone with not much slowdown
Click to expand...
Click to collapse
Doesn't solve why it's running at full speed, but I'll keep that in mind.
question about factory reset, I am not near a pc for the next few days, will it cause any problems with xposed or my rooted system image, and basically what can I expect with it? I came from a M8 where with custom recovery I was pretty fearless with being to wipe and refresh, can't do that here.
Personally I never done a factory reset myself yet so i cannot comment.
For the most part it does look like you have something to work with seeing Android OS is taking up the most battery. The hard part is tracking down which process. I'm not the best at this so maybe someone else can chime in. Try taking a look at your currently running processes and see if there's anything odd
Well, after a few factory resets which did not affect xposed, I was able to resolve it to where the cores now return to 384mhz idle. It was something that was installed, and it took 3 or 4 resets after restoring my app backups, and I'm still not sure which app was the culprit. I'm possibly wondering if it was the Amplify module
Sorry for bumping this. I just suffered from this problem and it seems for me it was antutu. For some reasons it was running the background keeping the 4 small cores at 1,2-1,4 cuz constantly. I stopped it and now it's back to normal. Just wondering why it started itself in the first place.
Sent from my LG-H815 using XDA-Developers mobile app

CPU frequency sometimes lock on maximum frequency values

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?

Categories

Resources