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

Aliendalvik fails to start:

asked 2019-07-07 16:43:50 +0200

bionade24 gravatar image

updated 2019-11-27 16:59:25 +0200

jiit gravatar image

Since 3 days, aliendalvik crashes on startup. After deleting everything dalvik worked again, after roling out the backup, (who wouldn't expect it, right?) dalvik crashes again. Most logs were without real information, only the android log has some worth information:
Log before crash
Log during crash
Has anyone ever faced this issue and knows how to fix it?

The Apps I used were Whatsapp, APKPure, Trello & Keybase. Edit: Xperia XA2 and SFOS 3.0.3.10

edit retag flag offensive close delete

Comments

1

On which device and SFOS version? How does the crash happen btw? Can you restart the alien dalvik after that or does it crash instantly after? There is/was a bug, at least on my XA2, when aliendalvik crashed right on system startup after couple of minutes but after restarting it worked fine.

Sakke ( 2019-07-07 16:47:03 +0200 )edit

Regarding you backup : warning, all the App data are belonging to your user root (UID=0) :

W installd: Ignoring /data/data/com.whatsapp/lib with unexpected GID 0 instead of 10042

Whereas Android uses a separate app isolation scheme, where every app is handed out its own private specific UID in the range above 10000 and the data is set to that UID/GID.

I wouldn't actually to a backup/restore of that part as a whole. Rather, only restore the bits where you devinitely need (e.g.: the subdirectories "files" and "databases" in /home/.android/data/data/com.whatsapp, only if you haven't turned on the automatical back-up on Google's cloud). Lots of app do backup their data on the cloud and will automatically re-download upon installing the app.

Personal tip, specifically regarding APKpure: the opensource Yalp-store you can find on F-Droid repository is another way to fetch applications from the play store.

Also, given your choice of apps, I presume you haven't installed any provider for "com.google.android.gms", neither the official proprietary "Google Play Service" blob, nor the opensource "MicroG" ?

DrYak ( 2019-07-08 15:41:55 +0200 )edit

No I have neither microG nor Play Services, and I tried to restore only whatsapp, but I can't filter the needed things out of /home/.android. I'm not sure if the system breaks when I do a script which copies the whole paths specified in grep -r "whatsapp"

bionade24 ( 2019-07-08 15:45:34 +0200 )edit

Hey, @bionade24 were you able to resolve this problem? My aliendalvik suddenly died in a similar manner two days ago. Did you have any luck with debugging, other than reinstalling the whole system?

svistak ( 2019-11-22 18:32:38 +0200 )edit

Yes, I were. Someone on IRC told me about a problem with lots of contacts. (I had > 300). So I simply backed up everything except whatsapp, reinstalled AD & WA, and hoped that it won't happen permanently again. The issue was solved some Updates ago.

bionade24 ( 2019-11-22 19:43:21 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-08-06 15:31:43 +0200

jcc gravatar image

updated 2019-08-07 16:15:32 +0200

jovirkku gravatar image

I just had a problem with aliendalvik failing to start. I'm using SFOS 3.0.3.10. It happened after I uninstalled some android app with the yalp store. It turned out that the file /home/.android/data/system/users/0/settings_ssaid.xml became corrupted with an invalid xml.

I used the strace command to track down the issue. something like:

strace -f  lxc-start -n aliendalvik -F
edit flag offensive delete publish link more

Comments

Wow! How lucky I am that someone had exactly the same problem as me!

My XA2 running 3.2.1.20 was failing to start aliendalvik. This same file had some extra content at the end. Looks like one line was removed from the file and when it was written to disk, the old content was not removed before overwriting so the last line </settings> was there twice with remnants of the next to last line after the first one. Removing the extra content after the first </settings> fixed aliendalvik startup.

mattikbk ( 2020-01-23 16:40:25 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-07-07 16:43:50 +0200

Seen: 653 times

Last updated: Aug 07 '19