I post this little guide to help those who - like me - prefer a "Nexus-like" experience while keep using the capacitive buttons.
- 1 - Turn off capacitive buttons backlight
1a) using your preferred root file manager go to /sys/class/leds/button-backlight/brightness
1b) edit the file "brightness" and set the text to "0", save and exit
1c) edit the file "max_brightness" and set the text to "0", save and exit
- 2 - Swap buttons functions
2a) using your preferred root file manager go to /system/usr/keylayout
2b) open for editing the file "Generic.kl"
2c) find the string "key 139 MENU" and replace with "key 139 BACK"
2d) find the string "key 158 BACK" and replace with "key 158 MENU", save and exit
2e) reboot
Credits:
This page turning off the backlight.
This page for swapping keys funcions.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Thank you sure makes it easier on us lefties
64 pieces of bacon yummy?
If you turn off capacitive buttons backlight, wouldn't be difficult to press them since they are quite small?
i do this since i changed my n4 for an OPO and preferred to stick on the nexus keys layout
the drawback is that if you remove the capacitive menu key you don't have access to menu on chrome and other apps that don't show overflow (3 dots) menu buttons
here is the thread where i asked about infos but nobody helped so far
http://forum.xda-developers.com/oneplus-one/help/force-app-overflow-3-dots-menu-to-appear-t3003731
and here below there's 3 flashable zip files for CM12 with the following setup:
nexus-like keys (back-home-recents)
inverted keys (back-home-menu)
stock keys (menu-home-back)
if you use CM12, my advise is to use the "inverted" one and remap "menu" to "recents" from Cyanogenmod button settings, so you can also set up "menu" option if longpress or double tap
AH thanks alot OP really needed this
etoy said:
i do this since i changed my n4 for an OPO and preferred to stick on the nexus keys layout
the drawback is that if you remove the capacitive menu key you don't have access to menu on chrome and other apps that don't show overflow (3 dots) menu buttons
here is the thread where i asked about infos but nobody helped so far
http://forum.xda-developers.com/oneplus-one/help/force-app-overflow-3-dots-menu-to-appear-t3003731
and here below there's 3 flashable zip files with the following setup:
nexus-like keys (back-home-recents)
inverted keys (back-home-menu)
stock keys (menu-home-back)
Click to expand...
Click to collapse
I flashed the nexus- like keys zip inside of TWRP recovery, and now NONE of my capacitive or physical buttons are working. How do I fix it?
Kevlang said:
I flashed the nexus- like keys zip inside of TWRP recovery, and now NONE of my capacitive or physical buttons are working. How do I fix it?
Click to expand...
Click to collapse
what ROM are you using? the ones i posted are for CM12
here's attached a "revert to stock" zip for CM11S
etoy said:
what ROM are you using? the ones i posted are for CM12
here's attached a "revert to stock" zip for CM11S
Click to expand...
Click to collapse
Thanks, i was running 11s. Not to worry though, I decided that was an opportune time to flash CM12, and problem solved.
To clarify, those original 3 zips should be safe to use now that I'm running CM12?
Do i just flash using TWRP?
Kevlang said:
Thanks, i was running 11s. Not to worry though, I decided that was an opportune time to flash CM12, and problem solved.
To clarify, those original 3 zips should be safe to use now that I'm running CM12?
Do i just flash using TWRP?
Click to expand...
Click to collapse
i personally use CM12 and flash the "inverted" one myself with TWRP 2.8.4.1 everyday when i update nightlies.
just compared my Generic.kl stock file with the one on latest 0121 nightly and they're identical so yes, i guarantee it's safe to flash them
Giocarro said:
- 1 - Turn off capacitive buttons backlight
1a) using your preferred root file manager go to /sys/class/leds/button-backlight/brightness
1b) edit the file "brightness" and set the text to "0", save and exit
1c) edit the file "max_brightness" and set the text to "0", save and exit
.
Click to expand...
Click to collapse
There is the option under settings / buttons on CM12
etoy said:
i do this since i changed my n4 for an OPO and preferred to stick on the nexus keys layout
the drawback is that if you remove the capacitive menu key you don't have access to menu on chrome and other apps that don't show overflow (3 dots) menu buttons
here is the thread where i asked about infos but nobody helped so far
http://forum.xda-developers.com/oneplus-one/help/force-app-overflow-3-dots-menu-to-appear-t3003731
and here below there's 3 flashable zip files for CM12 with the following setup:
nexus-like keys (back-home-recents)
inverted keys (back-home-menu)
stock keys (menu-home-back)
if you use CM12, my advise is to use the "inverted" one and remap "menu" to "recents" from Cyanogenmod button settings, so you can also set up "menu" option if longpress or double tap
Click to expand...
Click to collapse
Can I apply one of your zip to oxygenos?
Paninno12 said:
Can I apply one of your zip to oxygenos?
Click to expand...
Click to collapse
to be honest, i don't know if the origin file is the same.
you should compare the file from my "revert" zip and yours, it's located in
/system/usr/keylayout/Generic.kl
if they are identical, then you can proceed.
if not, you can send it to me and i'll prepare a zip for O²
Paninno12 said:
Can I apply one of your zip to oxygenos?
Click to expand...
Click to collapse
i compared the Generic.kl files between O² and CM12, they're identical so you can flash my zip without any worries
etoy said:
i compared the Generic.kl files between O² and CM12, they're identical so you can flash my zip without any worries
Click to expand...
Click to collapse
Working perfectly! Thanks
Works on marshmallow as well, in case anyone wondered.
etoy said:
i do this since i changed my n4 for an OPO and preferred to stick on the nexus keys layout
the drawback is that if you remove the capacitive menu key you don't have access to menu on chrome and other apps that don't show overflow (3 dots) menu buttons
here is the thread where i asked about infos but nobody helped so far
http://forum.xda-developers.com/oneplus-one/help/force-app-overflow-3-dots-menu-to-appear-t3003731
and here below there's 3 flashable zip files for CM12 with the following setup:
nexus-like keys (back-home-recents)
inverted keys (back-home-menu)
stock keys (menu-home-back)
if you use CM12, my advise is to use the "inverted" one and remap "menu" to "recents" from Cyanogenmod button settings, so you can also set up "menu" option if longpress or double tap
Click to expand...
Click to collapse
Thanks, Inverted working great on Bliss Pop.
Suppose to : long press [Home] key, open recent menu...
So how I can change it to long press [Menu] key to open recent menu?!
Thanks, one of the experiences I'm missing from Nexus devices
Hi,
can anyone tell me how it is to be done on Oneplus X with CM 12.1.
I am able to configure Menu and Home buttons via settings, but I cannot swap location or configure Back button.
Editing Generic.kl did not work, I think it might be overridden by the cyanogen mod settings?
thanks
freaksworth
I'm going crazy to find the apk right to replace the menu of white kitkat that I dislike .avious apps as Wanam Xposed or holo themer fail to do what I need, and having discovered that the apk such as text messages have a name spedifico [secmms_cherry] will exist a variation of black background and white text .any one can help me? files that are looking for
secmms.apk
incall.apk
settings.apk
seccontacts.apk
for example i tryed secmms from my galaxy s4 mini and don't work
HOW TO REMAP CAPACITIVE BUTTONS ON GALAXY S6
If you're left handed like me, then you might wanna remap your capacitive buttons if you use the back key more often than the multitask button.
You can remap many other buttons such as volume keys and the power button, just use some logic and you'll figure it out.
As we progress on, you'll realize that there are many more things you can remap other than the physical buttons.
!!!DISCLAIMER!!!
I'm not responsible if this doesn't work for you!
I'm not responsible if your capacitive buttons don't work!
!!!DISCLAIMER!!!
1. You'll need root access for this, otherwise it won't let you edit the file
2. Go to Play Store and download the app called Total Commander (you can use any other file manager that supports root, but this one worked best for me)
3. Open the app, and go to File system root
4. Go to data folder and when it asks you, grant it the permissions
5. Go back and go to the system folder, then to the usr folder and then to the keylayout folder
6. Long press on the Generic.kl file and click on Open as, then on Text and then select Totalcmd Editor
7. Now click on the magnifying glass icon without an arrow in the top right corner
8. Search for the word BACK, but select the Whole Words checkbox
9. Change it to APP_SWITCH (make sure it's capitalized!)
10. Search again for the word MENU and change it to BACK (there may be two MENU words in the file so search twice)
11. Search for the word APP_SWITCH and change it to BACK
12. Click on the Floppy disk icon on the top of the window and then click OK
13. Exit and close the application
14. Reboot your device and enjoy!
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Change both MENU words to BACK.
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Oh, and I see that you may be using CM, I'm not, so I'm not pretty sure if the files are same. I used stock ROM on my Galaxy S6, but I'm pretty sure any other ROM would work, as long as you have the S4 or S5 or S6 or even S7 and the latest version.
this thread is moved to that
http://forum.xda-developers.com/gal...bling-soft-navigation-bar-keys-stock-t3427028
open previous link as it is updated thread untill I update that one
friends
if you still using stock rom 4.2.2 ,great news you can now enable soft keys on your phone
all what we need is
1-moded system ui flashable zip
2-xperai/AOSP navabar buttons apk
3-rooted device with exposed installed
4-root explorer or other root browser
at first flash the systemuu.zip file I provided through recovery(this is themed system ui to look like S5 thx to vadakkeveetil who provide it
http://forum.xda-developers.com/showthread.php?t=2760990
by then I moded the system ui to show navigation bar
after glashing the system ui open your root explorer and gi to system>build prop ,right click on it and choose open with text editor and paste that line and save
qemu.hw.mainkeys=0
install xperia /Aosp navabar button apk and allow it to work through exposed then restart your phone
after you reboot ,open xperia /aosp navabar button and un tick menu and search and arrange button as you like,change button hight to about 60% or what you like
now enjoy your navigation bar on stock rom
another thing>in my phone I changed dpi to 235 instead of 240 you can do that through editing build prop and change
ro.sf.lcd_density=235
all the work I made by my self and it took mr too much time to mod it ,if you liked my work please hit thanks
now download files
moded system ui zip
https://www.dropbox.com/s/e4uh2rc88t9qt2h/s5 SystemUI v5 Normalmoded navig v2.zip?dl=0
xperia/aosp navabar button
http://repo.xposed.info/module/com.gzplanet.xposed.xperianavbarbuttons
if you liked my work just press thank buttonfriends
if you still using stock rom 4.2.2 ,great news you can now enable soft keys on your phone
all what we need is
1-moded system ui flashable zip
2-xperai/AOSP navabar buttons apk
3-rooted device with exposed installed
4-root explorer or other root browser
at first flash the systemuu.zip file I provided through recovery(this is themed system ui to look like S5 thx to vadakkeveetil who provide it
http://forum.xda-developers.com/showthread.php?t=2760990
by then I moded the system ui to show navigation bar
after glashing the system ui open your root explorer and gi to system
Hello,
As the google camera on ASOP and LineageOS is pretty bad, then our community has found a good temporal fix. (Thanks core720 for making your thread )
The one and mighty HTC Camera
Altough, there is one problem...... my perfectly rounded icons...... they are gone!!
If you like it the way it is you can only install the HTC Camera(Found by a google search),
if not continue.
So i have found an easy solution to fix that problem.
1) First, you are going to need the APK Editor by SteelWorks (Found at GooglePlay)
2) Download the pixel launcher icons apk (Give it a little google search )
3) Now download the HTC Camera (Found by a google search)
4) Open the APK Editor and press "Select an apk file"
5) Open the download folder and press on the Pixel Launcher icons apk, we are going to do a simple edit so press on that.
6) Now press "res" then "mipmap-xxxhdpi-v4" and press the save icon next to "ic_camera" and save it somewhere where you can find it.
7) Now you close this apk from the bottom of the screen and you can select a new one, select the HTC Camera apk and press "images" at the top of the screen.
8) Scroll down until you find "icon_launcher_camera.png", press the little pencil button next to it.
9) Find your saved Google Camera icon and press on it.
10) Press save at the bottom of the screen and then press install.
11) You are done !
Yay, hopefully you have now got your perfectly rounded icons back. and good luck to you on XDA Community.