This is a Mod I did for CM10
It will enable the on screen navigation soft keys. it will also disable the capacitive buttons AND the home button.
I used the Framework-res.apk from the CM 10 Preview 6 build.
This will NOT disable the capacitive lights, just the keys themselves. To disable the lights go to settings -> Advanced -> Screen and uncheck "Backlight"
Why did I do this mod?
Well, I really liked the on screen nav buttons on the GNEX. At the time I had the Galaxy S II and enabled them with AOKP but as much as I liked them I hated losing the screen real estate on the 4.3 inch screen. When I got the GS3 I felt the screen was big enough to give up a little screen RE for the nav buttons. I also did it because when I play games or hold my phone in landscape I would accidently hit the capacitive buttons so this mod also eliminated that for me
EDIT: Member NemesisRE Has posted a way to universally do this on CM 10 and other roms! Taking this mod a step further and making it easy on me so I wouldnt have to do the mod every time the CM 10 FW changed:
From NemesisRE's post(http://xdaforums.com/showpost.php?p=29677762&postcount=98)
Based upon the work of graffixnyc and labbe- I made a Script that searches for the entries and changes them. All other entries (if there are others) are not affected!
Script doesn´t need BusyBox binary so its a very small Package. No Framework-res.apk is added so it should be universal.
Please make a Backup before you try this! And report if working!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NAV_Only: none of the hardware keys are enabled (except Volume and Power)
NAV_HomeWake: Home button wakes device but has no other function
NAV_HomeCamera: Home button opens Camera and takes Pictures but has no other function
NAV_StockKeys: Functions as normal but with on Screen Navbar
NAV_Remove: Removes the mod
Install Instructions:
- Boot into recovery
- flash with CWM
- reboot
This should work on any device with the same keybindings:
Code:
In the this files:
Code:
Code:
Cheers
Steven
It will enable the on screen navigation soft keys. it will also disable the capacitive buttons AND the home button.
I used the Framework-res.apk from the CM 10 Preview 6 build.
This will NOT disable the capacitive lights, just the keys themselves. To disable the lights go to settings -> Advanced -> Screen and uncheck "Backlight"
Why did I do this mod?
Well, I really liked the on screen nav buttons on the GNEX. At the time I had the Galaxy S II and enabled them with AOKP but as much as I liked them I hated losing the screen real estate on the 4.3 inch screen. When I got the GS3 I felt the screen was big enough to give up a little screen RE for the nav buttons. I also did it because when I play games or hold my phone in landscape I would accidently hit the capacitive buttons so this mod also eliminated that for me
EDIT: Member NemesisRE Has posted a way to universally do this on CM 10 and other roms! Taking this mod a step further and making it easy on me so I wouldnt have to do the mod every time the CM 10 FW changed:
From NemesisRE's post(http://xdaforums.com/showpost.php?p=29677762&postcount=98)
Based upon the work of graffixnyc and labbe- I made a Script that searches for the entries and changes them. All other entries (if there are others) are not affected!
Script doesn´t need BusyBox binary so its a very small Package. No Framework-res.apk is added so it should be universal.
Please make a Backup before you try this! And report if working!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NAV_Only: none of the hardware keys are enabled (except Volume and Power)
NAV_HomeWake: Home button wakes device but has no other function
NAV_HomeCamera: Home button opens Camera and takes Pictures but has no other function
NAV_StockKeys: Functions as normal but with on Screen Navbar
NAV_Remove: Removes the mod
Install Instructions:
- Boot into recovery
- flash with CWM
- reboot
This should work on any device with the same keybindings:
Code:
Code:
key 172 HOME
key 158 BACK
key 139 MENU
In the this files:
Code:
Code:
/system/usr/keylayout/sec_touchkey.kl
/system/usr/keylayout/gpio-keys.kl
Code:
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Mod
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Steven
Last edited: