Pra*_*ant 39 android android-widget android-emulator android-intent
如何使用ADB命令在android中重置工厂?我曾使用adb reboot recovery命令来重置.但第三方应用程序无法以某种方式被清除.这是否正确使用ADB?
实际上,我想通过java代码重置工厂重置android设备.这里可以解决什么问题?
0x8*_*00D 75
您可以在adb中发送意图MASTER_CLEAR:
adb shell am broadcast -a android.intent.action.MASTER_CLEAR
Run Code Online (Sandbox Code Playgroud)
或者作为root
adb shell "su -c 'am broadcast -a android.intent.action.MASTER_CLEAR'"
Run Code Online (Sandbox Code Playgroud)
EvZ*_*EvZ 21
试试:
adb shell
recovery --wipe_data
Run Code Online (Sandbox Code Playgroud)
以下是参数列表:
* The arguments which may be supplied in the recovery.command file:
* --send_intent=anystring - write the text out to recovery.intent
* --update_package=path - verify install an OTA package file
* --wipe_data - erase user data (and cache), then reboot
* --wipe_cache - wipe cache (but not user data), then reboot
* --set_encrypted_filesystem=on|off - enables / diasables encrypted fs
Run Code Online (Sandbox Code Playgroud)
Rob*_*low 14
来自@sidharth:"让我的熔岩虹膜阿尔法进入了一个bootloop :("
对于运行Android Marshmallow 6.0.1的摩托罗拉Nexus 6,我做了:
adb devices # Check the phone is running
adb reboot bootloader
# Wait a few seconds
fastboot devices # Check the phone is in bootloader
fastboot -w # Wipe user data
Run Code Online (Sandbox Code Playgroud)
Kis*_*son 10
我已经从fastboot模式(电话 - Xiomi Mi5 Android 6.0.1)
这是步骤:
# check if device available
fastboot devices
# remove user data
fastboot erase userdata
# remove cache
fastboot erase cache
# reboot device
fastboot reboot
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
182083 次 |
| 最近记录: |