Disabling softkeys (nav bar) permanently - ZTE Axon 7 Guides, News, & Discussion

I'm not sure about anybody else, but gave the navbar a shot, didn't like it, will never use it. Minimizing it does little to remedy its existence as you may often swipe up from the bottom of the screen and bring it up.
If you want to disable it, find the following line in your build.prop file in /system:
Code:
qemu.hw.mainkeys=0
Change the 0 value to a 1, reboot.
You must be rooted to do this.

Worked great. Nice simple fix. Thanks.

Related

[Q] disable hardware navigation buttons and enable onscreen

I really don't like the hardware buttons...the home key is too slim and I always press the menu key when playing with the device in landscape, while I really appreciated the on screen navigation bar of the galaxy nexus. It's simply always there, it's a lot faster to access the app switcher and it's really better in everything (in my opinion of course).
If it isn't yet possible I'll stick with my nexus till this feature will be available because I really can't stand with those poor designed hardware keys.
Thank you very much
Marco
Wait for cm9/aokp
Sent from my GT-I9300 using xda premium
I second that... on screen keys are the way forward... saves accidental presses too.
Sent from my Galaxy Nexus using Tapatalk 2
Waiting for someone to bring out the on screen buttons on Samsung rom as well.the problem with aokp rom is that some Samsung functions are lost. I tried to enable it in Samsung rom by it freezes the phone. I can see that the Samsung onsxreen button has slightly different icon that standard ics. Hopefully someone can figure put how to do it on stock rom soon
en0203 said:
Waiting for someone to bring out the on screen buttons on Samsung rom as well.the problem with aokp rom is that some Samsung functions are lost. I tried to enable it in Samsung rom by it freezes the phone. I can see that the Samsung onsxreen button has slightly different icon that standard ics. Hopefully someone can figure put how to do it on stock rom soon
Click to expand...
Click to collapse
You and me both... The on screen keys is the reason I'm still using my gnex as opposed to my gs3.
Sent from my Galaxy Nexus using Tapatalk 2
why dont you try the app Button Saviour bro? Had my friend try it on his S3 and it works perfectly.
raymondswong said:
why dont you try the app Button Saviour bro? Had my friend try it on his S3 and it works perfectly.
Click to expand...
Click to collapse
It's not quite the same and looks no where near as nice.... Plus I would also want to disable the capacitive buttons.
I too want to disable the home button and cap buttons and use on screen nav when I get my phone. Is it possible on a samsung based rom? I know you can enable on screen nav pretty easily and on the GS2 there was a way to disable the buttons and lights but on the Gs2 I thought it cost too much screen real estate. with a 4.8 inch screen I wouldnt mind giving up a little bit of it for on screen nav
graffixnyc said:
I too want to disable the home button and cap buttons and use on screen nav when I get my phone. Is it possible on a samsung based rom? I know you can enable on screen nav pretty easily and on the GS2 there was a way to disable the buttons and lights but on the Gs2 I thought it cost too much screen real estate. with a 4.8 inch screen I wouldnt mind giving up a little bit of it for on screen nav
Click to expand...
Click to collapse
I don't mind the home button still working as I don't think I would make any accidental presses, the capacitive buttons on the other hand need to be disabled.
Lets get a dev to make it happen... I don't mind donating to the cause either.
ronak47 said:
I don't mind the home button still working as I don't think I would make any accidental presses, the capacitive buttons on the other hand need to be disabled.
Lets get a dev to make it happen... I don't mind donating to the cause either.
Click to expand...
Click to collapse
Well when I get the device in a few weeks I will attempt it if its not done by then
Sent from my SGH-I777 using Tapatalk
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
thanks
hocgwai said:
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
Click to expand...
Click to collapse
Wow, that's the right link. I was able to disable softkeys and I already tried messing with bools.xml but my new framework-res crashed everything. I gave a look to the link you posted and it seems to be great! Tomorrow if I find some spare time I'll try.
Thank you very much!
hocgwai said:
here is a post by GalaxyUser that shows you how to enable the lockscreen rotation on ics. following the instructions you can also enable the ics navigation bar as well as a number of other mods. the options are in the bools.xml file within framework-res.apk\res\values\bools.xml.
http://forum.xda-developers.com/showthread.php?t=1525045
select the line that says
<bool name="config_showNavigationBar">false</bool>
and change false to true
then follow the rest of his instructions.
also, instructions to disable or enable the capacitive menu and back keys:
(i did not come up with these instructions but found them on a search a long time ago...cant remember the thread or else I would link to it)
1) Use a program like root explorer
2) go to /system/usr/keylayout
3) create a new file named "melfas-touchkey.kl" with the following text:
#key 158 BACK VIRTUAL
#key 139 MENU VIRTUAL
4) also create a second file named "sec_touchkey.kl" with the same text
5) change the permissions of both files to "rw-r--r--" (just like the other files in the directory)
6) reboot...done!
to re-enable just remove the files you just created and reboot
good luck
Click to expand...
Click to collapse
Thank you so much. Those hardware buttons were driving me insane. Happy to have them disabled now. Thanks, gratefully given!
may i get a little help?
Somehow i cant change the permission of melfas_touchkey.kl
if i try Anttek explorer says the partition is read only... (i have root privileges) however i created the file with.. strange..
What i did wrong?

