TWRP for Xiaomi Redmi 8A

TWRP for Xiaomi Redmi 8A

Comments 33

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

Download vbmeta.img - this is mandatory to prevent bootloop.

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

fastboot flash --disable-verity vbmeta vbmeta.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.

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.

6
❤️
1
👍
0
😲
0
😢
0
😠
0

Comments (33)

Please be civil when commenting. Think before writing, don't spam, self promote, bully, harass or harm anyone. Please read the Comment Policy before posting. Comments are moderated.
See all 33 comments

Meo III

Meo III

Hi, just confirming as I didn't quite understood it-- will this work on my 8A, Global MIUI 11, Android 10, 2/32? thanks!

Reply · 8 months ago · #476

Milan Kragujevic

...replying to Meo III

Milan Kragujevic Admin

Hi, not on Android 10. Sorry. Regards, Milan

Reply · 8 months ago · #477

Patrick

Patrick

Hi, I know this is for Redmi 8A, but don't you have any instruction and recovery files for redmi 9a? thanks

Reply · 8 months ago · #467

Milan Kragujevic

...replying to Patrick

Milan Kragujevic Admin

Hello Patrick,

No, I do not have any resources for Redmi 9A. These are two completely different devices, using different SoC vendors (9A is Mediatek, 8A is Qualcomm).

Please do not attempt to install or run anything made for Redmi 8A on Redmi 9A, it will not work.

Look for information about Redmi 9A on other websites.

Regards,

Milan

Reply · 8 months ago · #468

pracs4u

pracs4u

please use latest adb platform tools.

Reply · 9 months ago · #463

Varun

Varun

Hi sir

It's been three times and my phone stucks in fastboot mode

I also flash vbmeta everytime i. flash recovery butno any change

Reply · 10 months ago · #431

Varun

Varun

Hi sir

I got stuck in fastboot mode

Not booting to recovery

How to solve

Reply · 10 months ago · #428

Milan Kragujevic

...replying to Varun

Milan Kragujevic Admin

Don't forget to flash vbmeta.img! If not working still, flash stock firmware from Xiaomi and try again.

Reply · 10 months ago · #430

Peter Lee

Peter Lee

My Redmi 8A is struck and loop into fastboot mode. Would you please advise how to fix it ? The Redmi 8A can be detected by "fastboot devices" and the recovery file is no problem to be flashed on Redmi 8A. But afterwards, i still face the problem and my Redmi 8A is always looping on Fastboot mode. Please kindly advise & thank you !

Reply · 11 months ago · #380

Varun

...replying to Peter Lee

Varun

How you solve fastboot problem

Reply · 10 months ago · #429

Peter Lee

...replying to Peter Lee

Peter Lee

Hello, i solved my problem eventually. It is ok now. Thank you !

Reply · 11 months ago · #381

Adityasalil95

Adityasalil95

Can you make twrp recovery for Redmi 8a (olive wood) ?

Reply · 1 year ago · #353

Yudi Triyadi

Yudi Triyadi

Hello, thank you for the custom recovery. I have tried it but have experienced touchscreen problems that cannot be used. I use the Xiaomi EU V.11.7 ROM or the Latest Stable. So far only Only Orange FOX Recovery Still Works. But Either I Prefer and Wait Only TWRP. For Root I Have Been Successful. And A Little Input If You Want To Root Using Magisk, Try Creating With the Patch Boot Image Method from Magisk. Take From Stock ROM and Flash Directly From Recovery. And Don't Use VB Meta or DM-Verify. Because Instead Make Bootlop. So far it's Magisk and EDexposed Works Pretty Well in My Xiaomi EU Rom. I Hope You Want To Fix A Little Touchscreen Problem In This Version Of ROM. Thank you for your hard work

Reply · 1 year ago · #330

Milan Kragujevic

...replying to Yudi Triyadi

Milan Kragujevic Admin

Hi, thanks for your comment. The problems with the touch panel have been reported multiple times, it is because you are using a different model. I have only tested the device with Redmi 8A EEA 2/32GB. I cannot help you anyway, as I don't have the phone anymore. Regards, Milan

Reply · 1 year ago · #331

Chinmaya Singh

Chinmaya Singh

Hello, can you please provide the solution for now latest MIUI 11 global stable on Redmi8A?

Reply · 1 year ago · #271

Milan Kragujevic

...replying to Chinmaya Singh

Milan Kragujevic Admin

It works on Global model on Global firmware with 2/32GB model on both MIUI 10 and 11. Other configurations are not supported, I do not have those phones.

Reply · 1 year ago · #272

Chinmaya Singh

...replying to Milan Kragujevic

Chinmaya Singh

