• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY] Unofficial TWRP 3.3.1-0 recovery for Xiaomi Redmi (olive)

  • Thread starter Deleted member 10372799
  • Start date
Search This thread

yamabokra1

Member
Jul 21, 2014
17
1
Thanks for your work

---------- Post added at 10:43 PM ---------- Previous post was at 10:37 PM ----------

I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.

You can find the device tree on my GitHub: here
And the image in the release section: here

Installation:
  • Unlock Bootloader if not already done (Official Tool)
  • Boot in to fastboot (Powerbutton + volume down)
  • Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
  • Boot in to recovery (Powerbutton + volume up)

If something breaks you can use MiFlash and the stock fastboot rom to go back to reset your phone (phone will also be locked again) or use fastboot to flash the stock recovery (can also be found in the stock fastboot rom).
You can download the fastboot rom here.

How can I know if my device Tianma display or not?
 
D

Deleted member 10372799

Guest
How can I know if my device Tianma display or not?

Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer.

I don't know if it actually matters. I read here that it affects devices when using the Redmi 8a recovery. Since I forked the code and have a Tianma display I can't really look in to the problem.
 

pulka103

Member
Sep 6, 2018
11
7
Have you got MTP working while at TWRP? I can't seem to get it right, Windows don't see my phone (adb and fastboot are working). While using adb-sideload I've got error that my mi-globe.zip rom cannot be installed through that method

------ EDIT -----
So, I flashed fastboot stock ROM and recovery. Then flashed this recovery. Booted into stock ROM, copied my custom ROM, rebooted into recovery and still couldn't install - after half of the installation process TWRP shouted that it couldn't mount /system partition. How did you get it to work? And thanks for work! :)
 
Last edited:

yamabokra1

Member
Jul 21, 2014
17
1
Have you got MTP working while at TWRP? I can't seem to get it right, Windows don't see my phone (adb and fastboot are working). While using adb-sideload I've got error that my mi-globe.zip rom cannot be installed through that method

------ EDIT -----
So, I flashed fastboot stock ROM and recovery. Then flashed this recovery. Booted into stock ROM, copied my custom ROM, rebooted into recovery and still couldn't install - after half of the installation process TWRP shouted that it couldn't mount /system partition. How did you get it to work? And thanks for work! :)

Can you check your LCD is it Tianma display?
"Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer."
 
D

Deleted member 10372799

Guest
Have you got MTP working while at TWRP?
I recompiled TWRP with MTP enabled and it seems to show up as a device but i can't access data from the device.
I installed the image via a sd-card, but usb-otg or adb push should also work.


TWRP shouted that it couldn't mount /system partition.
Okay I changed the default mounting point of the system partition. Try again with the new image.
 

pulka103

Member
Sep 6, 2018
11
7
Can you check your LCD is it Tianma display?
"Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer."

I do have a Tianma display. Problem isn't with controls but with the TWRP itself in my case.
Just tried new image, same problem "Checking /system. /system is not mounted! Trying to mount /system RW. /system cannot be mounted. [...] Installation will be aborted."
I am using Mi-Globe right now, gonna try with "clean" Xiaomi.eu.

And still can't access storage through Windows Explorer (but device itself is seen, tested with adb).
 
Last edited:

pulka103

Member
Sep 6, 2018
11
7
So Xiaomi.eu installed kinda. No errors and stuff but won't boot up. After one try it just goes back into TWRP. Using V11.0.3.0 for HM8 (as described by Xiaomi.eu)
 

logosA

Recognized Contributor
Nov 17, 2013
3,435
3,295
Heraklion Crete
@seprode, Reading your post and seen your work, I decided and today I ordered a Redmi 8 (olive) for my self , too.
I am very thankful that there are people like you, pioneers, who open the path, for all of us to follow.
Thank you again for what you are doing for us.
I hope, soon enough, some developer will pay attention to our new phone and , maybe , we will be also able to see new Android (Q ?) roms for it.
I am active involving so far in Samsung NOTE 2(exynos) and Note 4 (snapdragon) and also Xiaomi Redmi 5 plus community
I will do my best and see, if any of these groups will be able , in the future, to do something for our little brother here.
But the path you have open, is the very important first step to it.
KUDOS

:good::):good:
 

uwepob

New member
Nov 28, 2019
2
0
I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.

You can find the device tree on my GitHub: here
And the image in the release section: here

Installation:
  • Unlock Bootloader if not already done (Official Tool)
  • Boot in to fastboot (Powerbutton + volume down)
  • Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
  • Boot in to recovery (Powerbutton + volume up)
.
Thank for your work !
What about vbmeta as mentioned at milankragujevic ?
And do we need something against dm_verity ?

Edit:
I did the described "simple" way and it works !!!
No need to flash anything else !!!
Great job, Thanks again :good:
 
Last edited:

mcichy10

Member
Dec 24, 2015
21
1
I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.

You can find the device tree on my GitHub: here
And the image in the release section: here

Installation:
  • Unlock Bootloader if not already done (Official Tool)
  • Boot in to fastboot (Powerbutton + volume down)
  • Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
  • Boot in to recovery (Powerbutton + volume up)

If something breaks you can use MiFlash and the stock fastboot rom to go back to reset your phone (phone will also be locked again) or use fastboot to flash the stock recovery (can also be found in the stock fastboot rom).
You can download the fastboot rom here.

I have a problem and maybe some of you can help me. I flashed last recovery.img. After flashing phone reboot itself and boot to system. Next, perform reboot to recovery and it boot to mi-recovery, not twrp. Then I cant boot to system. I have to flash again and then it boot to system.

===EDIT====
Ok, I managed this. After "fastboot flash recovery recovery.img" you have to type "fastboot reboot"
 
Last edited:
  • Like
Reactions: sazmanhad

junior2280

New member
Mar 2, 2018
2
1
good afternoon, this twrp this worked on redmi 8 olive, if it worked I will for now, obg and thank you already.: D
 

ovilaro

Member
Dec 5, 2014
10
6
Ok, so ive tried to install latest xiaomi.eu rom for the redmi olive after flashing twrp, following all the steps from here and other posts, and all I get was reboot everytime. how do i go back to stock? miflash is not working and i dont find any .img to flash back :(
 
Apr 4, 2017
11
1
21
anand
Thank for twrp i hope it works on my device but what about custom rom wee need to custom rom ..miui contains lots of ads so that we need some good custom room..and brother replay me as soon as possible.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    D
    Deleted member 10372799
    There is now an official version available (xda post). Go use that.
    2
    @seprode, Reading your post and seen your work, I decided and today I ordered a Redmi 8 (olive) for my self , too.
    I am very thankful that there are people like you, pioneers, who open the path, for all of us to follow.
    Thank you again for what you are doing for us.
    I hope, soon enough, some developer will pay attention to our new phone and , maybe , we will be also able to see new Android (Q ?) roms for it.
    I am active involving so far in Samsung NOTE 2(exynos) and Note 4 (snapdragon) and also Xiaomi Redmi 5 plus community
    I will do my best and see, if any of these groups will be able , in the future, to do something for our little brother here.
    But the path you have open, is the very important first step to it.
    KUDOS

    :good::):good:
    2
    D
    Deleted member 10372799
    @pulka103 You want to try again? I made some changes and got MTP working.
    1
    I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
    I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
    I used it successfully to flash the xiaomi.eu rom and magisk.

    You can find the device tree on my GitHub: here
    And the image in the release section: here

    Installation:
    • Unlock Bootloader if not already done (Official Tool)
    • Boot in to fastboot (Powerbutton + volume down)
    • Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
    • Boot in to recovery (Powerbutton + volume up)

    If something breaks you can use MiFlash and the stock fastboot rom to go back to reset your phone (phone will also be locked again) or use fastboot to flash the stock recovery (can also be found in the stock fastboot rom).
    You can download the fastboot rom here.

    I have a problem and maybe some of you can help me. I flashed last recovery.img. After flashing phone reboot itself and boot to system. Next, perform reboot to recovery and it boot to mi-recovery, not twrp. Then I cant boot to system. I have to flash again and then it boot to system.

    ===EDIT====
    Ok, I managed this. After "fastboot flash recovery recovery.img" you have to type "fastboot reboot"
    1
    @pulka103 You want to try again? I made some changes and got MTP working.

    hey man i fixed up novatek touchscreens on a repack version of your twrp i will include here
    Download also i did a PR on your github with the needed changes so your next version will have this fix