Simple Headset Button Fix (root)

2 Mar

Simple Headset Button fix (Root)

Fixes Jellybean 4.1 and 4.2 Headset button
Removes Google now taking control
Simply resets your wired headset button to [MEDIA_NEXT]
Use your prefered headset control program to set button to your preference

Work’s with:

Headset Button Controller
Headset Droid
Jay’s Headset Control
or any other Headset control program

*Root is required for this to work
**May not work with CM or other custom ROMS.

PlayStore

Advertisements

3 Responses to “Simple Headset Button Fix (root)”

  1. spark March 28, 2013 at 7:10 pm #

    Undo …return to orignal setting dosent work plz help…
    Urgent…

    • busstopgames April 8, 2013 at 8:24 pm #

      Hi, I am not sure why it is not working, I will look at the code and release an update if necessary.
      In the mean time it is pretty simple to fix manually.

      The app makes a back of the files changed on the sdcard in /sbheadset/backup
      You can copy those 2 files using a files explorer with root privileges such as ES Explorer to to /system/usr/keylayout

      If that does not work you can edit the files in the system folder manually here are some complete steps to make things foolproof.

      As I can not see what is happening with your device here is my advice to fix:

      1) Install the Keytest App from here https://github.com/chrisboyle/keytest/downloads

      2) Once inside the app, press the headset button. It should show that HEADSETHOOK is recognized as scancode 226. (If not, just make note of what number it does come out as.)

      3) Download ES Explorer if you don’t have it already from the play store here: https://play.google.com/store/apps/details?id=com.estrongs.android.pop&feature=nav_result

      4) Using ES Explorer, go to /system/usr/keylayout and long click and edit both of these files Generic.kl and sec_jack.kl

      4) You will modify these two files on two different lines.

      ORIGINAL

      key 163 MEDIA_NEXT WAKE
      ………………..
      ………………..
      ………………..
      key 226 HEADSETHOOK WAKE

    • busstopgames May 21, 2013 at 10:32 am #

      I have posted details on how to return to defaults manually if you have and difficulties. It is pretty simple to do. I apologise for the auto restore feature not working for your device, however you will find backups on your sdcard and you can simply copy them back to your system to restore maually

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: