I use Real ICS v6, in LWW, I have a problem with the Walkman key and I use PowerAMP and as it says in several tutorials in pm8058-keypad
:
WAKE key 115 VOLUME_UP
WAKE key 114 VOLUME_DOWN
# KEY_HOME
102 HOME key WAKE_DROPPED
# CAMERA Related Key
key 212 CAMERA
528 FOCUS key
# WALKMAN key
Key 200 Poweramp
The PowerAMP me works perfectly with the button but the problem arises in the home key to change the walkman key home key does not work help
geja said:
The PowerAMP me works perfectly with the button but the problem arises in the home key to change the walkman key home key does not work help
Click to expand...
Click to collapse
Yeah that happens(I presume it would happen with any other custom app too).
Which ROM? If it's CM7, simply replace Poweramp in pm-8058-keypad with SEARCH. Reboot. (If the Home button still doesn't work, replace that file from your ROMs ZIP.) Then, in Cyanogenmod settings, there's an option to set the Search key behavior to launch any app. If you're on other GB-based ROM, you could try the Button Remapper app(never tried it myself).
Related
Sorry my bad english and stupid request
I have xperia x10 mini and modding it. I want to make accept/end call in an old phone, by pressing the left or right hard buttons. For actions with pressure of keys answer file /system/usr/keylsyout/robyn_keypad.kl:
key 158 BACK WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 102 HOME WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 215 FOCUS
key 212 CAMERA
key 107 POWER WAKE_DROPPED
Click to expand...
Click to collapse
It's possibly whether hang on few key actions, depending on situation(for example: if there is call button, it cancels, and other of time brings up menu) or hang on for long/short pressing different things?
P.S. version
key 158 BACK ENDCALL
key 139 MENU CALL
key 102 HOME WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 215 FOCUS
key 212 CAMERA
key 107 POWER WAKE_DROPPED
Click to expand...
Click to collapse
is not working, all hard buttons switching off
I tried assigning multiple triggers to a button but it doesn't work but it doesn't work. You can proove it wrong offcourse
It's bad, but be outstanding idea, I count. On street in frost it's necessary to accept call, it's inconvenient to use sensor in gloves(I from frosty Russia ), and sometimes missed push button of stop call and my collocutor hold off in on line.
Maybe, sending mail to developers of this smartphone?
Hello!
My problem is, that i have bought a new car holder for my x10.
Now i have the problem, when i slip in my phone, the hardwarebutton for the camera is permanently pushed.
Does anyone have an applikation, which switches of the hardwarebutton?
Many thanks,
Greetings
- Install ButtonRemapper (root needed)
- open it, click on "focus" in the list and then pick "dpad center" / "none"
if it presses enough to trigger the camera and not just the focus, do the same for camera in the list.
- in ButtonRemapper settings, uncheck "boot monitor" and check "hot reboot".
- click Apply, your phone will reboot after a few seconds.
zorglub08 said:
- Install ButtonRemapper (root needed)
- open it, click on "focus" in the list and then pick "dpad center" / "none"
if it presses enough to trigger the camera and not just the focus, do the same for camera in the list.
- in ButtonRemapper settings, uncheck "boot monitor" and check "hot reboot".
- click Apply, your phone will reboot after a few seconds.
Click to expand...
Click to collapse
Thank you a lot, zorglub08!!
It works perfectly.
By the way, what activates the dpad center?
The d pad center doesn't activate anything in the home, that's why I picked it, in practice in just just disables the button. If you launched an emulator or some app that supports a hardware directional pad, it may do "Enter"/"OK". I didn't try though, on my phone, I didn't find and app that used it.
I was going to PM this to you, but since you made another thread i'll post it here.
To properly disable the camera button, you must edit the es209ra_keypad.kl file. This file controls how the Android OS responds to the hardware buttons.
Use Root Explorer (or any other root file manager app) and navagate to /system/usr/keylayout/ and open the es209ra_keypad.kl file for editing. I am doing this on 2.3.3, so the file may be different depending on your ROM. Either way, it is easy to tell which lines need editing.
Once you have the file open, place a hash (#) in front of the "CAMERA" and "FOCUS" lines as follows:
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 229 MENU
key 59 MENU
key 213 MENU
key 102 HOME WAKE_DROPPED
key 158 BACK
key 107 ENDCALL WAKE_DROPPED
key 62 ENDCALL WAKE_DROPPED
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 116 POWER WAKE
#key 212 CAMERA
#key 215 FOCUS
key 226 HEADSETHOOK
Once you have edited the file, reboot your phone.
This effectivly stops Android from even seeing that the camera button exists, hence, the camera button will do absolutly nothing to the phone. If you change ROMs, you will have to do this again.
Cheers to Pierre Duc who created the thread about stopping the home button from waking the phone, otherwise I wouldn't even know that this file exists.
http://forum.xda-developers.com/showthread.php?t=1117810
Disclaimer: Do at your own risk, I am not responsible if anything goes wrong (which it shouldn't).
- Frosty
This is a little example for how to use walkman key as search key so with this u can use any app u want with that kay by just using an app that changes search key behavior
1.Using any file explorer with root go to /system/usr/keylayout/
2. Edit with texteditor file: pm8058-keypad.kl
It should look like this:
Code:
# this corresponds to kernel/arch/arm/mach-msm/keypad-coconut.c
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
# KEY_HOME
key 102 HOME WAKE_DROPPED
# CAMERA Related Key
key 212 CAMERA
key 528 FOCUS
# WALKMAN key
key 200 VENDOR_1
At the bottom of the file u can see:
Code:
# WALKMAN key
key 200 VENDOR_1
VENDOR_1 is used to tell android which action the key will take
so if we change VENDOR_1 to SEARCH wolkman key will be recognized as a SEARCH key.
So the file after changing it should look like this:
Code:
# this corresponds to kernel/arch/arm/mach-msm/keypad-coconut.c
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
# KEY_HOME
key 102 HOME WAKE_DROPPED
# CAMERA Related Key
key 212 CAMERA
key 528 FOCUS
# WALKMAN key
key 200 SEARCH
After editing the file save it and reboot device.
U can map any action to this kay that android will recognize for the rest of actions availdable u can use qwerty.kl as refrance:
Code:
key 399 GRAVE
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 158 BACK WAKE_DROPPED
key 230 SOFT_RIGHT WAKE
key 60 SOFT_RIGHT WAKE
key 107 ENDCALL WAKE_DROPPED
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 228 POUND
key 227 STAR
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 102 HOME WAKE
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 212 CAMERA
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 43 BACKSLASH
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE
key 14 DEL
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 28 ENTER
key 56 ALT_LEFT
key 100 ALT_RIGHT
key 42 SHIFT_LEFT
key 54 SHIFT_RIGHT
key 15 TAB
key 57 SPACE
key 150 EXPLORER
key 155 ENVELOPE
key 12 MINUS
key 13 EQUALS
key 215 AT
# On an AT keyboard: ESC, F10
key 1 BACK WAKE_DROPPED
key 68 MENU WAKE_DROPPED
And the most useful with Walkman:
Code:
key 200 MEDIA_PLAY_PAUSE WAKE
key 201 MEDIA_PLAY_PAUSE WAKE
key 166 MEDIA_STOP WAKE
key 163 MEDIA_NEXT WAKE
key 165 MEDIA_PREVIOUS WAKE
key 168 MEDIA_REWIND WAKE
key 208 MEDIA_FAST_FORWARD WAKE
When changing action taken by walkman key to one of the above like MEDIA_PLAY_PAUSE its advised to add this WAKE too if u want to use this button when phone is sleeping
So it should look like this:
Code:
# WALKMAN key
key 200 MEDIA_PLAY_PAUSE WAKE
Hope this helps
wow ...
its great .... tks tks
very good work
thanks
/
# WALKMAN key
key 200 HEADSETHOOK WAKE
to end call, BEGIN CALL and music control (the button will work like buttun on headset)
so if i want to launch poweramp application with this walkman button, how do i do that? will simply mention app name work?
key 200 POWERAMP
If u want to assign poweramp app to Walkman key the only option for now is to assign it as search key and then with app for example: LaunchKey assign an app to long press search key.
kenny313 said:
If u want to assign poweramp app to Walkman key the only option for now is to assign it as search key and then with app for example: LaunchKey assign an app to long press search key.
Click to expand...
Click to collapse
can you give an example?
i want to assign double twist player to walkman key
this is awesome, the walkman key finally works on cm7
In CM7.2 Walkman button is not working, is there any way to fix it??
Sent from my WT19i using XDA
in cm7 use the above method to allocate search to walkman key and then go to settings, cm settings, input, search key behavior and choose whatever app you want for the long press action, for the short press whenever a search is possible, that will turn up instead of the app.
kenny313 said:
If u want to assign poweramp app to Walkman key the only option for now is to assign it as search key and then with app for example: LaunchKey assign an app to long press search key.
Click to expand...
Click to collapse
Good work man but i would like to assign the key to poweramp too how to do that? i am on hyprom v15 and tried to do search example to assign poweramp but it dosent work for me
Great!
Anyone know where VENDOR_1 is set? There should be the same line in another file pointing to the walkman apk. I would also like to change the button to launch Ubermusic.
badawy85 said:
Good work man but i would like to assign the key to poweramp too how to do that? i am on hyprom v15 and tried to do search example to assign poweramp but it dosent work for me
Click to expand...
Click to collapse
i don't know, i tried all sorts of things.. can't get it done
EDIT: removed, cannot delete on mobile app.
Sent from my WT19i using xda premium
worked for me
i lost Walkman button after installing cyanogen 7.2 on LWW
got it back now
thx
Hi guys!
What the codename "smartkey"? MH1 LiveSound headset extra key.
Thx!
i tried to change the keys..
loke..
the CAMERA key to POWER key..
but its not working
i wud like to use my walkman button to use use as power key to wake device instead of power or home key in stock rom
dis works well in cm based roms but in stock i tried but failed
anikanu said:
i wud like to use my walkman button to use use as power key to wake device instead of power or home key in stock rom
dis works well in cm based roms but in stock i tried but failed
Click to expand...
Click to collapse
Pls check ur PM ^^
Sent from my Xperia Miro using xda premium
anikanu said:
i wud like to use my walkman button to use use as power key to wake device instead of power or home key in stock rom
dis works well in cm based roms but in stock i tried but failed
Click to expand...
Click to collapse
plz anyone
anikanu said:
plz anyone
Click to expand...
Click to collapse
anikanu said:
i wud like to use my walkman button to use use as power key to wake device instead of power or home key in stock rom
dis works well in cm based roms but in stock i tried but failed
Click to expand...
Click to collapse
I also want to use walkman key as Power key bcoz my power key is broken
So I was looking for a mod/app that will allow me to use the volume buttons to forward or skip tracks. I like the stock headphones that came with the phone, but also have another pair of Sony headphones that also have button controls.
I downloaded Headset Button Control and that didn't work so well. It kept crashing on me.
Any suggestions??
Thanks!
Just double tap play to skip track
Sent from my SPH-L710 using xda app-developers app
double tap work to skip a song.
on custom roms like wanam, long hold the volume + button skips forward. long hold volume - button skips backwards.
tap to play or pause.
Hi,
On stock rom (XXBLF for me), there's a way to transform the vol up/down on the headset to skip/back tracks (vol buttons on the phone are acting normal). I've done this mod on mine and I'm now really happy
You have to be rooted to do this.
1) Navigate to folder /system/usr/keylayout/
2) Backup the current Generic.kl file (you were going to do that anyway, right? If you weren't, probably best not go any further...)
3) Edit the file Generic.kl using a text editor :
- Comment out the lines for keys 114 and 115 (just put a # at the start of those two lines) thus:
# key 114 VOLUME_DOWN WAKE
# key 115 VOLUME_UP WAKE
- Find the lines for keys 163 and 165, which look like this:
key 163 MEDIA_NEXT WAKE
key 165 MEDIA_PREVIOUS WAKE
- change the numbers from '163' to '115', and from '165' to '114', thus:
key 115 MEDIA_NEXT WAKE
key 114 MEDIA_PREVIOUS WAKE
4) Save and reboot
+1 double tap on LG6
+ forward - back
https://play.google.com/store/apps/details?id=se.jays.headsetcontrol
Use this app its free.. No need for a mod then..
Looking to remap my home key, and my menu and back soft keys on my s3. I've looked at editing scripts, and even Xposed modules for this and here is what I found.
I can remap my keys manually, but I cannot map them to open an application.
With Gravity Box Module, I can map the applications to launch on a double press or a long press.
Here is what I want to do with a single tap.
[MENU SOFT KEY] [HOME KEY] [BACK SOFT KEY]
Open Phone Open search Open Camera
Is there an xposed module for this?
Bump.
vbetts said:
Bump.
Click to expand...
Click to collapse
Not sure there is a module for it..but all button controls are in android.policy.jar.. it would take a heavy re working to get all those things.. not saying it's not possible but..yea..not easy
Sent from my SCH-I605 using xda app-developers app
I've reset them in the touchkeys.kl file under keychars, but I cannot get CAMERA to map on the back button. I can get other actions too, but CAMERA Won't map. Here's my thread in the 747 section.
http://forum.xda-developers.com/showthread.php?t=2705040
I'm doing a few tweaks on my phone, mainly not using the capacitive keys as menu and back, and using the home key as the app switcher, and using the nav bar for those three tasks. Here's what I've got so far.
I edited a few files under system/usr/keylayout
The Menu and Search key layouts were found under sec_touchkey.kl(Home was also found under this, but I had to also edit sec_keys.kl and sec_key.kl to get the home key as the app switcher)
Here's the default settings.
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
key 102 HOME
key 217 SEARCH
Here's what I set them to.
key 139 CALL VIRTUAL
key 158 CAMERA VIRTUAL
key 102 APP_SWITCH
key 217 SEARCH
Changing the roles of keys 139 and 102 worked, but Camera does not open the camera. I've tried assigning different roles to key 158 and they've worked except for the camera role. So I'm thinking CAMERA is not the correct event name to open the camera up....
http://developer.android.com/referen...KEYCODE_CAMERA
That's where I got the keyEvent listings from.
Rom is in my signature.
Click to expand...
Click to collapse