[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] lillywho:
Hello, ladies, gentlemen and non-booleans!

Since I prefer building my own ROMs for various reasons, especially when the device tree source isn't made public, I have now finally gotten a LineageOS 18.0 build together.

"But there's already a build there!"

Fair point, but the sources of the device tree and kernel aren't public anywhere, to my knowleadge.

While I'm nowhere near as much of an open source fanatic as to demand all the source everywhere, it doesn't feel right either.

So since I've got a habit of having my own builds so I myself decide when I get an update, I decided to spin one up and at the same time provide a workaround for others who want to build their own versions.

So, what did I do? Voodoo? Other black magic? No!

I looked at crDroid's Github and the source tree seemed to be largely compatible with the LOS build system customisations.

They seem to often be working pretty closely with LOS build conventions.

They even specifically host a kernel there that has got an Android 11 branch!

And with that, we come to the sources used section:

Sources used:

Xiaomi-common

device

Kernel

So, how would you get your own private builds?

Do a repo sync as normal, then put into

.repo/local_manifests/roomservice.xml the following:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/xiaomi/tissot" name="crdroidandroid/android_device_xiaomi_xiaomi" remote="github" revision="11.0" />
<project path="kernel/xiaomi/msm8953" name="crdroidandroid/android_kernel_xiaomi_tissot" remote="github" revision="11.0" />
<project path="vendor/xiaomi/" name="crdroidandroid/proprietary_vendor_xiaomi" remote="github" revision="11.0-tissot" />
<project path="device/xiaomi/msm8953-common" name="crdroidandroid/android_device_xiaomi_msm8953-common-tissot" remote="github" revision="11.0" />
</manifest>

Do another sync and you're going to have everything you need downloaded. From there it's the usual procedure for builds.

"So, Lilly, that's all well and good, but why upload yet another LOS build?"

Because I've got itchy fingers and while I'm definetely not qualified myself to improve the device tree myself, you could profit from my addiction to doing builds quite frequently and get the latest feature changes pretty quickly.

Aside from that, I also plan on integrating Opengapps into the builds using their build system plugin. I didn't do it right away because last time there were some errors I couldn't figure out and I wanted a build right now.

Another thing I want to get working is having LuciferKernel preinstalled in the overclocked variant, because that overclock is definitely helping performance in my experience. Keep that in mind before installing. If you've got gripes about overclocking and I get the kernel to work (last in tree compilation resulted in an unbootable kernel) you're going to be stuck on the first vanilla version.

All in all, it's just sharing something what I use and trying to fill a tiny niche.

Do keep in mind that I'm definetely not a complete wizard and not an Android ROM developer. I just about know how to build a ROM and how to manipulate it here and there. I provide no support aside from "this build is borked, could you try again?".

That said, here's the download link:

ROM Downloads - Google Drive

drive.google.com

The first build hasn't been tested yet so do not expect to plug and play. I'm in the process of flashing it as I type this. MAKE BACKUPS!

Right, that should just about cover everything. Cheers!