answered
2020-01-29 08:25:21 +0200
Also had this problem on XA2 Plus, Sailfish OS 3.2.1.20.
TLDR: Probably CPU doesn't have enough power on device startup, and services reaching timeout
The problem solved itself, after I edited \vendor\etc\rqbalance.config to set minimum online cpu cores to 8, essentialy disabling cpu core hotplugging(It causes weird bugs and hotplugging actually is disabled on stock sony android), and set cpu frequency scaling governor to ondemand, with io_is_busy enabled by editing \vendor\etc\init\init.nile.pwr.rc. And also fixed some other things in init files and \vendor\etc\thermalmanager.xml(There's a lot of wrong settings, 'cause those are from AOSP, not Sony(though sony f's up pretty frequently too), plus some things needed tweaking after I changed governor). Haven't had that problem ever since.
It seemed like the problem was that there were not enough cpu power on device startup, and Android app support was crashing, or most likely some services were exceeding timeout value, and their start was aborted. I don't remember seeing anything in logs, though, so I can't say for sure what was the actual source of the problem.
PS: Had to read a lot of kernel source code, while trying to do that. There is almost no mention of these systems on the internet. Honestly, It would be much easier if Jolla set up community wiki pages(like, real ones, not on forum).
Confirmed service isn't running using systemctl.
Ran script /usr/bin/start-aliendalvik.sh and it says "info systemd again..." repeatedly and then "Couldn't deliver notify message to systemd".
SValmont ( 2020-01-24 23:30:40 +0200 )editI already had this phenomenon on my Sony Xperia 10 Dual.
Ralf ( 2020-01-25 13:35:18 +0200 )editBut I think this is the normal first loading time of the android system. If I wait it will start always. Often start then also the apps they I try to start allown. I think that depends on wich kind of real restart you make.
A deep restart or only a soft restarts e.g. restart lipstick.
Maybe with a deep restart added the time for entering the pins and you may not notice it ...
If you have install patchmanager yo have also a restart of the lipstick and have to wait some minutes of android suport.