Aliendalvik restart stalls until phone wakeup

asked 2016-11-20 13:13:59 +0300

Federico gravatar image

updated 2016-11-20 13:27:27 +0300

Step to reproduce on my Jolla C:

  1. Press the power button to power off the display (I have no device lock code set)
  2. SSH into the phone, as root.
  3. Type systemctl restart aliendalvik.


  • The command completes almost immediately and restarts the Android layer.


  • The command stalls indefinitely (does nothing and does not terminate).
  • If I Press the power button once more to wake up the phone, now the command terminates and I get the command prompt again.

This seems unusual. If I restart some other service, for instance bluetooth, the command completes immediately.

I stumbled upon this behavior while looking for workarounds for Whatsapp messages arriving late and the web client not working -- it seems that restarting the Android layer "wakes up" the Whatsapp app.

edit retag flag offensive close delete


Does the same happen if the display is on? It could be that your cpu is underclocked and all commands are slow.

bomo ( 2016-11-21 14:58:59 +0300 )edit

@bomo No, the command takes under a second to complete when the display is on.

Federico ( 2016-11-21 15:00:22 +0300 )edit

But that's what i just wanted to say. If your screen is off then the cpu is running on a lower frequency and thus slower (to save power). it's not a bug but a feature.

bomo ( 2016-11-21 15:23:57 +0300 )edit