This is a cache of https://discuss.96boards.org/t/adb-connection-issues/2595. It is a snapshot of the page at 2024-10-31T06:24:40.609+0000.
ADB Connection Issues - HiKey - 96Boards Forum

ADB Connection Issues

Hello,

I am having issues connecting to my HiKey board over both usb (Type A to Micro-USB) and tcp. I have applied the latest images and boot loader from http://builds.96boards.org/snapshots/hikey/linaro/aosp-master/latest/ and http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/. Developer mode and usb debugging is enabled on the android device. When I connect via tcp I receive connection refused and when I connect via USB, I see a “ADB Gadget” device in Windows 10 but when I run “adb devices” nothing shows up. The only jumper I have closed is pin 1-2 for auto power-on. The USB google driver is installed.

I have googled around for the answer (e.g. networking - How can I connect to Android with ADB over TCP? - Stack Overflow) but I don’t believe the device is rooted and if its not showing up via usb (adb devices), I am not sure what more I can do.

Any assistance would be greatly received.

Regards,

Andrew

Update 17/08/2017:
Seems to be an issue with the snapshot build I used. I flashed using the latest “Release” flashboot files here (http://www.96boards.org/documentation/ConsumerEdition/HiKey/Downloads/AOSP.md) which is based on Android 5.1.1 and usb debugging works perfect. Is there anything “special” about the snapshot build which makes usb/tcp debugging an issue or was I just unlucky with the snapshot build I used which somehow broke this feature? I will try flashing the latest “Preview” release here https://developers.google.com/android/nexus/images-preview#hikey tonight to see if I have similar issues or not.