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
Hi all,
the new Xperia Mini goes ON when i press the Home Button. (and with the Power Button too)...
Is there a way to disable Power ON with the Home Button?
Thanks!
Not that I know of. I actually like pressing the home button to turn on phone. Its more natural for me bc iv been using iphone for long time. To each his own I guess
Why is it you have a problem? just wonderin
Sent from my SK17i using XDA App
Too bad...
Using a Leather Case, and the Close "Button" is direct over the Home Button.
So everytime the Case is "Pressed" the Phone turns on.
ahhh i see. at least is minimal drain on the battery for lock screen to be on 10-20 sec.
but then again the battery life for xperia isn't all that great so i see your concern. guess back to playing the waiting game
Yes, but i like the Phone really!
Just wrote an eMail to SonyEricsson...
Brudertac try changing your leather case, solved.
Brudertac said:
Is there a way to disable Power ON with the Home Button?
Click to expand...
Click to collapse
Try this (you need to be rooted):
1. using root explorer or similar, go to folder /system/usr/keylayout, make sure the filesystem is mounted as R/W
2. edit file pm8058_keypad.kl
3. change the following line:
Code:
key 102 HOME WAKE_DROPPED
into this:
Code:
key 102 HOME
4. save the file, reboot and done
Hey People,
I was wondering if there was a way to disable the Camera & Video buttons on the side of the phone. When in my pocket or in the case I have noticed that they have been activated and pics n videos have been taken.
I always have my phone on the locked screen but even if screen is locked and you press those 2 buttons they get activated and could take pics or videos without you even knowing.
Any suggestions would help.....
Thanks....
henry1970 said:
Hey People,
I was wondering if there was a way to disable the Camera & Video buttons on the side of the phone. When in my pocket or in the case I have noticed that they have been activated and pics n videos have been taken.
I always have my phone on the locked screen but even if screen is locked and you press those 2 buttons they get activated and could take pics or videos without you even knowing.
Any suggestions would help.....
Thanks....
Click to expand...
Click to collapse
Maybe try getting bigger pockets? Lol. =P
Do you have a case on it? I'm using a d30 case and have never had any pictures taken in my pocket.
Sent from my world to yours using my HTC Amaze
Yes, I have a case. Not the d30 and it is open where those buttons are..
Angelus47 said:
Do you have a case on it? I'm using a d30 case and have never had any pictures taken in my pocket.
Sent from my world to yours using my HTC Amaze
Click to expand...
Click to collapse
widget locket lets you disable these buttons when the phone is locked...Its an awesome program I would invest it it! no root needed
henry1970 said:
Hey People,
I was wondering if there was a way to disable the Camera & Video buttons on the side of the phone. When in my pocket or in the case I have noticed that they have been activated and pics n videos have been taken.
I always have my phone on the locked screen but even if screen is locked and you press those 2 buttons they get activated and could take pics or videos without you even knowing.
Any suggestions would help.....
Thanks....
Click to expand...
Click to collapse
This is an easy fix(with just about no risk) if you have a rooted phone, even easier if you have root explorer..
I'll provide directions as if you have root explorer: navigate to /system/usr/keylayout/ruby-keypad.kl long press and click edit in text
You should see:
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
# CAMCORDER
key 248 CAMCORDER [B]WAKE[/B]
# CAMERA
key 211 FOCUS
key 212 CAMERA [B]WAKE[/B]
Delete just the bolded part above that says wake next to the Camcorder key and Camera key, that is what tells the phone to wake up when you hit the button. If you do it in the root explorer method it will automatically create a backup of the file in that directory. Restart the phone and you're good. Both buttons will still work when you've already woken the phone up, but will no longer wake the phone up itself resulting in pics/video in your pocket.
If you don't have root explorer, you can try to find some other app that allows you to edit documents with root, or use adb to pull the file then push the modified file back into that folder..
Hope this helps
Silentbtdeadly said:
This is an easy fix(with just about no risk) if you have a rooted phone, even easier if you have root explorer..
I'll provide directions as if you have root explorer: navigate to /system/usr/keylayout/ruby-keypad.kl long press and click edit in text
You should see:
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
# CAMCORDER
key 248 CAMCORDER [B]WAKE[/B]
# CAMERA
key 211 FOCUS
key 212 CAMERA [B]WAKE[/B]
Delete just the bolded part above that says wake next to the Camcorder key and Camera key, that is what tells the phone to wake up when you hit the button. If you do it in the root explorer method it will automatically create a backup of the file in that directory. Restart the phone and you're good. Both buttons will still work when you've already woken the phone up, but will no longer wake the phone up itself resulting in pics/video in your pocket.
If you don't have root explorer, you can try to find some other app that allows you to edit documents with root, or use adb to pull the file then push the modified file back into that folder..
Hope this helps
Click to expand...
Click to collapse
Thanks dude! I was looking for an easy way in the system to do that but couldn't find it. Works like a charm. You're the man!!
Silentbtdeadly said:
This is an easy fix(with just about no risk) if you have a rooted phone, even easier if you have root explorer..
I'll provide directions as if you have root explorer: navigate to /system/usr/keylayout/ruby-keypad.kl long press and click edit in text
You should see:
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
# CAMCORDER
key 248 CAMCORDER [B]WAKE[/B]
# CAMERA
key 211 FOCUS
key 212 CAMERA [B]WAKE[/B]
Delete just the bolded part above that says wake next to the Camcorder key and Camera key, that is what tells the phone to wake up when you hit the button. If you do it in the root explorer method it will automatically create a backup of the file in that directory. Restart the phone and you're good. Both buttons will still work when you've already woken the phone up, but will no longer wake the phone up itself resulting in pics/video in your pocket.
If you don't have root explorer, you can try to find some other app that allows you to edit documents with root, or use adb to pull the file then push the modified file back into that folder..
Hope this helps
Click to expand...
Click to collapse
You think this would work if instead of camera I type the name of another camera app that I consider to be better than the stock camera?
Sent from my HTC Amaze 4G using xda premium
frodoboy said:
Thanks dude! I was looking for an easy way in the system to do that but couldn't find it. Works like a charm. You're the man!!
Click to expand...
Click to collapse
I was glad I was able to help
Felinos11 said:
You think this would work if instead of camera I type the name of another camera app that I consider to be better than the stock camera?
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
You don't want to change what the button does through that file, however if you get an app like tasker you could then remap the camera button to a different app or maybe a shortcut.. There also is probably a pretty easy way to replace the stock app with whatever you're trying to use(maybe rename the camera app's apk to whatever the stock one is called, and replace it in the system folder?), but you'd have to ask a dev to be sure.
That worked great, thanks!!
My phone is now happy knowing it won't have 100 black photos and dark random pocket videos!!
Another option if you want to do it for free on the phone is load on terminal emulator, and busybox.
Open the terminal emulator, run su and allow superuser permissions.
Remount /system as RW: mount -o remount,rw /dev/block/mtdblock4 /system
browse to the /system/usr/keylayout (use cd command)
edit it with vi: vi ruby-keypad.kl (may need to type busybox vi ruby-keypad.kl)
Hold down the volume up button and type S to lower the cursor down a row, go down to the first row to delete the WAKE and then do a Volume Up Key and press d to move the cursor over to the right. Have it stop so it's blinking over the W in WAKE. type dw That should have removed the word wake. Do the volume up and S and D to go down to the last WAKE to remove and do a dw again. They should both now be removed. Now type :wq <return> That should write the file and quit. Reboot the phone. Embrace saving the 3.99 over root explorer.
One thing I noticed about the Note 2 while wearing jeans and sitting down is that that home button gets pressed accidentally. Luckily, the phone has amazing battery so it's really non issue whereas my Gnex would die even faster than normal due to it's not so big battery.
Video Instructions
http://www.youtube.com/watch?v=GhB5kJGQKsI
Written Instructions​
How to disable this, though? Easy. But you must be at least rooted. After though, you just need an app like Root Explorer.
1. Mount as R/W and open /system/usr/keylayout/gpio-keys.kl. To get into gpio, hold it, and click "edit with text editor"
2. Scroll to the line that says:
"key 172 HOME WAKE"
3. Now delete the HOME so it says:
"key 172"
4. You can change "WAKE" to "WAKE_DROPPED" if you use the stock lock screen and want your home button *NOT* to send you back to the home screen when you use it to wake.
5. Save it, reboot, profit.
And now when the screen is off, clicking the "Home" button will no longer wake up the phone. Thanks to cam30era of XDA for the help.
(if need be, this can be moved to the "Help" section, posted here cause it gets more traffic and most people seem to post here for questions regardless)
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.