Hide navigation bar for no root and hide navigation bar when typing - Google Pixel 2 Guides, News, & Discussion

When I get a pixel 2 ,the first thing I want to do is hiding the navigation bar.After a long search,I finally find some great methods for no root and root.
No root:
1. get app Navigation Bar Hider from play store.
2. go to Setting-> System-> About phone, click Build Number for 5 times to enable Developer Mode.
3. go to Setting-> System->Developer options,enable USB debugging.
4. use usb to connect to your PC,and run
Code:
adb devices
to make sure your device is connected.
5. run
Code:
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
6. open app Navigation Bar Hider,choose apps you want to hide navigation bar.
!Notice: don't select all system apps,it will cause some problems,just choose what you want to hide.
or
without app installed, following this:
https://forum.xda-developers.com/pixel-xl/themes/how-to-enable-true-immersive-modes-t3554299
from now on,it seems pretty nice for hiding navigation bar.But,while I am typing,the navigation bar appear again!
The pixel2 already has a long chin,and one more navigation bar is too long for typing.
How to hide navigation bar for keyboard?
As we know,if a phone with physical keyboard,there is no navigation bar.So,there must be a key to disable navigation bar.I finally found the key,it's qemu.hw.mainkeys.
I don't know too much about adb shell.So I choose to change it by magisk module.Following shows steps:
1. you have to root your phone.
How to root pixel2?
Follow this videohttps://www.youtube.com/watch?v=nFD9sa-WdUM
(You should download the file from googling it to get latest version.)
2. after you installed magisk following video.Just open magisk and choose menu->download,search "hide navigation bar",install it.
3. install pie control or other navigation app you like,unless you don't need navigation bar

no one reply??

You shouldn't edit the "qemu.hw.mainkeys"
You shouldn't edit the "qemu.hw.mainkeys", or you'll get an endless loop on reboot.
This is because Google Assistant will use the home key as it's trigger.
And the Google Assistant is a part of Google Service now.

Is there a way to actually do this without root? Including it not reappearing when you swipe from the bottom?
I use the Edge Gestures app, but the bottom triggers are useless since it brings up the navbar.

there is an app called hide nav bar thats just works + oneplus gestures = good experince

Related

Hide soft keys on rooted stock

Hello,
Installed LMT Launcher and played with it briefly last night.
Seems to work well.
I'd like to know if it is possible to remove the soft keys on a stock ROM (rooted with busybox)
Thanks,
~Eric
Hi. I also tried LMT and loved it so much that I simply removed the navbar. Sometimes it would be more practical to have the navbar, but I'm getting more and more used to LMT and in time I feel I will never miss navbar again! I was looking and found some APKs that do this and also a MOD I beleive, but by FAR the easisest solution for me was to simply edit the build.prop file.
So, before you do this make SURE you have alternative way to navigate (such as LMT). Then simply open your build.prop file and add this line:
Code:
qemu.hw.mainkeys=1
Save, reboot and... Profit!
Navbar will be GONE. Cheers:good:
Thanks a bunch... This worked great. Would love to not have to reboot to take effect but still good that you can do this on the stock ROM.
Meeks a huge difference in landscape mode.
Sent from my Nexus 7 using xda app-developers app
tipsek said:
Hi. I also tried LMT and loved it so much that I simply removed the navbar. Sometimes it would be more practical to have the navbar, but I'm getting more and more used to LMT and in time I feel I will never miss navbar again! I was looking and found some APKs that do this and also a MOD I beleive, but by FAR the easisest solution for me was to simply edit the build.prop file.
So, before you do this make SURE you have alternative way to navigate (such as LMT). Then simply open your build.prop file and add this line:
Code:
qemu.hw.mainkeys=1
Save, reboot and... Profit!
Navbar will be GONE. Cheers:good:
Click to expand...
Click to collapse
hi how to execute that code and what app do i need?
You can now hide soft keys (and keep notification bar) without modifications and reboots. Just try my new app:
GMD Hide Soft Keys
It also adds Quick NavBar - soft keys that can be opened with simple swipe from bottom and then autohide when not needed :good:.
StupidIdea said:
You can now hide soft keys (and keep notification bar) without modifications and reboots. Just try my new app:
GMD Hide Soft Keys
It also adds Quick NavBar - soft keys that can be opened with simple swipe from bottom and then autohide when not needed :good:.
Click to expand...
Click to collapse
I Tried your app, but theres a huge red line on the bottom of the screen, so bad.
And also got a lot of errors messages on my logcat in the background, so i uninstalled it quickly oO

