[MOD]No notch ? Welcome to the immersive mode ! Remove the notification bar - Redmi K20 / Xiaomi Mi 9T Themes, Apps, and Mods

Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
EDIT: I have tested "Immersive Manager Application" from Google Play Store and it's perfect. Very simple and it works even when you reboot your phone.
No more need to type adb commands below except at least few adb commands to grant the Secure Settings permission to the app. This is well explained by the application when you launch it the first time.
I let the adb commands below for information in case we had some "purists" who prefer adb than an immersive app.
1/ Enable the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Enable USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:

Pls the screen..
Redmi K20 cihazımdan Tapatalk kullanılarak gönderildi

pidobeuliou said:
Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
1/ Activate the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Activate USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:
Click to expand...
Click to collapse
Thanks for the instructions bro... I like the immersive mode on all the apps but i do not in instagram app, What is the command to get the immersive mode on all the apps but not in some specifics one?

The setting is reset on reboots. How can it be persisted?

salzzz said:
The setting is reset on reboots. How can it be persisted?
Click to expand...
Click to collapse
Do you have root permissions? If the asnwer is "yes" you can do this:
Install terminal emulator from google play store. Open it and writte "su"
now writte this:
settings put global policy_control immersive.status=*
Tachan! you have immensive mode active. Only save the command in a note app. Always you reboot your phone the only thing you have to do is open terminal, su and paste your command.
A lot more easy and fast than do it with adb. the only "problem" is you need root.
If someone knows how to add an exception, please say so.

How do you show it on lock screen? Any ideas?

"Permission denial: writing to settings requires:android.permission.write_security_settings"

ramsyst said:
"Permission denial: writing to settings requires:android.permission.write_security_settings"
Click to expand...
Click to collapse
Did you manage to overcome this getting same error here
NVM, fixed it

ralphoberholzer said:
Did you manage to overcome this getting same error here
NVM, fixed it
Click to expand...
Click to collapse
Still getting the same error, how did u get around it ?

ramsyst said:
Still getting the same error, how did u get around it ?
Click to expand...
Click to collapse
Enable USB debugging (security settings) under developer options.
I used SystemUI Tuner as it allows for blacklisting apps (sucha as whatsapp) that don´t manage full screen well.

ralphoberholzer said:
Enable USB debugging (security settings) under developer options
Click to expand...
Click to collapse
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)

ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
Worked great, Thanks

pidobeuliou said:
Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
1/ Activate the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Activate USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:
Click to expand...
Click to collapse
I am sorry friend, bootloader unlocked ?

wilmerwils said:
I am sorry friend, bootloader unlocked ?
Click to expand...
Click to collapse
No, it's not necessary to unlock the bootloader.
You have just to activate the developper mode as I indicate it.

ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
Yes, it's true. Each time you reboot the phone, you should loose the setting.
And good point, thank you Ramsyst, I didn't check on Google Play Store the myriad of immersive mode applications!!
I have tested "Immersive Manager Application" and it's perfect. Very simple and it works even when you reboot your phone. :good::good:
I had previously created a task with Tasker and AutoTools (paid version) to change the immersive mode with the "Custom Setting" feature. But knowing that there are many apps (free and paid version) doing that better than AutoTools, it's not usefull to describe how I did it.

pidobeuliou said:
Yes, it's true. Each time you reboot the phone, you should loose the setting.
And good point, thank you Ramsyst, I didn't check on Google Play Store the myriad of immersive mode applications!!
I have tested "Immersive Manager Application" and it's perfect. Very simple and it works even when you reboot your phone. :good::good:
I had previously created a task with Tasker and AutoTools (paid version) to change the immersive mode with the "Custom Setting" feature. But knowing that there are many apps (free and paid version) doing that better than AutoTools, it's not usefull to describe how I did it.
Click to expand...
Click to collapse
Thank you too! I didn't know this immersive mode was possible until i stumbled on your thread. Now, we can all enjoy that beautiful screen 100%!

No devices / emulator found ... Please help. I instal drivers do all on this topic

ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
With Tasker you already have an option to make all apps you want to go immersive! There is no need to use any other command or app.
I believe everybody in the world should buy tasker
Is the best Android app. It may looks hard in the begining, but your imagination is the limit to do whatever you want.

Hi how can i used this on split screen but in full screen mode with status bar and navigation?

MrYuu said:
Hi how can i used this on split screen but in full screen mode with status bar and navigation?
Click to expand...
Click to collapse
You're right. I had never tested the split screen function. The notification bar is not hidden on split screen mode even when immersive mode is activated. The result is a bit weird as there is a mix of notification bar and app on the top of the screen.
"Google search" indicates that you are not the first one to face this issue... but apparently no solution has been found so far.
If somebody can help.

Related

How to disable carrier-check for native WiFi Tether (no root)

*EDIT* This appears to only be working for people with NON-unlimited data plans. I apologize for the inconvenience...
Saw this over in the AT&T subforum, originally posted by @ExTREmE99 , just reposting here.
This will disable the carrier check on your Verizon G4 and allow you to use the native WiFi tether - no root needed!
1. Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
2. Enable USB debugging under Settings -> Developer options
3. Connect the device with a USB cable to a computer with the Android SDK platform tools installed
4. Start an adb shell: adb shell
5. In the adb shell, run these commands one by one:
settings put global tether_dun_required 0
settings put system tether_entitlement_check_state 0
reboot
When your phone comes back up you will have a fully functional native WiFi tether
i must be doing something wrong because i still get the "you need a subscription" popup
Worked for me, thanks! Needed this a few days ago and couldn't use it n was like "F***, wish I had root" hahaha. Oh and also shouldn't this be posted in General?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Congobongo said:
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Click to expand...
Click to collapse
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
I see it after i reboot and try using the hotspot app
jrc27 said:
I see it after i reboot and try using the hotspot app
Click to expand...
Click to collapse
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Tomyk89 said:
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Click to expand...
Click to collapse
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
jrc27 said:
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
Click to expand...
Click to collapse
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Tomyk89 said:
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Click to expand...
Click to collapse
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
jrc27 said:
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
Click to expand...
Click to collapse
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Should it be? I assumed stuff like this went under the Help section since it was helping people. Maybe I'm wrong. If a MOD would like to correct me and maybe move the thread, feel free.
Tomyk89 said:
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
Click to expand...
Click to collapse
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
jrc27 said:
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
Click to expand...
Click to collapse
no problem dude. try some of my suggestions tomorrow and get back to me. feel free to PM and we can post the final solution up here as to not fill the the thread up with troubleshooting.
No Go...
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
joebrady119 said:
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
Click to expand...
Click to collapse
have you taken the latest OTA update?
Tomyk89 said:
have you taken the latest OTA update?
Click to expand...
Click to collapse
Have not taken any OTA.
This unfortunately doesn't seem to work for me either
I had to put my device in PTP mode in order for ADB to show the device, after the device was confirmed with adb devices, I issued the commands this is the output
Code:
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb devices
List of devices attached
VS986931(changed the last four for security) device
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb shell
[email protected]:/ $ settings put global tether_dun_required 0
settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
settings put system tether_entitlement_check_state 0
[email protected]:/ $
When I attempt to enable hotspot I am greeted with the "Use of this service requires a subscription..."
FoxFi seems to work, I just HATE having to change my lock screen in order to use the damn thing!
I'm willing to run further tests and commands if you would like, please just let me know.
I have NOT taken any over the air update. I used the Debloater tool and blocked/hid the app.
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
Here's a screenshot of my terminal window:
I'm using the native tethering just like everybody else (Settings, More, flick the tethering switch to On and receive the service check). Haven't taken the OTA and have the service disabled via debloater tool. I appreciate the help!
At this point I'm not sure why some are reporting that this works while others aren't. I added a message on the original post warning that this isn't a for sure thing. I'll be sure to update if/when I find a fix or what is going wrong, but for now I think I have enough info to look into this. thanks for your help everyone and I hope that I can find a fix for this. Worst case - we have to wait until we have root to enable this.
-tom

Google Assistant

I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
How can I disable double tap of home button who activates the "voice input", who is no longer avaible as Amazon decided... THANKS THEM
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
The more who confirm this, the better
Click to expand...
Click to collapse
Hi DragonFire1024,
Thanks for this very interesting post I was just wondering by to see if anyone had unlocked the bootloader :laugh:
Problem with the fire phone is probably 98% of users here use one of @ggow custom ROM's LineageOS 11 or the AOSP based SlimKat and Nexus Rom. Those running the Stock ROM are likely not interested in development hence why no reply's.
To be honest I never even gave the Fire OS a chance before rooting and switching to the Nexus ROM. I am not sure our fire OS has Alexa :silly: or at least as we know it today yes you heard correct a Premium Amazon Device and they see fit not push it out to Amazon device owners. In fact they just went one better and removed the voice service altogether. https://forum.xda-developers.com/fire-phone/general/amazon-voice-services-fire-phone-t3681235 Pretty amazoning :laugh
I was kinda hoping it was to make way for Alexa and a Massive OS Update but I guess thats just wishful thinking. :laugh:

EVR-AL00 - Removed HiVoice - Google Assistant set as default | testing ok-google

Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Thanks. Got rid of hivoice. Still have the exact same problems as you. Please keep us posted on any kind of fix. Do like the fact I can touch the home button now for google
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Looks like a lot work to get the same functions as the Google search widget. I just turned Hivoice off and put a widget on the screen but if this worked with only voice like saying "Hey Google" I'd be all over this.
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
onepiece said:
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
Click to expand...
Click to collapse
Thank you very much, I wanted to play around more tonight but didnt get a chance.
So what you can do to get a list of commands is once your in the adb shell just run the command "pm -h"
It will display the output of all the commands that can be used.
1) enable "USB debugging"
2) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
3) Open a command line and go to the directory you extracted "Platform Tools" to.
4) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
5) Run "adb shell"
6 Run "pm -h"
Let me know if you find anything in regards to allowing the persistent "Okay Google" Command
onepiece said:
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
Click to expand...
Click to collapse
https://forum.xda-developers.com/note-10/how-to/guide-to-remove-apps-root-t3828324
Use it ta your own risk. You can cause too much damage though. Factory reset heals everything.
Ok Google will not he able to work on that AL00. As it's not installed as a system app.
The reason it works on the L29 is the Google app is installed to the system. Otherwise functionality will not be present.
Removed hiboard, now I can use google feed on home screen setting.
Removed hiVoice restarted a few times, still see google as a default assistant.
access to voice match doesn't work, it grey out, can't click on it.
the google app, it asks f
SmartPhonesFan said:
Exactly I wanted point this out but it kind of works..
I uninstalled hivoice on mine Note10
I set it up as default
And I can say ok Google and whatever I want
But once app is closed and reopened it says Google assistant isn't your default app but in reality is so Every time I have to manually enable it and then it works..
Should be same in mate 20x
Click to expand...
Click to collapse
hello, same problem for me, everytime i kill the google app and start it again, it asks for a default app for voice assistant, i already deleted hivoice via adb on my huawei mate 20X.
SmartPhonesFan said:
leave google assistant open in background all the time and it should work always
Click to expand...
Click to collapse
cannot keep it opened, also if i lock it in recent apps, it closes after a while..
SmartPhonesFan said:
u need to change it in settings apps run in background .. ignore battery optimiz .. etc.. I just tested it unlocked phone and works still
Click to expand...
Click to collapse
hey! great, it works! Thank you so much.. so i only got one problem left on my mate 20
SmartPhonesFan said:
which one?
Click to expand...
Click to collapse
Youtube Vanced always loses my google user account, everytime i close the app
---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------
SmartPhonesFan said:
which one?
Click to expand...
Click to collapse
the launcher problem is also still there, but i am already used to the emui launcher, so it´s okay for me
SmartPhonesFan said:
hmm how come? mine youtube doesn't .. but make sure u need to go to play store and disable automatic updates .. and leave notifications that there are new updates tap on update all and quickly tap on cross youtube that won't be updated .. youtube must not be updated by playstore ..
uninstall youtube completely and reinstall vanced again .. make sure it won't be updated...
Click to expand...
Click to collapse
tried everything, not working, but it´s not dramatical, everytime i open youtube vanced, it is not connected to google, when i fill in my email adress, it says user already connected, and than its fine, connected and works, weird thing. in the regular youtube app everything works like it should, but the most important problem is fixed, thank you again
ersguterjunge1911X said:
tried everything, not working, but it´s not dramatical, everytime i open youtube vanced, it is not connected to google, when i fill in my email adress, it says user already connected, and than its fine, connected and works, weird thing. in the regular youtube app everything works like it should, but the most important problem is fixed, thank you again
Click to expand...
Click to collapse
Same issue for me. Every time youtube vanced gets cleared from memory or I restart the phone, the app is not logged in. I have click on sign-in and then just back out of the login process...then it's fine. The regular youtube app does not have this issues.
SmartPhonesFan said:
guys but I don't know you supposed to NOT have two youtubes .. When I installed vanced it just replaced normal youtube and icon changed ..
Your problem is dat youtube.com or google detecting two youtube apps .. So unsign from normal YT and disable it .. And login to vanced only ...
Click to expand...
Click to collapse
I don't have 2 YouTube apps installed. After working some of the quirks out, I did a factory reset and set it up again. Now I only have vanced installed and I still have the issue on the L00 version. If there's a fix, please share. It's not a huge deal but just gets annoying I guess.
does google backup has a problem? mine shows waiting for backup except contacts and photo,video.
hattrickho said:
does google backup has a problem? mine shows waiting for backup except contacts and photo,video.
Click to expand...
Click to collapse
I think there was a thread in this forum about the backup sync issue. My contacts and photos work fine but nothing else. I use a SMS Backup and Restore for texts and call history.
htchd2mtk said:
I think there was a thread in this forum about the backup sync issue. My contacts and photos work fine but nothing else. I use a SMS Backup and Restore for texts and call history.
Click to expand...
Click to collapse
yea! same like mine. App data,call history, device settings and sms text messages are all on "waiting to backup" status.
And the "Back up now" greyed out , can't click on it.
I don't know what's going on, well but at least I can use Huawei backup everythings to pc.
hattrickho said:
yea! same like mine. App data,call history, device settings and sms text messages are all on "waiting to backup" status.
And the "Back up now" greyed out , can't click on it.
I don't know what's going on, well but at least I can use Huawei backup everythings to pc.
Click to expand...
Click to collapse
It was the same on my OnePlus 6. I think the backup feature is just broken.
SmartPhonesFan said:
No I don't have this problem.. sorry .. I installed vanced (root) and it auto replaced orig YT
Click to expand...
Click to collapse
hey, thank you again.. it has to do with the microG App, which has to run in the background to stay connected with google. Thanks for your help

