Guide changing from MIUI to LineageOS on Redmi Note 10S
This guide will not take any responsibility of damage of one’s property.
Pre-requisites:
- Laptop/Desktop with USB 2.0 port (USB 3.0 is not supported i think)
- At-least 40% battery
- USB cable with data transfer capability
- Redmi Note 10S device
Software Required:
- Mi Unlock Tool
- ADB / Fastboot driver (device specific)
- Windows Command Prompt
- Mi Flash Tool
Pre-cautions:
- Your device will be formatted, please keep a backup
Pre-Steps:
- Go to settings
- About Phone
- Tap 5 times on MIUI Version (It will enable developer option)
- Once developer option is enabled, go to Additional Settings and open developer options
- Toggle OEM unlocking and Add account in “Mi Unlock status” (It will use your data)
- Enable ADB debugging
- Add adb drivers for your device on your computer
Steps to unlock boot-loader:
- Ensure ADB is on
- Open the Mi Unlock Tool
- Login to your Mi Account linked with the device on the Mi Unlock Tool.It will start the process of verifying the account
- Now, it will show you the time required to unlock the boot-loader
- Wait till the time finishes
- Do same process from Step 1
- Then, it will lead to unlock button, upon clicking the button it will begin the process of unlocking the process of boot-loader unlock. It will format your device and get you back to base MIUI
- Congrats your boot-loader has unlocked and can flash custom OS or previous version of MIUI and mods into it
Steps to install Lineage OS:
- Downgrading to Android version 13
- Flashing Lineage OS recovery
- Flashing Lineage OS
- Optional: Flashing GAPPS
Steps to Downgrading to Android version 13
- Download the MIUI fastboot rom with android 13
- Open fastboot mode
(Volume Down + Power)on your device and connect the device to your computer - Open Mi Flash Tool and Select the downloaded rom
- After connection is successful then showing, select the device
- Click on flash button, it should now begin flashing the rom onto the device
- After the flashing is complete then the device might reboot
Steps to Flash Lineage OS Recovery
- Download the
dtbo.imgfrom Lineage OS page for this device - Open fastboot mode
(Volume Down + Power)on your device and connect the device to your computer - Flash the downloaded dtbo.img file using the command
fastboot flash dtbo dtbo.img - You will now have flashed partitions required for lineage os
- Download the Lineage OS recovery image for the device
boot.img - Open fastboot mode
(Volume Down + Power)on your device and connect the device to your computer - Flash the downloaded recovery image onto your device using the command:
fastboot flash boot boot.img - Important: Now reboot your device into recovery mode using keys
(Volume Up + Power) - If you see the Lineage OS logo then you are booted into Lineage OS recovery, else you have to again flash the recovery.
Steps to Flash Lineage OS Recovery
- Build the lineageOS installation package for your device (Process too long look here: link) and put the installation package onto your computer
- Tap
Factory Reset, thenFormat Data/Factory Reset. - Return to the Lineage Recovery’s main menu
- Select
Apply Update, thenApply from ADB - Now Connect your device to the laptop, and put the command
adb -d sideload installationPackage.zip - Lineage Recovery will inform you to reboot to recovery to install other addons. Select Yes if you want to install Gapps. I choose Yes
Steps to Flashing GAPPS
- Download the Google Apps (Gapps) package from link
- Select
Apply Update, thenApply from ADB - Now Connect your device to the laptop, and put the command
adb -d sideload GappsPackage.zip - The screen will say Signature Verification failed. Click Yes
- Reboot your system