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

Search This thread

samomamo

Senior Member
Jul 17, 2010
1,146
310
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
 

samomamo

Senior Member
Jul 17, 2010
1,146
310
Sent from my LG-E970 using xda premium
 

Attachments

  • uploadfromtaptalk1357471999712.jpg
    uploadfromtaptalk1357471999712.jpg
    73.8 KB · Views: 2,152

REDFOCZ

Senior Member
Oct 17, 2008
867
179
Orlando, Fl
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
 

samomamo

Senior Member
Jul 17, 2010
1,146
310
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
 

dr30ma

Senior Member
Jul 4, 2012
458
861
Jaipur
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 ----------

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
 

RonRonJuiCe

New member
Apr 3, 2012
1
0
this worked out good for me because my back button stopped working but the problem i have now is my camera freezes and crashes or acts like it takes a picture but doesnt save an image does anyone else have this problem
 

mareil

New member
Oct 13, 2012
2
0
how to turn off the lights hardware keys?
Its work to disable hw keys but the lights not turn off..

Sent from my LG-E975 using xda premium
 

Xinexz

Member
Jul 30, 2012
22
0
HELP! I tried this and got the nexus 4 buttons working. However, once I got to the disabling hardware buttons part, it all went to hell.
I think I may have screwed up the key map file because now my phone's power button is not working.
I can't lock the phone, I can't wake the screen.

However, once I offed the phone using an app, I can turn it on using the power button, so it definitely isn't broken.

Is there a solution to this? I don't have any warrenty and I'm freaking out!!!
Oh and yes, I've done a factory reset and no that didn't solve the issue.

Please help! Thanks in advance! :crying:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    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
    1
    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
    1
    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