Code Monkey home page Code Monkey logo

Comments (4)

mame82 avatar mame82 commented on August 24, 2024

If I understand you correctly, you want to interface with ADB over USB. This is technically possible with an USB OTG adapter on Pi's end. But it wouldn't be possible to run a keyboard at the same time.

Although the DesignWare USB controller supports dual role mode, it can't act as host and device at the same time.

The dual role mode driver used by P4wnP1 toggles into host mode, as soon as an OTG adapter is attached (ID pin shorted). Software-wise the dwc2 USB driver uses a completly different driver stack from this point (in fact some registers of the UDC chip couldn't be accessed when in host mode).

Short answer is: No.
Nice answer is: Target ADB over Ethernet and you're good to go (WiFi or Bluetooth, not USB ethernet)

from p4wnp1_aloa.

pabloko avatar pabloko commented on August 24, 2024

Well theres no way to forward adb to ip if its not proxified over usb first...

Is there a way where i could just toggle the keyboard when adb is active on the android system, then change the usb as normal device for adb? (as i have a previously used adb fingerprint keys it should not ask to allow them)

Many thanks, and tbh amazing project!

from p4wnp1_aloa.

mame82 avatar mame82 commented on August 24, 2024

Was referring to "Wireless ADB" which exists since Android 4.0.

No need for USB, availability depends on device

from p4wnp1_aloa.

pabloko avatar pabloko commented on August 24, 2024

It doesnt seem to be an option for me, it seems i need usb no matter what... thats why ive asked if theres some toggle possible.

from p4wnp1_aloa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.