Request for a mod that disables the capacitive LEDs?

So ever since I switched to the LiquidSmooth ROM and decided to switch to the on-screen navbar, I've been looking for ways to completely disable my capacitive buttons (not very good use of screen estate, I know, but that Google Now swipe up feature is just 2gud). So far I've managed to disable the actual capacitive buttons, yet I can't seem to get rid of the LEDs. So I ventured into the depths of the sys folder and found just how I might be able to disable the LEDs. In the folder /sys/devices/platform/leds-cpcap-kpb/leds/button-backlight there is a file named "brightness" that has the value 1. Changing the value to 0 will disable the button LEDs. That's great and all, however the system manages to keep changing this back to 1, meaning the LEDs are there to stay. Now I was wondering if there was some sort of mod or something I could flash that would permanently change the value to 0, since I've been googling this a lot and found a thread of a guy working on the same issue with an HTC One X+ and managed to make a mod that kept the LEDs disabled. Since I have no experience in this stuff whatsoever, I cannot attempt such a feat, but I was wondering of one of the more knowledgeable members could help me find a solution to this dilemma, or if I'm overlooking something.
Thanks.
TL;DR: I need a mod to permanently disable the button LEDs.
Can I ask you a quick question? How did you disable the capacitive buttons? I have a Nav-bar just haven't found out how too.
Gus194 said:
Can I ask you a quick question? How did you disable the capacitive buttons? I have a Nav-bar just haven't found out how too.
Click to expand...
Click to collapse
Np. Navigate to system/usr/keylayout/ and you should find a file entitled "Generic.kl" Open it up with a text editor and place #'s in front of key 127, key 139, key 158, key 172, and key 217, similar to some other lines. Reboot and it should disable the buttons for you.

[Q] Remove/Hide soft keys on Android 4.4.x

Hello,
I need to remove the soft keys from my tablet, I tried a lot but I was unable to make it work as it should.
I do not want to use immersive mode cause it hides but the user can get it back on with a swipe...
The only way that I've managed to make something near is to put "qemu.hw.mainkeys=1" on build.prop file, this hides, but once again if I swipe the keys get back visible...
How can I hide it so it does never get back visible no matter what I do?
Thanks
zejulios said:
Hello,
I need to remove the soft keys from my tablet, I tried a lot but I was unable to make it work as it should.
I do not want to use immersive mode cause it hides but the user can get it back on with a swipe...
The only way that I've managed to make something near is to put "qemu.hw.mainkeys=1" on build.prop file, this hides, but once again if I swipe the keys get back visible...
How can I hide it so it does never get back visible no matter what I do?
Thanks
Click to expand...
Click to collapse
If you remove this entire line from build.prop:
Code:
qemu.hw.mainkeys=[number]
...the soft keys shouldn't come back.
Hello,
The qemu.hw.mainkeys wore not there when I got the tablet. I have added.
I have tried =0 and =1, =0 show on start, =1 hide's on start, but if you slide it shows back again...
juliosilva said:
Hello,
The qemu.hw.mainkeys wore not there when I got the tablet. I have added.
I have tried =0 and =1, =0 show on start, =1 hide's on start, but if you slide it shows back again...
Click to expand...
Click to collapse
I have found this, this and that for you to look at. I can't help too much more, but hopefully those links will be of assistance.

