手机已经root
>adb root
adb server is out of date. killing...
* daemon started successfully *
adbd is already running as root
>adb remount
remount succeeded
导出hosts
>adb pull /system/etc/hosts
144 KB/s (593 bytes in 0.004s)
修改后导入
>adb push hosts /system/etc/hosts
115 KB/s (593 bytes in 0.005s)
常见问题:
>adb root
adb server is out of date. killing...
* daemon started successfully *
adbd cannot run as root in production builds
root不彻底,解决办法:
原文:http://ffyy00.blog.51cto.com/10779834/1702140