Navigation keys reorder - Xiaomi Mi A2 / 6X Questions & Answers

Any idea how to reorder navigation keys?
Im used to back key on the right and recent apps on the left side.

Kryptonyx said:
Any idea how to reorder navigation keys?
Im used to back key on the right and recent apps on the left side.
Click to expand...
Click to collapse
try using Custom Navigation Bar app
https://forum.xda-developers.com/android/apps-games/app-custom-navigation-bar-customize-t3590967

You can change it using ADB:
Code:
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
To get current order in case of future restore to stock you can use this command:
Code:
adb shell
settings get secure sysui_nav_bar

AlexX333BY said:
You can change it using ADB:
Code:
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
To get current order in case of future restore to stock you can use this command:
Code:
adb shell
settings get secure sysui_nav_bar
Click to expand...
Click to collapse
This really helped.
Thanks a lot!

Bro i'am trying to back to the original order, but i can't .. even i use adb shell .. but still didn't work (sorry for bad English)

AlexX333BY said:
You can change it using ADB:
Code:
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
To get current order in case of future restore to stock you can use this command:
Code:
adb shell
settings get secure sysui_nav_bar
Click to expand...
Click to collapse
Thank you, It works !!

Related

Launcher(any) lag fix

As mentioned here and here:
adding "echo ro.HOME_APP_ADJ=1" to /data/local.prop fixes the launcher redraw lag.
Documentation:
http://code.google.com/p/sipdroid/wiki/FAQ
Due to limited memory home screen often takes several seconds to load. Luckily these phones allow root access. Issue the command "echo ro.HOME_APP_ADJ=1 >/data/local.prop" and reboot, to lock home screen in memory.
Click to expand...
Click to collapse
update:
it does seem to made a difference
Here are the commands: (batch file to do this here,post#5)
Code:
adb remount
adb pull /system/build.prop .
edit build.prop with a decent text editor and add these two lines a the end
#fix for screen redraw lag
ro.HOME_APP_ADJ=1
Click to expand...
Click to collapse
Code:
adb push build.prop /system/
adb reboot
you could try
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ=1
adb shell start
if it works you just have to add ro.HOME_APP_ADJ=1 to build.prop.
g4rb4g3 said:
you could try
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ=1
adb shell start
if it works you just have to add ro.HOME_APP_ADJ=1 to build.prop.
Click to expand...
Click to collapse
tried:
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ 1
adb shell start
My phone hot rebooted after the last command.
After it rebooted I ran
Code:
C:\Users\meeee>adb shell getprop ro.HOME_APP_ADJ
4
Since its 4. I guess it did not stick.
Also tried setting it and immediately reading it, did not stick.
Code:
C:\Users\meeee>adb shell setprop ro.HOME_APP_ADJ 1
C:\Users\meeee>adb shell getprop ro.HOME_APP_ADJ
4
The setting stuck after putting it in build.prop, time to check if it made any difference...
Code:
C:\Users\meeee\Desktop>adb shell getprop ro.HOME_APP_ADJ
1
Don't reboot, try the commands and watch out if your problem got fixed. If it works like that you can add the line to build.prop.
g4rb4g3 said:
Don't reboot, try the commands and watch out if your problem got fixed. If it works like that you can add the line to build.prop.
Click to expand...
Click to collapse
It did it on its own.
seems to be working, updated op with the commands.
britoso said:
seems to be working, updated op with the commands.
Click to expand...
Click to collapse
Added this cmd to build.prop but see no changes... what lags you talking about btw?
For me my home screens were sluggish. There was a delay when I tried to switch desktops.
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
rori~ said:
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
Click to expand...
Click to collapse
thanks rori.
No one has posted yet what the command actually does. All it does is tell Android to try to keep the launcher in memory.
Shouldn't affect anything like the scrolling or any response while actually using the launcher, but will fix some lag for when going back home from any other app, as it doesn't have to re-launch the launcher if it was kicked out of memory.
Various options like this exist in some launchers, and I think Cyanogenmod has this option in the settings too. They are not all the same as this command though, so this may work better for some people while the other ways to do it may work better for others.
Clarkster said:
No one has posted yet what the command actually does. All it does is tell Android to try to keep the launcher in memory.
Click to expand...
Click to collapse
As per this it locks the 'screen' in memory. (maybe they mean the screen buffer)
Due to limited memory home screen often takes several seconds to load. Luckily these phones allow root access. Issue the command "echo ro.HOME_APP_ADJ=1 >/data/local.prop" and reboot, to lock home screen in memory.
Click to expand...
Click to collapse
Makes sense as I always have had launcher locked in memory before this and was still having my home screen redraw very slowly when I switched to it.
A good find
Btw just for info there were issues in apps from pre release system dump of arc
However if u r using apps from the retail dump 'they don't lag'
Sent from my U20i using XDA App
rori~ said:
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
Click to expand...
Click to collapse
can you specify where is the android/tools mentioned, can it be found in all android phones?
Btw, I have seen ">>" and ">" then "space" /data/local.prop in other websites, while in the sipdroid article, it is exactly
"echo ro.HOME_APP_ADJ=1 >/data/local.prop".
otivaeey said:
can you specify where is the android/tools mentioned, can it be found in all android phones?
Btw, I have seen ">>" and ">" then "space" /data/local.prop in other websites, while in the sipdroid article, it is exactly
"echo ro.HOME_APP_ADJ=1 >/data/local.prop".
Click to expand...
Click to collapse
adb comes with the sdk, for my windows machine its at
C:\android-sdk-windows\platform-tools
in unix ">" sends text to a file (deletes whatever was there) and ">>" appends at the end of a file. If you're not familiar its easiest to just add the one line manually at the end of build.prop.
Hey y'all, wondering if anybody can help me with this:
I'm at work and don't have access to ADB. Can I use Root Explorer to copy the file to the sdcard, mount the card on a PC, edit it, and then use Root Explorer to copy it back again? Or will that cause issues with permissions or something?
EDIT: Well it's intellectual now, I nandroided back to my previous ROM due to some other issues. I'd still like to know though.
Ya the root explorer thing should work but just to be safe I would nandroid first cause worst case scenario your phone freezes you pull battery boot into recovery restore nandroid. But seriously I don't think it will be a problem.
Just out of curiosity I wanted to see if I could do this without a computer at all and turns out all you really need to do is download estrong (or any other root explorer), turn root explorer option on, mount /system and go and edit build.prop through the the built in note editor in estrong. So that might be an alternate solution for you kippswanson.

Help ADB Shell command EMUI 5.0

Hello guys, I want to change one specific variable but I don't want to root a phone, so wanted to ask if it's possible to be done with ADB SHELL?
The correct path is /system/emui/lite/prop/local.prop and you have to set ro.build.hw_emui_lite.enable=false
I tried with adb shell settings put system hw_emui_lite false via cmd but it doesn't work :/ If someone has experience with ADB write here
EDIT 1: adb shell settings put system hw_emui_lite.enable false - doesn't work as well
no other way without rooting

Rescue party

Rescue party is faulty. If triggered it may leave device in usable state.
I think it's better to disable it for users who install mods and other stuff from here.
Magisk module would be useful for that
In my case it reset all settings, even those related to setup wizard.
I had to use adb to put them back. Commands are
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
Click to expand...
Click to collapse

Swipe Down Navbar

Hi huys,
First of all it's my first post here. I have some questions:
I wanted to make the click to hide and swipe up to show system that huawei puts into some devices work on my Huawei P8 Lite 2017 (Pra-LX1) but I can only make the little arrow working using the Settings Database Editor and adding hide_virtual_key and changing the value to 1 therefore making it apear. Unfortunately, once I click the arrow I need to delete this setting because I can't make the navbar swipe up again.
Notice that I don't have root but I am considering rooting my device it that makes this work. I really wanted to make it work
Can anyone help me? I can use ADB and all of those things. i'm kinda of noob but I can manage myself. I just didn't want to change the stock rom because of the warranty...
My build is PRA-LX1C33B137
P.S: I'll leave a image of what I want to enable so you guys can see: g.oo.gl/cmVYHJ
Thank you all for your attention
https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.emuitweaker
You can try this app that I found. I don't know if it works with your device because I'm using the old P8 lite.
OPTION 1 - Do not need root on the device (ADB command line)
To enable "NavBar Arrow":
Code:
adb shell settings put system hide_virtual_key 1
To disable "NavBar Arrow":
Code:
adb shell settings put system hide_virtual_key 0
OPTION 2 - Need root on the device (Edit build.prop)
Enable option on settings to show or hide "NavBar Arrow":
Code:
ro.config.showNavigationBar=true
brunolee said:
OPTION 1 - Do not need root on the device (ADB command line)
To enable "NavBar Arrow":
Code:
adb shell settings put system hide_virtual_key 1
To disable "NavBar Arrow":
Code:
adb shell settings put system hide_virtual_key 0
OPTION 2 - Need root on the device (Edit build.prop)
Enable option on settings to show or hide "NavBar Arrow":
Code:
ro.config.showNavigationBar=true
Click to expand...
Click to collapse
Thanks for ur help, the problem is after I click the arrow I can't swipe up the navbar

Can I remove the carrier icon at lock screen with adb shell commands?

Can I remove the carrier icon / name at lock screen status bar with adb shell commands without root?
E.g. "adb shell settings put secure icon_blacklist ...(name of the carrier)".
I don't want to use any 3rd party tools for it.

Categories

Resources