Stage1st

 找回密码
 立即注册
搜索
查看: 1391|回复: 9

[软件] [求助][已解决]手机无缘无故有2个大核跑满导致疯狂掉电

[复制链接]
     
发表于 2023-6-1 16:03 | 显示全部楼层 |阅读模式
本帖最后由 我特么吹爆 于 2023-6-1 18:20 编辑

更新:更新GMS Doze之后压住发癫的GMS了。
————————
红米K30S,安卓11,原生系统,21年6月更新的版本。
手机里装有22.0版的magisk、21.05.23版的YC调度(今天发现手机异常后换成了22.09.04)、universal GMS Doze、黑阈、中日两版明日方舟、一个垃圾日游、谷歌商店。
自21年6月起手机环境就没有变过,没有更新系统、没有安装新模块或插件、没有安装新软件,仅有的变化是更新过三个游戏。
问题最早出现时间不明,大致是最近几天,发现手机在睡觉期间耗电量极大,超过了20%,但一开始怀疑是软件在后台偷跑电量,没有太在意。今天发现问题依旧,而且是手机在全程深度睡眠的情况下每小时掉电2.1%,亮屏时每分钟掉电1%,才发现问题有点严重。
装了BBS后发现没有任何软件在后台偷偷唤醒,在scene4里发现手机有两个核在什么都不干的情况下一直维持在90%+的使用率,现在打字的时候变为3个核稳定在50%的使用率,因为我之前设置手机调度的时候是手机静置时应该所有的核使用率都在1%-5%之间波动的,所以这个数值肯定不正常。
之后尝试过更新YC调度、重启,并没有效果。
最近几天唯一的异常情况是打游戏打到过几次50+℃,当时考虑到是在户外,就没有在意。初次之外没有可疑之处。
因为完全不知道可能是哪出了问题,所以想解决也无从下手。请问各位有办法知道怎么排查问题吗?

Screenshot_20230601-160811254.jpg
Screenshot_20230601-160613937.jpg
Screenshot_20230601-160632232.jpg
回复

使用道具 举报

     
发表于 2023-6-1 16:11 | 显示全部楼层
https://ui.perfetto.dev/#!/
自己抓trace分析吧
回复

使用道具 举报

     
 楼主| 发表于 2023-6-1 16:37 | 显示全部楼层
masakaha 发表于 2023-6-1 16:11
https://ui.perfetto.dev/#!/
自己抓trace分析吧

这玩意太复杂了甚至上来就是报错。
读了教程都不知道哪个部分是我要用的……
还是先谢谢了,我先慢慢啃教程
回复

使用道具 举报

发表于 2023-6-1 16:42 | 显示全部楼层
dumpsys cpuinfo看一眼
休眠还动的第一次见
回复

使用道具 举报

     
发表于 2023-6-1 16:46 来自手机 | 显示全部楼层
遇到这种情况我都用的强制打盹,但是原作者由于塞病毒进软件就消失匿迹了,可以用早期版本
回复

使用道具 举报

     
 楼主| 发表于 2023-6-1 17:03 | 显示全部楼层
华蝶风雪 发表于 2023-6-1 16:42
dumpsys cpuinfo看一眼
休眠还动的第一次见

全在6以上,请问我应该怎么办?
  1. F:\TempFiles\platform-tools_r33.0.3-windows\platform-tools>adb shell dumpsys cpuinfo
  2. Load: 6.06 / 6.14 / 6.26
  3. CPU usage from 343458ms to 145172ms ago (2023-06-01 16:56:58.303 to 2023-06-01 17:00:16.590) with 99% awake:
  4.   126% 7240/com.google.android.gms: 88% user + 38% kernel / faults: 1242034 minor 9 major
  5.   3.3% 993/surfaceflinger: 1.8% user + 1.5% kernel
  6.   3.3% 2283/com.android.systemui: 2.5% user + 0.7% kernel / faults: 7039 minor
  7.   2.9% 404/crtc_event:129: 0% user + 2.9% kernel
  8.   2.4% 1502/system_server: 1.6% user + 0.7% kernel / faults: 8681 minor
  9.   2% 587/logd: 0.7% user + 1.2% kernel / faults: 325 minor
  10.   1.4% 914/vendor.qti.hardware.display.composer-service: 0.7% user + 0.6% kernel / faults: 172 minor
  11.   0.8% 5168/uperf: 0.1% user + 0.7% kernel / faults: 12 minor
  12.   0.8% 7380/com.google.android.gms.unstable: 0.6% user + 0.1% kernel / faults: 39468 minor 67 major
  13.   0.7% 20242/kworker/u16:16-events_freezable_power_: 0% user + 0.7% kernel / faults: 4 minor
  14.   0.6% 20236/kworker/u16:4-events_unbound: 0% user + 0.6% kernel / faults: 16 minor
  15.   0.5% 20240/kworker/u16:15-events_power_efficient: 0% user + 0.5% kernel
  16.   0.4% 14517/kworker/u16:17-events_freezable_power_: 0% user + 0.4% kernel / faults: 6 minor
  17.   0.4% 7227/com.google.android.gms.persistent: 0.2% user + 0.1% kernel / faults: 6628 minor 1 major
  18.   0.3% 19339/kworker/u16:5-rcu_gp: 0% user + 0.3% kernel
  19.   0.2% 2575/com.android.phone: 0.2% user + 0% kernel / faults: 5171 minor
  20.   0.2% 3626/com.omarea.vtools: 0.1% user + 0% kernel / faults: 8057 minor
  21.   0.2% 1368/qcrild: 0.2% user + 0% kernel / faults: 302 minor
  22.   0.2% 4674/irq/16-90b6400.: 0% user + 0.2% kernel
  23.   0.2% 13/rcuop/0: 0% user + 0.2% kernel
  24.   0.2% 873/android.hardware.health@2.1-service: 0% user + 0.2% kernel
  25.   0.2% 4675/irq/17-9091000.: 0% user + 0.2% kernel
  26.   0.1% 32/rcuop/2: 0% user + 0.1% kernel
  27.   0.1% 24/rcuop/1: 0% user + 0.1% kernel
  28.   0.1% 20122/kworker/3:3: 0% user + 0.1% kernel
  29.   0.1% 403/crtc_commit:129: 0% user + 0.1% kernel
  30.   0.1% 566/ueventd: 0.1% user + 0% kernel
  31.   0.1% 10/rcu_preempt: 0% user + 0.1% kernel
  32.   0.1% 19378/kworker/u17:2-kgsl-events: 0% user + 0.1% kernel
  33.   0.1% 4383/mi_thermald: 0% user + 0.1% kernel
  34.   0% 30/kworker/2:0-cgroup_pidlist_destroy: 0% user + 0% kernel
  35.   0% 9887/kworker/0:0-events: 0% user + 0% kernel
  36.   0% 288/kgsl_worker_thr: 0% user + 0% kernel
  37.   0% 17218/kworker/u17:4-kgsl-events: 0% user + 0% kernel
  38.   0% 19284/kworker/1:4-mm_percpu_wq: 0% user + 0% kernel
  39.   0% 1444/msm_irqbalance: 0% user + 0% kernel
  40.   0% 2234/scheduler_threa: 0% user + 0% kernel
  41.   0% 5886/com.digibites.accubattery: 0% user + 0% kernel / faults: 593 minor
  42.   0% 29/ksoftirqd/2: 0% user + 0% kernel
  43.   0% 3503/com.asus.stitchimage: 0% user + 0% kernel / faults: 52 minor
  44.   0% 19971/kworker/u17:7-kgsl-events: 0% user + 0% kernel
  45.   0% 756/netd: 0% user + 0% kernel / faults: 153 minor
  46.   0% 3613/com.dhm47.nativeclipboard:access: 0% user + 0% kernel / faults: 50 minor
  47.   0% 3661/com.wpengapp.lightstart:service: 0% user + 0% kernel / faults: 51 minor
  48.   0% 2422/com.android.networkstack.process: 0% user + 0% kernel / faults: 926 minor 1 major
  49.   0% 3801/com.google.process.gservices: 0% user + 0% kernel / faults: 1034 minor 4 major
  50.   0% 5703/com.android.vending: 0% user + 0% kernel / faults: 234 minor
  51.   0% 8268/com.nfwebdev.launcher10: 0% user + 0% kernel / faults: 3372 minor 1 major
  52.   0% 368/irq/460-dma-gra: 0% user + 0% kernel
  53.   0% 386/kworker/2:1H-kblockd: 0% user + 0% kernel
  54.   0% 541/devfreq_boostd/: 0% user + 0% kernel
  55.   0% 542/devfreq_boostd/: 0% user + 0% kernel
  56.   0% 589/servicemanager: 0% user + 0% kernel
  57.   0% 596/android.hardware.keymaster@4.0-service-qti: 0% user + 0% kernel
  58.   0% 887/android.hardware.wifi@1.0-service: 0% user + 0% kernel
  59.   0% 17772/com.android.vending:instant_app_installer: 0% user + 0% kernel / faults: 81 minor
  60.   0% 1/init: 0% user + 0% kernel
  61.   0% 588/lmkd: 0% user + 0% kernel
  62.   0% 1162/keystore: 0% user + 0% kernel / faults: 56 minor
  63.   0% 20033/kworker/2:3-sock_diag_events: 0% user + 0% kernel
  64.   0% 64/rcuop/6: 0% user + 0% kernel
  65.   0% 1172/wificond: 0% user + 0% kernel
  66.   0% 3251/adbd: 0% user + 0% kernel / faults: 346 minor
  67.   0% 617/android.system.suspend@1.0-service: 0% user + 0% kernel / faults: 1 minor
  68.   0% 882/android.hardware.sensors@1.0-service: 0% user + 0% kernel / faults: 18 minor
  69.   0% 1215/cnss-daemon: 0% user + 0% kernel
  70.   0% 2205/wlan_logging_th: 0% user + 0% kernel
  71.   0% 3878/sh: 0% user + 0% kernel / faults: 1053 minor
  72.   0% 13239/com.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0: 0% user + 0% kernel / faults: 347 minor
  73.   0% 13431/com.textra: 0% user + 0% kernel / faults: 157 minor
  74.   0% 14525/kworker/5:2-mm_percpu_wq: 0% user + 0% kernel
  75.   0% 18661/kworker/3:1: 0% user + 0% kernel
  76.   0% 9/ksoftirqd/0: 0% user + 0% kernel
  77.   0% 40/rcuop/3: 0% user + 0% kernel
  78.   0% 48/rcuop/4: 0% user + 0% kernel
  79.   0% 56/rcuop/5: 0% user + 0% kernel
  80.   0% 87/qmp_aop: 0% user + 0% kernel
  81.   0% 682/magiskd: 0% user + 0% kernel
  82.   0% 1640/qrtr_rx: 0% user + 0% kernel
  83.   0% 2477/org.codeaurora.ims: 0% user + 0% kernel / faults: 23 minor
  84.   0% 2752/.qtidataservices: 0% user + 0% kernel / faults: 69 minor
  85.   0% 19387/kworker/7:1-events: 0% user + 0% kernel
  86.   0% 20256/kworker/3:4: 0% user + 0% kernel
  87.   0% 20355/android.process.media: 0% user + 0% kernel / faults: 143 minor
  88.   0% 20377/me.piebridge.brevent: 0% user + 0% kernel / faults: 92 minor
  89.   0% 2/kthreadd: 0% user + 0% kernel
  90.   0% 72/rcuop/7: 0% user + 0% kernel
  91.   0% 590/hwservicemanager: 0% user + 0% kernel
  92.   0% 597/qseecomd: 0% user + 0% kernel / faults: 1 major
  93.   0% 606/vold: 0% user + 0% kernel
  94.   0% 861/android.hardware.audio.service: 0% user + 0% kernel / faults: 4 minor
  95.   0% 872/android.hardware.gnss@2.1-service-qti: 0% user + 0% kernel / faults: 6 minor 3 major
  96.   0% 989/audioserver: 0% user + 0% kernel
  97.   0% 1169/storaged: 0% user + 0% kernel / faults: 6 minor
  98.   0% 1297/ipacm: 0% user + 0% kernel
  99.   0% 1308/lowi-server: 0% user + 0% kernel
  100.   0% 1395/qcrild: 0% user + 0% kernel
  101.   0% 2237/dp_rx_thread_0: 0% user + 0% kernel
  102.   0% 2528/.qtidataservices: 0% user + 0% kernel / faults: 58 minor
  103.   0% 3248/batterysecret: 0% user + 0% kernel
  104.   0% 4587/vendor.qti.hardware.perf@2.2-service: 0% user + 0% kernel
  105.   0% 6550/brevent_server: 0% user + 0% kernel / faults: 12 minor
  106.   0% 11177/kworker/4:1-events: 0% user + 0% kernel
  107.   0% 14223/kworker/0:2: 0% user + 0% kernel
  108.   0% 19138/kworker/3:2: 0% user + 0% kernel
  109. +0% 20519/kworker/0:4-events: 0% user + 0% kernel
  110. +0% 20717/kworker/1:5-events: 0% user + 0% kernel
  111. 19% TOTAL: 11% user + 5.7% kernel + 0.8% iowait + 0.3% irq + 0.4% softirq
