- May 14, 2014
- 2
- 0
- 0
Just in case anyone might find this useful, I've put together the instructions I found whilst trying to do this.
Finally I can take photos without accidentally bringing up the Menu or closing the Camera App!
First time I've ever posted here, so be kind!
This works in CM11 M6 on Samsung Galaxy S4 (jflte) i9505 - I have not tested with other versions or on other devices.
Make copies of the files you will modify prior to doing this. I'm not responsible for any bricking or faults!
Give File Manager Root Access.
Open the File Manager App, then tap the Menu button (capacitative or onscreen), and tap Settings.
Go to General Settings, scroll down to and tap Access Mode
Switch to either "Prompt User Mode" or "Root Access Mode"
Then...
To add Soft Keys:
Open the build.prop file in ./system/
Add the following line to the end:
qemu.hw.mainkeys=0
Close, saving changes
To disable Capacitative Keys:
Open the sec_touchkey.kl file in ./system/usr/keylayout/
Put a # symbol before the both the following lines:
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
Close, saving changes
To turn off the Capacitative Key lights:
Go to Settings, Buttons, Backlight
Remove the tick from "Illuminate Buttons"
Reboot and enjoy!
Finally I can take photos without accidentally bringing up the Menu or closing the Camera App!
First time I've ever posted here, so be kind!
This works in CM11 M6 on Samsung Galaxy S4 (jflte) i9505 - I have not tested with other versions or on other devices.
Make copies of the files you will modify prior to doing this. I'm not responsible for any bricking or faults!
Give File Manager Root Access.
Open the File Manager App, then tap the Menu button (capacitative or onscreen), and tap Settings.
Go to General Settings, scroll down to and tap Access Mode
Switch to either "Prompt User Mode" or "Root Access Mode"
Then...
To add Soft Keys:
Open the build.prop file in ./system/
Add the following line to the end:
qemu.hw.mainkeys=0
Close, saving changes
To disable Capacitative Keys:
Open the sec_touchkey.kl file in ./system/usr/keylayout/
Put a # symbol before the both the following lines:
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
Close, saving changes
To turn off the Capacitative Key lights:
Go to Settings, Buttons, Backlight
Remove the tick from "Illuminate Buttons"
Reboot and enjoy!