DART-SD410 Android Setting ADB over Wi-Fi

From Variscite Wiki

Setting ADB over Wi-Fi

Run the following steps to enable the ADB over Wi-Fi.

  • Connect micro USB cable to J20 of the VAR-SD410CustomBoard and boot the device.
    You should see adb enumerated on “Device Manager” once the device boots into Android.
  • Run the following commands at the command prompt:
adb wait-for-device && adb root && adb wait-for-device && adb remount && adb wait-for-device
adb shell "echo service.adb.tcp.port=5555 >> /data/local.prop"
adb shell chmod 0644 /data/local.prop
  • Disconnect micro USB cable from J20 connector to allow USB Host operation.
  • Select following options on the SD410CustomBoard:
    • settings -> Wi-Fi -> On, Select a network and, if necessary, enter the password
    • settings -> display -> Sleep -> 30 minutes
    • settings -> Security -> Screen Lock None
    • settings -> About phone -> Build Number x8 (press build number eight times to enable developer mode)
    • settings -> Developer Options -> Stay Awake
    • settings -> Developer Options -> Verify Apps over USB -> OFF
    • Settings -> WIFI -> Long press on the Connected Network -> Modify Network
    • Remember the IP address that displayed on the Modify Network screen.
  • Connect to ADB over Wi-Fi (command prompt):
ping <ip address>
adb connect <ip address>:5555
adb devices
  • At this point you no longer need the USB cable to load programs.
  • Root access to the SD410CustomBoard (after completing the above steps to set up everything)
adb shell su