[MTK] 如何手动触发异常
文摘 MediaTek 2022-09-19 阅读:8635[DESCRIPTION]
如何手动触发异常
[SOLUTION]
Java Exception(JE):
在手机中home-> dev tools-> Bad behavior -> "Crash the main app thread"
Native Exception(NE):
例如想要netd进程发生NE:首先adb shell ps netd,然后adb shell kill -11 {netd_pid}
Kernel Exception(KE):
adb shell cat /proc/aed/generate-oops
Modem Exception(EE):
adb shell cat /proc/aed/generate-ee
WCN Exception(EE):
adb shell cat /proc/aed/generate-combo
HWT Exception:
adb shell "echo 1:4 > /proc/aed/generate-wdt" -->> 表示cpu 4 卡住
Hang Detect Exception:
adb shell kill -19 {system_server_pid} --> wait 5min会触发整机重启
SWT:
adb shell am hang --allow-restart
Scp EE:
adb shell echo 666 > sys/class/misc/scp/wdt_reset
共0
条评论
作者
Pixiv日榜Top50