Lineageos: WLAN and location trigger and notifications in status bar
Posted: 09 Oct 2019 21:19
Hi Martin,
I recently switched my Samsung Galaxy S4 from (rooted) stock firmware to Lineageos 16. On stock firmware all Automagic triggers worked well, but I regularly had problems with some permissions for Automagic. Also, the stock firmware is full of bloatware and very slow, so I was very happy that finally an official Lineageos build for the S4 was published a few weeks ago. Because the builds are very new, there will be bugs ...
But I was using a S4 Mini with Cyanogenmod before and the trigger problems were similar. As I switched to the S4 with stock firmware a few month ago, I realized that those problems are not normal - most things ran much better on stock firmware. So I think the problems could be general with Automagic and Cyanogenmod/Lineageos.
1) WLAN triggers are not reliable.
Sometimes it lasts 10 or more minutes, until a WLAN dis/connect or WLAN within/outer reach is detected. For example my phone should trigger if it dis/connects to my home WLAN or detect the WLAN at work (without connecting to it). Sometimes it triggers suddenly, sometimes very late, sometimes it does nothing. With stock firmware this worked flawlessly, but there were the same problems on my S4 Mini with Cyanogenmod.
2) Location triggers are not working.
I tried to change from WLAN to location triggers, but they do absolutely nothing. GPS is activated and I can choose the location in Automagic in a map (with radius 100m). Even if Google Maps is running and shows the location, the triggers don't do anything.
3) Notifications in status bar are not always working.
When I get home and the WLAN triggers, Automagic should show a "house" symbol in status bar and the text "home". I always get a notification on lock screen (with house symbol and text), but the symbol in the status bar does not appear sometimes. Furthermore, when I check in a condition for the notification in status bar, it sometimes ends with "false". If the return is true or false seems to be independent of the symbol in the status bar, so these are two different issues.
Last but not least I have problems with the logs on the S4. On my S4 Mini there was an option "log to SD card" and I saw logs lasting a few days. Now, on the S4, the option is called "write log in file" and the logs are very short. Often I don't see any entry in the log for a single flow. This is independent of OS (stock/Lineageos), but it differs from S4 Mini to S4. Is there any way to increase the log size?
The most urgent problem is the WLAN trigger. Is there any way make it more reliable on Lineageos?
Thanks in Advance!
I recently switched my Samsung Galaxy S4 from (rooted) stock firmware to Lineageos 16. On stock firmware all Automagic triggers worked well, but I regularly had problems with some permissions for Automagic. Also, the stock firmware is full of bloatware and very slow, so I was very happy that finally an official Lineageos build for the S4 was published a few weeks ago. Because the builds are very new, there will be bugs ...
But I was using a S4 Mini with Cyanogenmod before and the trigger problems were similar. As I switched to the S4 with stock firmware a few month ago, I realized that those problems are not normal - most things ran much better on stock firmware. So I think the problems could be general with Automagic and Cyanogenmod/Lineageos.
1) WLAN triggers are not reliable.
Sometimes it lasts 10 or more minutes, until a WLAN dis/connect or WLAN within/outer reach is detected. For example my phone should trigger if it dis/connects to my home WLAN or detect the WLAN at work (without connecting to it). Sometimes it triggers suddenly, sometimes very late, sometimes it does nothing. With stock firmware this worked flawlessly, but there were the same problems on my S4 Mini with Cyanogenmod.
2) Location triggers are not working.
I tried to change from WLAN to location triggers, but they do absolutely nothing. GPS is activated and I can choose the location in Automagic in a map (with radius 100m). Even if Google Maps is running and shows the location, the triggers don't do anything.
3) Notifications in status bar are not always working.
When I get home and the WLAN triggers, Automagic should show a "house" symbol in status bar and the text "home". I always get a notification on lock screen (with house symbol and text), but the symbol in the status bar does not appear sometimes. Furthermore, when I check in a condition for the notification in status bar, it sometimes ends with "false". If the return is true or false seems to be independent of the symbol in the status bar, so these are two different issues.
Last but not least I have problems with the logs on the S4. On my S4 Mini there was an option "log to SD card" and I saw logs lasting a few days. Now, on the S4, the option is called "write log in file" and the logs are very short. Often I don't see any entry in the log for a single flow. This is independent of OS (stock/Lineageos), but it differs from S4 Mini to S4. Is there any way to increase the log size?
The most urgent problem is the WLAN trigger. Is there any way make it more reliable on Lineageos?
Thanks in Advance!