Disabling vibrations on Android 11 - Xiaomi Redmi Note 5 Pro Questions & Answers

Is there a way to completely silent the phone without ANY vibrations? I can do that when I was on MIUI 11 and xiaomi.eu version. I want to use lineageos rom because it's lightweight and it has a dark mode.
I have a fear of vibrations, to the point that I think that I'm going to die, so I really want to remove it.
I found out disabling vibrations using adb but only for specific apps and it goes back when reinstalled.
cmd appops set <package> VIBRATE ignore
But with this I have to loop through all of the packages and run the command, when there's a new app installed, I need to run the command again.
Is there a way to remove the vibration using an app or at least an easier to execute command?
My phone is rooted, if that can help. Please help me.

Related

[MOD]No notch ? Welcome to the immersive mode ! Remove the notification bar

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.

Realme X2 & Tasker

Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
bino_mat said:
Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
Click to expand...
Click to collapse
Tasker is running fine on my X2 EU version. No problems up to now
Note4Addict said:
Tasker is running fine on my X2 EU version. No problems up to now
Click to expand...
Click to collapse
That is is interesting !! - 2 problems I encountered are
1.Tasker toasts are working only with in Tasker context - I mean if open the tasker and a do a flash message ,it flashes the message- But when on a normal working (Tasker is in background) - no toast message appears.
2.Even if I enable all of the permission,when Tasker tries to switch on the WIfi with in Tasker context as window popes out asking Tasker want to switch on Wifi - Allow or Prohibit -
If Tasker is in background,this window can't appear and nothing happens.
Finally ,I went to Developer options,Disabled the permission monitoring(last option) s- that this started working
Can you please confirm on these 2 points?
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Note4Addict said:
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Click to expand...
Click to collapse
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
bino_mat said:
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
Click to expand...
Click to collapse
Good news that Tasker works well in Color OS 7 which will get around March it seems. Regarding the initial ADB permission, I meant the message you get when you first install Tasker on a non-rooted device. In that case you need to execute a specific permission command via ADB to get Tasker up and running correctly.
What I meant with "Try if you can..." is that If you have the opportunity you may want to check if perhaps one of the new ADB wifi commands would be capable of setting wifi on and off despite permission monitor being active instead of disabled as we're doing now. Hope that will work so we can keep permission monitor active.
Guess ,it is more of Color OS issue , with the battery saved enabled,Tasker is missing the Alarm - I did a simple experiment of logging of BAttery level to a file in every 10 minutes.
If I look at the file now ,either the logging is not continuous or stopped after sleeping for one or hour or so !!! -- But this is not the case with MIUI - It's sharp on time with battery saver or not.
More importantly one thing I noticed is that when battery saver is on ,you can't lock the application in memory - Flip side , with battery saver on ,if I invoke recents and clear the memory ,evrything will be wiped and even when battery saver is off,the applications which you want to be in memory in normal condition will not be there!!!
Bluetooth problems with Android 10:
With my Realme X2 and Realme Ui 1.0 (Android 10) i can not start Bluetooth because my smartphone always asks with an popup for an permission ("Tasker needs the following permission: set Bluetooth on/off"). My desktop links give me the error code "action bluetooth failed".
How can i disable this popup asking for an permission? Or can i made tasker to click on yes itself?

Is there a way to disable "Powerbutton+volume up" vibrate??????

I keep missing phone calls because they all go to vibrate. I just rooted my 7T with magisk and I want to figure out how to disable this shortcut. This guy on reddit also has the same problem: reddit.com/r/oneplus/comments/aejv3k/is_there_a_way_to_disable_powerbutto
I downloaded this button mapper but it doesn't seem to have a way to disable the native shortcut to silence the phone. IT IS DRIVING ME CRAZY
Just found a fix from another thread: use the below adb command and it should work.
Code:
adb shell settings put secure volume_hush_gesture 0
Fixed it for me on my OnePlus 7T running Oxygen OS 11.0.0.2.HD65AA. Just wanted to pay it forward. I hope this helps others as much as it helped me!

How to loose all your data with a single adb command

Hi,
I have experienced a data loss recently so I would like to share it with other Xiaomi users and maybe someone could share their experience.
During de-bloat cleaning I made a mistake. I wanted to disable "Security" app, but regular "disable-user" command did not work. I was a bit desperate so I decided to uninstall it using this command:
pm uninstall --user 0 com.miui.securitycenter
After that the system could not boot and always dropped to Recovery
I tried to re-flash the same firmware version using Mi Assitant PC, but that did not help. The only solution was to Wipe all the data. After that my Xiaomi 9 SE was able to boot. But all the data was lost.
My question is: is there a way to somehow boot the device in this situation without wiping all the data? Bootloader locked
Thanks
Hey,
I haven't found a way arround this. The Security App is still somewhere in the system image, but I could not find a way how to get to that file and how to restore it. For me it was the Cloud App. The device still boots, but gives annoying crash messages if you use the screenshot functionality or try to click the preview icon in the camera app.
If someone else finds a way around, I would be happy to hear and learn

How to run bootscript on BlackView P10000 Pro?

Hi
I'm trying to run this command on boot:
Code:
settings put secure sysui_keyguard_left "com.devuni.flashlight/com.devuni.flashlight.MainActivity"
However, I cant find a way to make it run at boot. App Init.D can execute it on demand (sometimes works), but never at boot. Kernel Auditor is not working as well (nothing happens).
Please, what else can I try to make it work on Oreo 8.1 stock ROM, rooted with Magisk?
Thanks in advance!
-Or at least, is there an app to create 1x1 widget to execute this script?
-Is there any way to change icon of the shortcut? This one shows only white circle as an icon. However, same app had normal icon, while set as shortcut on alternative lockscreen app... Or is this not possible?
Please, I have this issue since month, and I cant push it trough. It is last issue with my new phone, but I am afraid I will fight it for maybe months more! Unless I will get some help maybe...

Categories

Resources