diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2018-06-09 01:12:50 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2018-06-12 11:18:35 +0530 |
commit | b3e2cf94a19c1533947b0eabda6dcf072bd381b9 (patch) | |
tree | 7f73581e08a07ca49d3a0cfd174cb0b602f63350 | |
parent | 9f88b0ed2223a76a01e636632e636ae233a6c474 (diff) | |
download | dragonboard410c-b3e2cf94a19c1533947b0eabda6dcf072bd381b9.tar.gz |
HACK: Enable ADB access over TCP
From HOST side run:
$ export ADBHOST=<dragonboard_ip_address>
$ adb connect <dragonboard_ip_address>:6565
$ adb devices
Revert this change once USB gadgets are fixed on db820c.
Change-Id: I0da311555a73c0ad66035a37e3b7fa121c98a81c
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | init.common.usb.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.common.usb.rc b/init.common.usb.rc index 57fb5aa..cb2502c 100644 --- a/init.common.usb.rc +++ b/init.common.usb.rc @@ -1,4 +1,8 @@ on boot + # ADB over USB is broken for db820c at the moment + # So enable ADB debug access over TCP for now + setprop service.adb.tcp.port 6565 + mount configfs none /config mkdir /config/usb_gadget/g1 0770 shell shell mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell |