Android->device:fix network adb port issue
This commit is contained in:
@ -210,3 +210,12 @@ on property:fireflywdt.active=false
|
||||
write /dev/watchdog V
|
||||
|
||||
|
||||
on property:netadb.status=true
|
||||
setprop service.adb.tcp.port 5555
|
||||
stop adbd
|
||||
start adbd
|
||||
|
||||
on property:netadb.status=false
|
||||
setprop service.adb.tcp.port 0
|
||||
stop adbd
|
||||
start adbd
|
||||
|
||||
@ -422,15 +422,6 @@ on boot
|
||||
|
||||
class_start core
|
||||
|
||||
on property:netadb.status=true
|
||||
setprop service.adb.tcp.port 5555
|
||||
stop adbd
|
||||
start adbd
|
||||
|
||||
on property:netadb.status=false
|
||||
setprop service.adb.tcp.port 0
|
||||
stop adbd
|
||||
start adbd
|
||||
|
||||
on nonencrypted
|
||||
class_start main
|
||||
|
||||
Reference in New Issue
Block a user