方式1
adb reboot recovery
Recovery模式选项:
reboot system now
apply update from ADB
wipe data/factory reset
wipe cache partition
选择 wipe data/factory reset可以清除用户数据,并且恢复出厂设置。
选择 reboot system now重启机器。
方式2
adb shell recovery --wipe_data
方式3
adb root
su
rm -r /data/
reboot
参考链接:
https://jingyan.baidu.com/article/fec4bce290003ef2618d8b03.html