小米盒子打开adb调试模式 | 您所在的位置:网站首页 › 小米盒子4spro如何安装软件应用 › 小米盒子打开adb调试模式 |
E:\androidsdk\platform-tools>adb shell shell@inception:/ $ su //获取读写system目录权限 root@inception:/ # mount -o remount,rw /system root@inception:/ # cd sdcard //安装证书 269953fb.0 到cacerts目录 root@inception:/sdcard # cp 269953fb.0 /system/etc/security/cacerts //修改权限 root@inception:/sdcard # chmod 644 /system/etc/security/cacerts/269953fb.0 root@inception:/sdcard # exit shell@inception:/ $ exit //重启电视 E:\androidsdk\platform-tools>adb reboot //重启之后,继续使用adb连接到电视,然后查看已安装的证书列表有没有刚刚添加的 E:\androidsdk\platform-tools>adb shell shell@inception:/ $ cd /system/etc/security/cacerts/ shell@inception:/system/etc/security/cacerts $ ls -ls total 3 -rw-r--r-- root root 4747 2016-01-13 17:22 24f4c490.0 //有刚刚安装的,说明安装成功 -rw-r--r-- root root 4638 2022-07-07 11:07 269953fb.0 -rw-r--r-- root root 2961 2016-01-13 17:22 27af791d.0 |
今日新闻 |
推荐新闻 |
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 |