We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-11-20 13:13:59 +0200

Aliendalvik restart stalls until phone wakeup

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.
  4. The command stalls indefinitely (does nothing and does not terminate).
  5. Press the power button once more to wake up the phone
  6. 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.

Aliendalvik restart stalls until phone wakeup

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.

Expected: 4. The command completes almost immediately and restarts the Android layer.

Observed: 4. The command stalls indefinitely (does nothing and does not terminate).

  • terminate). 5. If I Press the power button once more to wake up the phone
  • Now 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 web.whatsapp.com not working -- it seems that restarting the Android layer "wakes up" the Whatsapp app.

    Aliendalvik restart stalls until phone wakeup

    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.

    Expected: 4. Expected:

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

    Observed:

    Observed: 4.

    1. The command stalls indefinitely (does nothing and does not terminate). 5. terminate).
    2. 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 web.whatsapp.com not working -- it seems that restarting the Android layer "wakes up" the Whatsapp app.

    Aliendalvik restart stalls until phone wakeup

    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.

    Expected:

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

    Observed:

      • 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 web.whatsapp.com not working -- it seems that restarting the Android layer "wakes up" the Whatsapp app.