利用超级adbd实现以root权限运行adb命令

通常我们在进行开发的时候为了调试方便需要给Android设备进行root,以便使用adb pull/push命令向系统拉取或置入文件应用等。但通常root后的adb还是以构建时的非root模式运行,adb的运行模式是在编译系统时通过配置boot.img中的default.prop文件的如下参数进行配置的:

ro.secure=0
ro.adb.secure=0
ro.debuggable=1
对于已经编译好的固件,在获取root权限后,我们可以通过安装超级adbd.apk(点我下载我修改的去广告版实现adb root模式的注入,使adb 运行在root模式。这样就可以完全发挥adb命令的威力了。
需要注意的是,启用超级adbd后,需要重新拔插数据线或运行adb kill-server 才能生效。
20151228134127
 

9 条思考于 “利用超级adbd实现以root权限运行adb命令

  1. Boorat

    Taking a double amount will certainly not help you to perform better – every client’s dosage is based upon the comprehensive health examination. You may experience several of the moderate adverse effects of this drug when starting to take it. When you first begin taking Tadalafil, your dose could be the lowest – 5 mg. However, also if you are doing everything right and taking best price generic tadalafil as recommended without taking way too much of it, some negative side effects are still possible. Some of these medicines can aggravate the negative effects of Tadalafil or reduce its efficiency.

发表评论

电子邮件地址不会被公开。 必填项已用*标注