Original topic:

Unable to use Wired and Wireless debugging simultaneously

(Topic created: 04-14-2025 01:38 AM)
584 Views
ashrin_femina
Asteroid
Options
A Series & Other Mobile

Hello,

Samsung mobiles tested: A23, A54 and S22. Observed the same in the all the mobiles

While connecting the Samsung phone to Infotainment in Car using USB cable for wired android auto (USB Debugging is also ON), wireless debugging got disconnected and showing as device offline.

Tested with pixel phone where this scenario is possible and wireless debugging stays active.

How to make this possible in Samsung phone also?

 

6 Replies
realaud
Honored Contributor
Options
A Series & Other Mobile
Did you turn auto blocker off?
0 Likes
ashrin_femina
Asteroid
Options
A Series & Other Mobile

Where I can find this option in mobile?

0 Likes
realaud
Honored Contributor
Options
A Series & Other Mobile

settings/security and privacy.  Scroll down to auto blocker, tap it and turn it off if it's on.  Auto Blocker prevents any actions from being executed via USB.

0 Likes
ashrin_femina
Asteroid
Options
A Series & Other Mobile

I have checked in the mobile, auto blocker option is Turned OFF only. Is there any other solution?

0 Likes
realaud
Honored Contributor
Options
A Series & Other Mobile

Why do you need USB debugging?  My understanding is that this is a diagnostic/troubleshooting tool.  In all the years I've been using phones, I've never once had to use USB debugging. If you are plugging into your car to use Android Auto, debugging is not needed.  As long as auto-blocker is off, the connection should work as it's supposed to.  If it is not working, that's a different issue, and is more likely cable related.

0 Likes
ashrin_femina
Asteroid
Options
A Series & Other Mobile

I'm doing automation testing for a car infotainment.

I don't have any issue with USB debugging, it's working fine. But I have to use USB connection and also wifi debugging at a time for one of my use case. If I'm trying to connect the USB cable to the car, then Wireless debugging connection got lost and in the adb devices command, I could see the device is showing as offline.

0 Likes