Background
I have a spare Redmi 6A, and MIUI 10 was too laggy, so I wanted to flash it to a stock system and found a third-party LineageOS 17.1 ROM.
Getting Started
First, upgrade the Redmi 6A to the latest system.
Go to the Xiaomi online flashing package download address http://www.miui.com/shuaji-393.html , find the flashing package for Redmi 6A, and download it. You can also click this link to download
The download speed is a bit slow, so let me watch a movie and get a massage while I wait.
Once downloaded, extract the ROM package.
Turn off the phone, then press and hold the power button and volume down to enter fastboot mode.
Open the Xiaomi flashing tool XiaoMiFlash.exe, connect the phone in fastboot mode to the computer with a data cable, and click ‘Load Device’ in the Xiaomi flashing tool. If the device number appears in the list, it means the phone is recognized successfully.
Extract the downloaded ROM package, then in the Xiaomi flashing tool, select the extracted path. Especially note to select ‘Wipe All’ in the bottom right corner, this will retain the previous BL unlock status. If you select ‘Wipe All’ and ‘Lock’, it will relock the BL.
Click ‘Flash’, and the flashing process will begin.
The flashing is complete, and MIUI 11 has been successfully flashed.
The phone restarts into the MIUI 11 setup interface, and we complete all the default settings.
Download the LineageOS 17.1 ROM from the following address:
Link: https://pan.baidu.com/s/1WSfAk3uF5xMvOa4YcaiFdA
Extraction Code: 4hen
First, download the LineageOS ROM package, and prepare it in advance.
Then turn off the phone, press and hold the volume down and power button to enter fastboot mode.
Download the TWRP one-click flashing tool from the following address:
Link: https://pan.baidu.com/s/18LFO_m9o-h205HWXbE9A2A
Extraction Code: dvq8
Extract it, and double-click “recovery-twrp one-click flashing tool.bat”. Follow the prompts to input.
Then the phone will automatically flash TWRP, and after successful flashing, it will reboot into TWRP.
Swipe to enter the TWRP menu, click Wipe——Format Data.
After formatting Data, return to the TWRP menu, click Reboot——Recovery to reboot into TWRP.
Keep the data cable connected between the computer and the phone, and copy the downloaded ROM package to the phone’s internal storage.
Click on the TWRP menu, Install——Select the ROM package to be flashed.
Select it, then swipe to start the flash.
The result is shown below, indicating success.
Flashing successful.
The Redmi 6A has been successfully upgraded to Android 10 based on LineageOS 17.1.
Have fun!