[Q] Disable power button ? - Galaxy S II Q&A, Help & Troubleshooting

Is it possible to disable power button on lockscreen ?
I prefer to wake up phone only by button menu.
On GB i edit keylayout file but on ics doesn't work
Thanks

Related

[MOD] Menu key -> App Switch/Recents

Flashable zips to change the hardware menu key to app switch/recents.
Method is simply to replace MENU with APP_SWITCH in Generic.kl
Tested with TWRP and Google Edition 4.4.2/Hyperdrive RLS15 4.3.
You will lose access to settings menus, so use your preferred alternative method to access them. I use Gravitybox to set long press on recents key to menu. You need to change settings for recents key, not menu key in Gravitybox/whatever you use.
Mostly just for convenience since I always do this when flashing roms anyways and I think it's ridiculous to have to hold the middle button for 2 seconds to switch apps. I just add menu_switch to queue after whatever rom zip I'm flashing.
Attached:
menu_switch.zip - changes menu key to app switch/recents key
menu_revert.zip - reverts changes

Is there a .zip to revert the home / menu

Is there a zip to put the Menu / Home buttons back to what they were on the s3 s4? I use apps that dont have a menu tap here button. I need the the original menu button.
Thanks in advance.
If you are rooted check out this post to see what would need to be changed
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
a zip might be problematic as it might be dependent on the rom you are running.
An even easier way is to download gravity box and set the keys as you wish.
Isn't the default hold action on the "App switcher" (left) icon going directly to settings?

Remapping / disabling volume button in *.kl files not working

Hello.
i have an HTC M8 although i think it is not a device related question.
my volume up button is damaged and the volume changes occasionally.
i want to edit the key layout files and disable the volume up button.
i followed this manual:
http://forums.androidcentral.com/lg-optimus-g-pro/284907-how-disable-side-volume-buttons.html
but each time i reset the phone the files returns to their original state and the volume up button is still enabled.
i am using es explorer with root access.
tried to mount the system folder but still no luck.
please help.
i am going crazy...

[MOD] Enable Navigation Bar Unofficial LOS15

This mod ONLY FOR unofficial Linege OS 15 by @abhishek987
DONT TRY ON ANOTHER OREO ROM
Download Here
https://drive.google.com/file/d/0B0WG9Zf2eOC8T3diZ3VzdldyWGM/view?usp=drivesdk
Restore
https://drive.google.com/file/d/0B0WG9Zf2eOC8T2NyZkl6eDJrUGc/view?usp=drivesdk
TIPS: DISABLE CAPACITIVE BUTTON BACKLIGHT
U can disable the button backlight by modifying files at "sys/class/leds/button-backlight/brightness" and change the value to zero, but after reboot that value will revert back to default, so u have to change it manually every time the phone reboot. Or you can use app from playstore
will this disable hardware button and the button backlight?
Kuato said:
..
Click to expand...
Click to collapse
Do you know how to remap nav bar keys? I need to do "back" -vice versa- with "app_switch " (back on right of nav bar)
I tried to edit your keylayout files (Atmel_maXTouch_Touchscreen, ft5x06_ts, Generic from my phone too) and flash it but without help.
yeihang24 said:
will this disable hardware button and the button backlight?
Click to expand...
Click to collapse
Nope. Kuato build prop edit has disabling rule but it does not work. I think its because of Oreo.
BluurPL said:
Do you know how to remap nav bar keys? I need to do "back" -vice versa- with "app_switch " (back on right of nav bar)
I tried to edit your keylayout files (Atmel_maXTouch_Touchscreen, ft5x06_ts, Generic from my phone too) and flash it but without help.
Click to expand...
Click to collapse
Unfortunately to do that, u need to modify the framework, I have no time to do that sorry
yeihang24 said:
will this disable hardware button and the button backlight?
Click to expand...
Click to collapse
U can disable the button backlight by modifying files at "sys/class/leds/button-backlight/brightness" and change the value to zero, but after reboot that value will revert back to default, so u have to change it manually every time the phone reboot,

Long press home button

I have a problem with the rom, I have a list of running applications on the long press home button.
my question is how to set up a google assistant on long press home button?
I have original system files but I need to see which file to copy
I'm not interested in any programs but how to change it directly in the system
thank you in advance for your help

Categories

Resources