CyanogenMod 12.1 for Android One

Android One devices once again got a pretty stable release of Android 5.1. XDA Recognized … more

DexPatcher: Patch Android APKs Using Java

You’ve probably seen or installed modified applications, be it a patched dialer for your … more

Is Cloud Storage Ready to Replace External Storage?

With more and more OEMs ditching SD cards on their flagships, cloud storage is … more

Customized Ultra Stamina for Xperia

XDA Senior Member androidexpert35 has provided us a customized Ultra Stamine Mode from the … more
Post Reply Subscribe to Thread Email Thread

[MOD] Enable Navigation bar/Disable HW keys(Nexus 4 style)

6th January 2013, 11:31 AM |#1  
samomamo's Avatar
OP Senior Member
Thanks Meter: 245
 
1,008 posts
Join Date:Joined: Jul 2010
I have the At&t version of Optimus G E970, I think this will work for any Optimus G.

Not responsible for bricked phones.


This is a mod how to enable navigation bar(on screen buttons) , its very simple and easy...

Add the following line at the end of buid.prop file
qemu.hw.mainkeys=0
now on reboot we will have nav-bar like on nexus 4

To disable hardware keys, I used root explorer go to system/usr/keylayout click and hold on kaypad.nl and choose from menu open in text editor and 139,158,172 edit the home to hom and do the same on all 3 lines and hit save and reboot,

Plus I went and deleted all the 139, 158, 172 lines from external_kbd.kl, Generic.kl, MHLRCP.kl, osp3-input.kl and qwerty.kl. I dont know if that helps because I deleted them first then edited the lines in kaypad.nl.

Sent from my LG-E970 using xda premium
The Following 4 Users Say Thank You to samomamo For This Useful Post: [ View ]
6th January 2013, 11:33 AM |#2  
samomamo's Avatar
OP Senior Member
Thanks Meter: 245
 
1,008 posts
Join Date:Joined: Jul 2010
Sent from my LG-E970 using xda premium
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1357471999712.jpg
Views:	1732
Size:	73.8 KB
ID:	1621373  
6th January 2013, 10:37 PM |#3  
Senior Member
Thanks Meter: 21
 
128 posts
Join Date:Joined: Mar 2011
what for????
why do i need to decrease screen size?
6th January 2013, 11:07 PM |#4  
samomamo's Avatar
OP Senior Member
Thanks Meter: 245
 
1,008 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by agurzhiy

what for????
why do i need to decrease screen size?

Well some people might want to play with it and get the nexus 4 feeling. Plus its feels smoother in my opinion.

Sent from my SGH-T999 using xda premium
The Following User Says Thank You to samomamo For This Useful Post: [ View ]
7th January 2013, 01:15 AM |#5  
REDFOCZ's Avatar
Senior Member
Flag Orlando, Fl
Thanks Meter: 178
 
861 posts
Join Date:Joined: Oct 2008
More
Its the beauty of Android you can make it how ever you like, some don't mind hardware keys other may want the soft keys.

Sent From my "Slick" Optimus G
7th January 2013, 02:35 AM |#6  
Senior Member
Thanks Meter: 55
 
217 posts
Join Date:Joined: Feb 2008
For what it is worth I find the software keys more ergonomic

The hardware keys on this phone are to low and causes strain to hit them

Sent from my LG-E971 using xda app-developers app
The Following User Says Thank You to trincisor For This Useful Post: [ View ]
7th January 2013, 02:41 AM |#7  
samomamo's Avatar
OP Senior Member
Thanks Meter: 245
 
1,008 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by trincisor

For what it is worth I find the software keys more ergonomic

The hardware keys on this phone are to low and causes strain to hit them

Sent from my LG-E971 using xda app-developers app

That's how I feel its in the right spot. The hw keys are too low.

Sent from my LG-E970 using xda premium
21st January 2013, 10:23 AM |#8  
Senior Member
Las Vegas
Thanks Meter: 20
 
211 posts
Join Date:Joined: Jul 2010
More
it works thanks but is there any way you can make the navigation bar smaller. i think it takes too much screen
21st January 2013, 10:38 AM |#9  
dr30ma's Avatar
Senior Member
Flag Jaipur
Thanks Meter: 870
 
461 posts
Join Date:Joined: Jul 2012
More
Re: [MOD] Enable Navigation bar/Disable HW keys(Nexus 4 style)
You have to change values in framework-res.apk

Sent from my GT-I9100 using xda premium

---------- Post added at 04:08 PM ---------- Previous post was at 04:07 PM ----------

Quote:
Originally Posted by phillip_viado

it works thanks but is there any way you can make the navigation bar smaller. i think it takes too much screen



Sent from my GT-I9100 using xda premium
21st January 2013, 03:39 PM |#10  
Senior Member
Las Vegas
Thanks Meter: 20
 
211 posts
Join Date:Joined: Jul 2010
More
How do I do it though?

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

Advanced Search
Display Modes