Remove on-screen navigation buttons

Hello all, I'm having a difficult time rebuilding my phone setup as I like it, this is removing the on-screen navigation buttons modifiying build.prop by adding qemu.hw.mainkyes=1 to make android believe the phone has physical buttons and then using LMT launcher pie. My problem is that modifiyng my build.prop leads to a non-working system. I just get a blank screen and then the UI crash and restart the process indefinietly. I've been doing this exact modification to all my phones and never had an issue, even with this same phone on stock nougat or LOS Oreo, but stock oreo is a no-go for me. Does LG introduced some kind of obligatory on-screen buttons on oreo or is something wrong on my end?
Looks like you need a reflash. Modding build.prop is dangerous, if you forget to set the right permission things will go wrong.
Meybe you can try adb shell settings put global policy_control immersive.navigation=* It'll just hide you nav bar unless you pull it out, works on most Android and doesn't need root.
valest said:
Looks like you need a reflash. Modding build.prop is dangerous, if you forget to set the right permission things will go wrong.
Meybe you can try adb shell settings put global policy_control immersive.navigation=* It'll just hide you nav bar unless you pull it out, works on most Android and doesn't need root.
Click to expand...
Click to collapse
Ok that will work to hide on-screen buttons but the thing is, going that way makes really hard to use pie lmt launcher buttons. I agree that modifiyng build.prop is dangerous but I've been doing it since my Nexus 4 days since on-screen buttons really bother me. I only add this line qemu.hw.mainkyes=1 and then use pie but now it makes my phone unusable. I discover that stock build.prop already have that line but ending in =0 of course as it does have on-screen navigation buttons, but even changing this single value to 1 produces a crash on the system

A fix for wrong Status Bar padding.

So, i recently got this device and i found it pretty annoying how the clock and battery icons were too close to the rounded corner of the screen, and since my device is still in warranty i can't use advanced root tools to fix this, but fortunately i found a solution that works in unrooted stock rom and i wanted to share in case anyone wants to fix their device too.
All you need is to have access to Developer Settings and enable Device Debugging, and ADB installed in your computer.
With your device connected, open CMD in the folder you installed ADB or just open Terminal if you're in linux, then enter this commmand:
Code:
adb shell settings put secure sysui_rounded_content_padding 8
And done! You should see the difference right away.
This setting is kept after a reboot, but i doubt you'll ever want to change it back to it's default, but if you want you can change the value to 0.
You can change the value at the end of the command to your liking, i just found 8 to be my prefered setting.
I hope this helps!
EDIT: Actually, there's a problem. The padding changes to the default everytime you change the screen orientation which is very annoying. I couldn't find a fix for this but if you know of any please let me know!
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Bartoshevsky said:
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Click to expand...
Click to collapse
I'm not sure if you can change the vertical padding, but if you did it the notch would probably cover the apps on screen so i think it wouldn't be a good idea
Hi,
I have found a little workaround for the padding setting reset after screen orientation change. It is possible to get the padding back without using ADB again.
Set the padding using the ADB method
Now if you change screen orientation the padding will disappear
Go to Settings -> Display -> Advanced -> Device Theme
Switch to the theme that is not currently used and back (Note: If you have an automatic theme selected, try to select both light and dark theme, it should change after selecting one or another)
The desired padding should be back again.

Categories

Resources