MOD - Working Headset Buttons -Alpha - RAZR i Android Development

Hey,
i just tryed fixing the Headset Buttons for Razr I...
It works for one button Headsets & I need someone trying it with 3 Button headsets
here are the files that have to be copied to
/system/usr/keylayout
don't forget to set rights!!!
U'll need an App like Headset Droid to configure Buttons for Next Button!!!! NOT for Play/Pause Button!!!
Modded Generic.kl
Modded intel_short_long_press.kl
Modded medifield_audio_Intel_R__MID_AUDIO_Jack.kl
Original Generic.kl
Original intel_short_long_press.kl
Original medifield_audio_Intel_R__MID_AUDIO_Jack.kl
Please give feedback

Hi mate. Cool idea, have beats headphones and always wanted to make control work with motorola. Had sensation xe before and it was great to control music by headphones.
Keep it up mate.
For me your mod doesn't work just recognised all 3 bottoms as "next track"
I used headset control app. Hope you'll figure it out and our headphones will be 100% useful again
Cheers mate.
Sent from my XT890 using xda premium

As workaround you can set all things to next key first of all.just define one click as play/pause and double click as next, press and hold as volume up and reset or as ever u like. Did you thought on rebooting the phone?
Gesendet von meinem XT890 mit Tapatalk 2

mgvinc32 said:
As workaround you can set all things to next key first of all.just define one click as play/pause and double click as next, press and hold as volume up and reset or as ever u like. Did you thought on rebooting the phone?
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
The first think was, the files you provided are *. txt instead of *. kl so had to rename it. Later I replaced files and set up program for 3 bottoms, one next track one start stop track and one previous track. The problem was all 3 bottoms was recognised as "next track"
This is strange
What do you think about it?? If you have any ideas what am I doing wrong please let me know mate. Cheers
Sent from my XT890 using xda premium

I gonna have a look on it tonight...at my place I should have headphones from apple.
Gesendet von meinem XT890 mit Tapatalk 2

Thx.. It workes perfect for me with pillama0.5 and walkman...
Gesendet von meinem XT890 mit Tapatalk 2

Did not work at all here
When I had my Defy, i just changed the "headsethook" entry in some file I cant remenber to "media_next" and all 3 buttons were used for that.
In Razr I cant even to that, using a keymap app when I press the buttons on my headset it won't even show up.

there is a way to enable "volume rocker?"

Yes gonna make a Script
Gesendet von meinem XT890 mit Tapatalk 2

lordvampire said:
Thx.. It workes perfect for me with pillama0.5 and walkman...
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
Mate what kind of earphones are you using?? It seems to not work with my beats headphones. They use to work with me sensation XE but motorola mess this up
Sent from my XT890 using xda premium

I can't not download, it say bad link
-------------------------------
never mind, its my phone that wont download
thx

Links checked -> online

My headset buttons doesnt even get recognized with keytest I'm using omar rom.
I used the same headset on my defy with cm10 and it was working.
Can anyone use keytest app to see if it is just me?

kelvinmorcillo said:
My headset buttons doesnt even get recognized with keytest I'm using omar rom.
I used the same headset on my defy with cm10 and it was working.
Can anyone use keytest app to see if it is just me?
Click to expand...
Click to collapse
anyone?

kelvinmorcillo said:
anyone?
Click to expand...
Click to collapse
With my earphones (beats from sensation xe) all 3 headset bottoms are recognised as one bottom
Sent from my XT890 using xda premium

highflights said:
With my earphones (beats from sensation xe) all 3 headset bottoms are recognised as one bottom
Sent from my XT890 using xda premium
Click to expand...
Click to collapse
In my experience the headphone doesn't get recognized at all, while in my old defy it still do This is a handy tool to use when you're commuting. :crying:

someone has tried this mod with a Samsung's GS3 headsets? they have 3 buttons

This will work with my headphones?
Bose mie2i

Related

ICS: Long press volume to skip track??

Tried turning this on in player pro but doesn't work... I want to be able to skip track while lock screened by holding volume up. Advice anyone?
Sent from my GT-N7000 using Tapatalk 2
Anyone?
Sent from my GT-N7000 using Tapatalk 2
Not exactly the same, but still
for that function I used JAYS Headset Control from Google play (on GB).
Now (on ICS) I've also got better IEM's and acccept not having any buttons...
Link: https://play.google.com/store/apps/details?id=se.jays.headsetcontrol&hl=en
slinbin said:
Not exactly the same, but still
for that function I used JAYS Headset Control from Google play (on GB).
Now (on ICS) I've also got better IEM's and acccept not having any buttons...
Link: https://play.google.com/store/apps/details?id=se.jays.headsetcontrol&hl=en
Click to expand...
Click to collapse
Sir, thank you! Better than nothing and works solidly. Hopefully somebody will figure out how to get long press working.
Sent from my GT-N7000 using Tapatalk 2

Lock the volume keys?

Hello, when I lock my screen with the Powerkey the the Volume up and down key still work! It is really annoying when I heard music with Bluetooth headset and my Note in my pocket gets louder or more silent. Is there any way to lock them too?
Sorry for my crappy english!
Gesendet von meinem GT-N7000 mit Tapatalk 2
Edea said:
Hello, when I lock my screen with the Powerkey the the Volume up and down key still work! It is really annoying when I heard music with Bluetooth headset and my Note in my pocket gets louder or more silent. Is there any way to lock them too?
Sorry for my crappy english!
Gesendet von meinem GT-N7000 mit Tapatalk 2
Click to expand...
Click to collapse
Buy hard case because it protect the keys from triggering it.

