[RECOVERY][3.4.0-10][davinci]Official/Unofficial TWRP for Xiaomi Redmi K20 (Stable)

Search This thread

mauronofrio

Recognized Developer
Jun 29, 2012
4,359
13,623
24
Castellana Grotte
toolaio.tk
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Features:
- Decryption Works
- Backup works
- Wipes Work
- Android 10 support
- Compatibility.zip errors fixed
- Davinciin support
- Fastboot boot supported
- Vibration have some problems
- Remember that the unofficial builds are always more updated of the official builds
- Android 11 Decryption


Download:
TWRP 3.4.0-10 Unofficial by mauronofrio
TWRP 3.4.0-0 Unofficial by mauronofrio

TWRP 3.3.1-12 Unofficial by mauronofrio
TWRP 3.3.1-11 Unofficial by mauronofrio
Official Builds
TWRP 3.3.1-8 Unofficial by mauronofrio
TWRP 3.3.1-3 Unofficial by mauronofrio

To Flash the TWRP:
if it's the first time you flash the TWRP or you are getting problems of TWRP lost or device doesn't boot after flashed magisk or something else you need to flash a script to patch your vbmeta:
VBMETA PATCHER
To flash the TWRP:
Code:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually or using a fastboot command.
Code:
fastboot boot twrp-3.3.1-xx-xxxxxx-mauronofrio.img
or
Code:
fastboot oem reboot-recovery
Flash the VBMETA PATCHER and reboot.
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:
https://github.com/mauronofrio/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_davinci
Using precompiled stock one

Donations:



Credits:

Created 2019-08-25
 
Last edited:

Schnedi

Senior Member
Oct 27, 2011
952
2,395
Installed with the greek TWRP, boots perfectly (vendor and firmware: xiaomi.eu 9.8.15)

Still have to test it tho. Not sure about encryptation because my device is unencrypted.
 
Last edited:

Bart1981

Senior Member
Dec 4, 2006
1,096
138
Utrecht
I'm on EEU rom V10.3.12.0.PFJEUXM.
I can install this twrp version, but after installing, the phone keeps rebooting to TWRP instead of rebooting the system.
No Idea how to solve this atm. Had this also with the Greek TWRP.
 

Aserar

Senior Member
Oct 10, 2014
126
15
I'm on EEU rom V10.3.12.0.PFJEUXM.
I can install this twrp version, but after installing, the phone keeps rebooting to TWRP instead of rebooting the system.
No Idea how to solve this atm. Had this also with the Greek TWRP.
You need to format data in TWRP then boot to recovery again then go to mount and mount internal storage then boot to system.
 
Last edited:

Bart1981

Senior Member
Dec 4, 2006
1,096
138
Utrecht
You need to format data in TWRP then boot to recovery again then go to mount and mount internal storage then boot to system.
So to get tarp working properly you first need to format 'data'? That's quite f*cked up if you ask me. Is this a xiomi thing? This wasn't needed with the previous EEU xiaomi roms (and on all my previous phones/tablets).

I guess this way I'll loose all the stored apps, pictures, etc?
 
Last edited:

beaverhead

Senior Member
Nov 29, 2013
671
244
if you have a backup in twrp you can transfer him to you pc. and you'r apps with titanium. the whole map of you apps also transfer it to pc. its because twrp al these troubles. my too a new xiaomi user. coming from 5t latest phone.

Verstuurd vanaf mijn Mi 9T met Tapatalk

---------- Post added at 07:52 PM ---------- Previous post was at 07:50 PM ----------

of it is because the encryption.???

Verstuurd vanaf mijn Mi 9T met Tapatalk
 

fmcheetah

Senior Member
Mar 15, 2012
121
30
Munich
Since encryption ist implemented WE have to to get used to it!
Every unofficial Twrp Deals with it somehow different.
But you can Backup Data with all of them and restore.
MIUI also hast a backup function which works Well, Just Copy the Data to PC or USB Drive! Done it many Times?
 

Aserar

Senior Member
Oct 10, 2014
126
15
So to get tarp working properly you first need to format 'data'? That's quite f*cked up if you ask me. Is this a xiomi thing? This wasn't needed with the previous EEU xiaomi roms (and on all my previous phones/tablets).

I guess this way I'll loose all the stored apps, pictures, etc?

Well, it's a new device without official recovery. I, even after 5 weeks of having the 9T, still haven't let go my old phone. I use it like %75 of the time. MIUI has bugs too regardless of recovery so I feel like I can't rely on it as a daily driver just yet. I'm pretty sure I won't let go of my old device until I have a good custom rom on my 9T
 

Avarast

Member
Apr 16, 2019
15
29
Guys, I really need some help because I'm not seeing what I'm missing.
I've unlocked my BL and have been on the EEA stock ROM. When trying to flash this recovery, I only got it to boot into the recovery once, where it decrypted my storage successfully, but adb didn't work for whatever reason, so I tried rebooting the recovery which sent the device into a bootloop. I tried to save the device by flashing back to a stock image and retrying flashing the recovery, but ever since I can't seem to get it to work. I'm using the regular "fastboot flash recovery" command which flashes the recovery fine, but after that I can't get into TWRP by holding vol+ & power. Since that's the same procedure I used to flash the recovery the first time, I don't see what I'm doing wrong. Anybody have an idea?
 

Avarast

Member
Apr 16, 2019
15
29
After flashing TWRP have you tried the command 'fastboot boot TWRP.img'?

Also sent the device into a bootloop. Actually managed to flash this TWRP again last night after flashing the Russian one first, but yet again, can't push any files to internal storage, neither by sideloading or MTP. Device does get recognized (as a K20 but w/e), but Explorer can't see its capacity and every transfer fails. I'll copy the error messages and try to get a log once I'm back home.

e: Somehow got ADB working after lots of trial & error, thanks a lot for your work OP!
 
Last edited:
  • Like
Reactions: mauronofrio

Avarast

Member
Apr 16, 2019
15
29
Avarast
How did you do?

Assuming you're coming from stock:

1. flashed the Russian TWRP again. Booted into it, formatted the device and flashed LOS + Gapps, which worked now for the first time.
2. rebooted to fastboot and flashed OPs TWRP build. Now ADB etc worked, so I did another regular wipe, booted into system fine.
3. With a proper TWRP now flashing Magisk also went fine.
 
  • Like
Reactions: Soapy!

Top Liked Posts