Immersive mode - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hi everyone, does anyone know how to enable immersive mode on the mi 9t? I've tried all methods I know but none of them worked. Standard adb commands like wmoverscan won't work, it says I don't have write settings permission (never had this problem with any other phone, this is my first xiaomi). In addition, if I try to use an app it still won't work, I try to give the immersive mode app permission but then I get
"Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS"
Can anyone pease help me?

Related

Trying to use Tasker Secure Settings to disable volume warning on Samsung S5.

Trying to use Secure Tools to disable volume warning Samsung S5 running Marshmallow. I installed everything and ran adb command. No error, but when I search for Secure Tools it says Not Installed. Then I read this doesn't work on Marshmallow?
My phone is NOT rooted. Any help would be much appreciated.
Thanks - Frankie
Frankie-o said:
Trying to use Secure Tools to disable volume warning Samsung S5 running Marshmallow. I installed everything and ran adb command. No error, but when I search for Secure Tools it says Not Installed. Then I read this doesn't work on Marshmallow?
My phone is NOT rooted. Any help would be much appreciated.
Thanks - Frankie
Click to expand...
Click to collapse
I'm confused. What app are you referring to? "AutoTool's secure settings" or the app "Secure settings" or something else that I'm missing?
TASKER and AUTO TOOLS
I guess I forgot to mention that I'm user Tasker to do this... Thank you.
Be very specific what you are using and what you are trying.
Trying to disable high volume warning on Samsung S5
Using Tasker Auto Tools to run a command on my phone that will allow me to override the Volume High Warning on the Samsung S5 phone. It's supposed to enable WRITE SECURE SETTINGS with this command - and the command runs fine but it's not working for me. But when I go back to the app and look for Secure Settings, it's not there.
adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Auto tools is a plugin to tasker.
The "adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS" is one of two steps required to give the type of system level OS access this tool needs. The first thing that should be done is to enable "allow modify system settings" for AutoTools.
From the AutoTools Secure Settings page:
To use this, AutoTools needs to be granted permission to change secure settings on your device
If you're on Android 6 or above click here to grant AutoTools the first Settings permission
Then follow these steps to grant AutoTools the Secure Settings permission:
Enable Developer Mode: Go to Android Settings -> About Phone and look for the Build Number option. Touch it multiple times until developer mode is enabled.
Enable USB Debugging: Go to Android Settings -> and look for the Developer Options option. In there, enable the USB debugging option.
Install ADB on your PC: Check here for a quick way to do it.
Connect device to PC: Connect your device to a PC and look on your phone. A prompt should show up asking you to allow your phone to be debugged by your PC. Accept this.
Grant permission: Open a command line on your PC and write
adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Congratulations, AutoTools should now be able to use the "Secure Settings" action!
Click to expand...
Click to collapse
Once those things are done ( I typically reboot for no good reason ☺ ), then go to tasker, add an action in a task, then: plugin -> Auto tools -> secure settings (scroll down the list) you'll end up in a screen where you can configure the AutoTools secure settings action.
WOW! I think I did it.. I just hope I can do it again - this was my "test" phone. I think I was messed up by doing the "search" for secure settings because it said it wasn't installed.. Yet I had looked for the secure settings option and didn't find before - although I had already done all the steps. Somehow I got on to a screen that said the app (I forget the exact words) didn't have permission to change the settings, and to press NO if I wanted to allow the permissions - and I pressed no! I had already created the task to disable the warning - but it's been so long, I'm not sure how I did that - but the bottom line is I think it's working.. I had found several sites that said this wouldn't work with Marshmallow unless the phone was rooted, and my phones are not rooted.. so that makes me skeptical, but I did a reboot, and the warning didn't come back. Thanks a ton for your help.. Let's hope I can re-create on the phone that really needs it.
In case this is found by someone else, many of those "how to use secure settings" posts from lollipop and marshmallow predate the (awareness of the) approach used by AutoTools. People spent a lot of effort trying to force an unsupported, outdated app (the original secure settings) to work in a systemless root environment.
I'm sad to say this did NOT work on my test phone.. It looked like it did, but it didn't.

Magisk PC Debug usb App problem

Hello to all,
by mistake I deleted the camera folder and I'm trying to recover lost photos. I have an LG G3 with fulmics rom + Magisk.
I found some free recovery suites (like free android data recovery), but they tell me they can not get root permissions. I activated USB debugging and then the root permission request should appear, but it does not show up and it does not go. With another program the request appears to me, I grant it to him but the program always tells me that he could not get root permisisons. How can I do?
I would like to avoid installing an app on the cell because it would overwrite some data and maybe I compromise the recovery of the photos ...
If you know any other free app that works you make me happy!

Lost my navigation bar completely after using an app to hide it...

I used an application to hide my navbar, however, it was glitching and flickering forcing me to stop and uninstall the app.
Doing so permanently removed my navbar. Issue is any other replacent navbar I am not able to use. I must enable access in the accessibility option, however, when trying to do so I keep getting ''settings has stopped working'' error. How can I fix this?
Bump. Anyone? Even when trying other third party apps such as power toggles, I am unable to use the back, go home or recent apps menu....
Any way of restoring the soft navbar keys?? I am unable to do anything without them. The last resort would be to factory/data reset, wipe or re-flash rom. Please advise.
Try clearing cache in recovery mode.
Or
On PC with adb command uninstall the app but with the com.xxx.xxx name of the app.
Or
You can try to flash the stock rom 3 files + home-csc file (won't wipe data).
Or as you said factory reset.
BluePhnx said:
Try clearing cache in recovery mode.
Or
On PC with adb command uninstall the app but with the com.xxx.xxx name of the app.
Or
You can try to flash the stock rom 3 files + home-csc file (won't wipe data).
Or as you said factory reset.
Click to expand...
Click to collapse
I will try the second option, using adb command. I believe the name of the app that caused me this issue is ''Navigation Gestures''
This one - ''https://play.google.com/store/apps/details?id=com.xda.nobar
However, it was uninstalled yet my navbar is still missing. Ever since I tried other ones without success. How do I remove all the ones using adb?
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
MishaalRahman said:
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
Click to expand...
Click to collapse
Really worked the command. thanks
MishaalRahman said:
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
Click to expand...
Click to collapse
I re-flashed my rom 2-3 times due to bootloop/not booting due to messing about with several navbar hiders, VERY surprised that messing with the navbar can prevent the phone from booting!
Even when trying Substratum with the paid addon, even this caused a bootloop/unable to boot.
I may of even tried your version, cannot remember, what is the latest version YOU have that has been tested and works with Note 8? I'll give that a try.

System UI Tuner

Hi
Can anyone help - I want to access the System UI tuner on P20 pro, to remove icons like Bluetooth and NFC from the status bar.
I found a tutorial (link below) which gives me access to the System UI menu - however the options don't seem to have any effect and there is no option to turn off the NFC icon - can anyone help?
https://www.youtube.com/watch?v=gm8PEYKrjrw
This was so easy on my Oneplus.....not sure why Huawei make it so difficult!
Thanks
Don't bother with the tuner. Simply use adb:
adb shell settings put secure icon_blacklist nfc,bluetooth ... then reboot.
Or if you're rooted, just... settings put secure icon_blacklist nfc,bluetooth in a terminal emulator on the phone, then reboot
Full guide here... https://forum.xda-developers.com/htc-10/how-to/remove-nfc-icon-root-adb-t3507739 It's for the HTC10, but works for the P20 Pro
Thanks however I don't have access to a desktop. Only my phone or an iPad
colthekid said:
Don't bother with the tuner. Simply use adb:
adb shell settings put secure icon_blacklist nfc,bluetooth ... then reboot.
Or if you're rooted, just... settings put secure icon_blacklist nfc,bluetooth in a terminal emulator on the phone, then reboot
Full guide here... https://forum.xda-developers.com/htc-10/how-to/remove-nfc-icon-root-adb-t3507739 It's for the HTC10, but works for the P20 Pro
Click to expand...
Click to collapse
rob2005 said:
Thanks however I don't have access to a desktop. Only my phone or an iPad
Click to expand...
Click to collapse
Not possible without either root or adb AFAIK.
The inbuilt System UI Tuner (Demo Mode) doesn't work properly for me either and, as you said, doesn't have NFC as an option anyway.

Tasker and Android 12

Hi. I have update my OnePlus to OOS 12... and all tasks I use stop working.
What can I do...?
I have root (magisk)...
But Tasker cant change any system setting anymore.
- can't change display timeout any more...
- can't turn AOD on/off
What I need to change thet to work on android 12... it's all working perfectly on 11
Please help
were you prompted to add back all of Tasker's permission requests? You may need to manually re-allow them (including SU with Magisk).
You can also get a lot of help at the official reddit r/tasker where the developer posts frequently.
I try..m didn't change anything... All tasks are in "green" and all seems to work... but non of system settings change.
On the end I find out it's ****ing Oppo Color OS, that make problem with everything....
If anyone know how to make tasker, and probably other apps working fine ln Colot OS, please help...

Categories

Resources