0

alike questions:

  1. OTG support in Android Smartphones

  2. Connecting Android smartphone/tablet to PC and another device through USB hub

  3. How Does Android Detect USB Connectivity and More About USB

"Most tablets seem to supply power over USB, but many phones do NOT.

Exactly. I tried to connect my smartphone to tablet to get ADB to work. Unfortunately my smartphone (Lenovo) failed to recognize connected tablet as a device.

My friend adviced me basic test if OTG is supported on smartphone.

Connecting usb mouse via OTG cable to smartphone works on tablets but fails on my smartphone ( red laser led is down)

There are apps in Android store and OTG USB Driver For Android claims after check:

This Device Supports USB On-The-Go (OTG) (my Lenovo)

and other OTG Checker app claims quite the opposite

and one another advices me to edit xml file to enable OTG

I will run another test, powering the device/s with powered USB hub as a middle-man, since tested today USB Endoscope camera and installed a number of camera apps and none worked for me, especially AN98 advised by a manufacturer of Encoscope 1m usb camera.

At the same time I can connect my Lenovo smartphone to PC via usb cable to get connection established confirmation for files transfer.

follow-up 2

I give up usb hub connection option, as discussed already in

Connecting Android smartphone/tablet to PC and another device through USB hub

Since I have Terminal Emulator installed I can run adb usb to get : daemon not running, starting it now on port 5038 daemon started successfully error: device not found

Not sure why port assigned is: 5038

should be : 5555 by default

nice option is Name of adb server host (default: localhost) -P Port of adb server ( default: 5037)

3
  • USB OTG is mostly used with USB sticks, mouse and keyboard. Besides those devices no device developer will ever test. ADB was never meant to be run over USB OTG. Therefore I am not sure if Android even includes the necessary drivers. My advaice if you still want a Android device-to-device communication via USB: Use a Raspberry PI as PC (SUB master) in between both devices and develop a script that runs on the Raspberry that receives ADB commands from one device and forwards them to the other. – Robert Sep 2 '20 at 13:59
  • @Robert I use USB OTG cable as USB female > microUSB adapter only since none microUSB <> microUSB cable offered for sale. Today purchased a number of USB female > type-C adapters for use in a future (since my Lenovo smartphone supports microUSB only). It looks like if a smartphone doesn't support OTG so is not fit for ADB communication. Ok, I need to run ADB on the same smartphone (null USB port) either daemon or client to limit overheads. Just go back to ADB manual on how to. I need ADB client for Android – darius Sep 2 '20 at 19:02
  • 1
    check your phone specifications – alecxs Sep 3 '20 at 5:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.