Bluetooth wants confirmation

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Bluetooth wants confirmation

Post by Amenophis86 » 16 Nov 2018 05:42

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.

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Bluetooth wants confirmation

Post by Amenophis86 » 16 Nov 2018 06:19

I tried this: https://forum.xda-developers.com/k920/t ... st58804774 but the prompt still pops up

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Bluetooth wants confirmation

Post by Desmanto » 16 Nov 2018 10:27

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.

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Bluetooth wants confirmation

Post by Amenophis86 » 16 Nov 2018 11:20

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?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Bluetooth wants confirmation

Post by Desmanto » 16 Nov 2018 17:57

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.
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.

User avatar
yogi108
Posts: 100
Joined: 09 Nov 2016 08:00
Contact:

Re: Bluetooth wants confirmation

Post by yogi108 » 02 Jan 2020 21:54

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...
"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

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Bluetooth wants confirmation

Post by Desmanto » 04 Jan 2020 12:21

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.
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.

User avatar
yogi108
Posts: 100
Joined: 09 Nov 2016 08:00
Contact:

Re: Bluetooth wants confirmation

Post by yogi108 » 04 Jan 2020 14:28

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
"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

Post Reply