RomFlasher
Rom Flasher tool

LineageOS GSI on Xiaomi 11T Pro Android 11 Install Guide

Rom Flasher · Xiaomi 11T Pro · LineageOS · 19 Dec 2022 · 4649 views

TagsLineageOSXiaomi 11T ProFlashInstallBootloader

Part of Xiaomi guides, LineageOS guides, 2022 guides.

LineageOS on the Xiaomi 11T Pro as a GSI is an Android 11 build that flashes through fastboot in a fixed order: enter fastbootd, flash vbmeta with verity and verification disabled, erase system, flash the system image, reboot to recovery, wipe data. This build merges the September security patches, updates the phh sources, and removes the livelock daemon.

The video starts muted so it does not blast at you — tap the speaker to hear it, or open it on YouTube.

No PC in the room?The free Rom Flasher tool runs the whole flash from the phone in your hand — USB-OTG cable, no laptop, no command line.
Download the free Rom Flasher tool

Lineage on a GSI is a different animal from a device-specific Lineage build. Everything is generic on purpose, which is the point. It is light, predictable and boring in the best way. It is also the version I keep coming back to when a phone starts feeling slow.

Here is the honest framing before the commands. A GSI rides on your vendor and kernel, not on the ROM. That means the ROM can be perfectly stable while your camera still behaves oddly, and it means two people with the same image can have completely different experiences. Lineage is not at fault for that, and no amount of reflashing fixes it.

What is in this build

That llkd change is worth pausing on. Livelock detection is meant to catch a hung process and restart it, but on some configurations it starts killing things it should not, which shows up as a random freeze or a reboot with no pattern. Removing it is the kind of fix you do not notice for weeks, and then one day you realise the phone has stopped doing the thing.

What you need

Step 1 - boot to fastboot and check the PC sees the phone

Get into fastboot mode and run:

fastboot devices

You need a serial number back. No serial number is a driver problem, and it will not fix itself later. Sort it out now.

Step 2 - move into fastbootd

fastboot reboot fastboot

System is a logical partition on this device, so you need userspace fastboot to write it. If a command later says the partition does not exist, you are still in the bootloader fastboot and you need this step again.

Step 3 - flash vbmeta with the checks disabled

fastboot --disable-verity --disable-verification flash vbmeta <vbmeta file>

Do this exactly like this, with both flags in the same command. Without them the bootloader refuses the unsigned system image and you get a boot loop before you have even started.

Step 4 - erase system

fastboot erase system

A GSI replaces system entirely, so start from an empty partition. This one is quick.

Step 5 - flash the system image

fastboot flash system <system image>

This takes longer than the other steps. Let it run to the end and do not interrupt it while the progress looks stuck.

Step 6 - reboot to recovery

fastboot reboot recovery

Recovery, not system. You need to wipe from here.

Step 7 - wipe data and reboot

In Mi Recovery, run the wipe data option. Then reboot to system and let it settle. First boot on a GSI takes longer than a normal ROM, so give it the time.

Where people get stuck

Who should install it

If you want the cleanest, least dramatic Android experience on a Treble phone, this is it. No bloat, no theming, nothing extra running in the background. The llkd removal is exactly the kind of fix that matters months later, when a phone would otherwise start freezing at random and you would have no idea why.

The costs are real too. Hardware features are your phone's problem, not Lineage's, and because this is vanilla you will spend an extra stretch of time getting Google services in before the phone feels like a normal daily driver.

If the ADB and fastboot driver setup is where you always lose time, the free Rom Flasher tool on GitHub handles that part in a couple of clicks, and the link is in the downloads list.

Full description from the video

LineageOS as a GSI on the Xiaomi 11T Pro — Android 11, the September security patches, and the fix in this build that finally kills the random livelock freezes.

Lineage on a GSI is a different animal from a device-specific build, and it's the version I keep coming back to when a phone starts feeling slow. Everything is generic on purpose, which means it's light, predictable, and boring in the best way.

📱 Device : Xiaomi 11T Pro

🧩 ROM : LineageOS (GSI, phh-treble)

🤖 Android : 11

🔧 What's In This Build

  • September security patches merged in.
  • Updated to the latest phh sources.
  • llkd, the livelock daemon, removed — the real potential fix for those random freezes that used to hit some setups.

🛠️ What You Need

  • An unlocked bootloader and a Treble-ready phone
  • The LineageOS GSI image — all architectures are published for this one
  • Vanilla only. There's no GApps build, so flash Google apps separately if you need them.
  • The vbmeta file and platform tools on your PC

📝 Steps

  1. fastboot reboot fastboot
  2. fastboot --disable-verity --disable-verification flash vbmeta
  3. fastboot erase system
  4. fastboot flash system
  5. fastboot reboot recovery
  6. Wipe data in Mi Recovery
  7. Reboot and you're in

Known bugs: nothing listed in the ROM itself. On the device side it depends on your vendor and kernel, same as every GSI. SELinux works both ways — enforcing and permissive.

📊 Verdict

If you want the cleanest, least dramatic Android experience on a Treble phone, this is it. No bloat, no theming circus, and the llkd removal is exactly the kind of fix that matters months later when a phone would otherwise start freezing at random. The catch is hardware: camera and any vendor-specific extras are your phone's problem, not Lineage's. And since it's vanilla, expect to spend ten extra minutes getting Google services in.

Common questions

Does LineageOS as a GSI need vbmeta?

Yes. Flash vbmeta with verity and verification disabled in the same command, before you erase or flash system. Without it the bootloader rejects the unsigned GSI image and the phone loops instead of booting.

Does this LineageOS GSI include Google apps?

No. It is a vanilla build and there is no GApps variant published for it. If you need Play Services, flash a matching Google apps package separately after the ROM is in place.

What is llkd and why was it removed?

llkd is the livelock daemon, used to detect and recover from a hung process. On some setups it kills things it should not, which shows up as random freezes. Removing it is the likely fix for those, and this build does exactly that.

Will the camera work properly on a LineageOS GSI?

Camera quality and vendor features come from your vendor and kernel, not from the GSI. The ROM reported no internal bugs, but hardware behaviour depends on your device setup, so do not judge the ROM by the camera.

Can I flash this on a phone that is not Treble ready?

No. A GSI needs a Treble-ready device with the right vendor interface. On a phone that is not ready, the image either will not boot or will boot without working hardware.

How long does the first boot take after flashing a GSI?

Longer than a normal device-specific ROM, because the system is building itself against your vendor. Give it several minutes on the logo and do not force a restart in the middle of it.

More for Xiaomi 11T Pro