View: 15980|Reply: 51

"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 21:53:24 | 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

2

threads

6

posts

40

credits

Novice

Rank: 1

credits
40
 Author| Published in 2023-11-18 21:54:46 | Show all floors
this is the "dmesg" log

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:22:44 | Show all floors
Hello,
I found the patch file and applied it and the problem was solved.
Thank yoou

0

threads

2

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2024-5-8 19:55:56 | Show all floors
It seems like you're encountering issues with enabling USB ADB on your ORANGE PI3B when running Android. Despite following the instructions in the user manual and even building the Android source code, the "USB OTG Mode Switch" option does not appear, and you're receiving kernel messages indicating failed attempts to configure USB ADB.
If you're as intrigued as I am about technical solutions, I highly recommend checking out my latest blog post.
For any assistance with your Linksys router, including setup, configuration, troubleshooting, or general inquiries, don't hesitate to contact our Linksys router customer service team. Our dedicated experts are available to help you resolve any issues and ensure smooth operation of your Linksys router.

Linksys Smart Wi-Fi Login

Accessing your Linksys Smart Wi-Fi extender is easy with our step-by-step guide. Simply visit extender Linksys login to learn how to log in and manage your extender settings efficiently. Our comprehensive instructions will help you navigate the login process effortlessly, allowing you to optimize your Wi-Fi network for optimal performance.

Whether you need assistance with your Linksys router or extender, our team is here to provide reliable support and guidance. Reach out to us today for prompt and effective solutions to all your Linksys-related queries.
Published in 2025-7-1 21:40:51 | Show all floors
Youre so cool! I dont suppose Ive read anything in this way just before. So nice to uncover somebody by original ideas on this subject. realy thank you for beginning this up. this site are some things that is required on-line, someone after some originality. useful problem for bringing a new challenge to the web!        Bioma Probiotic
Published in 2025-7-2 19:54:55 | Show all floors
Oh my goodness! an excellent post dude. Thanks a ton Nevertheless We’re experiencing trouble with ur rss . Do not know why Unable to register for it. Will there be everyone getting identical rss difficulty? Anybody who knows kindly respond. Thnkx        티비위키
Published in 2025-7-3 21:01:57 | Show all floors
Thank you for sharing excellent information. Your web site is so cool. I am impressed by the info that you’ve on this web site. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for more articles.        new88

Published in 2025-7-3 23:24:16 | Show all floors
most brands of kids shoes are using synthetic leather which is sometimes hard for a kid’s feet`        sbobet777 ทางเข้า มือถือ
Published in 2025-7-7 21:57:25 | Show all floors
There are a couple of interesting points over time here but I don’t know if I see every one of them center to heart. There’s some validity but Let me take hold opinion until I take a look at it further. Excellent post , thanks and now we want much more! Added onto FeedBurner also        789bet
Published in 2025-7-7 22:31:30 | Show all floors
Good created details. It will likely be beneficial to anyone who employess that, as well as me personally. Carry on doing your work  canr hold out you just read a lot more articles.        8 day
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list