5,595,964 Members 31,498 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 945
Posts: 947
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 139
Posts: 1,178
Join Date: Aug 2009
Location: Milwaukee
Op, pm sent.
Phone: Htc One Max T6VZW
Rom: ViperMax 1.0.1
Theme: DarkMax 1.0.3 & Team Black Out
Recovery: Venom's TWRP
 
jhericurls
Old
#4  
Senior Member
Thanks Meter 261
Posts: 1,083
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 352
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 26
Posts: 220
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 303
Posts: 862
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

Fix the Ambient Light Issues on Your Google Nexus 5 using Xposed

The Google Nexus 5 is a great and rather popular device. This LG-produced … more

Google Glass XE16 Update Factory Image and Rooted Bootloader Now Available

You may recall that early yesterday, we talked about the XE16 … more

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more