[Q] Car Mode Cable - Sprint HTC One (M7)

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.

Related

Deluxe USB Desktop Cradle

I've got some problem with this cradle,
its strange cause if the delivered charger is put into the mini usb its loads the HD2 only if I use the "charge on usb" option in power settings but if I plug in the normal Leo charger on micro usb port (which normaly is for data) its loading like usual... are there any wires wrong ?
no one out there?
Do you have a spare battery in there? I thought mine wasn't charging at first too, but that was because my second battery was charging. I only have the supplied charger plugged into the mini-USB port.
I haven't tried what happens if i connect both micro and mini USB to the cradle and i don't have the chance to do that anytime soon, might be an idea though?
Annoyingly, the HD2 sounds were played to the 3.5mm jack when plugged in (which i don't have connected to anything yet), so my alarm wouldn't sound. I found the setting where to route the systemsounds (either to device or external), so that's no problem anymore
shufflez said:
Do you have a spare battery in there? I thought mine wasn't charging at first too, but that was because my second battery was charging. I only have the supplied charger plugged into the mini-USB port.
I haven't tried what happens if i connect both micro and mini USB to the cradle and i don't have the chance to do that anytime soon, might be an idea though?
Annoyingly, the HD2 sounds were played to the 3.5mm jack when plugged in (which i don't have connected to anything yet), so my alarm wouldn't sound. I found the setting where to route the systemsounds (either to device or external), so that's no problem anymore
Click to expand...
Click to collapse
i found someone here in forum who has build a switch to change between sync and charge mode with the cradle delivered charger, but he doesnt answer my question how he did it....
nickname is Donald24
hi,
the hd2 recognise a 'real' charger at the fact that pin 2&3 (the data pins) are shortend. so it can achive more then the 500mA that it can get from a (PC)usb port. at least at my charger things are handeld that way.
regards mad
madbird said:
hi,
the hd2 recognise a 'real' charger at the fact that pin 2&3 (the data pins) are shortend. so it can achive more then the 500mA that it can get from a (PC)usb port. at least at my charger things are handeld that way.
regards mad
Click to expand...
Click to collapse
okay I managed to change my car charger this way but I'm not shure if I shorten the pins in the cradle with a switch to change between fast charge and USB connection if there will be some trouble with a connected PC...
shufflez said:
Annoyingly, the HD2 sounds were played to the 3.5mm jack when plugged in (which i don't have connected to anything yet), so my alarm wouldn't sound. I found the setting where to route the systemsounds (either to device or external), so that's no problem anymore
Click to expand...
Click to collapse
Is it possible to explain how

i9000 forced into landscape mode when charging

Found a particular weird problem/bug/feature today with a friend's i9000. We upgraded it to Froyo (JP6) last night but today in the office when he plugged it in to his charger the phone went into landscape mode. Every single time. No way to get it back to portrait except to unplug it. Turns out it was this particular micro usb cable he was using. I tried my phone with his cable and sure enough, landscape mode.
I cannot for the life of me find a way to disable this. I can only assume it's a Samsung feature meant for their range of accessories and in the tip of the charging cable there is a readable code which defines it as a landscape dock.
If anyone finds out how to disable it I'd love to know.
Heres thread about usb connector
http://forum.xda-developers.com/showthread.php?t=820275

[Q] Modify car cradle to automatically enable car mode ?

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

What wire lines of the usb does android auto use?

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

Wall socket to device that can

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

Categories

Resources