factoryreset恢复出厂设置测试

#/bin/sh

rm -rf /cache/recovery/command
echo "--wipe_data" > /cache/recovery/command
echo "--wipe_cache" >> /cache/recovery/command
sync
sync
sleep 1
sync
sync
reboot recovery
android系统进入recovery,执行恢复出厂设置测试。

猜你喜欢

转载自blog.csdn.net/csdn66_2016/article/details/79762224