Pocket Mode

Dear Community,
Greetings,
I have been using the mate 20 x for a while now, and very happy with it, what is missing from the phone (and the mate 20 pro too) is the pocket mode in the settings of the dialer app. I had this option on my old Huawei P9.
When having the phone in my pocket, and a phone call starts ringing, the ringtone volume starts increasing, and this doesn't look good when I'm at work or in a meeting.
Is there any ADB command to bring the option to the settings (I used the ADB commands on P9 to show the Font Styles which was missing from the phone).
Regards,
Pocket mode gone
Hi I have the same problem,
latest with EMUI 9.0.0 the pocket mode setting cannot be found via dialer > three dot menu anymore.
Regardless of volume settings (except for vibrate only) the ring tone volume keeps increasing to embarrassing loudness levels when the phone is in my briefcase.
Is there any change to disable the pocket mode "feature" when you cannot access it anymore?
Regards,
MaeSiuS
Finally, a solution to missing pocket mode option
Hello,
I have finally solved it, I tried it and it works perfectly.
Here are the steps:
1- Install settings database editor by 4A from Google Play store
2- Allow developer options in your phone's settings
3- Allow USB debugging
4- Install platform tools ADB on your PC
5- Connect your phone to PC
6- Make sure your phone is recognized by ADB, type command: adb devices
7- if the ADB console list your device number, type the command:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
8- On your phone, open the application Setedit
9- Go to the Secure Table from the top right menu
10- Find the line "Hide_Pocket_Mode", select the value, change it from 1 to 0.
11- Restart your phone, and you'll find the option in the dialer options, More settings.
Hope I helped, it took me time and some research, but it was worth it. lots of embarrassment caused by high ringtone in the office.
Hash_droid said:
Hello,
I have finally solved it, I tried it and it works perfectly.
Here are the steps:
1- Install settings database editor by 4A from Google Play store
2- Allow developer options in your phone's settings
3- Allow USB debugging
4- Install platform tools ADB on your PC
5- Connect your phone to PC
6- Make sure your phone is recognized by ADB, type command: adb devices
7- if the ADB console list your device number, type the command:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
8- On your phone, open the application Setedit
9- Go to the Secure Table from the top right menu
10- Find the line "Hide_Pocket_Mode", select the value, change it from 1 to 0.
11- Restart your phone, and you'll find the option in the dialer options, More settings.
Hope I helped, it took me time and some research, but it was worth it. lots of embarrassment caused by high ringtone in the office.
Click to expand...
Click to collapse
Does this solution works on a Huawei P30 too?
There is the same problem.
flummi19200p said:
Does this solution works on a Huawei P30 too?
There is the same problem.
Click to expand...
Click to collapse
Most probably, yes.
download the setedit application, and make sure you have the secure table, and there is a line "hide_pocket_mode".
Let me know if it works.
Hash_droid said:
Most probably, yes.
download the setedit application, and make sure you have the secure table, and there is a line "hide_pocket_mode".
Let me know if it works.
Click to expand...
Click to collapse
Is the procedure with adb Shell, conecting to PC and the adb console on a PC not necessary?
flummi19200p said:
Is the procedure with adb Shell, conecting to PC and the adb console on a PC not necessary?
Click to expand...
Click to collapse
It is necessary since it will grant permission to the setedit app to modify the secure table, without ADB, setedit won't work.
Hash_droid said:
Hello,
I have finally solved it, I tried it and it works perfectly.
Here are the steps:
1- Install settings database editor by 4A from Google Play store
2- Allow developer options in your phone's settings
3- Allow USB debugging
4- Install platform tools ADB on your PC
5- Connect your phone to PC
6- Make sure your phone is recognized by ADB, type command: adb devices
7- if the ADB console list your device number, type the command:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
8- On your phone, open the application Setedit
9- Go to the Secure Table from the top right menu
10- Find the line "Hide_Pocket_Mode", select the value, change it from 1 to 0.
11- Restart your phone, and you'll find the option in the dialer options, More settings.
Hope I helped, it took me time and some research, but it was worth it. lots of embarrassment caused by high ringtone in the office.
Click to expand...
Click to collapse
Oh man, this is so great! I have a P8 Lite from work which has pocket mode visible, but I also just bought a P Smart 2019 which doesn't have it visible. Or should I say HAD, because thanks to Hash_Droid I now have Pocket mode visible and disabled. I can't begin to tell you how you made my day. Thanks a lot!
Hash_droid said:
Hello,
I have finally solved it, I tried it and it works perfectly.
Here are the steps:
1- Install settings database editor by 4A from Google Play store
2- Allow developer options in your phone's settings
3- Allow USB debugging
4- Install platform tools ADB on your PC
5- Connect your phone to PC
6- Make sure your phone is recognized by ADB, type command: adb devices
7- if the ADB console list your device number, type the command:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
8- On your phone, open the application Setedit
9- Go to the Secure Table from the top right menu
10- Find the line "Hide_Pocket_Mode", select the value, change it from 1 to 0.
11- Restart your phone, and you'll find the option in the dialer options, More settings.
Hope I helped, it took me time and some research, but it was worth it. lots of embarrassment caused by high ringtone in the office.
Click to expand...
Click to collapse
Thank's a lot for this. It works perfectly on P30 Pro :good: :highfive:
It's hard to understand and unlogic why manufacturers like Huawei hide options like Pocket mode in their software. Most users, even the simpliest, surely are interested to customize ring tone options.
Thank you very much Hash_droid, works on P20 pro. :highfive:
Hash_droid, works perfectly on a Mate 10 Pro (I had the same issue) . Thanks a lot.
Thanks, confirming also for Mate 9, EMUI 9.1, not rooted (BL locked).
Btw, I've also enabled virtual HD sound - not sure if the call quality is better
This works on Mate 20 pro. But, if your ADB doesnt recognise your phone, install Huaweis HiSuite. Only so ADB listed my phone.
However, person at Huawei who decided that removing option to disable pocket mode should ne fired. Also, who ever designed the diler app. Huawei, just copy Samsungs dialer, or at least use google phone app. My galaxy S6 had 10x better dialer then my Mate 20 pro now has. At least I have google phone now.
Hash_droid said:
Hello,
I have finally solved it, I tried it and it works perfectly.
Here are the steps:
1- Install settings database editor by 4A from Google Play store
2- Allow developer options in your phone's settings
3- Allow USB debugging
4- Install platform tools ADB on your PC
5- Connect your phone to PC
6- Make sure your phone is recognized by ADB, type command: adb devices
7- if the ADB console list your device number, type the command:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
8- On your phone, open the application Setedit
9- Go to the Secure Table from the top right menu
10- Find the line "Hide_Pocket_Mode", select the value, change it from 1 to 0.
11- Restart your phone, and you'll find the option in the dialer options, More settings.
Hope I helped, it took me time and some research, but it was worth it. lots of embarrassment caused by high ringtone in the office.
Click to expand...
Click to collapse
Thanks! This guide worked also for Huawei P40 Pro (emui 10.1.0.154) :good:

Add notifications to Shield

Must have your Shield rooted
apps needed installed
-AppOps
-Settings Editor
-Snowball
-Heads Up Notifications
-terminal emulator
Install the 5 above apps.
Grant settings editor WRITE_SECURE_SETTINGS permission in terminal
-su
-pm Grant by4a.setedit22 android/.permission WRITE_SECURE_SETTINGS
Add Snowball and Heads Up listeners to active listeners
-go to secure table in Settings Editor
-choose "enabled_notification_listeners" and choose editor value
-replace all text with "com.snowball.app/.nsprocess.NotificationService:codes.simen.l50notifications/.NotificationListenerService"
Grant draw over apps permission to snowball and Heads Up in AppOps
-for each app change "this app can appear over top of other apps" to allow
Now open Heads up and snowball and run through the setups.
You should now get notifications.
I've been wanting this for Soo long and now I have no pc to root ??
Slayerkodi said:
I've been wanting this for Soo long and now I have no pc to root
Click to expand...
Click to collapse
I just did it without root, just needed to not use appops.
so you need
-settings editor
-terminal emulator
-heads up
install settings editor and terminal editor
open terminal and put in"pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS"
install heads up
-go to secure table in Settings Editor
-choose "enabled_notification_listeners" and choose editor value
-replace all text with "codes.simen.l50notifications/.NotificationListenerService"
open terminal and put in "pm grant codes.simen.l50notifications android.permission.SYSTEM_ALERT_WINDOW"
let me know how that works
Quick question before I try this, is there a way to turn off notifications? Like say I don't want notifications from specific apps - how do I stop this if there is no way to turn off notifications from within the app??
Tbh I only want notifications coming from one app only if poss
Slayerkodi said:
Quick question before I try this, is there a way to turn off notifications? Like say I don't want notifications from specific apps - how do I stop this if there is no way to turn off notifications from within the app??
Tbh I only want notifications coming from one app only if poss
Click to expand...
Click to collapse
just turn off the notification toggle in settings apps for the app you want notifications disabled.
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Slayerkodi said:
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Click to expand...
Click to collapse
It's in the shields play store
Slayerkodi said:
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Click to expand...
Click to collapse
It's in the shields play store
Ok so I just attempted this and it seems to fail at the first step https://m.imgur.com/a/vOLLfRc
Slayerkodi said:
Ok so I just attempted this and it seems to fail at the first step https://m.imgur.com/a/vOLLfRc
Click to expand...
Click to collapse
Try turning on USB debugging
Wildheart said:
Try turning on USB debugging
Click to expand...
Click to collapse
USB debugging is on already
Slayerkodi said:
USB debugging is on already
Click to expand...
Click to collapse
Next thing I would get you to do that is to say the command.
What do you mean?
Wildheart said:
Try turning on USB debugging
Click to expand...
Click to collapse
Wildheart said:
Next thing I would get you to do that is to say the command.
Click to expand...
Click to collapse
USB debugging is already in, what do you mean by say the command?
Wildheart are you there?
Would love to have had this to work
Can anyone else help with this?
can you adb into your shield?
No pc or root, I have been using termux recently to upload music to Google play music as there's no way to do this with Android atm, which is working fine. I tried your code again the other day using termux, seems like your code you asked me to enter needed a few spaces in places for it to recognize the command but I still got an error, I'll upload a screenshot later on when I'm at home
Try using "ADB Shellkit" to enter the commands, I've tried it and you need at least ADB access to follow this walkthrough without root.

Categories

Resources