View: 830|Reply: 2

"Orange Pi 3B" How to use Android's USB ADB?

[Copy link]

2

threads

6

posts

40

credits

Novice

Rank: 1

credits
40
Published in 2023-11-18 23:11:57 | Show all floors |Read mode



Hello,




I want to run Android on "ORANGE PI3B" and use USB ADB.


In the "Orangepi3B User Manual", there is a "Developer options" > "USB OTG Mode Switch" item that explains how to switch OTG.
However, when I run the actual OS image, it does not appear.


And I downloaded the Android source code directly, built it, and uploaded it, but it was the same.
The “USB OTG Mode Switch” item does not appear.


And the following log continues to appear in the kernel message.




[ 1383.391172] read descriptors
[ 1383.391186] read strings
[ 1383.392072] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.usb.configfs.rc:20)
[ 1384.431251] read descriptors
[ 1384.431266] read strings
[ 1385.471165] read descriptors
[ 1385.471182] read strings
[ 1385.472059] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.usb.configfs.rc:20)
[ 1385.473347] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action=sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.usb.configfs.rc:22) took 0ms and failed: symlink() failed: File exists
[ 1385.473498] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action=sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.usb.configfs.rc:23) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'








Can anyone help me?


Thank you


This thread contains more resources

You need to Log in to download or view,No account?    Register

x

2

threads

6

posts

40

credits

Novice

Rank: 1

credits
40
 Author| Published in 2023-11-25 10:23:04 | Show all floors

Hello,
I found the patch file and applied it and the problem was solved.
Thank yoou

0

threads

1

posts

18

credits

Novice

Rank: 1

credits
18
Published in 2024-4-25 03:15:37 | Show all floors
chandong83Published in 2023-11-25 10:23
Hello,
I found the patch file and applied it and the problem was solved.
Thank yoou

Hello,
I had the same issue, can you help me?

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list