Android 8.0 bootchart 抓取

1. 安装bootchart 命令

sudo apt-get install bootchart

2. enable bootchart 功能

adb shell touch /data/bootchart/enabled

adb reboot

3. 抓取bootchart 数据,生成bootchart.png

$ANDROID_BUILD_TOP/system/core/init/grab-bootchart.sh

该命令会自动提取手机中/data/bootchart/ 目录下面的数据,并解析生成bootchart.png

发布了35 篇原创文章 · 获赞 9 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/ZHOUYONGXYZ/article/details/79321167