LineageOS 20 Flashing Guide Redmi Note 11S
Nem1xFlashing ROM:
1. Flash LineageOS recovery (boot.img)
fastboot flash boot lineage_boot.img
2. Reboot to Lineage recovery
fastboot reboot recovery
3. In recovery select Apply Update
4. Sideload from ADB / flash ROM from SD card.
- adb sideload lineage.zip
- or select lineage zip from SD card
5. After flashing select NO when asked to reboot to recovery
6. Factory reset / Format data
7. Reboot to system
Flashing gapps:
- Reboot to recovery
- Format data/factory reset
- Apply update
Sideload from ADB or SD Card
- adb sideload gapps.zip
- or select gapps package from SD card
4. Reboot to system
Dirty flashing ROM (Upgrading from previous version):
- Reboot to recovery
- Flash ROM
- After flashing select NO when asked to reboot to recovery
- Reboot directly to recovery (Hold volume + once you click reboot to system)
- Flash Gapps/MicroG
- Reboot to system
Notes:
- For some reason reboot to recovery doesn't work. Use volume + button when rebooting to system instead.
- Flashing with TWRP / OFOX is supported.
- Recovery supports touch (even if it doesn't look like it does)
- Dirty flashing with TWRP/OFOX is the same as with LineageOS recovery. Only difference is that TWRP/OFOX doesn't ask you to reboot to recovery after flashing, which is mandatory, and also you can directly reboot to recovery without holding volume +
- If you reboot to system without flashing gapps, and you previously had them (when dirty flashing), you have high chance of breaking the system. It's recommended to format data in that case, then flash gapps or microG.
- Vanilla users (if any exist) can skip dirty process and just flash ROM and reboot
- If you're updating via OTA, most gapps packages should survive update. You may need to clear data of Google Play Services, to avoid any issues