Android app support no longer working after 4.5.0.16 update

Hi everyone,

So I made the upgrade to v4.5.0.16 today - I actually used the CLI tool sfos-upgrade.

Since this update I have tried running Android App Support via the settings GUI - the “start” button will turn to a swirl however will then change back to the “start” text, and the app will read “App Support unable to start”.

I checked this with systemd on the command line, and the system service has failed with this:

[root@Xperia10III defaultuser]# systemctl status aliendalvik.service
● aliendalvik.service - Alien Dalvik
   Loaded: loaded (/usr/lib/systemd/system/aliendalvik.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/aliendalvik.service.d
           └─01-prevent-start.conf, 01-user.conf
   Active: failed (Result: exit-code) since Thu 2023-02-02 14:33:43 GMT; 10s ago
  Process: 31128 ExecStopPost=/usr/libexec/appsupport/stop-aliendalvik.sh (code=exited, status=0/SUCCESS)
  Process: 31089 ExecStartPost=/usr/libexec/appsupport/alien-post-startup.sh (code=exited, status=20)
  Process: 30289 ExecStart=/usr/libexec/appsupport/start-aliendalvik.sh (code=killed, signal=TERM)
 Main PID: 30289 (code=killed, signal=TERM)

Feb 02 14:33:43 Xperia10III systemd[1]: aliendalvik.service: Service hold-off time over, scheduling restart.
Feb 02 14:33:43 Xperia10III systemd[1]: aliendalvik.service: Start request repeated too quickly.
Feb 02 14:33:43 Xperia10III systemd[1]: aliendalvik.service: Failed with result 'exit-code'.

I ran a journalctl -xe and this seems to give a number of outputs but to be honest I’ve no idea which ones are actually relevant so not entirely sure what would be useful to post from this.

As an aside I can also no longer launch Jolla Store from the app grid, as this simply shows a white screen (or a white box on my home screen) with no contents, so I think further problems have occurred with my update to 4.5.0.16, which is why I’m not submitting this as a bug report yet as it seems like something I’ve done has broken it!

I’ve tested a number of native apps and nothing else appears to be broken however I haven’t as of yet tested everything.

Can anyone help? Hoping it’s just a case of a bad update that I need to somehow push through but I’ve tried the standard pkcon refresh/version --dup and that doesn’t seem to want to reinstall anything.

Thanks!

1 Like

From the release note:

Start the update from “Settings > Sailfish OS updates”. Avoid running updates on the command line, please.

I suppose by doing it via CLI something broke in the android support.
Maybe you could try to remove the package with the android image and reinstall it.

Also, the package aliendalvik-system has been replaced by appsupport-system-unprivileged

1 Like

That’ll teach me to read the release notes more closely :roll_eyes:

So I already have the package “appsupport-system-unprivileged”, is this the package you’re referring to to un/re-install?

I have the same ish problem, though I didn’t upgrade from cli.
I don’t have the appsupport-system-unprivilleged package, but a package called appsupport-system-priviliged instead

I’ve tried to reinstall the previligied package, but still no android-support.
in the android support section there is just the spinning wheel, when trying to start the service, but it dosen’t start

I ran the command:
apkd-launcher com.android.settings/com/android.settings/com.android.settings.Settings

from the app qCommand

Then I get the android config app, and if I try to install an apk package then, I am prompted with how I want to install it, which prior to this just nothing happend

I have the same problem: Aliendalvik does not start correctly. After trying with “systemctl restart aliendalvik” it seems to run (“System-App” → “Android-app-support” also tells me it’s running), but no Android-app starts.
I am not sure if the problems are connected but app updating does not work either completely! Some apps do update some do not.
@Jolla: that’s the first upgrade I have problems with. Please help.

My problem is very similar. After updating to 4.5.0.16 Android apps have been working. After a reboot of the phone, Android support is trying to start, but returns with error.

aliendalvik.service - Alien Dalvik
   Loaded: loaded (/usr/lib/systemd/system/aliendalvik.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/aliendalvik.service.d
           └─01-prevent-start.conf
   Active: failed (Result: exit-code) since Wed 2023-02-15 22:43:42 CET; 28min ago
  Process: 24698 ExecStopPost=/usr/libexec/appsupport/stop-aliendalvik.sh (code=exited, status=0/SUCCESS)
  Process: 24634 ExecStartPost=/usr/libexec/appsupport/alien-device-config.sh (code=exited, status=0/SUCCESS)
  Process: 24390 ExecStartPost=/usr/libexec/appsupport/alien-post-startup.sh (code=exited, status=0/SUCCESS)
  Process: 23391 ExecStart=/usr/libexec/appsupport/start-aliendalvik.sh (code=exited, status=1/FAILURE)
 Main PID: 23391 (code=exited, status=1/FAILURE)

I tried to reinstall Android App Support. No effect.
I also can not deinstall Android apps.
What can I do to fix it?

I managed to upgrade meanwhile, see here: [Release notes] Struven ketju 4.5.0.18 - #51 by Stevo
Maybe you can try the same.