Has anyone figured out how to disable the annoying feature of sense that makes the phone redial the last number you called when double clicking the headset button?
Is there any files one can edit to disable it and enable double click to skip tracks? I've tried apps from the Play store but they did not function correctly...
I also tried editing the Generic.kl key layout file, but haven't managed to figure out what command to assign, because the standard HEADSETHOOK seems to be coded to do the redial on another level.
Sent from my HTC One using Tapatalk 4 Beta
MaTiCeK- said:
Has anyone figured out how to disable the annoying feature of sense that makes the phone redial the last number you called when double clicking the headset button?
Is there any files one can edit to disable it and enable double click to skip tracks? I've tried apps from the Play store but they did not function correctly...
I also tried editing the Generic.kl key layout file, but haven't managed to figure out what command to assign, because the standard HEADSETHOOK seems to be coded to do the redial on another level.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
As far as I know, on the standard stock ROM you can't, but there are some apps in the Play Store that lets you map button actions. Ex: Two short presses -> skip to next track etc.
I suggest you try Jays Headset Control- make sure to enable "HTC Redial fix" under "Advanced" "Settings"
Jays doesn't work. The headset button control app does but isn't reliable.
Sent from my HTC One using Tapatalk 4 Beta
I use the headset controller app. It's been working great for me. It also has a htc redial fix check in settings.
https://play.google.com/store/apps/details?id=com.kober.headsetbutton
Sent from my HTC One using Tapatalk 2
HTC ONE headset redial fix
MaTiCeK- said:
Has anyone figured out how to disable the annoying feature of sense that makes the phone redial the last number you called when double clicking the headset button?
Is there any files one can edit to disable it and enable double click to skip tracks? I've tried apps from the Play store but they did not function correctly...
I also tried editing the Generic.kl key layout file, but haven't managed to figure out what command to assign, because the standard HEADSETHOOK seems to be coded to do the redial on another level.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
It certainly can be fixed by modifying the Generic.kl file but i found that it breaks a lot of required functionality and needs lot more work to restore those. If your ONE is rooted you can use the Headsetmod Xposed mod in the link http://forum.xda-developers.com/showthread.php?t=2423160 . (Tested and working on ARHD 13.3)
Related
Hi all. I have just bought a Motorola Bluetooth Keyboard to use with my Note. Mostly it works fine, but the key mapping (if that is the right phrase) seems to be a little off.
Firstly, it's obviously using a different (american) layout, with the @ key not being where it is supposed to be. I can live with this, but it would be better if I could fix it.
More importantly The Home, Back, and Search buttons work fine, but the Menu button doesn't seem to work, nor does the App Draw button.
Is there any way too configure the keyboard so that these buttons work correctly?
Apologies if there has already been a thread about this, I did have a look before I posted, but couldn't find an answer.
I know it's been a while since this was posted but have you found a solution? I bought the same keyboard to use with my Nexus 7 and I've got the same exact issues with the App drawer and Menu keys.
Thanks
Sent from my Nexus 7 using Tapatalk 4
it will take some tinkering but the following sources show how to check/alter keymapping. Havent googled but maybe somone has a keymapping file for you.
anyways some links to how to change keyboard mappings on your device:
http://rjw57.github.io/notes/technical/android-keyboard/
http://forum.xda-developers.com/showthread.php?t=765885
http://www.thriveforums.org/forum/t...layout-any-usb-bluetooth-keyboard-rooted.html
Sent from my GT-N7000 using Tapatalk 2
Thanks. I'll give it a go.
Sent from my Nexus 7 using Tapatalk 4
That'd be nice. Another few items that are still on the checklist include:
- Button re-mapper. I've used the search function here, but I've only seen this brought up in the context of other phone models and their custom ROMs. Is there a ROOT app that grants me Activator (iPhone) type functionality? I'd love to be able to hold-press skip tracks forward and backward.
- Something to instill confidence in the play/pause button on the stock mic headset. Sometimes it works as it should - other times, you have to press it twice, three times, hold it down, do a rain dance... I know the little guy's got it in him. I've seen him accomplish the feat, it just seems he might need a little encouragement from some ROOT app.
- I've searched quite a bit for this last one. Is there honestly no way to calibrate the S-pen? I do the little rubric that comes up when you dial the #14214# or whatever it is, as well as switching back and forth from right handed to left handed. There aren't any other more fruitful methods?
My ROM is the recent German LPY release.
Thanks guys!
If/when I don't want to hear the camera sound, I just turn the volume all the way to silent. Kind of silly, but I think there is some sort of stupid rule that says phones have to have that sound, so you don't take "bad pictures" of people or some BS.
Search Play Store for "Camera ICS"
It's based on the AOSP camera from 4.0.x but has the menu option of "silent mode"
You can also set the volume keys to be auto-focus and "shoot" for volume +/- so you could hold the phone in "reverse landscape" and have volume keys under right hand fingers then hold volume down then roll finger across to press volume up as well to take the shot? (that's how I have mine configured)
Great camera app! Thanks! No one knows of any fuctioning button remapping software?
u need to be rooted
then use ES File Explorer in setting enable Mount File System R/W
Navigate to
/system/media/audio/ui
rename Shutter_01.ogg to something else
Xephrey said:
That'd be nice. Another few items that are still on the checklist include:
- Button re-mapper. I've used the search function here, but I've only seen this brought up in the context of other phone models and their custom ROMs. Is there a ROOT app that grants me Activator (iPhone) type functionality? I'd love to be able to hold-press skip tracks forward and backward.
- Something to instill confidence in the play/pause button on the stock mic headset. Sometimes it works as it should - other times, you have to press it twice, three times, hold it down, do a rain dance... I know the little guy's got it in him. I've seen him accomplish the feat, it just seems he might need a little encouragement from some ROOT app.
- I've searched quite a bit for this last one. Is there honestly no way to calibrate the S-pen? I do the little rubric that comes up when you dial the #14214# or whatever it is, as well as switching back and forth from right handed to left handed. There aren't any other more fruitful methods?
My ROM is the recent German LPY release.
Thanks guys!
Click to expand...
Click to collapse
Try touchscreen tune for note to calibrate spen (you have to register for a fee to make it stick, but you can test to make sure it works on your rom (requires root). If rooted, you can disable .ogg file as another suggested.
Great suggestions, guys! Thanks so much.
antiguangenius said:
Navigate to
/system/media/audio/ui
rename Shutter_01.ogg to something else
Click to expand...
Click to collapse
Thank you! Works fantastically.
I just replaced mine with a sample of someone saying "gotcha".
Sent from my GT-N7000 using XDA
antiguangenius said:
u need to be rooted
then use ES File Explorer in setting enable Mount File System R/W
Navigate to
/system/media/audio/ui
rename Shutter_01.ogg to something else
Click to expand...
Click to collapse
I enable Mount File System R/W but I can't find /system, any ideas?
Xephrey said:
- Button re-mapper. I've used the search function here, but I've only seen this brought up in the context of other phone models and their custom ROMs. Is there a ROOT app that grants me Activator (iPhone) type functionality? I'd love to be able to hold-press skip tracks forward and backward.
Click to expand...
Click to collapse
I just did a search for this and found this post here (as such I can also confirm what OP has said, and so I'm seconding this notion.)
To add to what OP stated I also would like to create Play/Pause by holding both sides of the respective Volume Buttons at the same time as well. Though I think for that to be done properly I would have to link this functionality to a music based app to prevent unwanted shenanigans.
Delete camera sounds at system media folder (you need root of course).
And replace your camera apk with this (without focus sound to made complete silent camera):
http://forum.xda-developers.com/showthread.php?t=1371755
lexi250 said:
I enable Mount File System R/W but I can't find /system, any ideas?
Click to expand...
Click to collapse
Enable Up to Root
Sent from my GT-N7000
Bump
REQUIREMENTS
ROOT ACCESS
SINGLE-BUTTON HEADSET
ANDROID 4.1+
PREFACE
TESTED ON THE NEXUS 4 RUNNING 4.2
If you often listen to music using a single-button headset (the kind that many Samsung devices tend to ship with), then you should know that Google lets you control the headset button. By default, you can:
Play/Pause (Single Press)
Skip track (Double Press)
Launch Voice Search (Single-click Long Press)
Pretty cool, right? So what's the deal, then?
The issue is you CANNOT customize how you want the system to respond to your button input.
What if you want to long press to increase volume?
What if you want to triple click to go to the previous track?
What if you want to double click and hold to decrease volume?
What if you want to launch an app besides Google Voice Search (I personally have bound utter! in place of Google's search!)?
Nope, too bad.
Well, there is a workaround for this.
How does it work?
In /system/usr/keylayout, two files called Generic.kl and hs_detect.kl reside where you can modify the keymapping of the HEADSETHOOK input to an alternate key that is normally found on a 3-button headset, specifically MEDIA_NEXT. Then, you can modify how the system responds to MEDIA_NEXT by using a headset control app.
TO FIX:
**NOTE: ITEMS SURROUNDED BY A BLUE BOX MEAN IT IS THE ORIGINAL VALUE WHILE ITEMS SURROUNDED BY A RED BOX MEANS IT IS THE NEW VALUE**
1) Install the Keytest App found here: https://github.com/chrisboyle/keytest/downloads
2) Once inside the app, press the headset button. On your screen, it should read as follows:
Code:
keyCode=KEYCODE_HEATSETHOOK
scanCode=226
as shown in the following picture: http://i.imgur.com/dogxm.png
3) Using a root-enabled file explorer app (I personally use Solid Explorer), go to /system/usr/keylayout and make a backup of Generic.kl and hs_detect.kl (copying them to your internal storage, for example /sdcard/headset).
4) You will modify these two files on two different lines. The folder should look like this: http://i.imgur.com/ShpCv.png
Generic.kl:
ORIGINAL: http://i.imgur.com/dzmPy.png AND http://i.imgur.com/bdRRz.png
NEW: http://i.imgur.com/ZddZT.png AND http://i.imgur.com/PPAZk.png
hs_detect.kl:
ORIGINAL: http://i.imgur.com/dVaXK.png
NEW: http://i.imgur.com/Deh9r.png NOTE: I MANUALLY ADDED THE KEY 163 LINE IN
Simple right? You are just flipping the two values essentially.
5) Save the changes. Reboot.
6) Open the Keytest app again. Press the headset button. On your screen, it should read as follows:
Code:
keyCode=KEYCODE_MEDIA_NEXT
scanCode=226
as shown in the following picture: http://i.imgur.com/2BSHM.png
7) Now all you need to do is use an app to configure the MEDIA_NEXT key to your liking.
MEDIA_NEXT is a key typically found on 3-button headsets, symbolized by the "Right" key. An app like Headset Button Controller or Headset Droid should do the trick. Both are paid apps, but there are trial versions available. If there are any free alternatives that can do the trick, let me know and I'll add it in! (I am NOT in any way affiliated with the app developers!)
LIMITATIONS
1)A ROM update will wipe/reset the files.
1a) How can you avoid this? Pretty simple, actually! Just keep a backup of Generic.kl and hs_detect.kl after you make the changes to them, and inject them into the zip file before you flash the ROM. You can also use the following script to do this which needs to be run as root, given that you have the two files backed up in /sdcard/headset
Code:
mount -o rw,remount /system
cp -f /sdcard/headset/* /system/usr/keylayout
chmod 644 /system/usr/keylayout/*
mount -o ro,remount /system
2) An actual or simulated "MEDIA_NEXT" input will now not be recognized as a MEDIA_NEXT. This will affect, for example, 3-button headsets or tasker tasks that simulate a MEDIA_NEXT input. Also: ROMs with the long-press to skip tracks will no longer skip track on holding volume-up, as this is no longer recognized as a MEDIA_NEXT input.
2a) How can you avoid this? You can instead use a different key to be replaced rather than MEDIA_NEXT, if you so desire. The work-up will be the exact same, only the values you swap will be different.
CREDITS
Kenkiller: http://forum.xda-developers.com/showpost.php?p=32999600&postcount=38
Headset Button Controller Dev
Headset Droid Dev
Redditor muzeofmobo for the script
Please respond to this post if it worked for you! I don't have my Nexus 4 yet, but I am absolutely positive it works on it as well! It worked for my GNexus on 4.1 and 4.2, and it has worked across many other devices as well.
Bump for visibility!
Sent from my Galaxy Nexus using Tapatalk 2
Thanks for this :good: It'll help me hunting for why I can't get the headset working properly in utter! !
Works PERFECT! THANKS!!!! (for nexus s)
https://play.google.com/store/apps/details?id=se.jays.headsetcontrol
I used to use this app. It offered the same functionality without having to tweak any files. I have not tested on n4 though.
1234568 said:
https://play.google.com/store/apps/details?id=se.jays.headsetcontrol
I used to use this app. It offered the same functionality without having to tweak any files. I have not tested on n4 though.
Click to expand...
Click to collapse
This tweak is meant for long press problem only opening google now. Even Jays says this
"Compatibility
- Click-and-hold actions will not work in Android 4.1+ as Google Now intercepts them."
so even if you use jays your long press should not work unless your rom has helped you change it!
Used this app back in the day before i got my MW600..
https://play.google.com/store/apps/details?id=tvk.headvol
PMaksymiuk said:
Used this app back in the day before i got my MW600..
https://play.google.com/store/apps/details?id=tvk.headvol
Click to expand...
Click to collapse
Yes, Headset Droid is another option for users who don't want to use Headset Button Controller!
I just received my Nexus 4 earlier today, and I saw that there were some changes done in the /system/usr/keylayout folder. I managed to fix the problem, and will update the OP with new pictures ASAP for those looking to fix the headset problem.
OP updated with new instructions specific to the Nexus 4!
First off thanks to the OP. I can confirm that this works perfectly. Really don't understand why Google limited the click-and-hold functionality in the first place.
Despite this method working as expected, it is just tricking the Android system. Would it be possible for developers to actually remove the limitation itself from Jellybean. This would mean that you wouldn't need to inject files after each rom update etc.
IAmAN00bie said:
I just received my Nexus 4 earlier today, and I saw that there were some changes done in the /system/usr/keylayout folder. I managed to fix the problem, and will update the OP with new pictures ASAP for those looking to fix the headset problem.
Click to expand...
Click to collapse
I had the same problem after the JB 4.2.1 upgrade. hs_detect.kl isn't there. The same modifications can be made to set_jack.kl (+ add the line as posted in the original).
This works just fine now!
However, I still can't launch utter (using headset button controller), since the shortcut found in utter main screen creates a shortcut to start listening on the homescreen. Every time I triple press, a shortcut is made to my homescreen.
How did you bind utter to listen?
NEW: http://i.imgur.com/ZddZT.png AND http://i.imgur.com/ZddZT.png
Click to expand...
Click to collapse
OP these are 2 the same images, please edit as some people will get confused
---------- Post added at 09:48 PM ---------- Previous post was at 09:19 PM ----------
Ohh and also... how do you answer a call after changes? Ive tried headset Droid and Headset Button Controller and none of the settings allows me to answer call
MattSkeet said:
OP these are 2 the same images, please edit as some people will get confused
---------- Post added at 09:48 PM ---------- Previous post was at 09:19 PM ----------
Ohh and also... how do you answer a call after changes? Ive tried headset Droid and Headset Button Controller and none of the settings allows me to answer call
Click to expand...
Click to collapse
Oops, didn't catch that! I'll update it when I get done with my finals today ;_;. Did you configure the Right button aka the media next button in headset droid? Remember the configuration changed when you did the mod!
Sent from my Nexus 4 using Tapatalk 2
IAmAN00bie said:
Oops, didn't catch that! I'll update it when I get done with my finals today ;_;. Did you configure the Right button aka the media next button in headset droid? Remember the configuration changed when you did the mod!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Yeah I did. Set the right button in the right way and also disabled all other buttons . I can change volume skip tracks play pause but unable to answer calls even tho it is set up
Sent from my Nexus 4 using xda premium
MattSkeet said:
Yeah I did. Set the right button in the right way and also disabled all other buttons . I can change volume skip tracks play pause but unable to answer calls even tho it is set up
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I never actually used the answer calls feature, as I don't have an inline mic. I'll try to see what's up though.
Sent from my Nexus 4 using Tapatalk 2
Quick update, fixed the OP links. Sorry if I caused anyone confusion. I hope somebody finds this guide useful!
Hey Guys
I have a Galaxy Note 2 and followed the switching steps mentioned to switch.from the middle to right button.
However thiere is a problem that sometimes happens... the "long press" seems to over-ride the single press so that when I'm trying to click once to pause my music, a new song comes on.
The 2nd thing is that for some reason "click and hold" has no effect whats so ever (as I could have just used it instead of long click)
Curious if you guys have had these experiences.
Boogerwooger said:
Hey Guys
I have a Galaxy Note 2 and followed the switching steps mentioned to switch.from the middle to right button.
However thiere is a problem that sometimes happens... the "long press" seems to over-ride the single press so that when I'm trying to click once to pause my music, a new song comes on.
The 2nd thing is that for some reason "click and hold" has no effect whats so ever (as I could have just used it instead of long click)
Curious if you guys have had these experiences.
Click to expand...
Click to collapse
What app are you using to control your clicks?
Hello does anyone know how to reconfigure custom headphones on our lg 4x? I am using headphones with 3 buttons instead one like in stock lg headphones. All 3 buttons does the same thing. single click play/pause, double click next track and long click is open google voice. if anyone knows the solution it would be great to share :good:
hi,
first of all i would install "jays headset control" to see if you can use the different buttons at all. (you have the option to chose between a one-button and a three-button headset)
if this is not working either, install keytest.apk (google it) and see if each button sends a different keycode. if so, you should be able to use it for your purpose!
cheers
Thanks for your reply. I did the test with keytest.apk and all three buttons sends the same keycode. I have read somewhere that can be changed only by kernel but I don't know how to do it
On our device it's not supported by default, but I recall seeing kholk implement this kinda stuff in eprj kernel, you might check that out.
Hi Guys,
I was wondering if the Bixby Button can be used as Mute button during the call. Remember the Mute button on the blackberries? Very handy.
venustraphobic said:
Hi Guys,
I was wondering if the Bixby Button can be used as Mute button during the call. Remember the Mute button on the blackberries? Very handy.
Click to expand...
Click to collapse
bxActions app (Play Store) should be able to do it / configure the Bixby button for this function.
See screenshots for some use /options
Don't know if this option is available in free version.
I'm using the Pro version.
Good luck
I'm guessing OP means to mute the mic during a phone call, I'm not sure if bxActions can do that.
venustraphobic said:
Hi Guys,
I was wondering if the Bixby Button can be used as Mute button during the call. Remember the Mute button on the blackberries? Very handy.
Click to expand...
Click to collapse
You can try using the Button Mapper app from the Play Store and assigning the "Mute Microphone" action to the Bixby Button. You need to run the suggested ADB command first before you can do it though.
Sent from my SM-N950U using Tapatalk
I would LOVE to be able to make this goofy bixby button toggle mic mute during calls. I have to do a ton of conference calls for work and really miss having a button for this from BB days.
...
Sent from my Note 8 using XDA Labs
whatever happen to recording phone calls.. older samsungs did.
without installing an app
bogarty said:
You can try using the Button Mapper app from the Play Store and assigning the "Mute Microphone" action to the Bixby Button. You need to run the suggested ADB command first before you can do it though.
Click to expand...
Click to collapse
Finally got back to this. Installed and enabled it. However when on call doesn't mute the call. When not on call i press the button toast message shows up "mic muted"
BxActions + Tasker should do the job *not tested.
is there a solution?
Has anyone found a solution? Seems there area alot of "may work" but nothing has been confirmed?
mankvl said:
BxActions + Tasker should do the job *not tested.
Click to expand...
Click to collapse
That's interesting, lemme try with tasker
alternate way that need to install a app, I am using this
https://play.google.com/store/apps/details?id=org.skvalex.cr
rsswga said:
whatever happen to recording phone calls.. older samsungs did.
without installing an app
Click to expand...
Click to collapse
"Bixby Mute" app does the trick
Bixby Mute
venustraphobic said:
That's interesting, lemme try with tasker
Click to expand...
Click to collapse
Buxby Mute app does this exactly.