复制代码


回复

使用道具 举报

     
 楼主| 发表于 2023-6-1 17:07 | 显示全部楼层
JetBrains 发表于 2023-6-1 16:46
遇到这种情况我都用的强制打盹,但是原作者由于塞病毒进软件就消失匿迹了,可以用早期版本 ...

请问你说的用早期版本的软件是黑阈吗?我用的是4.2.1。
另外我现在的问题是所有的软件都是正常打盹的,是cpu自己在空跑
回复

使用道具 举报

发表于 2023-6-1 17:12 | 显示全部楼层
不知道gms发什么癫,看起来先干掉它准没错
回复

使用道具 举报

     
 楼主| 发表于 2023-6-1 17:15 | 显示全部楼层
华蝶风雪 发表于 2023-6-1 17:12
不知道gms发什么癫,看起来先干掉它准没错

请问您看的是第4行的
“126% 7240/com.google.android.gms: 88% user + 38% kernel / faults: 1242034 minor 9 major”
吗?
我想知道怎么读这些数据。
另外我已经安装了GMS Doze,是不是说明这个模块失效了?我还有什么办法可以压住GMS吗?
回复

使用道具 举报

     
 楼主| 发表于 2023-6-1 18:19 | 显示全部楼层
华蝶风雪 发表于 2023-6-1 17:12
不知道gms发什么癫,看起来先干掉它准没错

