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
Anyone knows if the buttonremapper app would work for att sgn, say, by remapping the touch search button at the right bottom of the phone ? Thanks.
jcc266 said:
Anyone knows if the buttonremapper app would work for att sgn, say, by remapping the touch search button at the right bottom of the phone ? Thanks.
Click to expand...
Click to collapse
With root, this should be able to be accomplished by editing the same text file as the "swap search and menu key hack". Just figure out the correct keycode for the power button. Not sure if a capacitative button could be used for wakeup though.
softkey can't be use to wake up the phione/screen...
lastdeadmouse said:
With root, this should be able to be accomplished by editing the same text file as the "swap search and menu key hack". Just figure out the correct keycode for the power button. Not sure if a capacitative button could be used for wakeup though.
Click to expand...
Click to collapse
Thanks for responding. Since my SGN was rooted, so I used a root browser to replace key 217 SEARCH in sec_touchkey.kl file in system/usr/keylayout/ with key 116 POWER. As you suspected, it appeared that the capacitative search button (softkey) can not be replaced by the capacitative POWER (WAKE?) button for wakeup.
So a hardkey must be used instead for wakeup?
jcc266 said:
Thanks for responding. Since my SGN was rooted, so I used a root browser to replace key 217 SEARCH in sec_touchkey.kl file in system/usr/keylayout/ with key 116 POWER. As you suspected, it appeared that the capacitative search button (softkey) can not be replaced by the capacitative POWER (WAKE?) button for wakeup.
So a hardkey must be used instead for wakeup?
Click to expand...
Click to collapse
Yeah, I was kind of guessing that capacitative were not active as a part of screenlock. Looks like it.
Sent from my SAMSUNG-SGH-I717 using xda premium
Ok ive remapped menu to APP_SWITCH and now recent apps appear when i press menu. But how do i force the overflow menu (three dots) to appear? I know the samsung apps are capable because if you add qemu.hw.mainkeys=0 to build.prop it shows the navigation bar and all app have a menu in them. But how can i make the menu appear without forcing the navigation bar?
I think i read something about changing "hasPermanentMenuKey" to return as false so that the system automatically display the overflow menus but im not sure how to do that or if thats even correct.
In summary: I want menus to appear in apps.
Any help would be greatly appreciated.
bump. Any help?
Singa. said:
bump. Any help?
Click to expand...
Click to collapse
I remap the menu key to APP_SWITCH too, anyhow, without showing the emulated home/cancel button on screen via qemu.hw.mainkeys=0, the force overflow action menu button just do not appear. If able to trick the app to alway show the action menu button, the remap key may work good, just some app like Whatapps / Facebook / Twitter may not able to access the menu.
Also, looking at keylayout folder, the file Vendor_04e8_Product_7021.kl contain list per below, change of it do have any impact? I tested but it acted weird and no conclusion on this. I did tried to put the Key 704 from RECENTAPPS -> APPLICATION and it launch the voice search when long pressing home button.
Key 704 RECENTAPPS
Key 705 APPLICATION
Key 706 SIP_ON_OFF
Key 707 VOICESEARCH
Key 708 QPANEL_ON_OFF
Any key# to remap the long press of capacitive Menu key to other function? Or long pressing feature is control by software only??
kindle fire hd
sesameb said:
I remap the menu key to APP_SWITCH too, anyhow, without showing the emulated home/cancel button on screen via qemu.hw.mainkeys=0, the force overflow action menu button just do not appear. If able to trick the app to alway show the action menu button, the remap key may work good, just some app like Whatapps / Facebook / Twitter may not able to access the menu.
Also, looking at keylayout folder, the file Vendor_04e8_Product_7021.kl contain list per below, change of it do have any impact? I tested but it acted weird and no conclusion on this. I did tried to put the Key 704 from RECENTAPPS -> APPLICATION and it launch the voice search when long pressing home button.
Key 704 RECENTAPPS
Key 705 APPLICATION
Key 706 SIP_ON_OFF
Key 707 VOICESEARCH
Key 708 QPANEL_ON_OFF
Any key# to remap the long press of capacitive Menu key to other function? Or long pressing feature is control by software only??
Click to expand...
Click to collapse
Do you know by any chance how do you do this for kindle fire hd 7 7.3.1 I want to disable nav bar by using qemu.hw.mainkeys=1 but this will get rid of the action bar app Manu as well. This wouldn't be a problem but the LMT launcher app menu button won't work unless the action bar app menu is there. Please help
I always want the left capacitive key to perform the function - switch apps ( recent apps) because long pressing the home button to call out switch apps function is time consuming (it takes about 2 seconds) and need too much effort ( the button is so tight).
I googled around and figure out how to do that. I think a lot of people will have interest in such changes, so I would post here.
Actually, it is easy. What you need is a rooted phone and a root explorer( an app)
Then, in the root explorer, open /system/usr/keylayout/Generic.kl in Text Editor, scroll down and find key 139 ( this is the key you need to change) change the word" menu" to " APP_SWITCH" after the key 139. save and exit then reboot.
This changes change the left capacitive button function to open switch apps function. Of course , you will lose the menu function.
Hope it helps. :laugh:
Could you tell how would be the exact commands to make the buttons "back", "home(already is)" and "menu" respectively from left to right?
Sent from my Galaxy Note II using xda app-developers app
_delice_doluca_ said:
Could you tell how would be the exact commands to make the buttons "back", "home(already is)" and "menu" respectively from left to right?
Sent from my Galaxy Note II using xda app-developers app
Click to expand...
Click to collapse
OK, originally, the lines in the generic.kl for the 3 buttons should be like this:
key 139 MENU WAKE_DROPPED
key 102 MOVE_HOME
key 158 BACK WAKE_DROPPED
If you want to change function of the buttons, you just need to know the function name, in my case, I want to change the function of the left capatcitive button function from menu to switch apps. Therefore I serach around the web and found that the function name is APP_SWITCH, then, I just need to replace the "MENU" to "APP_SWITCH" in the Generic.kl file in order to change the function.
After the changes, the line should be as follow:
key 139 APP_SWITCH WAKE_DROPPED
So, same theory, you could switch the functions of those keys, for example, if you want to switch the menu and back key, all you need to do is change to :
key 139 BACK WAKE_DROPPED
key 158 MENU WAKE_DROPPED
In addition, the word" wake_dropped" means that the key will function when your device is awake, that means, when your phone is not awake ( screen is off), the key will not function.
So,theoretically, if you want the keys to function when the phone is not awake ( when the screen is off), you could change the word" wake_dropped" to "WAKE" ( I have not tried, you could try that out). By doing so, you could wake the phone and perform the key function at the same time even when your phone is not awake.
anguslaw said:
I always want the left capacitive key to perform the function - switch apps ( recent apps) because long pressing the home button to call out switch apps function is time consuming (it takes about 2 seconds) and need too much effort ( the button is so tight).
I googled around and figure out how to do that. I think a lot of people will have interest in such changes, so I would post here.
Actually, it is easy. What you need is a rooted phone and a root explorer( an app)
Then, in the root explorer, open /system/usr/keylayout/Generic.kl in Text Editor, scroll down and find key 139 ( this is the key you need to change) change the word" menu" to " APP_SWITCH" after the key 139. save and exit then reboot.
This changes change the left capacitive button function to open switch apps function. Of course , you will lose the menu function.
Hope it helps. :laugh:
Click to expand...
Click to collapse
how about keeping menu function
but long press will initiate switch apps?
This would be great :good:
Actually, mounting function to a long press capacitive key is not that simple,therefore I think it is not worthy to do so.
Alternatively, I would suggest installing virtual button apps such as button savior and add the menu function to it.
Sent from my GT-I9305 using xda app-developers app
neato4u said:
how about keeping menu function
but long press will initiate switch apps?
This would be great :good:
Click to expand...
Click to collapse
1+
I would like to be able to do that long press thing too, in the meantime I use LMT to get to my multitasking, that's definitely a lot snappier than the home button
anguslaw said:
Then, in the root explorer, open /system/usr/keylayout/Generic.kl in Text Editor, scroll down and find key 139 ( this is the key you need to change) change the word" menu" to " APP_SWITCH" after the key 139. save and exit then reboot.
This changes change the left capacitive button function to open switch apps function. Of course , you will lose the menu function.
Hope it helps. :laugh:
Click to expand...
Click to collapse
Hi, do you know how to make this work on Tmobile Galaxy S3 rooted official firmware 4.3 ?
I edit the file, save, exit, reboot but it didn't work. Menu button still behave the same, open Generic.kl file to check, new text is there. Don't understand.
Thanks!
nguyen2011 said:
Hi, do you know how to make this work on Tmobile Galaxy S3 rooted official firmware 4.3 ?
I edit the file, save, exit, reboot but it didn't work. Menu button still behave the same, open Generic.kl file to check, new text is there. Don't understand.
Thanks!
Click to expand...
Click to collapse
Sorry I am using omni 4.4.2 ROM now, there is already an option to assign functions to the keys, so I have no need to do in the other way. Can't help.
This works as a charm, however Android does not recognize that we no longer have a menu button. The tree dots in Chrome are not present for example. Is there a way of telling the system that no physical menu botton is there, so that apps show the soft menu?
Thanx!
molm said:
This works as a charm, however Android does not recognize that we no longer have a menu button. The tree dots in Chrome are not present for example. Is there a way of telling the system that no physical menu botton is there, so that apps show the soft menu?
Thanx!
Click to expand...
Click to collapse
use xposed, there are modules to force enable 3-dot menu button
anguslaw said:
I always want the left capacitive key to perform the function - switch apps ( recent apps) because long pressing the home button to call out switch apps function is time consuming (it takes about 2 seconds) and need too much effort ( the button is so tight).
I googled around and figure out how to do that. I think a lot of people will have interest in such changes, so I would post here.
Actually, it is easy. What you need is a rooted phone and a root explorer( an app)
Then, in the root explorer, open /system/usr/keylayout/Generic.kl in Text Editor, scroll down and find key 139 ( this is the key you need to change) change the word" menu" to " APP_SWITCH" after the key 139. save and exit then reboot.
This changes change the left capacitive button function to open switch apps function. Of course , you will lose the menu function.
Hope it helps. :laugh:
Click to expand...
Click to collapse
Thank you for the generosity to share such a great knowledge. you really made my day. Wish you the best in life.
I also want the same thing if is possible
how to have menu or other function by press and holding the capacitive button.
Sent from my GT-I9500 using Tapatalk
Actually i would suggest installing xposed framework and use the module menubegone to performe same function-remap menu key to switch app key.
In addition it forced every apps to show the 3 dots menu button on the top left corner. That means the menu function is no longer needed. Try it out guys. This is the simplest way now.
Sent from my GT-I9305 using XDA Premium 4 mobile app
Help Remap Home key on galaxy note 4
anguslaw said:
OK, originally, the lines in the generic.kl for the 3 buttons should be like this:
key 139 MENU WAKE_DROPPED
key 102 MOVE_HOME
key 158 BACK WAKE_DROPPED
If you want to change function of the buttons, you just need to know the function name, in my case, I want to change the function of the left capatcitive button function from menu to switch apps. Therefore I serach around the web and found that the function name is APP_SWITCH, then, I just need to replace the "MENU" to "APP_SWITCH" in the Generic.kl file in order to change the function.
After the changes, the line should be as follow:
key 139 APP_SWITCH WAKE_DROPPED
So, same theory, you could switch the functions of those keys, for example, if you want to switch the menu and back key, all you need to do is change to :
key 139 BACK WAKE_DROPPED
key 158 MENU WAKE_DROPPED
In addition, the word" wake_dropped" means that the key will function when your device is awake, that means, when your phone is not awake ( screen is off), the key will not function.
So,theoretically, if you want the keys to function when the phone is not awake ( when the screen is off), you could change the word" wake_dropped" to "WAKE" ( I have not tried, you could try that out). By doing so, you could wake the phone and perform the key function at the same time even when your phone is not awake.
Click to expand...
Click to collapse
What is the key number for long press home key?
---------- Post added at 07:54 AM ---------- Previous post was at 07:49 AM ----------
eddi3chan said:
What is the key number for long press home key?
Click to expand...
Click to collapse
What is the key number for long press home key? I want to change on my galaxy note 4 long press home key to open recent apps. and the left soft key for Menu.
eddi3chan said:
What is the key number for long press home key?
---------- Post added at 07:54 AM ---------- Previous post was at 07:49 AM ----------
What is the key number for long press home key? I want to change on my galaxy note 4 long press home key to open recent apps. and the left soft key for Menu.
Click to expand...
Click to collapse
sorry man , its a very old post . i now didnt do it this way. i install xposed framework and the xposed addition module to remap the keys. try it out.
let me know if you need further help.
in addition , as far as i remember, the home button need not use this method, my method in op is for captative buttons. for hardware buttons it is easier. try search in xda if you dont want to use xposed framework.
Sent from my GT-I9305 using XDA Free mobile app
Is there any chance of soft bricking the phone by doing this? I tried to bring soft keys with an app and after restarting the phone was stuck in bootload.
So simple
Buttons remapper app in playstore worked flawlessly!! Try that first... I SCOURED internet for answers to this question. I know this isn't a "developer" type solution... But it worked for THIS noob.
cowleygail said:
Buttons remapper app in playstore worked flawlessly!! Try that first... I SCOURED internet for answers to this question. I know this isn't a "developer" type solution... But it worked for THIS noob.
Click to expand...
Click to collapse
It worked like a charm on My Samsung Galaxy J7 pro. Thank you. You made my day.
I use lmt and want to disable soft keys. I edited the ./system/usr/keylayout/generic.kl
I commented out key 158(back) and 139(home). this disabled back button but recents apps soft key still active.
Anyone know the name of the left soft key that opens up active apps or what key number it is?
zanoli99 said:
I use lmt and want to disable soft keys. I edited the ./system/usr/keylayout/generic.kl
I commented out key 158(back) and 139(home). this disabled back button but recents apps soft key still active.
Anyone know the name of the left soft key that opens up active apps or what key number it is?
Click to expand...
Click to collapse
APP_SWITCH i think is the name.
zanoli99 said:
I use lmt and want to disable soft keys. I edited the ./system/usr/keylayout/generic.kl
I commented out key 158(back) and 139(home). this disabled back button but recents apps soft key still active.
Anyone know the name of the left soft key that opens up active apps or what key number it is?
Click to expand...
Click to collapse
key 254 APP_SWITCH
as defined in /system/usr/keylayout/gpio-keys.kl
.
That worked guys. Thank you