ads

dimanche 6 septembre 2015

[Q] Execute commands after startup



Hello dear XDA users,

I'd like to run the following script after the phone has booted, so that I can connect to the device without having to connect via usb/terminal emulator on the device to re-enable wireless adb debugging.


Code:


su
setprop service.adb.tcp.port 5555
stop adbd
start adbd


Any idea where I can include these 4 lines so that they are auto-executed after startup?



Aucun commentaire:

Enregistrer un commentaire