Post Reply

[guide] remap headset button to work with ultra

OP Pannam

26th January 2014, 03:33 PM   |  #1  
OP Senior Member
Thanks Meter: 21
 
115 posts
Join Date:Joined: Nov 2012
More
Hi Guys,

Sorry if this is a re post or someone else has come up with a better alternative. Hopefully then a moderator will clean this thread.

As most of us have just migrated to ultra from different models, we may have a spare headset laying round. The issue here is most of the headset is just not compatible with ultra i.e the buttons don't function as we want it to. This is a guide that may help solve that problem getting the best out of our old headset or the ones from different models

These are the steps

0.MAKE BACKUP OF SYSTEM!
1. root
2.Install THIS
3.Plug in your headset, open Key test and click any button
4.Note down scancode. In my case it was 257
5.Browse to system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl (use rootbrowser)
6.search for HEADSETHOOK
7.change the key to what ever scancode gives i.e 257 (in my case) . It should look like this

#original: key 226 HEADSETHOOK WAKE
#changed: key 257 HEADSETHOOK WAKE

8.now change the scancode number, in my case key 257 to 226 (or the key HEADSETHOOK is assigned to)

#original: key 257 VOLUME_UP WAKE
#changed: key 226 VOLUME_UP WAKE

9. Install THIS
10.Reboot
11.Configure buttons as per your wish

Hope its helpful.
Last edited by Pannam; 26th January 2014 at 03:35 PM.
The Following 8 Users Say Thank You to Pannam For This Useful Post: [ View ]
26th January 2014, 07:36 PM   |  #2  
blueether's Avatar
Senior Member
Flag Te Awamutu, New Zealand
Thanks Meter: 1,253
 
2,830 posts
Join Date:Joined: Jan 2011
Donate to Me
More
good post, but probably should be in themes and apps section with the other Mods?
The Following User Says Thank You to blueether For This Useful Post: [ View ]
28th January 2014, 02:18 PM   |  #3  
ps000000's Avatar
Senior Member
Flag Nonthaburi / Bangkok
Thanks Meter: 74
 
572 posts
Join Date:Joined: Sep 2011
More
Smile
I am very interesting

I have generic headphone button with mic

only Play/Pause button work

(Back/Next button dont work)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Z Ultra Themes and Apps by ThreadRank