Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,443 Members 39,275 Now Online
XDA Developers Android and Mobile Development Forum

Mod the VOLUME keys to HOME and BACK after Removed NavBar

Tip us?
 
iChris_Nexus
Old
#1  
Junior Member - OP
Thanks Meter 6
Posts: 2
Join Date: Feb 2012
Default Mod the VOLUME keys to HOME and BACK after Removed NavBar

Root Explorer -
ROOT - SYSTEM - USR - KEYLAYOUT - tuna-gpio-keypad.kl

Open with Text Editor

HOME for home
BACK for back

Change it whatever you want!

HAHA!!! Got it!!!

I love my GN!!!
The Following 6 Users Say Thank You to iChris_Nexus For This Useful Post: [ Click to Expand ]
 
scar45
Old
#2  
scar45's Avatar
Recognized Themer
Thanks Meter 969
Posts: 952
Join Date: Aug 2006
Location: 127.0.0.1

 
DONATE TO ME
Quote:
Originally Posted by iChris_Nexus View Post
Root Explorer -
ROOT - SYSTEM - USR - KEYLAYOUT - tuna-gpio-keypad.kl

Open with Text Editor

HOME for home
BACK for back

Change it whatever you want!
Nice idea! After hiding the navbar, I quickly realized how much I could use something like this! I'll have to try this out when I get a chance.

Only downside I see is that since we're changing the key layout file, even when the navbar is shown, the volume buttons would still act as home/back. Would be nice for the ROM chefs to have some sort of 'live toggle' so that it would switch to home/back when the navbar is hidden, and then back to default (actual volume) when the navbar is shown.

Cheers and thanks m8!

░▒▓ (also) Developer of the
░▒▓ PCB Series of Themes
 
jerrycycle
Old
#3  
jerrycycle's Avatar
Senior Member
Thanks Meter 157
Posts: 1,216
Join Date: Aug 2009
Op, pm sent.
Phone: Htc One Max T6VZW
Rom: CM11
Theme: Black KitKat
Recovery: TWRP 2.7.1.0
Kernel: Default
Android version: 4.4.4
 
jhericurls
Old
#4  
Senior Member
Thanks Meter 275
Posts: 1,175
Join Date: Aug 2009
That's a nice idea but how do you change the volume? You will have to install some kind widget.

Also this increase wear on your buttons, that's how I killed my previous phone.
The Following User Says Thank You to jhericurls For This Useful Post: [ Click to Expand ]
 
tspx23
Old
#5  
tspx23's Avatar
Senior Member
Thanks Meter 355
Posts: 1,142
Join Date: Jul 2010
Location: Tempe

 
DONATE TO ME
there's a toggle in AOKP to hide and bring back the toggles, although this would be more convenient it seems like it would be a hassle to change those buttons whenever you needed your volume back
 
sn707
Old
#6  
sn707's Avatar
Senior Member
Thanks Meter 44
Posts: 229
Join Date: Oct 2007
Location: Oregon
Thanks for the idea just FYI on 4.0.2 GSM the layout file is:
ROOT - SYSTEM - USR - KEYLAYOUT - Generic.kl but it worked just the same. It was item 114 and 115.

Working great so far. Also I put a volume widget on my home screen so that takes care of that.


Samsung Galaxy S4 Google Edition
 
9wire
Old
#7  
9wire's Avatar
Senior Member
Thanks Meter 309
Posts: 886
Join Date: Jul 2009
There's a flashable zip for this on rootz, been using it for several days. I just long press my ringer toggle for volume adjustment.
 
AuxiliaryPie
Old
#8  
Member
Thanks Meter 26
Posts: 89
Join Date: Oct 2010
what i wanna see is this:

tap the power button to show/hide nav bar
double tap to lock screen
hold down to power off

boom.
 
shadowpunx
Old
#9  
Senior Member
Thanks Meter 6
Posts: 148
Join Date: Jan 2010
Quote:
Originally Posted by AuxiliaryPie View Post
what i wanna see is this:

tap the power button to show/hide nav bar
double tap to lock screen
hold down to power off

boom.
I could def see this being functional

I love my pitbulls
 
shadowpunx
Old
(Last edited by shadowpunx; 1st March 2012 at 05:34 AM.)
#10  
Senior Member
Thanks Meter 6
Posts: 148
Join Date: Jan 2010
My bad .dup post

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more

Android Wear App Review: Command Google Now with Commandr – XDA Developer TV

OK Google. Make Me a sandwich. How many times have you … more