安装方法:
0. adb shell getprop ro.product.cpu.abi
获得 cpu架构信息 arm64-v8a
1. 下载 https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/
选择 busybox-armv8l
2. adb push /Download/busybox-armv8l /mnt/sdcard/busybox
3. 输入以下命令
adb shell
su
cp /sdcard/busybox /sbin/
chmod 777 busybox
busybox --install .
# ok busybox 安装完毕
busybox vi /data/data/com.miui.securitycenter/shared_prefs/remote_provider_preferences.xml
找到security_adb_install_enable
,将其修改为true
<boolean name="security_adb_install_enable" value="true" />