Known Issues on Android 9

Post your questions and help other users.

Moderator: Martin

handmade82
Posts: 4
Joined: 03 Aug 2020 07:32

Re: Known Issues on Android 9

Post by handmade82 » 07 Aug 2020 20:16

I'm using a Motorola G6 Play with Android 9. The effect occurs when I turn on/boot my Phone. So after every new automagic start the security setting is reset to WEP.

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

Re: Known Issues on Android 9

Post by Desmanto » 10 Aug 2020 10:41

I test this out, set to no security, no password. Then reboot the phone, open the flow that contains that action, and it is set to WEP, just like yours. I am using AM 1.38.0 already. And since no more updates, this is the bug you have to live with from now on.

There is workaround, by reimporting the flow at every reboot. You can export the flow, then at Automagic startup, import the flow and replace it.
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.

handmade82
Posts: 4
Joined: 03 Aug 2020 07:32

Re: Known Issues on Android 9

Post by handmade82 » 11 Aug 2020 05:57

I test your workaround but it doesn't work. After reimporting I get the same result. I also make a dummy flow where I put in only the action for WLAN Access, but even it doesn't work. At first I export the flow with the security blank and after that I reimport it.

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

Re: Known Issues on Android 9

Post by Desmanto » 11 Aug 2020 11:18

Same here. I just realized the problem is not with reboot, it is with the flow re-initialization part. Even if you export properly with security set to none (null), after import, it will be imported as WEP. When reboot, Automagic reinit from flows.xml, hence the same "none" will be init as WEP.

I just checked that the field support variable. Since security none is null value, we can cheat the value to a null variable by using double quotes inside double curly braces

Code: Select all

{""}
The field should changed to teal color, indicating a variable. Try the action to make sure it works. After export-reimport, the field value stay the same.
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.

handmade82
Posts: 4
Joined: 03 Aug 2020 07:32

Re: Known Issues on Android 9

Post by handmade82 » 12 Aug 2020 06:10

Thank you Desmanto. The hint to use this variable fix the bug.

Post Reply