LineageOS 18.1, 21 and 22 Installation Guide

LineageOS 18.1, 21 and 22 Installation Guide

Skyblueborb


First, make sure you are on Android 11 firmware (V12.0.26.0.RFQMIXM or V12.0.23.0.RFQEUXM) and not on CC9e/MIUI. Android 12, 13, 14 and 15 custom ROMs are also fine. Back up your internal storage, flashing the ROM deletes everything.


This requires a PC, don't risk it if you don't have any

Highly recommended ADB/Fastboot version is 33.0.3, you can check the version you have by typing fastboot --version

If you have a recent custom recovery already and know what you are doing, skip steps 2 and 3.


To enter CMD window:

Windows 10: Click on the address bar and press Enter

Windows 11: Hold Shift and press right click on an empty space in the folder then click on Open in Terminal


1. Download the latest build from pinned messages

2. Reboot your phone into fastboot (Power + Volume Down)

3. Flash the recovery image from the post with the command fastboot flash boot boot_los22.img

4. Type fastboot reboot and get into the recovery mode (Power + Volume Up)

5. Click Apply update > Apply from ADB and in command line run adb sideload ROMNAME.zip or choose it from the SD card

6 (optional). Agree to rebooting to recovery again and then flash gapps

7. Go back to main menu and Factory reset > Format data

8. Go back and press on Reboot system now


Common issues:


Waiting for device in fastboot / device is not seen by fastboot:

Download MiFlash and install drivers from it (delete after) and restart your PC then try flashing again.


Too many links:

Check your cable and USB ports.

Gapps:
Recommended Gapps Packages: 22, 21, 18.1

1) download recommended gapps for the lineageOS version

2) install the zip by sideloading (adb, OTG, sdcard). if you're installing gapps after flashing the rom, make sure you reboot once to recovery (or when it asks to "reboot for additional packages", click yes)

3) format data (REQUIRED!)

4) reboot

Don't like mindthegapps? You can try nikgapps.


Note: if you're dirty flashing, you do not need to format data again. Just sideload the build (update), and after that sideload THE EXACT SAME gapps package you installed earlier.

Report Page