打开支持抓取buffer的开关

 

hdc shell param set persist.dumperbuffer.enabled 1

hdc shell param set persist.graphic.debug_hebc.disabled 1

hdc shell reboot

 

执行getraw.bat 脚本

hdc shell param set rosen.afbc.enable 0
hdc shell setenforce 0
hdc shell "touch /data/bq_dump"
pause
hdc shell "rm /data/bq_dump"
set file=raw_%random%
hdc shell "mkdir /data/%file%"
hdc shell "mv /data/bq_* /data/%file%"
mkdir %file%
hdc file recv /data/%file% .\
hdc shell "rm -rf /data/%file%"
pause

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