How to Install surblazer's Lineage 20

How to Install surblazer's Lineage 20

Beru Kobayashi

Okay. I've done somewhat good. But now comes the greater builds from greater developers. You've gotta think in two dimensions. Start focusing too much on the technical parts, and you're gonna get hit by brick.

I'll go as simple as possible for anyone to understand. So please bear the simplicity and thoroughness of this guide. I might as well make a YouTube video and link it here later on. Commands will be at the very bottom of this guide.

1- Firmware. You need the latest stable MIUI 12.5 Global firmware, which is 12.5.16.0.RKLMIXM. All my ROMs starting with Android 12 include it by themselves. In any case, I recommend to always go with flashing the ROM directly. Here are the links: Fastboot and Recovery. Run "flash_all.bat"/"flash_all.sh" in fastboot ROM to flash, usage of Mi Flash Tool isn't recommended. Or just flash recovery ROM. Little thing, see here if you get hit by ARB during the process.

2- ROM installation. You need to do this in a way you're intended to do. Flash Lineage recovery first using the way you would flash TWRP from image, which is a single command, then sideload Lineage from there or from your SD card if you have any. Once installation is done, perform a factory reset which will wipe all your data.

3- GApps. Lineage doesn't ship GApps on its own, so you'll need to get them from MindTheGApps AFH. Install it the same way as Lineage after rebooting to recovery. Tap on the text to go to the page. You might get package verification failure and that is completely normal, just hit "Yes" and you're good.

4- Magisk. Currently unflashable from ZIP/APK, so you'll need to rely on boot image patching or not rely on root at all.

And this should be good enough for a quick start. Here are the commands;

Sideload: adb sideload <rom>.zip

Flash ROM recovery (boot.img belonging to the ROM's own boot.img): fastboot flash boot boot.img

Then immediately reboot to recovery: fastboot reboot recovery

In case you get verity corruption after unlocking bootloader on MIUI 13: fastboot oem cdms

Flashing vbmeta (you can use the blank image Woomy gives or MIUI's own one): fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Report Page