更新了GMS Doze。
压住了!非常感谢!
  1. F:\TempFiles\platform-tools_r33.0.3-windows\platform-tools>adb shell dumpsys cpuinfo
  2. Load: 3.51 / 0.82 / 0.27
  3. CPU usage from 206377ms to 191571ms ago (2023-06-01 18:15:36.647 to 2023-06-01 18:15:51.454):
  4.   70% 1543/system_server: 51% user + 19% kernel / faults: 83567 minor 68 major
  5.   8.9% 283/kworker/u16:7+nvt_lockdown_wq: 0% user + 8.9% kernel
  6.   5.5% 1032/surfaceflinger: 4.2% user + 1.2% kernel / faults: 288 minor
  7.   4.5% 765/zygote: 3.6% user + 0.8% kernel / faults: 20835 minor 41 major
  8.   4.6% 561/ueventd: 4.1% user + 0.5% kernel / faults: 2380 minor
  9.   4.5% 585/logd: 1.7% user + 2.8% kernel / faults: 1001 minor 4 major
  10.   3.7% 1195/installd: 2.5% user + 1.2% kernel / faults: 37 minor
  11.   3.5% 1346/qcrild: 2.8% user + 0.6% kernel / faults: 688 minor
  12.   3.3% 955/vendor.qti.hardware.display.composer-service: 1.7% user + 1.5% kernel / faults: 99 minor
  13.   2.6% 764/zygote64: 0.6% user + 1.9% kernel / faults: 12158 minor 35 major
  14.   2.3% 1/init: 0.9% user + 1.4% kernel / faults: 1794 minor 4 major
  15.   1.9% 1208/media.codec: 1% user + 0.8% kernel / faults: 9547 minor
  16.   2% 1459/logcat: 0.9% user + 1% kernel / faults: 6 minor
  17.   1.8% 587/servicemanager: 0.7% user + 1% kernel / faults: 139 minor 34 major
  18.   1.8% 682/magiskd: 0.1% user + 1.6% kernel / faults: 248 minor 5 major
  19.   1.8% 1222/netmgrd: 0.6% user + 1.2% kernel / faults: 5668 minor
  20.   1.5% 1099/storage_isolation: 1% user + 0.4% kernel / faults: 7273 minor
  21.   1.1% 1233/media.swcodec: 0.8% user + 0.2% kernel / faults: 1502 minor
  22.   1.3% 1429/qcrild: 1% user + 0.2% kernel / faults: 474 minor
  23.   1% 1012/audioserver: 0.4% user + 0.6% kernel / faults: 1418 minor
  24.   0.9% 108/ion-pool-uncach: 0% user + 0.9% kernel
  25.   1% 880/android.hardware.audio.service: 0.5% user + 0.4% kernel / faults: 1733 minor
  26.   0.7% 588/hwservicemanager: 0.5% user + 0.2% kernel / faults: 104 minor 162 major
  27.   0.5% 961/vendor.qti.hardware.qteeconnector@1.0-service: 0% user + 0.5% kernel / faults: 70 minor
  28.   0.6% 402/crtc_commit:129: 0% user + 0.6% kernel
  29.   0.6% 615/android.system.suspend@1.0-service: 0.2% user + 0.3% kernel / faults: 46 minor
  30.   0.5% 790/kworker/u17:19-pil_workqueue: 0% user + 0.5% kernel
  31.   0.5% 371/kworker/u16:12-rcu_gp: 0% user + 0.5% kernel
  32.   0.5% 762/netd: 0.1% user + 0.4% kernel / faults: 289 minor 15 major
  33.   0.4% 1200/mediaserver: 0.1% user + 0.2% kernel / faults: 347 minor
  34.   0.4% 1327/rirud_java: 0.2% user + 0.2% kernel / faults: 3207 minor
  35.   0.3% 766/lspd: 0.2% user + 0% kernel / faults: 1965 minor 2 major
  36.   0.4% 981/qrtr-ns: 0.1% user + 0.2% kernel
  37.   0.2% 1160/feature_enabler_client: 0% user + 0.2% kernel / faults: 29 minor
  38.   0.3% 1368/imsdatadaemon: 0% user + 0.2% kernel / faults: 67 minor
  39.   0.2% 277/kworker/u16:4-qmi_msg_handler: 0% user + 0.2% kernel
  40.   0.2% 288/kgsl_worker_thr: 0% user + 0.2% kernel
  41.   0.2% 604/vold: 0% user + 0.1% kernel / faults: 356 minor 4 major
  42.   0.2% 932/android.hardware.wifi@1.0-service: 0% user + 0.1% kernel / faults: 96 minor
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|stage1st 沪ICP备13020230号-1 沪公网安备 31010702007642号

GMT+8, 2023-9-24 19:36 , Processed in 0.050160 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表