Sir, I have tried it on 3/32 GB model and it does not work. Phone does not boot in TWRP, it boots in with it's useless stock recovery.
So can I take that different RAM model also will not be supported?
Or is there something else that I might be missing.
(My device's bootloader is unlocked)
It is running MIUI 11.0.3 GLOBAL Stable.

Reply · 1 year ago · #273

Milan Kragujevic

...replying to Chinmaya Singh

Milan Kragujevic Admin

First of all, you tried it on a 3/32GB model, not 2/32 GB. I said it works only on 2/32GB,

It doesn't boot into the recovery because you did not flash it correctly.
After flashing with fastboot, reboot into recovery right away, by pressing volume up and power from the fastboot screen. If you let stock OS boot it will always replace the recovery.

Second, 3/32 GB, 3/64 GB and 4 GB RAM models do not have working touch screen. I don't have them to test and fix, so it will remain so.

I have abandoned this phone, by the way, so I won't be providing support for any models.

Reply · 1 year ago · #274

Chinmaya Singh

...replying to Milan Kragujevic

Chinmaya Singh

Sir, congratulations I tested it my 3GB model with global stable on it and it works,
I have also tested it on my other phone with Indian version of MIUI 11 and it works absolutely correctly.
I have not encountered any touch issue at all.
I now did it the way you told me to. ?

Now I have another problem that I am not able to flash Magisk.zip or SuperSU.zip, actually TWRP shows successfully completed but the package is not installed on my phone and also root checker shows no root.

What can this be?
I have tried all possible ways I could think of but still no success.
Can you please help me with this issue?

Reply · 1 year ago · #275

Milan Kragujevic

...replying to Chinmaya Singh

Milan Kragujevic Admin

You cannot use Magisk zip on some phones, especially this one. Use the prebuilt boot image from this post: https://milankragujevic.com...

Choose one according to your firmware, but before doing that, backup your boot.img to SD card with this command: (execute from adb shell)

```
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img
```

Then, exit the shell, and do `adb pull /sdcard/boot.img` in a folder and rename it backup_boot.img

Flash boot.img from my post either via TWRP or Fastboot, and if it doesn't work, restore your old one.

Reply · 1 year ago · #276

Milan Kragujevic

...replying to Chinmaya Singh

Milan Kragujevic Admin

I meant you run it from TWRP, not from MIUI. It's obviously not going to work without root in MIUI, but TWRP has no such restrictions.

1 year ago · #278

B R Watts

...replying to Milan Kragujevic

B R Watts

I could get TWRP installed using above procedure but it will Now NOT boot the rom. I t gets stuck @ the logo and comes back to TWRP
I thought it was because of Magisk custom image install . I restored back original backed boot.img still the same issue. System will ct to boot to TWRP.
I am using 8a 11 MiUI It says Global and after that PCPINXM . I tried with magisk images 11.01 G , 11.04 G and 11.01 In all same problem. Please help Milano

1 year ago · #332

Chinmaya Singh

...replying to Milan Kragujevic

Chinmaya Singh

Sir, thank you very much.
I have successfully rooted my phone.

1 year ago · #279

Zakir Shikhli

Zakir Shikhli

TWRP screen is untouchable.

Reply · 1 year ago · #269

Leandro Molenillo Fonseca

...replying to Zakir Shikhli

Leandro Molenillo Fonseca

Yes, please Milan how can fix this

Reply · 1 year ago · #301

Milan Kragujevic

...replying to Leandro Molenillo Fonseca

Milan Kragujevic Admin

Hello,

I told you people multiple times, just look at the comments on this page...

I don't have that device, it works on 2/32GB model, therefor I can't help you.

Regards,
Milan

Reply · 1 year ago · #302

Milan Kragujevic

...replying to Leandro Molenillo Fonseca

Milan Kragujevic Admin

I see. This is a supported configuration, the touch screen should work for you. If it doesn't, send me your stock boot.img and recovery.img from the firmware you flash this phone with. And contact me via Telegram @milankragujevic, I will send you test builds...

Reply · 1 year ago · #305

Leandro Molenillo Fonseca

...replying to Milan Kragujevic

Leandro Molenillo Fonseca

Ok thanks

Reply · 1 year ago · #306

Zakir Shikhli

Zakir Shikhli

THANKS for your contribution!
I have a serious issue with this TWRP:
Screen touch is not working. As performing everything via adb, cannot perform wipe system, format data, resize system etc.

using olivelite_global_images_V10.3.3.0.PCPMIXM_20191019.0000.00_9.0_global

Reply · 1 year ago · #268

László Gábor Harkány

László Gábor Harkány

Please Milan Redmi 8 you make TWRP...

Reply · 1 year ago · #230


Scroll to top