Change the behavior of buttons (menu, home, back buttonS) on stock S2 PLUS - Samsung Galaxy S II Plus

Hi guys!
I was wondering if there is an app or a tweak that I can use in order to customize the behavior of the buttons on our device, S2 PLUS. Shortly put, I would like to use the long-press menu button action to lock the device. I have searched for apps to lock/wake the device without using the physical button, but most of them use the proximity sensor or drain the battery - and I do not want apps that do that. Btw, I am running the stock version of Android 4.2.2 on my S2 PLUS, and the phone is rooted. Thanks!

Related

[Q] Lock for default android buttons

Is there a method of preventing the default android buttons: home, menu, search, and back from being active? Or locking the default android buttons while still able to use the device?It seems like I am constantly bumping these keys, as I'm always back on my home screen some how. I tried google with no luck. Currently running vegan tab beta 5.1 which of course has the soft keys to use instead.I am looking for either a permanent our semi-permanent method.Thanks in advance.
wacckkoo1 said:
Is there a method of preventing the default android buttons: home, menu, search, and back from being active? Or locking the default android buttons while still able to use the device?It seems like I am constantly bumping these keys, as I'm always back on my home screen some how. I tried google with no luck. Currently running vegan tab beta 5.1 which of course has the soft keys to use instead.I am looking for either a permanent our semi-permanent method.Thanks in advance.
Click to expand...
Click to collapse
As mentioned somewhere here, you can use Button Remapper to remap those four buttons to focus, effectively turning them off.
In addition, I would recommend the use of Button Savior to give you the ability to bring up soft buttons when needed (i.e. in apps where the task bar is not visible).
Use them both...problem solved
Which Button Remapper? Did a search in the market, found one for the hero and galaxy tab?
Soft Button Solution..
http://forum.xda-developers.com/showthread.php?t=865525
Hope this will help..
jaybob413 said:
As mentioned somewhere here, you can use Button Remapper to remap those four buttons to focus, effectively turning them off.
In addition, I would recommend the use of Button Savior to give you the ability to bring up soft buttons when needed (i.e. in apps where the task bar is not visible).
Click to expand...
Click to collapse
Thank you gonna give that a try now.
This works really well. Now I just have to train myself out of trying to use the capacitive buttons.

[Q] Setting Long Press Homebutton action?

Hi, i've recently rooted my new Nexus 5, and flashed this rom:
http://forum.xda-developers.com/showthread.php?t=2588152
Because i'm coming from SGS2, I thought it would be nice if I could
set an action for long pressing the Homebutton (I want to make it open
the recent tasks screen) but I couldn't find it in the Navigation Bar settings.
I prefer having back, Home and menu instead of recent tasks, and would like
to make it so that press&hold on the home button would open recent tasks screen.
Hope I made myself clear
Thanks!
Anyone has an Idea?
Have you tried gravitybox?
Sent from my Nexus 5

[Q] Remap volume-up button to power button

Hello all,
Recently the power button on my Nexus 5 has been acting really weird. Sometimes it works flawlessly, others it requires pressing it really hard to work. In order to prevent it to stop working indefinetely, I am looking for a way to remap my volume-up button so it can work as a power button. I don't need it to turn my phone on or to work in the recovery mode (from what I read, it seems to be impossible), only when Android is running.
I've already tried some workarounds:
1) Volume Unlock Power Button Fix app: I tried it, but it just allowed me to turn on my phone with volume but not turning off. Also, it drains a LOT of power.
2) Buttonremapper app: It would theoretically do exactly what I wanted, but did not work at all.
3) Editing generic.kl: I tried switching volume-up and power buttons codes in generic.kl, but also did not work. Maybe I need to modify another file?
3) Xposed Framework + Additions: The installation of Xposed went Ok, but after installing Additions module I got stucked in bootloop. I am running Android 5.1 stock, maybe this module is not yet compatible.
So, can anyone help me? Do I need to install a custom ROM?
PS: I live outside US, so no warranty for me. Otherwise I would just use it
Thanks in advance for any help!
Cheers,
Humberto
Hi folks,
Just a heads up for anyone who might be facing the same issue. I decided to change from stock to Cataclysm ROM due to some specific features (listed below). After the installation, here's what I did to work around this problem:
1) Enabled "Volume wake" and "Sleep button on status bar" in "Cataclysm Settings / Miscellaneous".
2) Enabled "Swipe to sleep" and resized NavBar to 115% in "Cataclysm Settings / Navigation bar options". -> This way I can swipe in NavBar at any time (except lockscreen) to turn off screen. I raised it a little to facilitate the swipe gesture.
3) Changed Lockscreen Dialer shortcut to ""Turn off Screen" app shortcut (just search for it in the play store) in "Cataclysm Settings / Lockscreen options" -> This allows me to just swipe right and turn off the screen when my security settings are disabled (which accounts for most of the time). I found it way faster than pressing sleep button in status bar, especially when I'm driving and I can't look at the screen. Plus, I don't really use the dialer function of my phone so often since the invention of Whatsapp ;P
I realize this is not the perfect solution, but I don't see a better way to deal with this power button malfunction problem (except from a hardware fix).
Hope this helps!
Cheers,
Humberto
PS: I am really enjoying Cataclysm. It's a very nice ROM, completely stable and with a lot of other interesting features aside from the ones mentioned above. I strongly encourage anyone to give it a try!
I'm facing the exact same problem but I really need to eliminate the power button or I will need a power button fix soon.
The solutions you found hthiengo are good if not needing to turn off (or worst: running out of battery, something that happens me sometimes). I'm in the situation that next time I hit power button I will need to replace the button, or throw the nexus away
I did installed the xposed additions for lollipop but it is not working, and the Cataclysm trick is not enough in this case
Ok, after some research I've found a temporary solution:
For the power button you can remap modifying the file gpio-keys.kl under system/usr/keylaout (i wonder why anyone could figure out thise before, no that difficult). I would like to map power button leeaving it useless but I've found it impossible to remap the power button (probably because the key number is not 116). I would have liked to see xposed additions to help me map the keys but is not functional at least for me.
If the phone runs out of battery I've found that if I plug the power cable by pressing both volume buttons at the same time, eventually it starts up with the bootloader so I can plug the pc cable and it will reboot sucessfully.
So despite the phone know is pretty disfunctional (not the best phone for a hurry without battery), I can still use it for some weeks before I plan buying a new one or something (or I find a place for reparing). Its a shame I could not find a better solution for example, ADT when powered off so I could just reboot it by using ADT reboot command while powered off.
And It would be really amazing if the volume up button could also power it on from the powered off state.
In my case the power button is broken, but sometimes it gets stuck and puts the phone in a reboot loop: To avoid pressing the power button accidentally I've made a hole in the protective case so its pretty difficult to access it.
That's all for now. If anyone can make it better I will be glad to hear him/her

Galaxy S6 Buttons

Hi,
I have a Galaxy S6 and I am new to android. I find the phone to be really interesting but one thing that keeps catching me out is the 2 buttons on the bottom of the phone, the back button and the “stack” button which loads all open apps. I am always pressing these by accident and would love to disable them, is this possible?
Not unless you want to root and modify things you don't yet know about as an Android newcomer. I'd suggest you stay away from that for now and just get used to being careful about the location of the capacitative buttons. :good:
It's just a matter of getting used to them, I'm afraid. However, if you want to avoid accidental hits at specific times such as when watching movies or playing games, they can actually be disabled without root. All you need to do is enable a feature called Interaction control under Accessibility settings. Once that's done, simply hold Home and Volume down and tap "Done" and you will see the buttons don't work anymore. Hold down Home and Volume down again to go back to normal. Quite handy really once you know it's there.
You can disable the capacitive buttons (or make them do other things) with an app called All in one Gestures

Soft buttons remap, disable backlight.

Hi guys,
I am new to the Note Edge. I cannot get used to the location of the back and recent buttons. I have been searching around but cannot find any mention that any ROM support disable the buttons' backlight and remap them to normal locations. Which ROM support it without extra software?
Thanks a lot.
M8R-9s5efm said:
Hi guys,
I am new to the Note Edge. I cannot get used to the location of the back and recent buttons. I have been searching around but cannot find any mention that any ROM support disable the buttons' backlight and remap them to normal locations. Which ROM support it without extra software?
Thanks a lot.
Click to expand...
Click to collapse
I'm not sure about remapping without a custom rom. (maybe Nova Launcher can do it?) But you can turn off the back light for your buttons in Settings>Device>Display>Touch Key Light Duration>Always Off.
Geners said:
I'm not sure about remapping without a custom rom. (maybe Nova Launcher can do it?) But you can turn off the back light for your buttons in Settings>Device>Display>Touch Key Light Duration>Always Off.
Click to expand...
Click to collapse
Thanks a lot.
I mean I did not found any ROM here that mentioned it has button remap included. I don't intend to use original ROM at all.
You can try All-in-One Gestures from Play Store.

Categories

Resources