how to enable Android 10 gesture navigation on third-party launchers - Xiaomi Mi A2 / 6X Guides, News, & Discussion

1. set Nova launcher or any third-party launchers to default
2. run below adb command
Code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural

Thanks mate.
Could you put the command to exchange back and recents buttons in nav bar?

It's doesn't work when going to recents tab. I can't go to it.

****oonn said:
1. set Nova launcher or any third-party launchers to default
2. run below adb command
Code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
Click to expand...
Click to collapse
Thanks mate

doesn't work on ma Xiaomi with Android 11 nd MIUI 12.0.1.0

Related

[GUIDE] [NO ROOT REQUIRED] Hide The Status Bar Or Nav Bar With ADB

Hide The Status Bar Or Nav Bar With ADB​
To permanently hide Nav Bar for root users only see post 2
Note this only hides the Nav bar - swipe up gesture will show Nav bar and not all apps will honour the hidden status
Requirements
ADB setup on pc - see Here if you need to set it up
Moto USB phone driver installed
How To
Connect phone to laptop/pc via usb cable and make sure usb debugging is enabled
Open a command prompt or terminal window at your adb location (If you have adb in your environmental values then you can run this from anywhere)
The commands you’ll need are:
To only hide the status bar:
Code:
adb shell settings put global policy_control immersive.status=*
To only hide the navigation bar:
Code:
adb shell settings put global policy_control immersive.navigation=*
To hide both status and nav bar:
Code:
adb shell settings put global policy_control immersive.full=*
Return things to normal:
Code:
adb shell settings put global policy_control null*
Root Only - Permanently Disable Nav Bar​
Requirements
Root
Root browser
Note - not all roms will support this change
First check to see if the rom supports expanded desktop which will do the job for you either globally or on a per app basis
Instructions
Set up all your gestures before continuing
Copy build.prop from /system to sd card and rename build.prop-backup using a root browser
Copy build.prop to any folder on internal stoeage
Open build.prop file you have placed in internal storage
Add the following line at the end of build.prop
Code:
qemu.hw.mainkeys = 1
Copy modified build.prop back to /system using a root browser
Make sure permissions are still set to 644
Restart phone
I wanted to contribute with my findings... This command: "adb shell settings put global policy_control immersive.status=*" hides the status bar in all apps, but some of them get bugged, for example in Instagram you can't see the text field when replying on a story, or Twitter doesn't display the bottom part where you can insert pictures to your post while typing.
I discovered that if you type "adb shell settings put global policy_control immersive.status=apps," then Instagram works fine without the status bar, and of course you could add twitter after that to exclude twitter.
But this is a bit random, I don't know exactly why Instagram gets fixed by this and I wonder if there is a way to fix other apps...
once nav bar is removed can u turn on and off in settings
mikedolo said:
once nav bar is removed can u turn on and off in settings
Click to expand...
Click to collapse
No - not unless you create your own mod and add it to the settings apk
Use the adb command to return things to normal
I tried it hides but whenever you swipe up it displays and you have to swipe up a second time to complete an action ! How to disable the drag ?
mchtt said:
I tried it hides but whenever you swipe up it displays and you have to swipe up a second time to complete an action ! How to disable the drag ?
Click to expand...
Click to collapse
It displaying when you swipe up is normal - that's just how it works and subsequently will effect the swipe up gesture
If you want to completely remove it see if your rom supports expanded desktop - will be in your phones settings somewhere if it does. Revert the adb changes and use that instead
Yes it does but on certain apps a bottom bar remains
Lineage OS
I just tried XDA navigation gesture, it hides the bar properly for the moment ?
mchtt said:
Yes it does but on certain apps a bottom bar remains
Click to expand...
Click to collapse
Again nothing I can do about that - it's how android works and how the app was built
If you want to remove it properly use a rom that supports expanded desktop and enable it in your phones settings
Like I said I did and I said it to the ROM developer, thanks for your replies anyway ?

[Non-root] Any ADB command for unlocking the root required abilities in Launchers?

I was wondering since many apps are requesting to execute abd commands to use the complete features [Apps like Greenify, Navigation Gesture App], are there any ADB command to give permission for third party launcher like pixel launcher to give permission to access gesture functions of our device?
Note: (Double tap to turn on,off requires root for other Launchers)

[Troubleshoot] Fix the Launcher Hijack blocking

