adb on MiBox

by shoresy99

I connected my laptop to my MiBox and enabled adb and opened up port 5555. I was able to connect via IP address with my MiBox on wifi.

I prefer using a wired connection via an ethernet-USB adapter. I plugged that back in and it wouldn't work until I disabled USB debugging mode. So the MiBox is back on my LAN with a wired connection - but I can't make a an adb connection - it now says "the target machine actively refused it".

So do you have to keep USB debugging turned on when using adb, even when you are using it over a wifi or wired network and not using the USB port?

shoresy99

It also appears that opening up port 5555 may not persist a reboot of the device. Can anyone confirm?

Intreox

Pretty sure, on my box I have to have USB debugging on to use it on USB and Wireless. If you turn it off it turns both off I think