From b3e2cf94a19c1533947b0eabda6dcf072bd381b9 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Sat, 9 Jun 2018 01:12:50 +0530 Subject: HACK: Enable ADB access over TCP From HOST side run: $ export ADBHOST= $ adb connect :6565 $ adb devices Revert this change once USB gadgets are fixed on db820c. Change-Id: I0da311555a73c0ad66035a37e3b7fa121c98a81c Signed-off-by: Amit Pundir --- init.common.usb.rc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3