[MOD] Disable/Enable Navbar + Pie Control [ROOT]

MrCreel

Senior Member
Mar 16, 2008
265
113
0
Norway
Hello all,
First of all the credit of this mod goes to @nuuits at this forum.

With this mod you can disable or enable the Navbar which is not really needed if you have pie control.

Flash "enableNavbarG4" in TWRP to enable the navbar.
Flash "disableNavbarG4" in TWRP to disable the navbar.

Download and install LMT Launcher from here to get pie control.

Cheers!
 

Attachments

Last edited:
  • Like
Reactions: rajaraj and neotoky

0rigin

Senior Member
Jan 1, 2013
503
216
73
Sh*topia
Ahh, only now I've checked the links. Yeah I guess it's more or less the same.

Except that I have a phobia and don't wanna flash stuff unless I know exactly what it is and I actually need to. :]
 

nuuits

Senior Member
Dec 31, 2011
752
456
93
22
Thank you for crediting me!

Ahh, only now I've checked the links. Yeah I guess it's more or less the same.

Except that I have a phobia and don't wanna flash stuff unless I know exactly what it is and I actually need to. :]
Very understandable. I created this to be an easier (lazier?) way of doing that, and there were extra steps to enabling the navbar (+ disabling capacitive keys) on the HTC One M7, so this actually made the process much quicker for that device.

The navbar enabler zip comments out the physical key layout lines so the capacitive keys on the M7 are effectively disabled. Then I created a script to add the relevant line to build.prop (so nothing else is overwritten or changed) that executes while flashing. The disabler zip replaces the key layout file with the original, re-enabling the capacitive keys. The script removes that line while keeping the build.prop intact.

The G4 doesn't have capacitive keys, so the key layout files are not relevant to this device. I'm attaching a modified zip to this post that has the capacitive key stuff removed. Please feel free to add the attachments to your post, @MrCreel
 

Attachments

Last edited:
  • Like
Reactions: MrCreel

MrCreel

Senior Member
Mar 16, 2008
265
113
0
Norway
Thank you for crediting me!


Very understandable. I created this to be an easier (lazier?) way of doing that, and there were extra steps to enabling the navbar on the HTC One M7.

The navbar enabler zip comments out the physical key layout lines so the capacitive keys on the M7 are effectively disabled. Then I created a script to add the relevant line to build.prop (so nothing else is overwritten or changed) that executes while flashing. The disabler zip replaces the key layout file with the original, re-enabling the capacitive keys. The script removes that line while keeping the build.prop intact.

The G4 doesn't have capacitive keys, so the key layout files are not relevant to this device. I'm attaching a modified zip to this post that has the capacitive key stuff removed. Please feel free to add the attachments to your post, @MrCreel
Thank you man, really appreciate it :)
 

kancona

Member
Jul 15, 2014
47
4
0
Build.prop

You could also disable navigation bar by adding the line "qemu.hw.mainkeys = 1" at the end of the build.prop. If you ever need it back again, just remove the line.
How can I do that? Where do I find the build.prop? Do I need root? Thanks!!!

Kleber Ancona
 

Negroid

Senior Member
Sep 25, 2010
126
16
0
Houston
So I'm using lmt pie launcher and tried to make the dual window pop up one of the short cuts but to no avail. Anyone able to do this?

Sent from my LG-H811 using Tapatalk