[Q] Remove the "Voice Mate, Google, Quick Memo" menu from the bottom of the screen?

[Q] Remove the "Voice Mate, Google, Quick Memo" menu from the bottom of the screen?
I installed GravityBox w/ CM PIE controls to replace the navigation bar. I want it on the bottom but with the "swipe up" launcher menu containing Voice Mate, Google Now and Quick Memo there I can't seem to do that. Anyone have any idea how to disable this? Maybe point me in the right direction so I can figure out a solution?
solved!
I'll leave this thread up in case anyone else is interested but I've solved my own issue by removing the NAV BAR via/ build.prop. It also removed the launch menu.
Credits: qsec @ http://forum.xda-developers.com/showthread.php?t=2476764&page=2
Solution: add to build.prop (if you don't know how then use Build Prop Editor from market)
root required!
Code:
qemu.hw.mainkeys=1
I don't know if I can help u... I've tried uninstalled single app... in my case I hate Qvoice so I uninstalled it and that app disappear from swipe up... but I looked for the swipe up menu to change setting but I fail... Here is a screenshot with swipe up without qvoice

OUYA compilation of tweaks/apps/work arounds

Hi guys/gals, since its been months/years since i last touched this device i figured ill update everything to get a full Kodi experience running off cm11 the aim was:
1. full control (after setup) using just the ouya controller
2. the directional pad works to navigate in all fields/settings of kodi
3. auto loads kodi on boot, home button on ouya keeps you in kodi
4. bluetooth stays on after reboot, just press the home button and the controller will turn on and connect
5. can shutdown/reboot/turn screen off from kodi
6. the navigation bar will always be hidden and not pop up while using android apps in kodi
steps/apps required/downloads:
1. using Ouya SuperScript By TehCrucible install cwm 6.0.4.8
http://forum.xda-developers.com/ouya/development/tool-ouya-superscript-one-click-cwm-t2835358
2. from cwm recovery install the boot menu by Hal9k, cm11 nightly by milaq, gapps, and button mappings
http://forum.xda-developers.com/showthread.php?t=2692843
3. from the play store install kodi, xbmc launcher, power menu (ROOT), Home2 Shortcut
https://play.google.com/store/apps/details?id=org.xbmc.kodi&hl=en
https://play.google.com/store/apps/details?id=se.blunden.xbmclauncher&hl=en
https://play.google.com/store/apps/details?id=ru.littlevictor.powermenu&hl=en
https://play.google.com/store/apps/details?id=com.eikatou0.appspot.home2shortcut&hl=en
4. install XposedInstaller_v2.6.1_by_SolarWarez_20151129.apk
http://forum.xda-developers.com/showpost.php?p=64063168&postcount=62
5. from xposed you want to download and install nomoreoverlay, gravitybox [kk], stopswitchdelay, nousbnotification.
nomoreoverlay prevents the screen flickering and having to go into dev settings after every reboot.
gravitybox is used to hide the navigation bar using 0% dimensions. prevents it from popping up when in kodi using android apps.
powermenu (root) works with the directional pad of the controller and is a popup window style.
home2 shortcut keeps the Bluetooth from turning off after a reboot/shutdown and enables double tap on the home button.
in home2 shortcut:
step 1 is where you choose your preferred launcher in cm11 (im using nova you can make a shortcut to expand notification on the desktop and after a bit of tweaking the directional pad works in the app drawer).
step 2 set it to very long interval (the home button is mushy on the ouya controller).
step 3 set it to xbmc launcher.
this setup boots straight to kodi, single tap home stays in kodi, bluetooth stays on after reboots/shutdowns, double tap to get into nova for access to android settings.
in kodi:
using the confluence skin. go to programs > android apps > power menu and favourite it.
change the skin to mimic then go to settings > setup menus and widgets > scroll down to add > choose item for menu > favourite > power menu.
i haven't tested everything but mimic skin seems the best for kodi when using the controller imo. if you want the whole favourites folder as a main menu in the home screen under change action manually input "ActivateWindow(Favourites)"
and thats pretty much it. disable any notifications sounds in cm, notification counts, heads up, the quick settings panel (prevents accidental clicks disabling bluetooth). freeze/uninstall any unnecessary apps using titanium backup eg messengers/gmail etc.
if you want to always enable adb via network just reboot into cwm recovery mount the system and pull the build.prop edit in a text editor push it back chmod it and unmount courtesy of tcollum.
http://forum.xda-developers.com/showthread.php?t=2272266
edit: i was wrong looks like the bluetooth disabling has something to do with the boot animation themeing i recommend https://play.google.com/store/apps/details?id=com.cm12.theme&hl=en as its short and shouldn't have a problem
Wow, thanks. Will try ir this weekend if I got time.
Enviado desde mi KFFOWI mediante Tapatalk
Ouya running cm 11 no audio
So I just did a clean install of cm 11 on my ouya I had lying around. Wiped all data cache and dalvic cache. I booted up everything seems fine except I have no audio. Any ideas?
Dpwnload spmc from google play.
Thats what worked for me

System ui crash with build prop edit

Just got my essential phone today. Rooted and did my normal phone setup which includes gmd gesture control. Everything was fine until I did a build prop edit I do on all my other phones adding "qemu.hw.mainkeys = 1" to the end to disable the navigation buttons. Every time I reboot, I get a system ui force close 2 or 3 time then everything seems normal. I'm not sure how to find the log file. If anyone knows what's causing this or might be able to send me in the right direction, it would be appreciated. Btw, loving this phone so far. Coming from the nexus 6 which is still awesome as well ?
All I know is because of the a/b partition, any change made to a system file, even if you just add a file and then remove it, will result in flagging the safety net. I didn't have any issues with my phone not passing safety net (still running stock Nougat, rooted with Magisk, Xposed, and substratum themes), but that's gotta have something to do with it. Did u get it figured out?
Sent from my PH-1 using Tapatalk
No calling it a night. It's been crashing every so often but am still able to use the phone. Do you know where I can find a log file?
Gimmemabrewski said:
No calling it a night. It's been crashing every so often but am still able to use the phone. Do you know where I can find a log file?
Click to expand...
Click to collapse
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
nrage23 said:
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
Click to expand...
Click to collapse
Immersive mode is what you want.
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
This Is Important If You Do Any Of The Above - If You skip this step you will have battery drain issues.:
Exclude Google apps
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
nrage23 said:
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
Click to expand...
Click to collapse
Did you figure out a way? I used to use gmd auto hide but it doesn't seem like it works right since android 7. That and my ocd doesn't even like seeing them momentarily on a reboot ?
Edit: Overlooked the above reply. I'll give that a try tonight. Thanks
tech_head said:
Immersive mode is what you want.
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
This Is Important If You Do Any Of The Above - If You skip this step you will have battery drain issues.:
Exclude Google apps
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
Click to expand...
Click to collapse
Will this keep it in immersive mode through reboots? And by excluding gapps, will that cause it to pop up when using those apps? I've never had an issue with the build prop edit until now. And I'm hoping when a good custom Rom comes out, I'll be good to go again.
This thread why I'm not ready for Oreo. Gravitybox is working great on stock Nougat. Long press Power for expanded desktop mode.
Sent from my PH-1 using Tapatalk
I'm using custom navigation bar. It's not perfect but at least it stops the system ui crashes

(Guide): How to enable custom launchers on Chinese ROM EMUI

Note: Please don't tell us how easy it is to change launchers in default apps, that has not been possible since EMUI 9 for chinese roms, see > https://forum.xda-developers.com/hu...i-9-removes-default-launcher-options-t3853441
WARNING:RECENT APPS MENU WILL STOP WORKING
All credits to Web1n on Github for figuring out this method.
Here is official guide in chinese
App download on Google Play
https://play.google.com/store/apps/details?id=web1n.stopapp&hl=zh
Steps:
(Note that this method needs to be repeated every restart)
- Install the custom launcher of your choice and ensure it is the only launcher installed other than Huawei home
- Install and setup adb on your computer
- Enable developer options on your phone
- Turn on adb debugging and adb in charge only mode
- Make sure your device is on usb charge only mode
- Install the app from link above
(note i am using a Samsung for screenshots as I don't want to mess up my main Huawei, but I got it working there through the same steps)
https://imgur.com/a/hYPkSiY
After installing app tap the right arrow until this page, tick the box to agree to TOS
https://imgur.com/a/2e3B2Vp
Tick second box
https://imgur.com/a/dKxEZwm
Tap right and you will be greeted with this home screen, tap the plus arrow
https://imgur.com/a/j1SzlFX
Tap second tab to look for system apps, find the app huawei home
https://imgur.com/a/3GgZfSA
Return to this screen, you will see the Huawei home icon, ensure it is greyed out, tap it if it is not so.
Done! Gesture navigation will no longer work but an app like fluid gestures work well enough, enable 3 button navigation in options and tap home to enjoy your new launcher. Your multotasking button has also just become useless...
Again, all credits goes to the developer
jalk44 said:
Note: Please don't tell us how easy it is to change launchers in default apps, that has not been possible since EMUI 9 for chinese roms, see > https://forum.xda-developers.com/hu...i-9-removes-default-launcher-options-t3853441
All credits to Web1n on Github for figuring out this method.
Here is official guide in chinese
App download on Google Play
https://play.google.com/store/apps/details?id=web1n.stopapp&hl=zh
Steps:
(Note that this method needs to be repeated every restart)
- Install the custom launcher of your choice and ensure it is the only launcher installed other than Huawei home
- Install and setup adb on your computer
- Enable developer options on your phone
- Turn on adb debugging and adb in charge only mode
- Make sure your device is on usb charge only mode
- Install the app from link above
(note i am using a Samsung for screenshots as I don't want to mess up my main Huawei, but I got it working there through the same steps)
https://imgur.com/a/hYPkSiY
After installing app tap the right arrow until this page, tick the box to agree to TOS
https://imgur.com/a/2e3B2Vp
Tick second box
https://imgur.com/a/dKxEZwm
Tap right and you will be greeted with this home screen, tap the plus arrow
https://imgur.com/a/j1SzlFX
Tap second tab to look for system apps, find the app huawei home
https://imgur.com/a/3GgZfSA
Return to this screen, you will see the Huawei home icon, ensure it is greyed out, tap it if it is not so.
Done! Gesture navigation will no longer work but an app like fluid gestures work well enough, enable 3 button navigation in options and tap home to enjoy your new launcher.
Again, all credits goes to the developer
Click to expand...
Click to collapse
Thank you :good:
Thank you. It works but recent app not work even if with 3 button navigation.
nhan1411 said:
Thank you. It works but recent app not work even if with 3 button navigation.
Click to expand...
Click to collapse
unfortunately yes, huawei even went to the step of removing old vertical overview menu so that the only overview menu in these buklds comes from the launcher
Recent apps stopped working for me when I updated to EMUI 10 then downgraded because of this and now it works on EMUI 9. Thanks for this, was going mad for 3 days because I couldn't disable the stock launcher even though my phone is rooted.
For those now missing Recents : Swiftly is a circular gesture activated app launcher with its own Recents :laugh:
I now have "Tap for Recents"
You can place Swiftly with a surface area (over where the middle icon would be on the dock) for activation on the bottom center. You can then tap or tap-hold for recents.
Make sure the middle position there on the dock is empty, so it doesn't have an app icon or folder. Make the rectangle big enough to activate Swiftly, but small enough not to overlap with selecting the input field of WhatsApp, Messenger, ...
In my Nova 5T I also lost swipe up for home (anyone else?) When I uninstalled the default launcher. So I use Fluid Natural Gestures for all of the bottom to swipe up for home.
The two overlay areas of these apps overlap but for me don't interfere with each other. You can also enable "immediate activation" in both for nice swift operation.
(I could choose between Nova and Default Launcher in Emui 10, I'm in Europe. But removed default because regularly it would switch back to Default Launcher)
Update: has stopped working
Feel free to still try as it seems to be different builds for everybody
.
Guys...i've done....but not with this method....
TheFastGT said:
Guys...i've done....but not with this method....
Click to expand...
Click to collapse
How have you done it then?

Categories

Resources