ADB动态IP改固定IP

1、
adb connect 172.16.1.203:5555

2、拉取原开机脚本

adb pull /system/etc/init.bigfish.sh .

3、推送至sdcard临时目录

adb push init.bigfish.sh /sdcard/


4、挂载system可写

adb shell mount -o remount,rw /system


5、 覆盖系统原脚本

adb shell cp /sdcard/init.bigfish.sh /system/etc/init.bigfish.sh


6、 恢复权限755(必须)

adb shell chmod 755 /system/etc/init.bigfish.sh


7、 重启生效

adb reboot

 




posted @ 2026-07-21 16:02  pxuan  阅读(1)  评论(0)    收藏  举报