赞
踩
问题:在调试的时候通常都会用到局域网adb功能
1、system/core/rootdir/init.rc
diff --git a/rootdir/init.rc b/rootdir/init.rc index a9af0b0..10c4bd0 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -930,7 +930,12 @@ on boot # Define default initial receive window size in segments. setprop net.tcp.default_init_rwnd 60 - # Start standard binderized HAL daemons + #network adb add by haidern + setprop service.adb.tcp.port 5555 + stop adbd + start adbd + + # Start standard binderized HAL daemons class_start hal class_start core
2、然后通过adb connect进行连接:
adb connect 192.168.0.158:5555
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。