adb root
adb root
# 关闭System分区验证 $ adb disable-verity $ # 以Root方式运行adbd $ adb root $ # 重新挂载所有分区(需要Root权限) # 等价于 adb shell mount -o remount,rw /system $ adb remount $ # 进入Shell环境 $ adb shell $ # 切换为root $ su $ # 查看当前用户ID信息 $ id $ # 查看SELinux设置 $ getenforce 0 $ # 关闭SELinux防护 $ setenforce 0 $ # 查看挂载分区情况 $ df -h $ # 查看所有挂载分区 $ mount $ # 查看data目录列表(需要Root权限) $ ls -ls /data/data $ # 将只读System分区重新挂载为可读可写 $ mount -o remount,rw /dev/block/mtdblock0/system /system $ # 将只读根分区重新挂载为可读可写 $ mount -o remount,rw rootfs / $ # 把ro.secure设为0,persist.service.adb.enable设为1 # adbd进程就会以root用户的身份启动 $ vi /default.prop $ # 退出shell环境 $ exit $ # 撤销Root权限 $ adb unroot $
# 查看设备列表 $ adb devices $ # 重启到bootloader环境 $ adb -s A7QDU17B28009689 reboot bootloader $
# 查看设备列表
$ fastboot devices
$ # 查看OEM帮助信息 $ fastboot oem help $ # 解锁OEM的bootloader $ fastboot oem unlock 6249671878396307 $ # 查看OEM的bootloader $ fastboot oem get-bootinfo $
# 重启到系统
$ fastboot reboot
$
adbd-Insecure-v2.00.apk
https://forum.xda-developers.com/showthread.php?t=1687590
=============== End

浙公网安备 33010602011771号