[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] antoniu200:
LineageOS 17.1 with IMS features for Sony Xperia XZ1 Compact

TEST RELEASE

This is a beta ROM for the Sony Xperia XZ1 Compact, intended for testing, with new IMS features that might be included in Flamefire's next ROM update. The new features are fairly stable, with no known issues from my testing, but I would like some feedback from more than one user (me).

Proposing VoLTE, VoWiFi and Video Telephony based on provisioning with mobile carrier (if the carrier provides these features, your phone will automatically enable them).

If carrier does not have custom modem for XZ1c (which most don't), will automatically attempt to use ir51_ir92 standard modem for IMS (if IMS is on). If modem is not switching automatically after update, try turning IMS off and back on, or switch manually to amss_fsg_lilac_ir51_ir92_ims_tar.mbn.

If that does not work, you're probably out of luck, but try using the Modem Switcher and experiment.

This ROM does not bring back AT&T support!

ROM based on Flamefire's modification of modpunk's and derf elot's ROM from https://xdaforums.com/t/rom-lineageos-18-1-unofficial-2-0-update-2021-01-20.4047763/ with recent security updates.

FEATURES

Signed with dev keys

EAS kernel

Seedvault (Video)

IMS support (thanks to Rooted_Ansh and also Shujath). Expanded further

Stock Sony camera

Original Xperia X bootanimation in 720p, fixed and updated to the "new" Android 10 format

DOWNLOAD

You can download the ROM here.

HINT: If you like this ROM, archive it somewhere. I might erase it later, to save space.

REQUIRED FIRMWARE: 47.2.A.11.228

INSTALLATION

IMPORTANT:

If using Magisk, extract boot.img from the .zip and patch it with Magisk. After .zip installation is complete, apply magisk-patched.img to boot.

Also, if using unencrypted userdata, (after applying magisk-patched.img), apply Disable Force Encryption by Harry DS Alsyundawy.

INSTRUCTIONS:

Put the zip file of the ROM on your SD card or internal storage and boot into recovery.

When coming from stock ROM, do a full wipe (i.e. factory reset) via "Wipe". You don't need to wipe system. When flashing the stock ROM you can select to not keep user data which is equivalent to this step.

Go to "Install", select the zip file and optionally add Gapps, then flash.

I heavily recommend making a full backup before any installation so you can go back in case of issues. Flashing an older ROM usually helps recovering from bootloops etc.

UPGRADING

Dirty-flashing (from Flamefire's 17.1 releases) works well.

KNOWN ISSUES

Users have been long reporting a problem with IMS not working on certain network providers, unless switching down to 2G / 3G. Testing possible solution since build 20240503.

2024.02.14: Provisioning only worked on providers that implemented a provisioning server. Fixed in build 20240216.

2024.02.14: IMS services still not working properly, due to Android requiring "available" state specified in CarrierConfig. Fixed in build 20240214.

2024.02.11: Identified performance issues, caused by kernel modifications. Fixed in build 20240315.

SUPPORT

Let me know of any IMS issues, with clear steps to reproduce and logs (logcat, app logs, etc.). I will look into the issue and see what can be done.

As of now, issues targeting IMS are prioritized, but not all can be fixed!

Contributors

modpunk, derf elot, Rooted_Ansh, Flamefire, linckandrea

Source Code:

Modified device tree: https://github.com/antoniu200/android_device_sony_lilac

Kernel: https://github.com/Flamefire/android_kernel_sony_msm8998

Modified yoshino base: https://github.com/antoniu200/android_device_sony_yoshino-common/

Support my activity and help me keep this phone alive

Buy Flamefire a coffee/beer

ROM OS Version: Android 10

ROM Kernel: Linux 4.4.x

Based On: LineageOS