Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Mod the VOLUME keys to HOME and BACK after Removed NavBar

OP iChris_Nexus

28th February 2012, 07:18 AM   |  #1  
OP Junior Member
Thanks Meter: 6
 
2 posts
Join Date:Joined: Feb 2012
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: [ View ]
28th February 2012, 03:07 PM   |  #2  
scar45's Avatar
Recognized Themer
Flag 127.0.0.1
Thanks Meter: 1,029
 
968 posts
Join Date:Joined: Aug 2006
Donate to Me
More
Quote:
Originally Posted by iChris_Nexus

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!
28th February 2012, 06:21 PM   |  #3  
jerrycycle's Avatar
Senior Member
Thanks Meter: 161
 
1,228 posts
Join Date:Joined: Aug 2009
More
Op, pm sent.
28th February 2012, 07:26 PM   |  #4  
Senior Member
Thanks Meter: 299
 
1,237 posts
Join Date:Joined: 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: [ View ]
28th February 2012, 08:21 PM   |  #5  
tspx23's Avatar
Senior Member
Flag Tempe
Thanks Meter: 355
 
1,142 posts
Join Date:Joined: Jul 2010
Donate to Me
More
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
1st March 2012, 02:25 AM   |  #6  
sn707's Avatar
Senior Member
Flag Oregon
Thanks Meter: 55
 
232 posts
Join Date:Joined: Oct 2007
More
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.
1st March 2012, 02:40 AM   |  #7  
9wire's Avatar
Senior Member
Thanks Meter: 320
 
920 posts
Join Date:Joined: 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.
1st March 2012, 05:33 AM   |  #8  
Member
Thanks Meter: 27
 
91 posts
Join Date:Joined: 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.
1st March 2012, 06:31 AM   |  #9  
Senior Member
Thanks Meter: 6
 
148 posts
Join Date:Joined: Jan 2010
Quote:
Originally Posted by AuxiliaryPie

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
1st March 2012, 06:32 AM   |  #10  
Senior Member
Thanks Meter: 6
 
148 posts
Join Date:Joined: Jan 2010
My bad .dup post
Last edited by shadowpunx; 1st March 2012 at 06:34 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes