Hi everybody! I want to use ADB to push a script to an android device, run it and disconnect the USB cable. My problem is that when I unplug the cable, script stops running. How can I do this?
Related
Hi all!
I have successfully compiled the adb binary, but I Can't connect my phone... I have cm10.1 (android 4.2.2) rom.
When I plug in with usb my phone the adb devices's output is empty. But the lsusb recognize my phone and says Samsung... [USB Debbuging Mode]. What is missing?
I also tried the wireless connection. The adb shell says "unauthorized. You must confirm the dialog popup on your device!" or something similar. But the popup isn't shows up... I think first I have to connect it with USB...
What's wrong?
Thanks for UR answer!
Is it possible to use adb wirelessly on my phone without rooting without connecting via USB cable for once?....my laptop USB port has broken....and need to connect via adb....please help
daemonindia said:
Is it possible to use adb wirelessly on my phone without rooting without connecting via USB cable for once?....my laptop USB port has broken....and need to connect via adb....please help
Click to expand...
Click to collapse
You can only connect adb wirelessly after rooting your android.
Clarification required
Ashwinrg said:
You can only connect adb wirelessly after rooting your android.
Click to expand...
Click to collapse
"Connect device via USB and make sure debugging is working, then run:
adb tcpip 5555
adb connect <DEVICE_IP_ADDRESS>:5555
Disconnect USB and proceed with wireless debugging.
When you're done and want to switch back to USB debugging, run:
adb -s <DEVICE_IP_ADDRESS>:5555
To find the IP address of your device, go to Settings > Wi-Fi > Advanced > IP Address on your device or run adb shell netcfg.
No root required. Only one device can be debugged at a time"
Is this process not possible after marshmallow update?
Hello, I have a problem. I'd to debug my phone via WiFi so I have done this few steps:
adb tcpip 5555
adb connect <hereMyIp>:5555
unplug phone
And device disconnect from wifi adb. It's works when phone is connected via usb, but not when unplug it.
I tried this same to second phone and it's works fine so problem is with EMUI or Honor specific, anyone solve it ?
Thanks for your help.
I'm very late to this thread, but luckily, as of non-rooted Android 11 and up, adb works over wi-fi (without USB) on non-rooted Android phones via Developer options Wireless debugging switches.
Hello, I have a problem. I'd to debug my phone via WiFi so I have done this few steps:
adb tcpip 5555
adb connect <hereMyIp>:5555
unplug phone
And device disconnect from wifi adb. It's works when phone is connected via usb, but not when unplug it.
I tried this same to second phone and it's works fine so problem is with EMUI or Honor specific, anyone solve it ?
Thanks for your help.
Same problem for me, Honor 10 EMUI 8.1
Does it support adb over wifi? Thank you
talhazengin said:
Hello, I have a problem. I'd to debug my phone via WiFi so I have done this few steps:
adb tcpip 5555
adb connect <hereMyIp>:5555
unplug phone
And device disconnect from wifi adb. It's works when phone is connected via usb, but not when unplug it.
I tried this same to second phone and it's works fine so problem is with EMUI or Honor specific, anyone solve it ?
Thanks for your help.
Click to expand...
Click to collapse
I'm very late to this thread, but luckily, as of Android 11 and up, adb works over wi-fi (without USB) on non-rooted Android phones via Developer options Wireless debugging switches.
So I wanted to root my MXQ 4K tv box, however for some reason the only way to connect it directly to a pc is with a male to male usb cable that I don't have.
I managed to connect through wifi adb, making the device show in it, however when i try the "adb reboot bootloader" command the device disconnects from wi-fi and I can't access it anymore!
So, thats my question, is there a way to root/install custom recovery WITHOUT an usb cable, and only through internet adb?
bump
bump