r/Androidheadunits • • 16h ago

USB cable question

I use wired android auto with my Chinese head unit and Redmi phone. My head unit has two USB ports (I think 4 and 6 pin), with each leading to a female USB A port. I then plug my USB-A>C cable into that 6-pin one, and connect that to my phone for android auto. (The 4 pin powers my dash cam)

What I find weird is that android auto ONLY starts if, once the car is turned on, I actually unplug the USB cable from the USB A port, and replug it. If I leave it plugged in, and just plug the USB-C end into my phone, nothing happens.

This doesn't make sense to me as I don't think USB ports can detect when something is physically plugged in? So surely just connecting to my phone should be enough to activate android auto. Does anyone know why this isn't happening please?

1 Upvotes

1 comment sorted by

1

u/Physical_Roll_6241 11h ago

USB ports can definitely detect a plug-in event, that's how the phone and head unit know to start talking. What you're seeing is most likely a timing issue.

When the car starts, the head unit takes a while to boot, but the phone is already connected and has already "said hello" over USB. By the time the head unit's USB side is ready, that connect event has already passed, so it never starts Android Auto. When you unplug and replug, the event happens again while the unit is ready, so it works.

Some things worth trying:

- On the phone, go to Developer options and look for "Default USB configuration". Set it to File transfer / Android Auto instead of "No data transfer" or "Charging only". Some Redmi phones reset to charging-only every time, which would also explain it.

- Check the head unit's settings for an Android Auto or phone-link option like "auto start" or "USB mode" (some have host/device mode). Make sure it's set to host/auto.

- Check for a firmware update for the unit. This kind of boot-timing quirk is often fixed in later versions.

- If nothing helps, plugging in after the unit finishes booting is a fair workaround, and not unusual on these units.

Is the unit powering on at the same time as ACC, or does it have a delay?