Skip to content

【教程】针对小米手机如何开启“Device Owner” #8

@andforce

Description

@andforce

小米手机(MIUI)针对

adb shell dpm set-device-owner com.andforce.andclaw/.DeviceAdminReceiver

进行了比较严格的限制。

严格按照如下操作流程进行。

  1. 必须插入手机卡(SIM卡)
  2. 恢复出厂设置
  3. 激活手机时候,登录小米账号
  4. 进入开发者模式:打开“USB调试”、“USB安装”、“USB调试(安全模式)”,关闭“启用MIUI优化”开关(在开发者页面最下面)
  5. 安装Andclaw:https://github.com/andforce/Andclaw/releases/latest/download/Andclaw.apk
  6. 进设置-小米账号,退出登录
  7. 执行 adb shell dpm set-device-owner com.andforce.andclaw/.DeviceAdminReceiver

此时应该可以开启“Device Owner”了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions