Disabling the G3's overzealous headphone-jack detection - G3 General

I was wondering if anyone has any knowledge on how to disable or modify the headphone jack's detection.
As has been said, the G3 appears to use resistance-based detection to see whether to switch the jack on or off for (I'm guessing) battery saving reasons. I've read reports that this isn't the case on AOSP ROMs, leading me to believe that this issue primarily lives in software. Since this lives in software, there should be triggers either kernelside or ROMside to determine the thresholds.
Is there basically a way to disable the line-out/aux mode to force it to headphones when it detects something in the jack like normal ROMs do, instead of "testing" the input?

TemporaryTester said:
I was wondering if anyone has any knowledge on how to disable or modify the headphone jack's detection.
As has been said, the G3 appears to use resistance-based detection to see whether to switch the jack on or off for (I'm guessing) battery saving reasons. I've read reports that this isn't the case on AOSP ROMs, leading me to believe that this issue primarily lives in software. Since this lives in software, there should be triggers either kernelside or ROMside to determine the thresholds.
Is there basically a way to disable the line-out/aux mode to force it to headphones when it detects something in the jack like normal ROMs do, instead of "testing" the input?
Click to expand...
Click to collapse
I've been dealing with this as well. I pinged the G3TweaksBox person to see if they'd be interested in adding this, and they seem to have disappeared. I'd love to know the answer to this, though. Whenever I plugin my headphones (or aux out chord), it usually takes 3 or 4 tries to get the phone to recognize them as headphones. It LOVES defaulting to a bluetooth headset.

Related

Issues with Focus. Anyone else having these?

I have noticed a couple of issues which seem to be limited to the focus.
First, the by default the "Anti-Shacking" setting on the camera is set to "off". and there is no way to change this for good. I have to change it every-time I start the camera.
Second, the screen seems to randomly dim and light back up. I don't know if its because i'm covering the light sensor or what. But it's annoying.
Has anyone else noticed these?
Does anyone else have others?
KonAitor said:
First, the by default the "Anti-Shacking" setting on the camera is set to "off". and there is no way to change this for good. I have to change it every-time I start the camera.
Click to expand...
Click to collapse
This was noted as an issue with the phone prior to it's release, and it's currently like that for everyone. None of the settings you change in the camera app will stay after closing it.
As for your brightness issue, it probably is a case of the sensor reacting to you blocking it. I have auto brightness turned off, but have experienced what you are describing on other phones when looking over the sensor (blocking light with my head) or when I have a finger placed over the sensor
I found a new issue with mine.
I have an old Belkin 3.5mm to caset adapter. I can plug it into the phone and the music will come out of my stereo beautifully.
However, after removing the converter (once or twice) i loose the ability to use the mic on the phone(shazam and voice commands don't work unless I use a headset or perform a soft reset).
Anyone have an idea why this is. Does the phone not support standard 3.5mm jack equipment, like headphones and earphones?
it works fine with me with the newer one i had, i don't know the brand, but I have noticed at times the phone seems to mute itself =\
KonAitor said:
I found a new issue with mine.
I have an old Belkin 3.5mm to caset adapter. I can plug it into the phone and the music will come out of my stereo beautifully.
However, after removing the converter (once or twice) i loose the ability to use the mic on the phone(shazam and voice commands don't work unless I use a headset or perform a soft reset).
Anyone have an idea why this is. Does the phone not support standard 3.5mm jack equipment, like headphones and earphones?
Click to expand...
Click to collapse
I've had this issue myself with the aux cable in my car. Plugging it in to listen to music works fine, after unplugging, I cannot use voice commands. I haven't purposely tried making a call afterwards, but I'm fairly certain I have received calls, unplugged it, and was able to talk normally. I'll test after work, but can confirm your issue on my end at least.
I called their support today. They ended up transferring me to the "Level 3" Support.
I told him about the camera and aux port issues. He said they were not aware of those, and even tested the camera issues on a new test unit.
Hopefully, now that they know about this, they will be able to implement a fix.
He seemed the most disturbed by the aux cable issue.
Sounds like the aux-cable issue is related to the jack thinking there is still something plugged into the jack. This is a semi-common issue on the fruit company's phones.
The headphone/headset detection works by sensing where ground is on the plug. Sometimes that sense gets "stuck"
A simple plug and unplug of any 3.5mm jack should unstick it.
*disclaimer: I don't have a Focus yet, but will this weekend.
liquidiq said:
Sounds like the aux-cable issue is related to the jack thinking there is still something plugged into the jack. This is a semi-common issue on the fruit company's phones.
The headphone/headset detection works by sensing where ground is on the plug. Sometimes that sense gets "stuck"
A simple plug and unplug of any 3.5mm jack should unstick it.
*disclaimer: I don't have a Focus yet, but will this weekend.
Click to expand...
Click to collapse
I am aware of what's happening. Both I and the tech agreed that there must be some short happening. This is more common with 3.5 jacks that are designed for more complex functions. Such as volume control, and Video out.
Interestingly enough, he checked to see if there was Video out with these phones as with other Galaxy S series. But he couldn't find anything in their docs .
KonAitor said:
I am aware of what's happening.
Click to expand...
Click to collapse
Sure didn't sound like it from your initial post, but I'm glad you've got it covered now.
liquidiq said:
Sure didn't sound like it from your initial post, but I'm glad you've got it covered now.
Click to expand...
Click to collapse
It's still an issue. Just because it happens on other devices does not mean it is acceptable. And Ive tried alot of remedies to fixing it without resets (like plugging in/out the headset or another cable).
KonAitor said:
It's still an issue. Just because it happens on other devices does not mean it is acceptable. And Ive tried alot of remedies to fixing it without resets (like plugging in/out the headset or another cable).
Click to expand...
Click to collapse
Oh I totally agree with you, it's definately an issue. I think you should exchange the phone for a new one, as I believe it's a manufacturing tolerance.
liquidiq said:
Oh I totally agree with you, it's definately an issue. I think you should exchange the phone for a new one, as I believe it's a manufacturing tolerance.
Click to expand...
Click to collapse
i too am having this issue...but after making a phone call then i can use voice commands again.
chizzwhizz said:
i too am having this issue...but after making a phone call then i can use voice commands again.
Click to expand...
Click to collapse
Interesting workaround. I will try that next time it happens.
Speaker click issue when screen off
Here's a new one, anyone else having this? When my phone screen is off, sometimes I notice a periodic static click coming from the handset speaker (I don't think it's the back speaker.)
It's not a single click, but more of a stutter, which stops immediately when I turn the phone on and it shows the lock screen.
It stops if you unlock the phone, use it, and turn it off again. It DOES NOT stop if you turn the phone on but don't unlock it, and turn it off again.
I actually noticed this myself for the first time today. It was rather annoying. I was in the middle of things and so just did a soft reset. Hopefully it won't happen again any time soon. First time hearing/noticing this in almost a month (got phone on 11/8).
McP

Earphones give Commands to phone

This might sound strange, but when i still used to use my old HD2 earphones with the little buttons to go to next track, answer phone etc. it was obviously able to send commands to my phone that way.
Now i dont use them anymore and use Sennheiser ones instead, no buttons, just earphones.
but when they move in the 3.5mm jack sometimes they enable Shuffle or keep switching through tracks extremely fast.
I dont need my HD2 to be able to get commands from the 3.5mm jack is there ANY way to get rid of this?
its driving me nuts.
IndigoHD said:
This might sound strange, but when i still used to use my old HD2 earphones with the little buttons to go to next track, answer phone etc. it was obviously able to send commands to my phone that way.
Now i dont use them anymore and use Sennheiser ones instead, no buttons, just earphones.
but when they move in the 3.5mm jack sometimes they enable Shuffle or keep switching through tracks extremely fast.
I dont need my HD2 to be able to get commands from the 3.5mm jack is there ANY way to get rid of this?
its driving me nuts.
Click to expand...
Click to collapse
ha ha ha !!!i dont know what to say...sorry !
IndigoHD said:
I dont need my HD2 to be able to get commands from the 3.5mm jack is there ANY way to get rid of this?
its driving me nuts.
Click to expand...
Click to collapse
This has come up several times this past 18months, myself included with a low end pair of sennheisers that (under winmo) scroll thru my call history and select dial randomly. (Called up an ex gf in Australia once, lol. I had no idea till days later when i saw her in the call log.)
In my case, it seemed to get worse as the phone warmed up, adding weight to my suspicion (guess) that it is caused by signal bleeding into the wrong pickups, maybe a fractionally misaligned jack during construction, perhaps a noisy signal from a dodgy soldering job tricking the phone into thinking it has the third pickup and is a headset. I even half noticed that it would be more likely to happen with particular mp3's, but didnt really study it much, i just used different 'phones until i moved to android.
Under android, however, they work fine. I use them daily.
It does not matter wether i use Android or Windows Mobile.
It has happened on both.
Can this be disabled somehow?
There must be software in the phones operating system that enables it to interpret these commands that are recieved. Can it not somehow be disabled then?
on my nokia n95 i could set the default accessory profile, but i dont remember seeing anything similar in winmo, and cant see anything in the cm7 rom im on currently.
Before you get all tied up with hardware.
If the headphones don't support the options, then the most likely source of your problem is dust/debris in the headset port, try a bright torch and have a look, it only take a very small amount to raise the plug a fraction of an inch and cause these types of issues.
Make sure the battery is out before you insert a pin or someting to loosen any muck
This used to be a common problem befor larger smart phones came along, especialy for the guys, keeping phones in dusty pockets

[Q] Sick of this phone's quirks. Please help.

Sometimes , when I plug headphones, or any auxiliary audio jack, a "microphone" icon appears on the upper bar on the screen, and then at the first instance of any noise it randomly dials someone from my recent call list. I usually catch it in time to end the call before it even rings, but not always. This is SO aggravating as very frequently I use my phone to listen to music either in my car or while exercising/working with headphones.
I've had this ongoing problem since release date and it seems to be random in frequency. Sometimes it happens every time I plug a jack in, then sometimes it goes a whole month without happening. The only way I've found to eliminate the "microphone" icon and prevent the phone from calling out is to stop my music, go to settings, other, voice command, and then uncheck the "enable voice command" box. It seems that inserting headphones automatically re-enables this against my will. I thought installing some of the updates or various roms would have helped, but nothing helped. I'm back to using the latest stock rom and because of my irritation with this phone have just about given up on doing any more to it.
Is there any way for me to permanently delete voice command? I never use it and unfortunately the only threads I can find on here deal with people asking the opposite.
Any advice would be appreciated.
If you're on an Android ROM try downloading Titanium Backup from the market and deleting the voice applications if you don't use any of them.
SecretStash said:
Sometimes , when I plug headphones, or any auxiliary audio jack, a "microphone" icon appears on the upper bar on the screen, and then at the first instance of any noise it randomly dials someone from my recent call list. I usually catch it in time to end the call before it even rings, but not always. This is SO aggravating as very frequently I use my phone to listen to music either in my car or while exercising/working with headphones.
I've had this ongoing problem since release date and it seems to be random in frequency. Sometimes it happens every time I plug a jack in, then sometimes it goes a whole month without happening. The only way I've found to eliminate the "microphone" icon and prevent the phone from calling out is to stop my music, go to settings, other, voice command, and then uncheck the "enable voice command" box. It seems that inserting headphones automatically re-enables this against my will. I thought installing some of the updates or various roms would have helped, but nothing helped. I'm back to using the latest stock rom and because of my irritation with this phone have just about given up on doing any more to it.
Is there any way for me to permanently delete voice command? I never use it and unfortunately the only threads I can find on here deal with people asking the opposite.
Any advice would be appreciated.
Click to expand...
Click to collapse
hd2 is a headphone button enabled phone ....so pluging in some jacks can cause the effect of the button to trigger on itself
Also on occasions fluff into audio port means the jack just does not drop right in
pull the battery and with a pin and torch check its clear, be gentle with the pin
I have many different heaphones/earbuds that I use with this phone and none of them give me a problem on the latest official HD2 Rom for T-Mobile
1. the original earbud set that came with it
2. Old (like 10 years old) Sony over the ear headphones (best sounding by far in this group and 6ft cord makes excellent antenna for FM radio)
3. phillips earbuds
4. Rocketfish earbuds (Crappiest but has long cord for antenna)
5. Phillips behind the neck heaphones (second best sounding)
6. Sony earbuds (these things rock for earbuds)
7. Phillips earphones
8. Skullcandy earbuds (offers the best fit out of all of them in the ear types)
If I have any gripes about using headphones it has to be that HTC put the jack on the wrong end of the phone.....
i couldnt find the place to ask this question, but would it still be wise to buy HTC HD2 instead of Motorola Defy? my budget is something around 17,000 INR. Pls guys help, im so confused bout buying the phone, personally i like the design of both Defy & HD2 and as i have read HD2 is better phone configuration wise and regarding flashing with custom roms but isn't it a bit outdated now?
Thanks for the replys. I'm considering filing an insurance claim on my device to see if they can fix it as I already suspected that the headphone jack itself may be the culprit. Since the hd2 is discontinued, if they can't replace/repair it, then I'm pretty sure they'll hook me up with the current gen htc handset for tmobile (evo?)
Still though. If anyone could tell me how to deactivate, or delete from the device/registry, Voice Command, it would save me a lot of trouble. I've only 3 months left until I get an upgrade anyway.

Disable Auto Volume Reduction?

Is there a way to disable the annoying feature that reduces volume when a 3.5mm aux cable is connected to the phone? LG claims this is to "protect my ears". I'm a big boy, I can protect my own darn ears! I use my phone to play music in my car (why Mazda didn't include an A2DP profile on the Miata until the 2013 model year is beyond me) and every time someone texts me or calls me the volume level gets reduced, causing me to need to grab the phone and raise it back up which, needless to say, is dangerous and annoying.
great description, I would also like to see a work around to this issue.
I have been wondering this since day 1.
There's an Xposed mod that does that, maybe we could get the dev to add G2 support.
http://forum.xda-developers.com/showthread.php?t=2338474
Meanwhile I can look for that particular code inside the framework files, but it would be a dirty fix as everyone would have to edit the smali for their own ROM.

PX5 Headunit Phone issues when recording dashcam DVR

I have been having a serious issue with my head unit ever since I got it. Well, actually, not me, but everyone who I talk to on my phone with it over bluetooth, in particular when my DVR is recording the dashcam. When the built-in DVR is recording the dashcam, it keeps making a loud buzz sound every 5 seconds to the receiving end of the call. That is, I don't hear it, but anyone I'm talking to on the other end of the call does. It is very loud and irritating, to such a degree that I have to turn off the DVR every time I'm in a call. Obviously, this shouldn't happen. Additionally, I find the same thing happens when making a call with Skype installed on the radio, which wouldn't be using bluetooth at that point, so it seems somehow either the dashcam itself (it is not the DVR software, I tried another software that did the same thing) or a hardware issue is creating noise on the line-in or mic in the sound system that goes out to the other end of the call. I've tried support from the "manufacturer", but they aren't much use and I don't intend to send the unit back to China and wait to get it back for 4 or 5 months. I suspect it isn't likely to be the dashcam, so for some reason there seems to be feedback on the USB line to the sound module.
So, I'd appreciate any ideas here. I've also tried numerous other DVR apps, but it seems that pretty much none of them function correctly with the USB dashcam that came with the radio. I don't know if it's an issue with the specific camera or that it's a USB interface for the camera. So, I'd appreciate any experience anyone can offer to resolve this.
Other than these issues, I've got it working the way I want. I installed a cooling fan on the PX5 CPU. I need to put a capacitor in parallel with it still as I think it's causing the LCD to flicker slightly. It came with Android 8, so I installed Android 9 on it. Upgraded the MCU. I also replaced the plain WIFI antenna wire with a plugin port so I can connect a better wifi antenna. I found an app that allows me to force a normal reboot instead of the pseudo-reboot it does with the power button because Android sometimes needs an actual real reboot.
There are some really annoying quirks about the radio too that if anyone knows how to change I'd be very grateful. For one, the Accessibility Services keep getting disabled when the radio is shutdown with the car. It seems to be a memory function built into the device as it doesn't happen with a real normal reboot. Also, the wifi sometimes gets shut off, I assume for the same reason. And the lack of security really really bugs me.
That's not an issue it's a feature I guess they didn't want to dedicate a PCB layer to route analog signals I even wonder if they have a dedicated layer for power. Anyway the problem is they run analog lines next to/under digital lines and no ground plane to isolate the 2. There is a mic mod thread that addresses those issues if you're interested.
Maybe just installing an external mic would be sufficient if your HU already has a connector for it. As for your other issue, check the factory settings menu there should be a setting to restore the unit to previous state on reboot. Sorry I can't remember the exact name of it.
nic2k said:
That's not an issue it's a feature I guess they didn't want to dedicate a PCB layer to route analog signals I even wonder if they have a dedicated layer for power. Anyway the problem is they run analog lines next to/under digital lines and no ground plane to isolate the 2. There is a mic mod thread that addresses those issues if you're interested.
Maybe just installing an external mic would be sufficient if your HU already has a connector for it. As for your other issue, check the factory settings menu there should be a setting to restore the unit to previous state on reboot. Sorry I can't remember the exact name of it.
Click to expand...
Click to collapse
I have an external mic. It doesn't help. Thanks for pointing me in the direction of the mic mod. It's probably what I've been looking for. As for the factory settings, I don't seem to have an option to restore the unit previous state in my factory settings.

Categories

Resources