How to Install Android 13-based LineageOS 20 on Redmi Note 9
Xiaomi, a renowned brand in Asian countries, offers feature-rich devices at an affordable price, making it a popular choice for many. However, one drawback that often concerns users is the presence of excessive pre-installed applications, known as bloatware.
In the realm of custom development, the Redmi Note 9 stands out with its impressive performance. If you are a Redmi Note 9 user seeking to install an Android 13-based ROM, then this comprehensive guide is tailored for you. Here, you will find detailed instructions on how to install LineageOS 20, based on Android 13, on your Redmi Note 9.
Step 1: Install Android SDK
To begin, install the Android SDK Platform Tools on your PC or computer. These official ADB (Android Debug Bridge) and Fastboot binaries provided by Google are essential for the process. Download the SDK Platform Tools and extract them to a convenient location on your PC. This will give you access to the necessary platform-tools folder.
Step 2: Enable USB Debugging and OEM Unlocking
Next, enable USB Debugging and OEM Unlocking on your Redmi Note 9. USB Debugging allows your smartphone to be recognized in ADB mode, facilitating communication with the PC. Moreover, it grants easy access to Fastboot Mode. OEM Unlocking is necessary to unlock the bootloader. Follow these steps to enable both options:
- Go to Settings on your device.
- Tap on "About Phone."
- Tap on the "Build Number" seven times to enable Developer Options.
- Return to Settings and go to "System."
- Under "Advanced," locate "Developer Options."
- Enable USB Debugging and OEM Unlocking.
Step 3: Unlock Bootloader on your smartphone
Unlocking the bootloader is crucial if you plan to root your Redmi Note 9. Keep in mind that this process will wipe all data on your device and may void its warranty.
Step 4: Download LineageOS 20 Custom ROM
To proceed with the installation, download the latest LineageOS 20 ROM and the corresponding Gapps package for your Redmi Note 9. Visit the links provided below to obtain these files:
- Redmi Note 9 [werlinx] – LineageOS 20 | Gapps
Once downloaded, transfer the files to the platform-tools folder on your PC. Rename the LineageOS 20 ROM file to "rom.zip" and the Gapps package to "gapps.zip."
Step 5: Boot your device to Fastboot mode
Connect your Redmi Note 9 to your PC using a USB cable, ensuring that USB debugging is enabled. In the platform-tools folder, open the Command Prompt by typing "CMD" in the address bar and pressing Enter. To boot your device into Fastboot Mode, enter the following command in the Command Prompt:
adb reboot bootloader
To verify the Fastboot connection, enter the command:
fastboot devices
This command will display the device ID, confirming the connection.
Step 6: Flash LineageOS 20 on your device
Now, it's time to flash the LineageOS recovery onto your Redmi Note 9. Execute the following command in the Command Prompt:
fastboot flash recovery recovery.img
After the flashing process is complete, use the following commands to boot your device into LineageOS Recovery:
fastboot reboot recovery
Step 7: Copy the content from Slot A to Slot B
Download the "copy-partitions-20220613-signed.zip" file and transfer
it to the platform-tools folder. Rename the file to "cp.zip." In the LineageOS Recovery menu, navigate to "Apply Update" and select "Apply from ADB." In the Command Prompt within the platform-tools folder, execute the following command:
adb sideload cp.zip
Once the flashing is finished, go to the "Advanced" section and choose "Reboot to Recovery." Your Redmi Note 9 will now reboot into LineageOS Recovery.
Step 8: Factory reset your device
Inside LineageOS Recovery, select "Factory Reset" and then choose "Format Data/Factory Reset" followed by "Format Data." This process will initiate a reset on your smartphone. Once completed, you will see the message "Data wipe complete."
Step 9: Install LineageOS 20 ROM on your phone
In LineageOS Recovery, navigate to "Apply Update" and select "Apply from ADB." Open the Command Prompt in the platform-tools folder and enter the following command:
adb sideload rom.zip
The installation process will commence, and upon completion, you will receive the message "Total xfer: 1.00x."
By following these step-by-step instructions, you can successfully install LineageOS 20, based on Android 13, on your Redmi Note 9. Enjoy the enhanced features and customization options that come with this custom ROM. Remember to proceed with caution and take appropriate backups before performing any system modifications.