Hi guys, I'm troubleshooting for blocking the LauncherHijack.apk. Here I found this app Arcus Android Client (com.amazon.nimh) to block the LauncherHijack to push back to useless Fire Launcher will I modify this app to break this Fire Launcher and Arcus Android Client app to access any 3rd-party launcher.
The Launcher Hijack isn't compatible says from LauncherHijack blocker but is compatible for Android SDK level.
The Launcher Hijack blocker might be a Broken.
There is a message from LauncherHijack blocker:
launcherhijack has been blocked.
launcherhijack is not compatible with this device
Click to expand...
Click to collapse
Let's Get Started
Method 1 - Fix LauncherHijack without PC:
Requirements for Method 1:
-> A Fire tablet
-> SystemPanel2 installed on Google Play to uninstall the Arcus Android Client app
-> ES File Explorer installed on Google Play to backup the Launcher Hijack to create LauncherHijack.apk
Download ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
1. Install SystemPanel2 on Google Play Store
2. On SystemPanel2 homepage. Select Apps in navigation drawer -> System -> find Arcus Android Client by scrolling down -> tap the 3 vertical dots and select Uninstall.
3. If the uninstall confirmation appears. Tap OK button to confirm to uninstall it.
Uninstall Confirmation message:
Arcus Android Client
Replace this app with the factory version? All data will be removed.
Click to expand...
Click to collapse
4. After the Arcus Android Client has been uninstalled the updates. Now backup the LauncherHijack.apk, open the ES File Explorer, Select Apps on ES homepage, scroll down and select the Launcher Hijack by holding down and tap Backup
5. After the LauncherHijack.apk is backed up. Go to /storage/emulated/0/backups/app/Launcher Hijack_4.0.2.apk and re-install it. (the LauncherHijack will be enabled after re-installed).
6. Reboot
Method 2 - Fix LauncherHijack with PC:
Requirements for Method 2:
-> A Fire tablet
-> Windows PC with ADB driver from Android SDK Platform tools
-> A transferrable micro USB cable
-> A LauncherHijack.apk
1. Make sure the USB Debugging or Enable ADB is enabled in developer options and have an ADB installed from Android SDK Manager on your PC.
2. Connect your Fire tablet to your PC, Open Command Prompt or Microsoft PowerShell and approve the USB device.
3. Verify the attached devices
Code:
adb devices
4. Re-install the Arcus Android Client app with modified version, attached APK file under the post
Code:
adb install -r -d path\to\com.amazon.nimh.apk
or uninstall it
Code:
adb uninstall com.amazon.nimh
with ADB shell
Code:
adb shell
pm uninstall -k --user 0 com.amazon.nimh
with su
Code:
adb shell
su
pm uninstall com.amazon.nimh
disable or hide it
Code:
//uses pm disable
adb shell
pm disable --user 0 com.amazon.nimh
//uses pm hide
adb shell
pm hide --user 0 com.amazon.nimh
with su
Code:
//uses pm disable
adb shell
su
pm disable com.amazon.nimh
//uses pm hide
adb shell
su
pm hide com.amazon.nimh
5. Enable the Launcher Hijack
Code:
adb shell
pm enable --user 0 com.baronkiko.launcherhijack
with su
Code:
adb shell
su
pm enable com.baronkiko.launcherhijack
or re-install it to enable
Code:
adb install -r path/to/LauncherHijack.apk
The commands aren't work, get the mtk-su by @diplomatic
Run the mtk-su commands that same as su
6. Reboot
Code:
adb reboot
or you have an entered to ADB shell exit the ADB shell
Code:
exit
adb reboot
Your LauncherHijack has been unblocked and fixed! Give a thanks.
You have a 3rd-party launcher :highfive:
Get LauncherHijack.apk by @BaronKiko from GitHub
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
koop1955 said:
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
Click to expand...
Click to collapse
I don't need that
AmznUser444 Dev said:
I don't need that
Click to expand...
Click to collapse
What?
A simple and easy solution?
Don't get me wrong... more power to you for doing it the hard way.
this didnt appear
Arcus Android Client
Replace this app with the factory version? All data will be removed, when i deleted Arcus it was still there

launcher ?

