[RECOVERY][3.4.0-15][surya]TWRP Xiaomi Poco X3

Slim K

Senior Member
May 16, 2015
111
28
53
is it normal for the custom recovery to not stay installed on this phone? i need to use fastboot to reinstall twrp everytime I boot. The power + up only shows the original misuite recovery option.
As stated in the OP. You need to boot to twrp immediately to finalize installation. A trick I always use with such recoveries is to flash twrp after booting into twrp, so the process will be as follows:
1- transfer the custom recovery to a sd card.
2- boot into recovery by using:
Code:
 fastboot boot name-of-your-twrp.img
2- it should reboot to recovery (good for testing out all functionality correctness). From there you can flash twrp again like any normal .img file.
3- reboot to recovery again. :)
 

Alin45

Senior Member
Oct 7, 2020
310
55
28
Bucharest
yea ive done just that and it doesnt stay installed.
That's strange. 1st time I hear about this issue. I use a .bat file with this lines, with administrator privilege:
adb devices
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
fastboot reboot
You can try it too in fastboot mode, maybe it will do the magic for you as well :) Just change the recovery name you wanna use to "twrp,img" and open .bat file in the same folder you keep recovery file and adb drivers.
 
Last edited:

haupauge

New member
Dec 3, 2020
1
0
1
Hi there, i'm having a strange behavior. If i check my device with `fastboot devices`, i can see the device id. When it comes to `fastboot flash` or boot twrp, the following error occurs:

fastboot flash recovery twrp-3.4.0-15-surya-mauronofrio.img
target reported max download size of 805306368 bytes
sending 'recovery' (131072 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s

Is there a solution for that? I'm using an new and fresh unlocked PocoX3 on MIUI-Global-12.0.2. I am happy about every idea. Thx
 

Alin45

Senior Member
Oct 7, 2020
310
55
28
Bucharest
Hi there, i'm having a strange behavior. If i check my device with `fastboot devices`, i can see the device id. When it comes to `fastboot flash` or boot twrp, the following error occurs:

fastboot flash recovery twrp-3.4.0-15-surya-mauronofrio.img
target reported max download size of 805306368 bytes
sending 'recovery' (131072 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s

Is there a solution for that? I'm using an new and fresh unlocked PocoX3 on MIUI-Global-12.0.2. I am happy about every idea. Thx
Try to use a USB 2.0 port instead of USB 3.0 one to connect the phone to PC.
 

Adnan008

Senior Member
Dec 25, 2011
125
53
48
Istanbul
Hi there, i'm having a strange behavior. If i check my device with `fastboot devices`, i can see the device id. When it comes to `fastboot flash` or boot twrp, the following error occurs:

fastboot flash recovery twrp-3.4.0-15-surya-mauronofrio.img
target reported max download size of 805306368 bytes
sending 'recovery' (131072 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s

Is there a solution for that? I'm using an new and fresh unlocked PocoX3 on MIUI-Global-12.0.2. I am happy about every idea. Thx
download and try adb-fastboot from here, its google's official link.
 

woody4165

Senior Member
Nov 30, 2011
218
31
48
Rome
Hi all

Just moving from a Poco F1 with unlocked bootloader, flashed TWRP and Lineage OS 17.1 to a brand new Poco X3.

For now, I would like to have root (with Magisk ? ) maintaining the MIUI V12.0.4.0.QJGMIXM
So, after unlocking bootloader, I should boot into recovery (RECOVERY][3.4.0-15 is the correct one ? ) and then flash Magisk 20.4, is it correct?

I would like to maintain the stock recovery, so I don't have to flash TWRP, this will let me get OTA updates, correct ?

Is there any issue in this procedure?

Thanks
 

Alin45

Senior Member
Oct 7, 2020
310
55
28
Bucharest
Hi all

Just moving from a Poco F1 with unlocked bootloader, flashed TWRP and Lineage OS 17.1 to a brand new Poco X3.

For now, I would like to have root (with Magisk ? ) maintaining the MIUI V12.0.4.0.QJGMIXM
So, after unlocking bootloader, I should boot into recovery (RECOVERY][3.4.0-15 is the correct one ? ) and then flash Magisk 20.4, is it correct?

I would like to maintain the stock recovery, so I don't have to flash TWRP, this will let me get OTA updates, correct ?

Is there any issue in this procedure?

Thanks
The downside is that you have to root again after every update you get.
 

Vulnerability

Senior Member
Sep 14, 2017
51
20
8
Hi OP, any luck with fixing backup, restore and image flash (system-vendor-product) with your TWRP builds? I'm hoping to flash a GSI but system obviously needs to work.

Should be a little easier to fix these bugs now that the sources have been released, correct?
 

Paddy1401

New member
Dec 7, 2020
1
0
11
Hi OP, any luck with fixing backup, restore and image flash (system-vendor-product) with your TWRP builds? I'm hoping to flash a GSI but system obviously needs to work.

Should be a little easier to fix these bugs now that the sources have been released, correct?
No, it's really difficult. It's also a difficulty for every phone that has dynamic partition like poco x3
 

XtraWater

Senior Member
Apr 8, 2018
500
62
38
Hi OP, any luck with fixing backup, restore and image flash (system-vendor-product) with your TWRP builds? I'm hoping to flash a GSI but system obviously needs to work.

Should be a little easier to fix these bugs now that the sources have been released, correct?
Can you enlighten me?

I cam from MIUI 12.0.4. Then I flashed Resurrection remix, vendor 12.0.4 with tthe latest twrp version in this thread. Later I installed an update, still based on 12.0.4 with twrp. Actually it was the entire rom.

Now, my confusion starts here: everything went smooth so far. Shouldn't I use twrp for the next update? Would it be OK as long the vendor stays at 12.0.4? And, at some point there will be new version of RR based on 12.0.5. I guess that's the point when the vendor got upgraded. From your post I read that this twrp version isn't able to flash vendor. If I understand it correctly, I shouldn't update it with twrp?

If so, should I use the MIUI recovery? Mine is in Chinese. So not sure how to use it.

Thank you.
 

Vulnerability

Senior Member
Sep 14, 2017
51
20
8
Can you enlighten me?

I cam from MIUI 12.0.4. Then I flashed Resurrection remix, vendor 12.0.4 with tthe latest twrp version in this thread. Later I installed an update, still based on 12.0.4 with twrp. Actually it was the entire rom.

Now, my confusion starts here: everything went smooth so far. Shouldn't I use twrp for the next update? Would it be OK as long the vendor stays at 12.0.4? And, at some point there will be new version of RR based on 12.0.5. I guess that's the point when the vendor got upgraded. From your post I read that this twrp version isn't able to flash vendor. If I understand it correctly, I shouldn't update it with twrp?

If so, should I use the MIUI recovery? Mine is in Chinese. So not sure how to use it.

Thank you.
Flash TWRP again, MIUI recovery will have issues when the next RR update is released.
 

Predatux

Member
Aug 9, 2017
28
1
3
Hi. I just unlocked my phone, but I have a problem. Once the wipes are done, I mount all the partitions and try to install the rom from a pendrive. It always gives me "system_root" error no such file or directory. I have tried the recovery 3.4.0-0 from Mahajant and the version 3.4.0-15 from mauronofrio.
I have reinstalled the official xiaomi rom and tried again without success. Can someone tell me what am I doing wrong?