I just switched from cm7 to the SOS X Rom and now something weird is happening.
when I'm listening to music I double tap the headset control button to skip a song or I can tripple tap to repeat/skip to previous track. however now when I double or tripple press the dialer launches and instantly calls the latest number in my recent calls log followed by the song skipping or restarting.
does anyone know why and/or how to fix? I can't find any headset controls in the Rom settings.
I'm running the "SOS X/S/N" and the player I'm using is the "Power amp" with skullcandy FMJ ear buds.
also, if I clear my recent calls log the dialer doesn't launch. if there's something I missed let me know please.
thanks in advance for any help.
Hi,
I use the headset button to control my music. From what I have figured out, one press pauses/plays music... two fast presses skips the track... I have tried this, and it works. But sometimes when I double tap the button, it starts ringing the last person I called Can I turn this off? This is really annoying, I seriously do not see why anyone would want this feature.
Iv'e tried one of those headset button apps, and wasn't very impressed, It only worked half of the time.
I mainly just want to stop the button calling people
Anyone any idea?
Thanks.
If you're using PowerAMP try turning on the 'High Priority' headset button handler. If that doesn't work or you have any other music player there's a free app called 'JAYS Headset Control' (works for any headset not just JAYS). Also has a lot of customisation you can do to your headset button actions .
Hello,
I used to hold the button on my mic for a time when cycling to launch "google voice dialer" but now that I've uploade my software it doesnt work anymore. the common functions as play/pause/skip track are still working so i guess It is not the headphone. I could double tap the home key button to lauch the google voice dialer but still doesnt work.
Could anyonee help me out?
Thanks
This MOD will allow for Wired headset controls with your headset so that you can control volume, and track control. It will also allow for using the mic for voice control through Google Voice Search. I created this thread because on KitKat ROMs, headset control works automatically, but the KitKat ROMs have worse performance because they are not optimized for the Snapdragon 800 SoC or HTML5. Now you can go back to stock and have all the features you like, such as KnockOn and HTML5 support, and Headset Control. No more Call / redial when pressing middle click button.
Step 1
Go into /system/usr/keylayouts/Generic.kl and edit the line "key 226 HEADSETHOOK" to "key 226 MEDIA_PLAY_PAUSE"
This will make the middle click button on your headset play or pause tracks.
Note: You can replace the "HEADSETHOOK" with whatever action you wish such as MEDIA_NEXT or MEDIA_PREVIOUS. In order to stop the redial from occurring whenever you press the middle button on the headset you have to change the key 226 value. If you leave the key 226 blank then you won't be able to use Xposed Additions but you will have successfully disabled redial.
You will have to reboot for effect to take place of course.
Option Step (For more configurability)
Download and install Xposed Framework
Open the Framework, and download the Xposed Additions under Modules. Enable the Module, and reboot for changes to take effect.
Open the Xposed Additions module, under "Re-map Settings" option, select "Add new button." Plug in headphones. Press the headphone button (middle button) and it will recognize it as a key.
Xposed additons allows you to configure settings for when the screen is off and when it is on. You should configure both "Screen Off" and "Screen On" so that headset control works when screen is on or off. By default, "Screen On" is set to be configured.
Configure the "Click Action" as Media Play/Pause.
Final Step ( This step allows you to configure long press to open voice control, and to do volume and Next/Previous Track Control)
Now the middle click button on your headset will be able to play and pause music. To add volume control and enable voice control, you can then download JAYS Headset Control which is free from the Google Play Store.
Also download Voice Search Shortcut (If you do not then when you configure JAYS Headset Control, you will only have the option to launch the regular Google Voice Search, which requires saying "Ok Google" first. But if you configure it to launch this VS Shortcut app, then when you activate the app it will begin listening for dictation directly.)
Once installed, open the JAYS Headset Control app. You must select 3-button controller, not 1-button. Then set it to Advanced Mode.
Under "Button Actions" configure "Click and Hold" which alows you to configure the long press action. Configure it to "Launch App" and select "VS Shortcut" so that when you long press it will immediately allow for voice dictation to make calls, ask for weather, stocks, sport scores, set alarms, etc.
Configure and explore the other options as you see fit to meet your needs. You can configure the "Double Click and Hold" and "Triple Click and Hold" to do volume control.
Using JAYS Headset Control will disable the ability control tracks using the hardware volume buttons (that's if you have enabled this option in Gravity Box or G2 Xposed) You should disable the volume key control in Gravity Box or Xposed if you are using JAYS Headset Control otherwise when you press the volume key when the screen is off, the volume down will increase volume and the volume up will register as volume down. It's a weird result of enabling headset control, but a necessary sacrifice. Unless... you read more below for another solution.
Enable Volume Key for Track Control ------------------------------------------------------
If you wish to be able to have hardware volume key track control and headset control, then follow this method.
Option 1
Disable JAYS Headset Control. Enable Volume Key Control using Gravity Box or Xposed. Download Ultimate HeadSet Controller, a free app from the Google Play Store. Using this app you can lower and raise volume, and get the ability to have triple click as previous track. However this means that there is no way to do a long press and have the voice search come up. If you would rather voice search, then continue reading.
Option 2
Disable JAYS Headset Control. Enable Volume Key Control using Gravity Box or Xposed. Get Xposed Additions Pro. You can find it floating around the internet with a simple google search "Xposed Additions Pro apk"
(Allows Double Click setting and Long Click)
Once installed, make sure the module is enabled in Xposed, then set "Double Click" for Next Track and "Long Press" as Previous. For the "Screen On" you can set "Long Press" to be Search and have the indirect voice search whereby you have to first pause the music before it will allow you to use the mic, and if you did not pause before you did the long press, then pausing the music after the long press won't activate the mic. For the "Screen Off" unfortunately there is no option to do select Search as the action therefore you can use Previous as the action since there is no triple click setting in this app. If you must have the option to go to previous track, then set "Long Press" for "Screen On" and "Screen Off" to Previous but you sacrifice voice search.
Hi, I have the headset that comes with the phone (MH-EX300AP) and im having a very annoying bug, if I use the stock music app, the physical button on the headset has a 2 second delay when I press it.
Only happens on the stock music app, I also use Huawei music app and it reacts instantly.
halp!