adb shell setprop service.adb.root 1

adb shell setenforce 0

首先需要确定子系统是modem

adb shell cat /sys/bus/msm_subsys/devices/subsys1/name

cat后面的结果是modem,就执行下面的操作,如果不是,请依次执行以下是否modem

adb shell cat /sys/bus/msm_subsys/devices/subsys0/name

adb shell cat /sys/bus/msm_subsys/devices/subsys2/name

adb shell cat /sys/bus/msm_subsys/devices/subsys3/name

看以上执行结果是modem,将以下subsys1与上面的替换。

adb shell echo re