I have done this before with some files in /system/usr/keylayout/ on GB to remap camera button to power, but I don't know exactly what files to edit on ICS Atrix 2, I did search but it seems like the files are different with various systems...
Someone please tell me how to do that manually?
Atrix 2 ICS keymap file
Did you get the answer to this? I need to have wake on volume on my device. Can't decide which file to change. I found that the Nexus has wake on volume. It must me Moto who killed this feature. It worked on GB for me.
If you got the file(s), please share.
Thanks,
Sayantan
Have you tried decompiling the ROM and poking around yourself? Sometimes that's the best way to learn.
Sent from my SAMSUNG-SGH-I727 using xda premium
I changed evfwd.kl and Generic.kl (added WAKE after volume up and down keys) and that did the trick. Also reviewed other key layout files and decided that they need not be changed.
~
Sayantan
PS: You need to reboot after making the change.
Sent from my MB865 using xda app-developers app
Related
Does anyone know if u are able to reprogram the search button as multitasking? If not is anyone here capable and willing to reprogram it for some of us who I'll use it because I rarely touch the search button. Anyone else would like this except for me? Btw I'm running eagesblood, Thanks in advance
I second that request. That'd be way more useful than the search button
Do you mean the recently used/running task list? That's accessed by pressing home one the first home screen.
Sent from my LG-P999 using xda premium
I would love this. Seem to remember CM7 having custom application launching for touch and hold search button so it might be a feature that just hasn't been implemented yet.
I have seen customizable keyboard modifications for devices with physical keyboards in order to remap some of the less useful keys to something worth while. When I have more time I may try to dig it up and see how complicated it is. Anyone care to tackle this? I probably don't have the knowledge to complete.
Волк said:
Do you mean the recently used/running task list? That's accessed by pressing home one the first home screen.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I know u can long press home but that is time consuming sort of in a way and I get annoyed by doing it.
Sent from my LG-P999 using xda premium
You can customize the home key in cm9 like you can customize the search key in cm7. You need to install Apex launcher. It have a lot of features you would like. This launcher do everything like cm7. Try it out.
Sent from my LG-P999 using xda premium
Can you just remap it with Button remapper or Tasker?
kookooktchoo said:
Can you just remap it with Button remapper or Tasker?
Click to expand...
Click to collapse
Button remapper won't work because it doesn't remap the long press stuff like multitasking.
Sent from my LG-P999 using xda premium
http://forum.xda-developers.com/showthread.php?t=1450138
[HOWTO] Remap hardware button to ICS recent apps
Is that what you're looking for?
Волк said:
http://forum.xda-developers.com/showthread.php?t=1450138
[HOWTO] Remap hardware button to ICS recent apps
Is that what you're looking for?
Click to expand...
Click to collapse
Yeah that is is, has anyone tried this yet on our phone? I went back to cm7 so can't try this atm. Ill switch back to ics when i don't need my phone for anything important.
I'm really enjoying AOKP over HTC's flavor of ICS, but there's one thing that really bothers me, and that's the app switching behavior. I know a lot of people prefer having a dedicated menu key, but I honestly don't care for it. I'd much rather use the on-screen menu buttons and have a dedicated key for app switching. Is there any way to change this behavior to mimic stock ICS, or is this something integral to AOKP and cannot be changed by a menu setting?
In a root explorer go to
system/usr/keylayout
and edit
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
Then change the
249 to APP_SWITCH
Then there is line from Build.Prop that needs to be removed
qemu.hw.mainkeys=1
Sent from my HTC One X using xda premium
Or you could just hold down the home button which brings up the app switcher and then u have the best of both worlds
Sent from my One X using xda app-developers app
kleeman7 said:
In a root explorer go to
system/usr/keylayout
and edit
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
Then change the
249 to APP_SWITCH
Then there is line from Build.Prop that needs to be removed
qemu.hw.mainkeys=1
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Editing synaptics-rmi-touchscreen.kl went fine, but I cannot find qemu.hw.mainkeys=1 in /system/build.prop. Am I looking in the wrong place?
Protogon said:
Editing synaptics-rmi-touchscreen.kl went fine, but I cannot find qemu.hw.mainkeys=1 in /system/build.prop. Am I looking in the wrong place?
Click to expand...
Click to collapse
Did you reboot? And does the key work properly? Maybe in aosp roms don't need to have that line, it may auto detect and give you a menu key.
Sent from my HTC One X using xda premium
kleeman7 said:
Did you reboot? And does the key work properly? Maybe in aosp roms don't need to have that line, it may auto detect and give you a menu key.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
After I rebooted, the app switch key now brings up an icon-based Recent list, not the ICS task switcher. Also, apps still don't have any in-app menu keys. Going to revert so I can use apps properly again.
Protogon said:
After I rebooted, the app switch key now brings up an icon-based Recent list, not the ICS task switcher. Also, apps still don't have any in-app menu keys. Going to revert so I can use apps properly again.
Click to expand...
Click to collapse
Try asking in the rom thread. I thought this might work, sorry it didn't.
Sent from my HTC One X using xda premium
kleeman7 said:
Try asking in the rom thread. I thought this might work, sorry it didn't.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Unfortunately, it seems that until I've reached a whopping 10 posts, I'm unfit to ask a relevant question in the appropriate development thread. I guess I'll just have to wait till I do hit 10 posts, or just hope that one of the devs sees the thread. Thanks anyhow.
I'm running Aokp milestone on my HTC One X. Is there a way to temporary disable the HTC home menu keys and just use the Galaxy nexus style menu keys?
Cognac_Sipper said:
I'm running Aokp milestone on my HTC One X. Is there a way to temporary disable the HTC home menu keys and just use the Galaxy nexus style menu keys?
Click to expand...
Click to collapse
I don't know if there's an option to disable the capacitive keys in Settings, but it's feasible to remap the buttons to nothing in /system/usr/keylayout/synaptics-rmi-touchscreen.kl.
I was on the CM forums and someone was asking how to remap the virtual buttons on the bottom of the AT&T skyrocket. Not sure about the filenames on the Rogers flavor of this phone... I researched a little bit and found the correct file to change and thought I would share...
The user over there asked how to change the search button to the multitask since he doesn't use the search button...
If you have root, open your file manager of choice.
You need to navigate to /system/usr/keylayout/
You should see a file called melfas_touchkey
Open in it a text editor.
It should have a line that reads
Key 217 SEARCH VIRTUAL
Replace the word SEARCH with the word APP_SWITCH
Save the file.
Reboot.
So far I have had no problems after I rebooted and used the search key as a task manager...
If you find problems with my method, please share.... I am just starting to get into the deeper parts of Android and learn how to DEV some... I hope to get to the point of guys like sk8terwitskil and the likes but I am not even that far out of the Noob camp... well ok, maybe I have been modding my phone for a bit...
Would love to do this but I don't have the Melfast file in the location you mention.............
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Are you on Rogers or AT&T?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
You may have to poke around a little bit and find he file that lists your virtual keys.
Its in that directory for sure...
The # and SEARCH VIRTUAL will be there also...
It only has 4 entries.... hence the 4 buttons at the bottom....
Hope that helps....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.
Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.
If someone could lead me in the right direction that would be great.
Good question. I sign looking for a way to program my back button to long press=kill.
Sent from my SCH-I535 using Tapatalk 2
lakedubvt said:
I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.
Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.
If someone could lead me in the right direction that would be great.
Click to expand...
Click to collapse
long press stuff would be smali code.
Are there any flashable mods out there?
Sent from my Nexus 4 using Tapatalk 2
lakedubvt said:
Are there any flashable mods out there?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would you consider changing ROMs? RootzBOX has the options you are seeking. It also has all of the AOKP features as that is its base.
I know this ROM used to have an option to enable long press on the back button to kill the current app. I think it used to be under developer options. Anyway, on the latest Beanstalk Build I can't find the option anywhere (I'm probably blind). Could someone point me to it please? I've found other threads with mods to enable this function, but I know it used to be built in to the ROM so I don't want to install a Mod if I don't need to.
Thank you!
PS Scott is awesome!
blastagator said:
I know this ROM used to have an option to enable long press on the back button to kill the current app. I think it used to be under developer options. Anyway, on the latest Beanstalk Build I can't find the option anywhere (I'm probably blind). Could someone point me to it please? I've found other threads with mods to enable this function, but I know it used to be built in to the ROM so I don't want to install a Mod if I don't need to.
Thank you!
PS Scott is awesome!
Click to expand...
Click to collapse
Its under hardware keys and set it to custom keys. Setting long press on back button to kill.
Sent from my SGH-I997 using xda app-developers app
selw0nk said:
Its under hardware keys and set it to custom keys. Setting long press on back button to kill.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
Wonderful! Thank you.
To clarify for anyone else reading: Settings > System > Hardware Keys > Enable Custom Actions
Back key (long press) = Kill app
I use the onscreen buttons and the back to kill app stopped working for me. No idea why.
Sent from my SGH-I997 using xda app-developers app
Hey thanks for this, have been looking for that option for a while now. Never even noticed it was in that menu all greyed out lol
Thanks, i was also searching for it.
Thanks, i was also searching for it.
selw0nk said:
Its under hardware keys and set it to custom keys. Setting long press on back button to kill.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
It's gone
Sorry guys, the option is not there on 4.4, is it? Any workaround?