Rom with switching music with volume rockers

Hi all! Recently I bought P970, so I'm asking - is there any rom with switching music with volume buttons like in CyanogenMod?
cm7 maybe?
Gesendet von meinem LG-P970 mit Tapatalk 2
uhm..
...i'm currently using FOP ICS (unofficial cm9) and it can do that, as long as you lock the phone and your screen is off, as far as i know....
...but if you take lots of photos with your phone then this isn't for you...there's a bug with the rom...
anyways, here's the link
http://forum.xda-developers.com/showthread.php?t=1650537
ps: if your using a different player like poweramp, make sure you activate "respond to headset buttons". then just long press the up/down volume button to change to the next/previous song
You can use v0.06 Mercurified
EDIT
v0.41 Mercurified is also available
Sent from my LG-P970 using xda premium
CM7 does the job and probably almost every kang of it
MIUI GB has that
Sent from my P-970 using xda app-developers app

[Q] Audio just comming out of speakers

Hello, I installed Omar avelars rom, the latest one, but since I did that I can't manage to play music, videos or games on my earphones. I don't know what to do since I have already rebooted, and flashed the rom twice, please help!
Thank you
Omar Avelars link: http://forum.xda-developers.com/showthread.php?t=2174731
Also, haven't managed to install busybox, I have tried with multiple installers and all fail, if you could help with that it would be awesome.
BusyBox is already added by Omar. Usual installers are made for Arm and will break our BusyBox.
You tried some different Headphones? I only listened Music via Bluetooth on the latest Build, but i never had issues on previous releases.
Gesendet von meinem XT890 mit Tapatalk 2
Yes, I have tried with multiple headphones, but for some reason none work just the default Motorola ones, I just checked. What version of busybox comes? And if it does, do you know if this cellphone can run dSploit? Or Net spoof?
Sent from my XT890 using Tapatalk 2
I'll try dsploit later, when i'm back home. Right now i'm @ work (My Machine is doing the job @ the Moment )
Your Headphones are working on Stock Rom? It's well known, that the Port for the Headphones is a lil bit to easy to break on Moto Phones.
Gesendet von meinem XT890 mit Tapatalk 2
Yes, they worked just fine, but since I installed this it doesn't work, my beats or apple earphones, but the stock earphones do work. Thanks a lot, I really need to fix this, I listen to music very frequently so it's important for me to fix this
Sent from my XT890 using Tapatalk 2
I only got the Moto Headphones @ work, but they are working fine here. Just tested it a couple of minutes ago. As soon as i connect them my Music starts playing and i can hear it.
Gesendet von meinem XT890 mit Tapatalk 2
Did you try other earphones? Like Apple? Please do
Sent from my XT890 using Tapatalk 2
Like i said, i only got the Moto's here @ work and some Sony @ Home. But definitely no Apple Stuff
Gesendet von meinem XT890 mit Tapatalk 2
OK, and another question, if I install AIO mood on top of Omar's ROM will I have Omar's busybox or Omar's?
Sent from my XT890 using Tapatalk 2

Onscreen softkeys

Guys by any chance do you know how to disable the capacitive keys and enable the onscreen keys?
Sent from my LG-P880 using xda app-developers app
leortez said:
Guys by any chance do you know how to disable the capacitive keys and enable the onscreen keys?
Click to expand...
Click to collapse
Install a custom ROM with them in?
There's a guide around for that. Have a look at the index linked in my signature, it's in there.
muellersmattes said:
There's a guide around for that. Have a look at the index linked in my signature, it's in there.
Click to expand...
Click to collapse
Well i went on and gave it a search on that thread. I was unable to find anything related to it. I know that you can enable the soft keys with custom ROMs. I would like to do this with cm10.1.2. Which doesn't have the option built in, I did this with a previous phone I had and was able to disable to capacitive external keys. And enabled the onscreen. Which makes things a lot more comfortable. If anyone has any other ideas, would be very appreciated.
Sent from my LG-P880 using xda app-developers app
I'm afraid you'll have to put some lines into the build.prop. There's no option to enable them from the menu.
Gesendet von meinem LG-P880 mit Tapatalk 4
muellersmattes said:
I'm afraid you'll have to put some lines into the build.prop. There's no option to enable them from the menu.
Click to expand...
Click to collapse
Isn't it the old
Code:
qemu.hw.mainkeys=0
line?
Although this will just give default size buttons with no way to adjust the size.
[MOD][CM10/10.1] On Screen Buttons is for the Galaxy S, but might give you an idea where to start looking if you wish to try developing this yourself.
Or you could try SoftKey Enabler from the Play Store and see if that works on our device - I'm running Magic ROM v2 and love having capacitive buttons so have no interest in tryng this myself.
That's the one. And you can disable the capacitive buttons by editing a file, it's all described there. Of course it's not directly in the index, the guide is linked in the "guides" section. I'm on Tapatalk now, so no way to directly give the link to the right thread.
Gesendet von meinem LG-P880 mit Tapatalk 4
muellersmattes said:
That's the one. And you can disable the capacitive buttons by editing a file, it's all described there. Of course it's not directly in the index, the guide is linked in the "guides" section. I'm on Tapatalk now, so no way to directly give the link to the right thread.
Gesendet von meinem LG-P880 mit Tapatalk 4
Click to expand...
Click to collapse
here you go

Categories

Resources