How does Android determine whether a bluetooth device is a "car"? - General Topics

OnePlus 9 running LineageOS (Android 12). I've got the "driving mode" app working (replacement for Android Auto) via a tile on my home screen.
In the "Driving Mode" settings section of my Google Assistant settings, the option
"When connected to car's Bluetoth" is set to "Launch Driving Mode"
yet when I'm in the car, although my headunit (JVC) connects to the phone's bluetooth, driving mode does not start.
Under Android Auto I could previously set which device should start it, however I can't find any equivalent option for Driving Mode. How is this magic supposed to work?

As per this Reddit thread

As suggested in the #lineageos subreddit, renaming the paired Bluetooth device (on my phone) to "Car audio" made it work!!!

Related

Android Auto on Mate 9

Hi,
I am not sure if this problem is related to
- Mobile Phone
- Android Auto
- Car
So my question is: Does someone already has a working Android Auto connection with a car´s radio with this phone?
If so, I will continue this in Android Auto section.
Today I upgraded build to: MHA-L29C432B138
Car/Radio: Opel Astra K (MY2017)/ Intellilink R4.0
The connection could be established. But screen of car stays black. When touching screen or saying "OK Google" it accepts voice command.
My Mate 7 works perfectly...
Best regards,
Robert
no idea... working oke on my golf 7 2015 mib2 unit..
u using original cable... i also try ith lumia 950 cable, also usb-c but random disconnecting with this cable.
P9 is also working. I guess the problem is Mate 9.
Mine works with Pioneer but doesn't work well. It Will not play anything already downloaded to the device unless you connect phone to head unit forest and actually play something through Bluetooth first and THEN connect it. All permissions are set correctly etc. And what is with having to give it permission to use the data on the phone EVERY SINGLE TIME?
US model working flawlessly with 2016 VW Golf R... I did have to reinstall audible and spotify after connecting the first time in order for them to show up in the menu, but other than that, no issues with connecting, audio skips, etc. Very happy! Samsung S7 Edge was unusable with AA.
Got the International Mate 9 Pro and AA is working perfectly fine with my Pioneer 4100nex. I'm on the latest Pioneer firmware 1.09 if that helps anyone.
Works like a charm
What settings do you guys have? Do you have usb debugging or anything like that enabled in dev settings? Every time I hook up it comes up with the dialogue box to enable data access. Whether I click enable or not it will not play anything stored on phone. I've had this confirmed by Huawei Australia. They couldn't get it going either.
I have all the correct permissions set for all apps including android auto.
Any hints?
MontAlbert said:
What settings do you guys have? Do you have usb debugging or anything like that enabled in dev settings? Every time I hook up it comes up with the dialogue box to enable data access. Whether I click enable or not it will not play anything stored on phone. I've had this confirmed by Huawei Australia. They couldn't get it going either.
I have all the correct permissions set for all apps including android auto.
Any hints?
Click to expand...
Click to collapse
In developer options I do have "Always prompt when connecting to USB" turned off and "Select USB Configuration" set to MTP. I don't get prompted for anything on the phone. USB Debugging is off. I don't try to play anything from USB though, just use AA, Spotify, and Audible.
Other than that, I do have an Automagic script that when car ui mode is entered, the screen gets turned on, Waze is launched, slide to unlock keyguard is dismissed, and wifi is turned off. I won't need to do most of this when Waze is AA compatible, but until then, I can't live without it. This script works about 90% of the time, still haven't finished tweaking it for 100% success. Worst case, I have to turn the phone back on, swipe down on the notification panel, then select waze from "Notification Shortcuts".
bwillet said:
In developer options I do have "Always prompt when connecting to USB" turned off and "Select USB Configuration" set to MTP. I don't get prompted for anything on the phone. USB Debugging is off. I don't try to play anything from USB though, just use AA, Spotify, and Audible.
".
Click to expand...
Click to collapse
Seems this is possibly the issue. Whenever I connect usb it automatically changes the usb connection type to charge only. Won't let me change it to mtp, audio or anything else. Wonder if there is a hidden setting somewhere in emui that does this... Tried it in dev settings. Same issue. Charge only
MontAlbert said:
Seems this is possibly the issue. Whenever I connect usb it automatically changes the usb connection type to charge only. Won't let me change it to mtp, audio or anything else. Wonder if there is a hidden setting somewhere in emui that does this... Tried it in dev settings. Same issue. Charge only
Click to expand...
Click to collapse
I couldn't find anything else that I changed that seems relevant. I'm just using a standard USB to USB-C cable (Anker PowerLine+) plugged into the USB port in my VW Golf.
Did you change both of those settings I mentioned? If so, when you go back into dev settings does "Select USB Configuration" still say MTP, or did it default back to Charge Only? Maybe you have to reboot after? dunno...
bwillet said:
I couldn't find anything else that I changed that seems relevant. I'm just using a standard USB to USB-C cable (Anker PowerLine+) plugged into the USB port in my VW Golf.
Did you change both of those settings I mentioned? If so, when you go back into dev settings does "Select USB Configuration" still say MTP, or did it default back to Charge Only? Maybe you have to reboot after? dunno...
Click to expand...
Click to collapse
I changed those 2 you said but as soon as I plug in the Huawei cable (thought maybe it needed the Huawei cable) it changes itself to charging...
I'll keep looking into it. Thanks for your help though. This is obviously the issue.
I'm having the same issue in the US version on a 2017 VW GLI. My last two phones worked flawlessly.
MontAlbert said:
Seems this is possibly the issue. Whenever I connect usb it automatically changes the usb connection type to charge only. Won't let me change it to mtp, audio or anything else. Wonder if there is a hidden setting somewhere in emui that does this... Tried it in dev settings. Same issue. Charge only
Click to expand...
Click to collapse
Mine goes to charge only as well however my android auto is working perfectly.
It connects and on the phone side it seems fine but the head unit screen goes black and doesn't do anything.
Hi.. Is there anyway to prevent WhatsApp notifications showing up in android auto?
Mate 9 L29 - B156 in a Seat Ibiza 2016.
Android auto working fine.
You have reviewed android permissions, or if Google app or maps are set to close when the screen is turned off And enable activation?
In my old zenfone 3 that was the problem
Did any of you guys tried to enable the USB debugging mode?
Emil Borconi said:
Did any of you guys tried to enable the USB debugging mode?
Click to expand...
Click to collapse
JA! This was first thing, but no success.
I am also disappointed by Huawei customer care. They just point at Google and say it is not their fault.
Does anyone know how to log / where to find the log when "Force logging" is enabled in dev options in AA?
debart said:
JA! This was first thing, but no success.
I am also disappointed by Huawei customer care. They just point at Google and say it is not their fault.
Does anyone know how to log / where to find the log when "Force logging" is enabled in dev options in AA?
Click to expand...
Click to collapse
Open android auto, go to about, tap the Android auto title 10 times, you will see a toast saying your developer. Now from the 3 dotted menu on the right select developer options locate force logging and make sure it's enabled

