Android Support/Alien Dalvik no longer working [3.4.0.22]

thank you. I did update a brand new flashed SailfishOS 3.3, added the newest Aliendalvik-Control, but Android App support does not work. For this reason I asked… my next step is to uninstall everything alien dalvik and then to reinstall Android related apps one by one.

I did the hard way… flashing SailfishOs 3.3, then updating, then instaling Aliendalvik-Control. And MicroG. Worked so far (after I destroyed my old Sailfish :wink: ), but have still one problem:

  • Whatsapp does not see Google-Account for message backup/restore
  • New Signal app does not read-in contacts…

So despite the cool changes, in real life I am still not satisfied.

No this type of problems on Sony Xperia XA2 Ultra H3213. I’ve tried Signal, Slack, Rocket.chat, OmaPosti, Tiima Mobiili, Eazybreak, Danske Mobiilipankki, Zoom, HSL, FreeShishen.

There are different Aliendalvik Control versions. There also seem to be incompatibilities here.
For this reason I installed the update to 3.4.0.22, after previously uninstalling Aliendalvik-Control.
Only “after” the update to 3.4.0.22 did I reinstall Aliendalvik-Control, which then solved my problems with the Android apps (apparently).
For Sailfish 3.4.0.22 you need Aliendalvik 9.3 Version,
for Sailfish 3.3… you need 9.2 Version.https://openrepos.net/content/coderus/aliendalvik-control

Doesn’t work well at all with Aliendalvik, very unstable, apps crash, I have the problem of the flickering black screen

same here, uninstalling Aliendalvik Control 9.3 and Android Support did not help so far. Android support buttons remain greyed, Aliendalvik Control buttons don’t act, and I have flickering black screen now and then.
but BANG after disabling Topmenu Control I get working android support :wink:
using aliendalvik control will trigger a bad flickering.

Uninstalling Android Support via Jolla store left it available in settings… so this did not uninstall, only it’s buttons are grey again.

Is there a foolproof way to really uninstall Android App support completely?

well, the brutal way to remove all android stuff
https://jolla.zendesk.com/hc/en-us/articles/360015459134
goes like this…
devel-su
rm -rf /home/.android/*
rm -rf android_storage
reboot
after that I re-flashed SailfishOS 3.3. It did not work.

Same problem here on xa2 after upgrading to 3.4.0. Android support would not start and buttons in settings were greyed out. Alien dalvik control was never installed on this device.

What worked for me:

  • Uninstall Android support from the store
  • Reboot
  • Reinstall Android support (still not working)
  • Reboot with ‘start android app support on bootup’ on in settings.

Everything worked again and found my Android apps.

Same problem on xa2.
With alien dalvik control.
tried to uninstall/reinstall etc … didn’t work.

Reflash 3.3, then update to 3.4, then install android support and working fine.
Android apps are running smoother now :slight_smile:

I reflashed 3.0 then 3.2 then 3.4 no dalvik control: Didn’t work.

Got my XA2 working - but had to make a reset to factory settings (=3.1, update to 3.2, then direkt to 3.4).

That worked for me. Remove /home/.android - but I do not know if I rebooted once or twice.

Also for me, no Android support/Alien Dalvik after updating to 3.4 on XA2plus. Reinstalling Android support and Aliendalvik Control did not help. However, after rebooting I was able to enter to Android settings after hitting settings button on Aliendalvik Control. Flickering is popping up but Android settings is useable but no other Android app. They seem to crash… . Terminal output of “systemctl status aliendalvik” shows interesting message highlighted in red "Process: 10216 ExecStartPre=/usr/sbin/start-aliendalvik-preinit.sh (code=expired, status=203/EXEC)… also in folder /usr/bin/start-aliendalvik-preinit.sh (code=expired, status=203/EXEC) ==> seems like this script is the guilty one!? Would be somehow nice to find out the reason why Android Support is crashing.

1 Like

Amazing! This => deleting /home/ .android folder <== solved it even though I lost all my installed Android apps. Android Support works again :slight_smile: Thank you!!!

1 Like

@Ygriega & al:
Thank you for reporting. There is indeed a defect here. An internal bug has been filed and a solution found.

In the meantime, before the fix is rolled out, running these commands should help:

devel-su
systemctl stop aliendalvik
rm -rf /home/.android/data/system/package_cache/1/Alien*
systemctl start aliendalvik
exit
11 Likes

that’s works !!! THX

Yesterday, I performed a factory reset which reverted my phone to a 2019 version.
I upgraded the phone without android support twice to reach the current version.
With the current version 3.4.0.22 I installed android support and everything is working fine again.

1 Like

Thanks for the update @jovirkku. Glad that you found the root cause…

1 Like

It doesn’t work for me, maybe a syntax error, can you be more precise, I don’t understand because AlienDalvik isn’t installed at my place, what to do after this procedure
thank you

@fredb: Well, if Android App Support (“aliendalvik”) is not installed in your phone, then skip the command to stop it. Try the rm command (to remove some conflicting/incorrect items) after which you should restart your phone.

1 Like

OK, I’ve finally understood, it works, thank you.