》定屏 操作指导:(这个是user版本的)
测试要求:
1.插入>8G T卡
2.测试前调整手机时间和电脑时间一致
3.保留对应手机测试版本的vmlinux和symbols文件夹
symbols目录:
/out/target/product/sp9832e_1h10_go/symbols
vmlinux目录:
/out/target/product/sp9832e_1h10_go/obj/KERNEL/vmlinux
出现问题后先记录时间,拍照,然后检查adb是否可连,检查方法如下
adb devices ->看是否能否枚举出设备
adb shell(看是否能进入adb shell,可进入则是adb可连反之不可连)
如果adb可连执行下面的操作:
1).adb logcat –v time > logcat.txt 抓一些现场的log
2).adb shell bugreport > bugreport.txt
等待Bugreport执行完(3分钟左右).
3).adb shell df >df.txt
4)adb shell ps >ps.txt
5)adb shell mount >mount.txt
6)使用Log4Android2PCv2.3.8 导出Log
做完上述1-6步后, 请保留现场上传相关文件和Log并联系展讯查看现场;
-------------------------------------------------------------------------------------------------------------------
如果adb不可连执行下面的操作:
音量上+ 音量下+power key(2次 )抓取sysdump。,如果无效,长按Powerkey;抓取sysdump,然后把T卡里面的内容全部导出上传。
debug版本或者有root权限的版本
》定屏 操作指导:
测试要求:
1.使用debug版本插入>8G T卡
2.测试前调整手机时间和电脑时间一致
3.保留对应手机测试版本的vmlinux和symbols文件夹
symbols目录:
/out/target/product/sp9832e_1h10_go/symbols
vmlinux目录:
/out/target/product/sp9832e_1h10_go/obj/KERNEL/vmlinux
出现问题后先记录时间,拍照,然后检查adb是否可连,检查方法如下
adb devices ->看是否能否枚举出设备
adb shell(看是否能进入adb shell,可进入则是adb可连反之不可连)
如果adb可连执行下面的操作:
adb root
adb remount
1).adb shell cat /proc/kmsg > kernel.log (点击 power键)
2).adb logcat –v time > logcat.txt 抓一些现场的log
3).adb shell bugreport > bugreport.txt
等待Bugreport执行完(3分钟左右).
4).
adb shell
touch /data/anr/traces.txt
chmod 777 /data/anr/traces.txt
su
ps -A|busybox grep system_server |busybox awk '{print $2}' |busybox xargs kill -3
/system/bin/screencap -p > /data/anr/screenshot.png
然后将/data/anr/目录 pull出来
adb pull /data/anr/traces.txt . (以上步骤即是抓取system_server 的调用栈)
5)使用Log4Android2PCv2.3.8 导出Log
做完上述1-5步后, 请保留现场上传相关文件和Log并联系展讯查看现场;
PS:上述 命令ps -A|busybox grep system_server |busybox awk '{print $2}' |busybox xargs kill -3 如果执行无效,换成下面的方式
sp9832a_3h10:# ps -A|grep system_se
system 768 269 1169844 110308 SyS_epoll_ a60484d8 S system_server
sp9832a_3h10:# kill -3 768
-------------------------------------------------------------------------------------------------------------------
如果adb不可连执行下面的操作:
音量上+ 音量下+power key(2次 )抓取sysdump。,如果无效,长按Powerkey;抓取sysdump,然后把T卡里面的内容全部导出上传。
展讯定屏操作指导
猜你喜欢
转载自blog.csdn.net/liu362732346/article/details/85157113
今日推荐
周排行