Pokemon Go Plus Bluetooth connection problem

I am trying to connect a Pokemon Go Plus bluetooth device to a Honor 6X that has never been rooted. The device sometimes shows up in the bluetooth settings list but most of the time nothing appears in the list. Pokemon Go sees the device in the game settings but always fails to connect.
Other devices also don't connect and rarely show up in the bluetooth settings list even though other devices can see them as discover-able.
There doesn't appear to be a way to "forget" a previously connected bluetooth device in the Honor 6X's settings.
I contacted Huawei who keeps saying to do another factory reset but that isn't helping.
Has anyone else experienced anything similar to this? Is there a solution? Is there somewhere I can find the "forget" bluetooth setting?
Yes, there is a way to forget a device previously registered. Go on Bluetooth menu (or long press Bluetooth icon on shortcuts panel) and activate Bluetooth; under there you'll find previously registered devices. Tap on the information icon beside (the "i") and on the following menu, tap on "forget" or dissociate.

Getting Android Auto to automatically connect to car headunit

Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
I would clear data, force stop, and reinstall Android Auto. I use it every day and have no problems at all. Connects automatically.
My HTC M9 had no end of problems with AA. Would not connect half time time unless I replugged it in, and the voice-to-text function was buggy as hell. My OP6 is smooth as silk.
Thanks. I tried that and even deleted the phone from my car. It didn't work. I had to change the mode to mpt to get it to do the initial connection. Same for reconnecting. Doh!
Do you use Tasker? I wrote a task that will automatically change the setting to MTP. It requires the Tasker plugin - AutoInput as well.
I do have tasker. How do I set it up to do that? Thanks.
theman22 said:
I do have tasker. How do I set it up to do that? Thanks.
Click to expand...
Click to collapse
So I actually created two different profiles/tasks.
1) Detects when USB power is plugged and then opens developer settings and scrolls automatically to usb configuration and makes the change. This profile/task requires the plugin AutoInput.
2) Uses AutoNotification to detect when there is a notification in your tray stating that the device is being charged. Then it will use AutoInput again to click on the notification and change it to 'USB for file transfer'.
I only attached #1. Import it into to Tasker and see if that works. If not, I can add the second option.
theman22 said:
Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
Click to expand...
Click to collapse
God, it's annoying. It happens in all the modern androids. My S8+ 5T and now my OP6
My OP6 has no issues connecting to my Pioneer AVH-2330NEX. Just plug it in and AA starts right up. Bluetooth is pretty reliable as well, which is how I connect most of the time.
It usually takes a minute or 2 for my AA to come up on my screen (2017 Charger). Once it's connected, it runs super smooth. But I wish it was a little more responsive once I plug in the cable. Now I have to wait for it to come up before I can launch any app (Maps, Spotify, etc)
I"m going to see if the MTP method makes it connect "faster". If so, I'll look into building a Tasker Profile as well like @azsl1326
azsl1326 said:
So I actually created two different profiles/tasks.
1) Detects when USB power is plugged and then opens developer settings and scrolls automatically to usb configuration and makes the change. This profile/task requires the plugin AutoInput.
2) Uses AutoNotification to detect when there is a notification in your tray stating that the device is being charged. Then it will use AutoInput again to click on the notification and change it to 'USB for file transfer'.
I only attached #1. Import it into to Tasker and see if that works. If not, I can add the second option.
Click to expand...
Click to collapse
This is really close. I had to add one more scroll down step in the developer menu and change the mode to MIDI. It doesn't work 100% though. If the developer options menu is already open, it reopens wherever it was and sometimes the scroll down goes too far... Perhaps there is a more stable way to do this?
Attached is my modified tasker profile.
theman22 said:
This is really close. I had to add one more scroll down step in the developer menu and change the mode to MIDI. It doesn't work 100% though. If the developer options menu is already open, it reopens wherever it was and sometimes the scroll down goes too far... Perhaps there is a more stable way to do this?
Attached is my modified tasker profile.
Click to expand...
Click to collapse
I have another profile that uses AutoNotifications to detect when there is a notification in the tray regarding USB charging. It will then use AutoInput to select this option from the notification tray and change it to 'Transfer files'. I can post that here if you are interested. It does require two paid plugins.
You could add a task to clear recents before running the AndroidAuto task - that way it should ensure that Developers Option screen is no longer active.
azsl1326 said:
I have another profile that uses AutoNotifications to detect when there is a notification in the tray regarding USB charging. It will then use AutoInput to select this option from the notification tray and change it to 'Transfer files'. I can post that here if you are interested. It does require two paid plugins.
Click to expand...
Click to collapse
If it works reliably, I'm interested.
theman22 said:
If it works reliably, I'm interested.
Click to expand...
Click to collapse
Here you go. I think both of these Auto plugins have free trials, so you should be able to try it before you buy it.
Disabling USB debugging has helped me
theman22 said:
Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
Click to expand...
Click to collapse
I replied to you in the other thread, OnePlus 6 and Android Auto
But to fix your issue, this MIGHT be the solution for you specifically. Setup an appointment with your local Honda dealer, and ask to get Technical Service Bulletin 16-059 installed.
This fixed my issue for my '16 Accord when AA wasn't working at all with my PH-1
Or you can just simply choose this option to mtp as default on USB connection. It's in developer settings.
Berlifan said:
Disabling USB debugging has helped me
Click to expand...
Click to collapse
I have read about this and disabled USB debugging. It does sound like it works for some users but it didn't make a difference for me, unfortunately...
surface13 said:
I replied to you in the other thread, OnePlus 6 and Android Auto
But to fix your issue, this MIGHT be the solution for you specifically. Setup an appointment with your local Honda dealer, and ask to get Technical Service Bulletin 16-059 installed.
This fixed my issue for my '16 Accord when AA wasn't working at all with my PH-1
Click to expand...
Click to collapse
I will go ahead and do this. Thank you for the suggestion!
Joyarup said:
Or you can just simply choose this option to mtp as default on USB connection. It's in developer settings.
Click to expand...
Click to collapse
I've tried this as well. The setting does not seem to stick. It sometimes works the next time I plug my phone into my car but the 2nd time I plug my phone in, the default in developer settings is back to USB.
azsl1326 said:
Here you go. I think both of these Auto plugins have free trials, so you should be able to try it before you buy it.
Click to expand...
Click to collapse
This did not work when I tried it today. I'm guessing there is some difference on my phone that would require the setting to be tweaked. I'll look into this.
theman22 said:
I have read about this and disabled USB debugging. It does sound like it works for some users but it didn't make a difference for me, unfortunately...
I will go ahead and do this. Thank you for the suggestion!
I've tried this as well. The setting does not seem to stick. It sometimes works the next time I plug my phone into my car but the 2nd time I plug my phone in, the default in developer settings is back to USB.
Click to expand...
Click to collapse
Didn't know that..
I had the same issue with a VW Passat 2016, and the solution was to enable USB debugging, and after that everything is working ok.
Unfortunately I'm facing another issue. If I'm initiating a call with the phone connected to AA, usually by voice command, the sound is routed randomly on the headset, speaker and sometime to Bluetooth.
Every time I have to set manually from phone app in AA on the car screen to route the sound to Bluetooth, and this is annoying. . Do you experience this issue as well?
Thanks!

Car mode (launched when connected)

Ok so when i connect my phone to my head-unit via wifi or usb, car mode automatically launches on my head unit and phone. This is a simple app that is like android auto but the interface is ugly.
Is there anyway to set this up to launch a different app program like android auto?
You can use any automation app (like Tasker, Macrodroid and so on) to launch any app when phone and HU are connected. Anyway, Android Auto is not compatible whith our head units (at least not with my PX5 Android 6.0)...
How do you set it to launch a different app without using tasker ect.? I have tried doing this but failed.
I have px5 unit running android 6.0 and have android auto installed. You just got to download it from apk mirror as google play wont alow it to be installed
I don't know if it's possible to do it without using Tasker or similar app.

Headunit Reloaded for android auto.

Hi,
I am trying to use Android Auto (AA) through "Headunit Reloaded for android auto" application. My phone is saying that AA is connected to the device but I'm getting these images (below) on my Android head unit version 4.4.4.
When connecting the phone to the device it appears image 1, then after I tick "Use by default for this USB device" and click OK, appear images for Microphone, Location, Phone and Settings.
Any help is appreciated.

Categories

Resources