摘要:
方法:修改./default.prop把ro.secure设为0,persist.service.adb.enable设为1,adbd进程就会以root用户的身份启动。原理:可以看一下Android系统根目录下的/init.rc的片段:... ...# adbd is controlled by the persist.service.adb.enable system propertyservice adbd /sbin/adbd disabled# adbd on at boot in emulatoron property:ro.kernel.qemu=1 start adbdon pr 阅读全文