[UNOFFICIAL BUILD] Sony Xperia XZ1 Compact (lilac) e-1.3-q Post #212

Here’s a new build based on the v0.15-q tag. I have done both a clean install and a dirty flash over my previous unofficial release, and it seems to be working OK in both cases, with one important exception:

  • The version of microG Services Core installed by defaul is /e/'s ‘No Exposure Notifications’ version. Unfortunately, the official way to enable Exposure Notifications, using Apps, does not work in this ROM: when you try to install the update, Apps will crash.

If you need the Exposure Notifications Framework, for use with a Covid contact-tracing app, then the following workaround, using NanoDroid is what I do, and it works fine for me:

  1. Download the file NanoDroid-23.1.2.20210117.zip from https://downloads.nanolx.org/NanoDroid/Stable/
  2. Download this .nanodroid-setup file from my eCloud account: https://ecloud.global/s/CoweRN5HLPfKkNp
  3. Copy both files to either internal or external storage on your phone, using adb push or whatever file transfer app you use. Make sure that the .nanodroid-setup file has the . character at the start.
  4. Install the ROM using TWRP. (I always copy it across using adb push ..., then use ‘Install’ in TWRP. Using adb sideload ... should work just as well)
  5. Then install the NanoDroid zip file using TWRP. I do this in the same operation as installing the ROM, but you can do it at any time afterwards.
  6. Reboot your phone, and check that you have the ‘Exposure Notifications’ version of microG.

Note that this .nanodroid-setup will also install F-Droid and Aurora Store as system apps. If you don’t want these, then edit the file before copying it to the phone

  • change the line nanodroid_play=21 to nanodroid_play=0
  • change the line nanodroid_fdroid=1 to nanodroid_fdroid=1

There is lots more information about setting up a NanoDroid installation here https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md

My apologies for all this hassle - I"ve tried to work out why Apps is crashing but I can’t, so I can’t fix it. It’s working fine in the official v0.15-q releases for z3c and suzuran devices, and I have no idea why it’s not working for lilac.

So finally, here’s the new build. Have fun!

This ROM is based on the unofficial LineageOS 17.1 ROM made by XDA Contributors modpunk and derf elot