I have a Honda stock head unit, which is Android-based. I know when an AA-capable head unit is plugged in, it works in USB accessory mode (my phone shows USB accessory plugged in). I guess the head unit depends on a USB attached intent broadcast to detect the plugging in of the Android phone, because if I plug in my phone first and then turn on the head unit, the head unit does not detect my phone to bring up AA on head unit screen. The phone gets charged only. So my question is: Is there a way to force the detection from the phone's side when the head unit comes on? Obviously, I can't modify the head unit software in any way. Btw, my phone is OnePlus 6, no root. I can go for a root if that can solve the issue some way.
I don't own a Oneplus 6 but every other phone I have owned (Samsung, LG, HTC, Sony, Nexus) had a setting for USB mode. Not sure if that helps you.
mongo999 said:
I don't own a Oneplus 6 but every other phone I have owned (Samsung, LG, HTC, Sony, Nexus) had a setting for USB mode. Not sure if that helps you.
Click to expand...
Click to collapse
Even OnePlus 6 has the USB mode menu, but it remains grayed out until the phone detects a USB connection. If I plug in the cable while the head unit is on, I can tap on the USB mode menu. Otherwise, it is disabled. It is as if no device has been connected at all, though the phone is charging.
Related
Hi there,
I just bought an active car cradle for the Htc HD2 (Carcomm), no problem, working as expected.
Then I began wondering why the phone would not go into car mode when connected to the car cradle... If it's a car cradle, it should put the phone into car mode, right ??
So I was wondering what could possibly trigger the phone into car mode when connected to a charger.
Found this in another thread (http://forum.xda-developers.com/showthread.php?t=767961):
To the person who wanted to know about connecting pins 2&3 to 4 to create a car doc? Looking at the USB spec datasheet It's not that simple. You need to insert a voltage divider across the data lines and tie it back into the 3.2v of the device. A little more trouble than it's worth unless you are doing it for the learning experience.
Click to expand...
Click to collapse
and also from user dabigcheezze :
unfortunately it is a problem with froyo, whenever the phone is placed into dock mode, no matter what the charging input, it will only show up charging in usb mode, i have a homemade dock cable with pin 4 to ground, when i hook that up to my 1 amp charger it only shows usb, using a normal cable it shows ac charging, it has nothing to do with the HTC dock, it will happen whenever the phone is placed into dock mode, it also locks the vol output on the 3.5 jack 3/4 up....sooooo stupid.
Click to expand...
Click to collapse
Does anyone know about grounding pin 4 to enable car mode ? what about power, is the charger powering enough the phone while using BT, GPS and navigation ? Also, the limitations in Froyo are they gone in Gingerbread or could it be fixed ?
Thank you for sharing your experience, I would really like to have a car cradle working 100%
Nobody ?
Sent from my HD2 using XDA App
Come on, I'm sure somebody did the modification... or tried to do it
Willing to share ?
Hi !
Just wait I can contact the guy I wish to buy that second hand HD2 first, then find an appropriate car charger craddle, and I'll look for a solution.
Don't know how to automatically enable car mode, but just solder the 2 middle wires in your USB cable together and you'll get 1A instead of 500mA, which charges way faster. Your car charger needs an output of 1A, of course, else it's just gonna remain 500mA.
StephanV said:
Don't know how to automatically enable car mode, but just solder the 2 middle wires in your USB cable together and you'll get 1A instead of 500mA, which charges way faster. Your car charger needs an output of 1A, of course, else it's just gonna remain 500mA.
Click to expand...
Click to collapse
Thanks for your reply. Yes, it's true. I've seen this small hack to enable AC charging for cheap chargers that are charging with USB mode (400mA I think).
My charger was good enough to provide AC charging (1A), which is great, but not enough to enable the car mode...
What I would like to confirm is if grounding pin 4 will really put the phone in car mode when plugged into the car cradle, before doing it myself...
Do not hack the hardware!
Use a software
http://forum.xda-developers.com/showthread.php?p=8178010
Thank you for your response.
But... is it a software for windows only ?
I run Android on my HD2
Unfortunately, the software only runs on Windows Mobile :-(
So you have to try that:
http://translate.google.at/translat....cz/forum/viewtopic.php?f=3&t=73&p=1037#p1037
seen here:
http://www.youtube.com/watch?v=Nx0zPFQtyxs
I personally ordered the original car holder from htc and it is really a very good one!
Excellent !!
I think that if the mentionned modification works with a HD2 AND a Desire HD, the official Htc android software should work also, like the windows software in the video.
Thank you, it's great ! I will post here my results when done
Even easier - try using PhoneWeaver (can't add a link as a noob)
It's basically an app for setting your phone's parameters, based on all sorts of external influences, such as time, date, power source etc.
So, for example, I have the following settings:-
6:15 am - turn phone on, set volume to Normal
8:15am - set volume to low (for when I'm in the office - its a personal mobile)
4:45pm - set volume to Normal
6:45pm, turn wireless on (as I'm at home, and browsing is much faster)
10:00pm - turn phone / wireless off, set volume to low, start SPB Time (my alarm clock)
Additionally, I have the following:-
If external power is detected AND Activesync isn't running (ie it's not connected to a PC) then turn on Bluetooth and increase volume (this is because the only other possibility for this environment is when its in the powered car cradle)
If external power is detected AND Activesync IS running, turn Bluetooth off, but turn wireless on
It's completely brilliant - never fails and I never have to remember to do anything
It appears that either the USB port or the USB controller is failing (has failed). The phone still charges but neither the phone nor any computer recognizes that the phone is plugged in. Even when I plug the phone into a wall jack, the phone does not make any sound or light up or show it is charging (it does charge though). If I go to the battery settings while the phone is plugged in (computer or wall) the phone recognizes that it is charging.
If the phone is off and I plug in the usb cable (compter or wall) the phone turns on by itself. This is problematic because I cannot get into the download mode using the 3 button combo. I also cannot get into the download mode using apps like Reboot Widget.
I installed USB Host Controller which says that the USB cable is not plugged in when it is. I can disable and enable USB charging though. Changing the USB Host Drivers has no effect.
So it looks like I need to send it into mobiletechvideos for repair. But reading through the reviews there is concern that just replacing the USB port wont fix my problems if the USB Controller is shot.
Not only did they replace the USB port and get it back to me in about a week but they told me that since the controller had failed and the phone couldn't talk to the computer I wasn't charged the full price for the repair.
Click to expand...
Click to collapse
So I guess I'm asking if anyone here knows anything about this issue and if mobiletechvideos.com can repair it.
I am also going to email mobiletechvideos.com asking them this same question.
Thanks for your time.
jetak said:
It appears that either the USB port or the USB controller is failing (has failed). The phone still charges but neither the phone nor any computer recognizes that the phone is plugged in. Even when I plug the phone into a wall jack, the phone does not make any sound or light up or show it is charging (it does charge though). If I go to the battery settings while the phone is plugged in (computer or wall) the phone recognizes that it is charging.
If the phone is off and I plug in the usb cable (compter or wall) the phone turns on by itself. This is problematic because I cannot get into the download mode using the 3 button combo. I also cannot get into the download mode using apps like Reboot Widget.
I installed USB Host Controller which says that the USB cable is not plugged in when it is. I can disable and enable USB charging though. Changing the USB Host Drivers has no effect.
So it looks like I need to send it into mobiletechvideos for repair. But reading through the reviews there is concern that just replacing the USB port wont fix my problems if the USB Controller is shot.
So I guess I'm asking if anyone here knows anything about this issue and if mobiletechvideos.com can repair it.
I am also going to email mobiletechvideos.com asking them this same question.
Thanks for your time.
Click to expand...
Click to collapse
Mobiletechvideos (Connexion2005 on xda) can most likely repair your phone. Him and Adam Outler have been doing the impossible with devices!
So not sure I'm going to have any luck with this but it's worth asking - maybe someone has done the same thing.
I tried to follow the following thread to make a cable that will start the phone into car mode:
http://forum.xda-developers.com/showthread.php?t=1475272
I have a working OTG cable and a USB A-A. When I connect the cable to a charger and plug it into the phone I just get a notification that says "The USB host cable is plugged in. Unable to charge the device"
So I did a little more looking and people said to trigger car mode pins 4 and 5 must be connected. I hacked up a cable and jumped them together. Plugging in the hacked up cable gives the same notification - "The USB host cable is plugged in. Unable to charge the device"
So apparently my OTG cable is working as intended but doesn't launch car mode.
Does anyone know what the M7 uses to detect the car dock? I don't want the stock HTC car dock since it goes on the windshield and I want it clipped into a vent.
Edit: Looks like this may be in the source somewhere...
http://forum.xda-developers.com/showthread.php?t=820275
Anyone familiar with the kernel source able to help? I'm going to do my own searching but I'm hardly familiar with linux.
Edit 2: Found values for HTC One X. Just don't have resistors handy:
10kOhm triggers auto dock mode
68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode)
ShadowDrake said:
So not sure I'm going to have any luck with this but it's worth asking - maybe someone has done the same thing.
I tried to follow the following thread to make a cable that will start the phone into car mode:
http://forum.xda-developers.com/showthread.php?t=1475272
I have a working OTG cable and a USB A-A. When I connect the cable to a charger and plug it into the phone I just get a notification that says "The USB host cable is plugged in. Unable to charge the device"
So I did a little more looking and people said to trigger car mode pins 4 and 5 must be connected. I hacked up a cable and jumped them together. Plugging in the hacked up cable gives the same notification - "The USB host cable is plugged in. Unable to charge the device"
So apparently my OTG cable is working as intended but doesn't launch car mode.
Does anyone know what the M7 uses to detect the car dock? I don't want the stock HTC car dock since it goes on the windshield and I want it clipped into a vent.
Edit: Looks like this may be in the source somewhere...
http://forum.xda-developers.com/showthread.php?t=820275
Anyone familiar with the kernel source able to help? I'm going to do my own searching but I'm hardly familiar with linux.
Edit 2: Found values for HTC One X. Just don't have resistors handy:
10kOhm triggers auto dock mode
68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode)
Click to expand...
Click to collapse
I never had a desire to put my phone into car mode and maybe I am not sure what you are trying to accomplish, but couldn't you just use an app like trigger to program an NFC tag and place it on your car dock so when your phone is placed in the dock and touched the tag, BOOM, phone is in car mode.....then just touch the tag again when exiting car to exit car mode?
mcerk02 said:
I never had a desire to put my phone into car mode and maybe I am not sure what you are trying to accomplish, but couldn't you just use an app like trigger to program an NFC tag and place it on your car dock so when your phone is placed in the dock and touched the tag, BOOM, phone is in car mode.....then just touch the tag again when exiting car to exit car mode?
Click to expand...
Click to collapse
That's what I'm leaning towards doing if this all fails. It would just be nice to use what I've already bought - and sliding the phone into the dock would automatically trigger this mode once it was plugged in and charging. An NFC tag would accomplish the same thing maybe.
Car dock mode will be nice since it'll toggle bluetooth on for me and start playing music automatically. It's in a nice location in the car for viewing and could be used as GPS without having to dig it out of my pocket.
Bumping a reply up to this since I finally got around to putting some more time into this project...
10k ohm resistor puts the phone right into car dock mode and takes it out of car dock mode when unplugged. Exactly what I was looking for. 47-68k ohm likely triggers desk dock mode so I'll save that one for another day.
Just going to cut up a USB cable and throw the resistor between the two target pins and I'll have a working car dock cable. Happy hunting all.
Usb has 4 (generally) wires Red and Black for +-5v and another two for data (most often white, green).
The question is: Do i need all 4 wires for car head unit to recognize android auto by connecting the usb?
If i cut voltage (red and black wires) will it still recognize it?
If not, if i give external voltage to phone to red and black wires i have cute, will it work now or not again?
My main problem for asking this, is that car head unit does not provide much voltage when connecting phone for android auto and decharging slowly..
I am sure if i cut voltage wires as i describe above and connected to a light charger i will have more voltage.
But i afraid destroying head unit so i prefer to cut voltage of head unit, and use only voltage from lighter charger..
Any info about this?
I am actually going to install permanently an old phone to the head unit only for android auto.. And i want to be changed.
Anyway i decided to destroy a cable to find out myself..
By only cutting red wire, android auto loose connection...
But how does it see it?.. If i put a resistor or something could i trick it?..
If anyone know would be very helpful.
Sent from my SM-T700 using XDA-Developers Legacy app
Hi Sosimple
I have no possibility of trying it myself but I guess there are two possible problems that cause Android auto to stop working.
1: mobile
Your phone recognises that it isn't being charged so there can't be a Android auto connection. To test this out, connect a charger to your modified cable (connect plus and minus to the charger and d+ and d- to the car)
2: car
Your car recognises that there is no draw at the USB port, so no smartphone is connected (this is unlikely though, because the smartphone could have a full battery). To test this, try putting a resistor in between plus and minus of the cable. (10Ohm~500mA so don't go below 10Ohm. Try higher resistors first)
If none of the above work, consider buying a USB y cable (used for external HDD) to cross out possible mistakes
Regards
Thanks. I will test a resistore some day..
My car (intellilink system is called, opel corsa) has 1 usb only. But you can connect a 4 port usb switch, so to use 1 port for a usb stick with mp3, and another usb to connect phone for android auto at the same time.
And working fine this way.
If i use a y cable to connect it 1st usb to lighter charger, 2nd microusb to phone, and 3rd usb to usb switch, i really don't know what is going to happened regarding voltages. If there is any danger for the intellilink system of opel corsa.
I don't care if anything happens to phone as i have an old to test, or the switch, as it is cheap, but i do care for intellilink as it is expensive. That's why i haven't test a y cable..
Sent from my SM-G9350 using XDA-Developers Legacy app
If Android auto works with the switch, no need for trying a resistor (because only the switch could measure the current draw)
So the reason it doesn't work must be the missing charge voltage at your phone. Did you try connecting + and - to a charger?
Your switch gave me another idea. Try finding a powered switch (a USB powered or directly 12v powered one). Those switches with external power exist and they could provide enough amps to charge your phone while using Android Auto.
m00str said:
If Android auto works with the switch, no need for trying a resistor (because only the switch could measure the current draw)
So the reason it doesn't work must be the missing charge voltage at your phone. Did you try connecting + and - to a charger?
Your switch gave me another idea. Try finding a powered switch (a USB powered or directly 12v powered one). Those switches with external power exist and they could provide enough amps to charge your phone while using Android Auto.
Click to expand...
Click to collapse
Yes i also had the idea to take a powered usb switch. I couldn't find one where i live yet..
Although if i found one, i also have the fear if i could harm cars intellilink system..
Because: Intellilink takes voltage from cars battery and give voltage to usb.
If i then i take a powered usb switch, which i will connect it to usb charger lighter (which takes voltage from car battery) and connect then the switch to usb of intellilink system, who really knows what happens Regarding voltages? All take power from cars battery. I don't know if i can connect them without destroing intellilink system..
Thing become to complicated to be sure what will happened.
I read alot in forums but haven't read something similar..
Anyway if i test it, i will post the result..
Sent from my SM-G9350 using XDA-Developers Legacy app
Those external powered switches usually separate input data and output voltage completely, so there is most likely no connection at all
The point that both devices are powered by the same source (car battery) even reduces the risks of damage because of the same minus/ground potential. (I would even connect the minus poles of all devices if I soldered myself a y cable, just to have all GNDs connected, but there is no need to do so.)
Can't you order one from Amazon or eBay? I don't know where you are from but most Chinese or Hong Kong sellers (eBay) ship almost worldwide.
I hope it works for you somehow.
I probably will create one by muself.. I live in Greece. I have already created one, doing something similar. With an on/off button i choose if i will change phone from usb charger from lighter OR connect to intellilink (and disconect from usb lighter charger at the same time)..
I experiment with this. It looks to work well as in on i have intellilink connection, android auto, and in off i disconect from intellilink but charge from usb charger in lighter..
I'll keep this for some time..
Sent from my Nexus 5X using XDA-Developers Legacy app
Hi all,
I need a device that plugs into your wall and can connect to by an app on your phone to turn on. Or similar.
So my aim is to be able to turn a specific wall socket or plug on with my phone through an app or something. Also turn it off. I want to plug a lamp that has a USB connection(only way of turning on the lamp).
Kind of like the tesla cars and their app able to turn the heating on etc etc. Or those house thermostats you can control with your phone.
I'm sure there's a smart plug or something? Anyone know?
Thank you
Well I ended up getting this, it's on the way. Hopefully it's sufficient.
https://www.amazon.co.uk/gp/aw/d/B07867NPY7
Doesn't work on android pie, what a joke. Sending it back