[HOW TO] Disable navigation bar on Android L/M

Isley_

Senior Member
Mar 11, 2014
1,144
250
113
Hi, I decided to do this thread because I haven't seen anything like this.
So, how to disable navigation bar on Lollipop to use Pie Controls or anything? If you will use Pie Controls you have to enable it before following process.

I'm not responsible for any bricked devices.

So:
-First obviously you need to be a Root user.
-Backup your build.prop to your PC or anywhere.
-Edit build.prop with a Root Explorer using this line:

qemu.hw.mainkeys=1

You have to add this at the END of the .prop, save and reboot.

[FOR Marshmallow/Android 6.0]

If you're on Marshmallow (Android 6.0) the process is exactly the same, add the line at the end of the build.prop EXCEPT that you must leave 2 spaces after you added the line.
Like this:







Tested on my Nexus 5 with Android 5.0, 5.1, 6.0, 7.0, 7.1.1 and on my Nexus 6 running Android 6.0 and 7.1.1

(Should work with Android 5.0 and up).

That's all, hope it works.
 

Attachments

Last edited:

vboyz103

Senior Member
Apr 9, 2006
878
136
0
Hi, I decided do this thread because I don't see this on this forum (for now)
So, how to disable navigation bar on Lollipop for use Pie Controls or anything

I'm not responsible for bricked devices or something like that.

So:
-First obviously you need be a Root user
-Backup your build.prop to your PC or anywhere (but backup it!)
-Edit build.prop with a Root Explorer using this line:

qemu.hw.mainkeys=1

you have to add this at the END of the .prop, save and reboot.

That's all, hope it works
I supposed that after you disable nav keys, you have to install PIE type of app? Is it LMT or LTM that I've read somewhere?

You might want to add that information just in case folks missed it and you'll get blamed. :)
 

Isley_

Senior Member
Mar 11, 2014
1,144
250
113
I supposed that after you disable nav keys, you have to install PIE type of app? Is it LMT or LTM that I've read somewhere?

You might want to add that information just in case folks missed it and you'll get blamed. :)
I'll do it, thanks.
 
Last edited:

imparator

Senior Member
Mar 14, 2006
282
133
0
Can you give me exemples of sources ? I don't see what you mean about sources.
I guess he means spaces.

Sent from my Nexus 5 using XDA Free mobile app

---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------

I am looking for a way to autohide the statusbar if even possible.

Sent from my Nexus 5 using XDA Free mobile app
 

Adrien.ddl

Member
Dec 5, 2014
7
0
0
I guess he means spaces.

Sent from my Nexus 5 using XDA Free mobile app

---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------

I am looking for a way to autohide the statusbar if even possible.

Sent from my Nexus 5 using XDA Free mobile app
It works ! Thanks !
 

gohan678

Senior Member
Nov 27, 2012
108
9
0
well .. it don't work for me. the phone don't boot after that. tried it twice.

what's wrong. build.prop keeps deleting itself. I go into recovery and its gone, I copy it over with the twrp file manager and after rebooting its gone again.
I can only flash system.img to get back into android.

edit: got it, forgot to set chmod 644. its working now.
 
Last edited: