Back
Telegram
LINEAGEOS
Flashing Guide

LineageOS

Pure Stock Android Experience

Redmi K20 Pro (raphael) ยท Android 16
Maintainer
Numaan Mushtaq ๐Ÿ‡ฎ๐Ÿ‡ณ
Clean Flash โ€” Full Wipe
Wipes everything including your data. Required when switching ROMs, changing Android versions, or doing a fresh install. All apps and personal data will be erased.
1
Download Required Files
Download all required files before you begin. You need the ROM, the legacy-to-dynamic converter, the recommended recovery, and the firmware matching your region and Android version.
Firmware โ€” Android 11
Firmware โ€” Android 10
2
Flash Dynamic Recovery
Power off your device, then hold Power + Volume Down to enter fastboot mode. Connect to your PC and flash the recommended dynamic recovery you downloaded in step 1. Once flashed, boot directly into recovery โ€” do not boot to system.
3
Flash Legacy2Dynamic ZIP
Inside recovery, go to Install and select the Legacy2Dynamic ZIP you downloaded in step 1. Swipe to flash. This converts the legacy A/B partition layout to dynamic partitions, which is required for LineageOS. Do not skip this step.
4
Boot into Recovery & Wipe
In recovery go to Wipe > Advanced Wipe. Select Dalvik / ART Cache, Cache, Data, and Metadata โ€” then swipe to wipe. This ensures a clean slate before flashing the new ROM.
5
Flash A11 Firmware for Your Region
Go to Install and select the Android 11 firmware ZIP matching your device region (China, Global, India, or Europe) from step 1. Flash it now. This step is required if you are coming from MIUI or an older Android version.
6
Flash ROM ZIP
Still in recovery, go to Install and select the LineageOS ROM ZIP you downloaded in step 1. Swipe to flash. Wait for the flash to complete before proceeding.
7
Flash GApps (Vanilla Build Only)
โš ๏ธ LineageOS ships without Google apps by default. Flash a GApps package (e.g. BiTGApps or MindTheGapps) at this stage if you need Google services. Flash it via Install in recovery before proceeding.
8
Format Data
In recovery go to Wipe > Format Data, then type 'yes' to confirm. This fully formats the data partition and is required before first boot into the new ROM.
9
Change Cache & Data Partition to F2FS
In recovery navigate to Wipe > Change File System. Change both the Cache and Data partitions to F2FS for better performance and storage efficiency on LineageOS.
10
Reboot to System, Then Return to Recovery
Reboot to system and allow the device to boot fully โ€” first boot may take 3โ€“5 minutes. Once booted, power off and boot back into recovery. Go to Wipe > Format Data again and format once more. This second format resolves storage access issues that some apps may experience.
11
Reboot & Set Up
Reboot to system from recovery. Enjoy LineageOS on your Redmi K20 Pro! If you run into any issues, reach out via the Telegram support group.
๐ŸŽ‰
You're all set!
Enjoy LineageOS on your Redmi K20 Pro. If you run into issues, check the official XDA thread or Telegram support group.
Back to all ROMs