Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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 621
Posts: 893
Join Date: Aug 2006
Location: Ontario

 
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 122
Posts: 1,129
Join Date: Aug 2009
Location: Milwaukee
Op, pm sent.
Phone: Galaxy Nexus
Rom: Aokp
Theme: DarkJelly
Recovery: TWRP
 
jhericurls
Old
#4  
Senior Member
Thanks Meter 244
Posts: 1,030
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 336
Posts: 1,141
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 16
Posts: 185
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 Note II (ATT Rooted, Stock)
Nexus 4 16GB (Stock)
 
9wire
Old
#7  
9wire's Avatar
Senior Member
Thanks Meter 230
Posts: 638
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: 88
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more