My new Huawei Mate 20 pro with Emui and Nova Luncher always wants a confirmation by setting Bluetooth on or off.
I activated "Einstellungen Bestätigung unterdrücken" in AM and AM is Systemadministrator. Any other ideas?
By the way, I can set for example WiFi without confirmation.
Bluetooth wants confirmation
Moderator: Martin
- Amenophis86
- Posts: 13
- Joined: 17 Jun 2016 10:00
Re: Bluetooth wants confirmation
I tried this: https://forum.xda-developers.com/k920/t ... st58804774 but the prompt still pops up
Re: Bluetooth wants confirmation
The system prompt an dialog box to ask for the confirmation right? You need to use accessibility, use Control UI to click that yes or accept button. It is just simple script after the set bluetooth state on. Look at my index, Control UI section.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- Amenophis86
- Posts: 13
- Joined: 17 Jun 2016 10:00
Re: Bluetooth wants confirmation
Well I thought so too, but if the screen is locked like it always is in my Flow, no Ui is possible. Or am I wrong?
Re: Bluetooth wants confirmation
Oh, yes, Control UI won't work then. This seems to be the ROM's framework problem. The link you provide has to use xposed module to fix it. Probably there is a hidden setting that grant the permission to certain app to turn on/off the bluetooth. Maybe you can try to check every value in the Set System Setting, in those 3 categories to find any meaningful words.
Other method, try to enable accessibility, app usage access and other permissions.
Other method, try to enable accessibility, app usage access and other permissions.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Bluetooth wants confirmation
Even if the last post is done over 1 year ago:
I have now the same problem using Huawei P20 9.x
Permission dialog for Bluetooth on,
someone found a solution?
Regards,
Fritz
Ps: also for Bluetooth off...
I have now the same problem using Huawei P20 9.x
Permission dialog for Bluetooth on,
someone found a solution?
Regards,
Fritz
Ps: also for Bluetooth off...
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Re: Bluetooth wants confirmation
Try to turn on the bluetooth using set System setting. The usual value is [global] bluetooth_on : 1.
Use my secure setting logger flow to find the key. viewtopic.php?f=3&t=7931
If you are lucky, You might find the culprit of the system value which corresspond to the permission dialog too.
Use my secure setting logger flow to find the key. viewtopic.php?f=3&t=7931
If you are lucky, You might find the culprit of the system value which corresspond to the permission dialog too.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Bluetooth wants confirmation
Thanks again for your valuable instructions.
I did the ADB and your flow and it worked as described,
non root.
I found 2 value pairs, Bluetooth_on and is_bt_discoverable_timing with values 0 and 1.
Tried to change the system settings with these values,
nothing happened.
I found a workaround for my needs with UI, scenario is incoming call -> Bluetooth on, call finished -> Bluetooth off.
Not really finished yet, but working...
Flow with trigger permission dialogue and UI click the yes button. Works well if no incoming call and Bluetooth through Automagic on. If incoming call the trigger is not working, so I have to call the flow manually from the incoming call trigger...
Thanks a lot
Regards
I did the ADB and your flow and it worked as described,
non root.
I found 2 value pairs, Bluetooth_on and is_bt_discoverable_timing with values 0 and 1.
Tried to change the system settings with these values,
nothing happened.
I found a workaround for my needs with UI, scenario is incoming call -> Bluetooth on, call finished -> Bluetooth off.
Not really finished yet, but working...
Flow with trigger permission dialogue and UI click the yes button. Works well if no incoming call and Bluetooth through Automagic on. If incoming call the trigger is not working, so I have to call the flow manually from the incoming call trigger...
Thanks a lot
Regards
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga