Unofficial build for Sony Xperia XZ1 Compact (lilac)

Hi @petefoth ah I think I was checking the old location first! Thanks for clarifying. :slight_smile:

Flashing the January 2026 security patch version worked for me, thanks for your work!

I just found another interesting thing on XDA: there is apparently a new fasatboot method by j4nn to unlock (and re-lock) the bootloader of XZ1C (and some other devices) without deleting the DRM keys as in the official SONY bootloader unlocking.

I’ve just unlocked my devices with the official SONY method, so assume it’s not useful for me anymore, as the DRM stuff is already deleted and I also don’t know whether this method (and re-locking) would harmonize with the IodéOS ROM, but maybe someone want to give this a try.

EDIT: Probably, at least the re-locking of the bootlaoder with this approach is not worth to perform with IodeOS / LineageOS, as I just read in this post in the thread that custom ROM with locked bootloader, the device does not boot with the simple hardware on / off key anymore. (I still wonder how other devices do this, as there is IodéOS with locked bootloader, e.g. Pixel or Fairphone devices …)

Also please note, that when running a custom rom with locked bootloader, the phone cannot be powered on from off state - you always need to boot it from fastboot via xperable.
Without xperable it only shows red triangle and refuses to boot, but that should be expected.

Hello,

I just got a notification of an update OTA (5.22) on my phone.

Is it a true update ? I saw on your lilac page that there is actually an update for 5.22

I’m really surprised by this (in a very good way) but I just wanted to know if this was really true before doing something bad on my phone :wink:

2 Likes

Got it too, immediately installed it and its running fine so far!
OTA updates for unofficial builds, so cool!
Thanks Iode Team and all!

2 Likes

Yes. OTA updates are now available for the unofficial builds made by @rik and me that are available on the los4microG download server (thanks to Rik’s work on our servers)

4 Likes

Amazing, thanks a lot to all of you.

I’ve done it on my two devices and everything seems to work :partying_face: !

2 Likes

Is it planned to upgrade this device OS (and its family) to Iode 6 eventually?

Short answer: No

Longer answer: That depends entirety on the maintainer(s) of the upstream code. The repos I use are ‘stuck’ at lineage-21 (Android 14 / Iodé 5) and the owner does not seem to be doing any more work on them. I am aware of an unofficial lineage-22 (Android 15 / Iodé 6) build, but from what I know and have read on XDA Forums:

  1. It’s not particularly stable (it’s not been around long so it’s early days).
  2. It includes a pre-built kernel, rather than the kernel being built from source.

Both of those things mean that the lineage-22 code is not ready to be used as the basis for builds on LineageOS for microG (which still ships the lineage-21 build) or iodéOS. I will continue to monitor the progress of this unofficial build, and if it gets to a point where the ROM seems stable, with no major issues, and the kernel can be built from source, then I will consider using it as the basis for LineageOS for microG and iodéOS builds, ‘promoting’ the device to lineage-22 / iodé 6. But don’t hold your breath: it isn’t happening any time soon.

4 Likes

Thanks for your thorough and informative answer @petefoth,as always.
Having OTA updates on this device running A14 itself is already incredible cool

2 Likes

Hi after my beloved ZX1’s microphone broke I bought a new one (well, something like 6 years old ;-). I am now about to install Iode OS and was wondering if others have good advice how to best port my apps and data to the new one. On the old one I am still running 5.8 -20241220 version. On the new one I intend to install the latest and greatest from peteforth, if that makes any differnce. TIA

Seedvault is installed by default, it will get most of the things ™ :slight_smile: . Since you have both devices side-by-side and you don’t need to risk wiping out your existing data (like with a re-install) then go ahead and start with it.

With the unofficial builds from Pete or I, since they support adb root from a terminal here is a way to get an entire backup and restore using this project: GitHub - AndDiSa/android_backup_project · GitHub which Pete references above. He uses it all the time, I haven’t but have intended to look a bit more closely at it :slight_smile:

2 Likes

This tool used to be my backup tool of choice but I haven’t needed to use it - or at least the ‘restore’ part of it - for a while, probably at least 6 months. For my most recent migration to a new device, I used the combination of in-app backup / restore, import / export functionality, CarrdDAV, CalDAV, and file sync, and SeedVault. I did backup using the toll, but I didn’t need to use it: all the apps I use are up and running on the new phone.

So, there’s no reason why the mentioned tool should not work, but just to let you now that I haven’t actually checked it in while

2 Likes

For me Seedvault works fine in the newer OS versions.
And you dont lose anything, so I’d suggest to give it a try!

2 Likes

So before I go ahead with unlocking my new device: Is it worth to make a TA Backup (DRM keys) for later use ? I wagely remember on XDA that someone tried to backport the original stock camera, maybe for this the DRM keys are necessary?

I’ve done it for both XZ1C devices I own, But it is a very cumbersome process. You can only restore parts of the tests, i.e. keys for camera (and apparently audio codecs) that the camera works with stock ROM and the WIDEVINE check for DRM on Netflix etc.
However, the bootloader will stay unlocked and cannot be locked again as far as I know, so many tests will stay “unprovisioned”.

Also,when you use IodeOS, you don’t use the SONY camera app anyway and I personally also don’t use Netflix etc. at the moment.

I recommend to follow this procedure if you want to do DRM backup: [XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented | XDA Forums

Here is the summary of the DRM backup I did with my second XZ1C device: [XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented | Page 93 | XDA Forums

1 Like

Thanks to all here for all your help and suggestions - great community here :slight_smile: I ended up using Seedvault and I am quite happy with the result. The transisition was really smooth with minimal manual effort. Long live ZX1C !

1 Like

Iode 5.23 came OTA, and seems to run well on my little blue lilac.
thank you @petefoth and everyone involved!

6 Likes

same for me. 5.23 works great . Also from my side, thanks to all of you, especially the maintainers :slight_smile:

2 Likes

The update to 5.24 doesnt show up on my lilac.
Am I just impatient or might there be some issue? :innocent:

It’s available at lilac

If it’s not showing up in the Updater app, then try clearing storage gof the app.

If that doesn’t work, then try installing with recovery and adb sideload

Thanks Pete, will do.
I just wanted to mention it because it might be an unexpected behavior of the new OTA server-thing…