Tryex to Change the launcher out for lawn chair...however b i still get that stupid Walmart button ! Must i really root and deblout ? Tryed to disable the stock launcher but no go !
first you need the fastboot driver software: MTK Fastboot Drivers: https://online.mediatek.com/Public Documents/MTK_Android_USB_Driver.zip
more info on how to install driver software here: https://forum.xda-developers.com/wa.../how-rooted-walmart-onn-tablets-twrp-t4011659
then get adb: ADB and Fastboot: https://www.xda-developers.com/what-is-adb/
copied from: https://forum.xda-developers.com/android/development/amazing-temp-root-mediatek-armv8-t3922213
Download the current mtk-su zip file to your PC and unzip it. Inside will be 2 directories: 'arm' & 'arm64' with an 'mtk-su' binary in each. Pick one for your device. Differences between the flavors:
arm64: 64-bit kernel and userspace
arm: 32-bit userspace on a 64-bit or 32-bit kernel (will also work in 64-bit userspace)
Connect your device to ADB and push mtk-su to your /data/local/tmp folder
i just used the arm not arm64 that seemed to do the trick.
Code:
adb push path/to/mtk-su /data/local/tmp/
Open an adb shell
Code:
adb shell
Change to your tmp directory
Code:
cd /data/local/tmp
Add executable permissions to the binary
Code:
chmod 755 mtk-su
At this point keep your device screen on and don't let it go to sleep. Run the command
Code:
./mtk-su
keep this terminal/command prompt session open then go to...
download this batch file this user made in this post: https://forum.xda-developers.com/wa...s-general/root-walmart-bloat-remover-t4011639
open it inside making sure it is in your adb folder.
it will remove the sams club, walmart app etc.
mine did not remove the walmart button BUT a user posted on how to do so in the comments this is how you do so.
cd into your directory for adb to do so just open cmd/terminal window type this without quotes "cd filepath" replace filepath with where your adb folder is i usually just drag my folder into my terminal/cmd window and it should just put the proper directory into the window.
now type
adb shell
settings put secure sysui_nav_bar "space,back;home;recent,space"
if that does not work also try going into that window you have open with mtk-su and run
settings put secure sysui_nav_bar "space,back;home;recent,space"
sorry if this post is not descriptive enough first post so go easy on me dont hate me too much just trying to help if you have any questions about this that are confusing please ask ill try to fix them trying to help another user of this tablet as i think that the bloatware on these android tablets is ridiculous and makes the experience terrible so id like to help in anyway possible. Thank you.
Slys13 said:
Tryex to Change the launcher out for lawn chair...however b i still get that stupid Walmart button ! Must i really root and deblout ? Tryed to disable the stock launcher but no go !
Click to expand...
Click to collapse
You can use Custom Navigation Bar without root to remove the Walmart button, but I recommend root so you could use QuickSwitch, and some root tweaks with Lawnchair.
Pix12 said:
You can use Custom Navigation Bar without root to remove the Walmart button, but I recommend root so you could use QuickSwitch, and some root tweaks with Lawnchair.
Click to expand...
Click to collapse
I installed that custom navigation app .apk from a third party website because playstore said app was not compatible with device still right away it asks for root, xposed, or to conect to computer to grant permission when I did use the comand prompt and input the command it said device was not compatible. Cool idea though
Sent from my 100015685-E using Tapatalk

Widget binding failure (ATV Launcher)

I've followed the instructions here to install ATV Launcher (free version) on my Shield Pro:
Use Custom Launcher on Nvidia Shield 8.1.1 with Widgets! | TechDoctorUK
www.techdoctoruk.com
I'm now trying to add a widget to the launcher, but am getting a "Widget binding failure" error. I have run the following adb command as recommended, but I still get this error:
appwidget grantbind --package ca.dstudio.atvlauncher.free --user 0
Has anyone managed to add a widget to ATV Launcher recently?
Also, is there any way of setting ATV Launcher as the default launcher on boot? (I've had to use buttonmapper to map the home button to ATV as the Shield always boots back to the stock launcher, despite me having defined ATV Launcher in LaunchX.
I just used this command on my MeCool box. It works fine. You first have to turn on debugging and then use a terminal adb command line to run the command. Make sure you're typing the name of the package correctly.
itm60 said:
Has anyone managed to add a widget to ATV Launcher recently?
Click to expand...
Click to collapse
Yes.
Correct command is:
appwidget grantbind --package ca.dstudio.atvlauncher.free
(without "--user 0")
YSLFOREVA said:
Yes.
Correct command is:
appwidget grantbind --package ca.dstudio.atvlauncher.free
(without "--user 0")
Click to expand...
Click to collapse
Thank you for correcting the command. Is there an easy way to find the installed package name? Just would like to confirm the syntax before I reinstall ATV, and a widget and give this a second try
RG GEIGER said:
Is there an easy way to find the installed package name?
Click to expand...
Click to collapse
You could use ES File Explorer to view package name.
Anyone would know why I'm getting the following error? I can use ADB to remote connect to my TV no problem but running appwidget just won't work.
'appwidget' is not recognized as an internal or external command,
operable program or batch file.
learned something new today. thanks.

Categories

Resources