TWRP for Xiaomi Redmi 8A

Posted on under English, Android, Tutorials

TWRP Recovery logo

I have built a derivative of the TeamWin Recovery Project recovery to the new Android device Xiaomi Redmi 8A (olivelite). This recovery has been extensively tested and works perfectly on Global version of the device with latest firmare as of 20.11.2019. on Android Pie (MIUI 10).

Download recovery.img

Verify the download checksum matches the one in the checksum file after downloading the file to ensure authenticity.

I do not provide any support for this recovery. You are flashing it at your own risk, and I am not responsible for any possible eventual damage to your device.

To flash a custom recovery you need to unlock your device, which takes 168 hours and is done with Mi Unlock. Unlocking the bootloader will void your warranty.

To flash the recovery, reboot into FASTBOOT mode, install the USB drivers and Android Platform Tools, and run the following command (in the folder where you downloaded the recovery):

fastboot flash recovery recovery.img

Then, reboot your phone into the recovery mode. The first boot may take up to a minute and seem stuck on the TWRP screen.

As is mandatory with GPL software, the source code can be found on the GitHub repo redmi8a/android_device_xiaomi_olivelite.

Copyright (c) 2019 Milan Kragujević and contributors. Licensed under GPL 3.0, available here. You are allowed to copy and create derivative works of this content if you preserve the Copyright notice and license it under GPL, while providing the code.

Compiled and built binary of the recovery is (c) 2019 Milan Kragujević All Rights reserved. Copying and redistributing the binary is not allowed without explicit written permission from the author.

GPL Notice: This work contains code published by Xiaomi and Qualcomm under the GPL v2.0 license, available here. This work is based upon the TWRP project licensed under GPL v3.0, available here.

To learn more about TWRP, visit the official website.

This project is not sponsored, approved or endorsed by Xiaomi, Google, Qualcomm, or TWRP.

Addendum: I have been contacted by many people who say the recovery is not working. The recovery is made for Global variant only. People have been trying it on India and China variants and of course it doesn't work.

Additionally, flash this image to the vbmeta partition while on Stock recovery, then reboot into fastboot again and flash TWRP.

Kernel binary distribution NOTICE: In accordance with Section 3c of GPL v2, I am distributing the device kernel in binary form with a forwarded written notice of copyright and source code distribution from Xiaomi. The kernel is being distributed under the terms of the GPL v2 license by Xiaomi and the claimed source code is available here: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/olive-p-oss

For GPL compliance in case of the precompiled redistributed kernel contact the manufacturer at their official website mi.com.