adb命令重置 您所在的位置:网站首页 ad20怎么恢复出厂设置 adb命令重置

adb命令重置

2023-08-16 17:33| 来源: 网络整理| 查看: 265

经过大量的研究,我最终下载了Android恢复部分的源代码。 事实证明,您实际上可以向恢复发送命令。

* 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

这些是可以根据我发现的命令使用的命令,但是对于修改后的文件可能会有所不同。 因此,使用adb可以执行以下操作:

adb shell

recovery --wipe_data

使用--wipe_data似乎可以满足我的需求,尽管到目前为止我还没有对它进行完整的测试。

编辑:

对于仍在使用此主题的任何人,这些命令可能会根据您使用的恢复而更改。 如果使用Clockword恢复,这些命令应该仍然有效。 您可以在/ cache / recovery / command中找到其他命令

有关更多信息,请参见此处:[https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-10.2/recovery.c]



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有