[Official][TWRP Recovery][3.2.1]TWRP 3.2.1.0 For Xiaomi Redmi 4X (SANTONI)

Search This thread

Xda801

Member
Jun 6, 2018
16
1
1. Can I flash lazy flasher BEFORE flashing TWRP ?
2. Do I need flash lazy flasher after every OTA ?
3. Does cofface TWRP need lazy flasher too ?
4. What do I need todo after flashing stock recovery over TWRP ?
 

subhi19

Senior Member
Oct 14, 2015
228
54
Sidoarjo
Xiaomi Poco X3 Pro
1. Can I flash lazy flasher BEFORE flashing TWRP ?
2. Do I need flash lazy flasher after every OTA ?
3. Does cofface TWRP need lazy flasher too ?
4. What do I need todo after flashing stock recovery over TWRP ?
1. No, u must flash lazyflasher after flash twrp
2. For miui OTA ? Yes
3. No, u can use disable dm-verity on settings menu, in official twrp here not presented.
4. Just flash lazyflasher if u use official twrp, if u use cofface twrp use disable dm-verity instead.
 
  • Like
Reactions: Xda801

Xda801

Member
Jun 6, 2018
16
1
1. No, u must flash lazyflasher after flash twrp
2. For miui OTA ? Yes
3. No, u can use disable dm-verity on settings menu, in official twrp here not presented.
4. Just flash lazyflasher if u use official twrp, if u use cofface twrp use disable dm-verity instead.
Thanks.
1. Why I can't do this before flash it ? :eek:

5. Do I also need to reflash TWRP itself (cofface or not) after every MIUI OTA ?
 

subhi19

Senior Member
Oct 14, 2015
228
54
Sidoarjo
Xiaomi Poco X3 Pro
Thanks.
1. Why I can't do this before flash it ? :eek:

5. Do I also need to reflash TWRP itself (cofface or not) after every MIUI OTA ?
1. Because verify boot is checking system and partition is modified or official.
If detected official, ex : normal recovery, system, boot, etc. The boot will successfully.
If modified, ex : twrp recovery and etc. Boot will be unsuccessfully.
5. No, if update from OTA.
If you flash update rom via fastboot you need flash twrp again.
 
  • Like
Reactions: Xda801

Xda801

Member
Jun 6, 2018
16
1
1. Because verify boot is checking system and partition is modified or official.
If detected official, ex : normal recovery, system, boot, etc. The boot will successfully.
If modified, ex : twrp recovery and etc. Boot will be unsuccessfully.
5. No, if update from OTA.
If you flash update rom via fastboot you need flash twrp again.
1. What about the case when we only boot into TWRP, change some file in system, like build.prop and flash lazy flasher without flashing TWRP itself ?
5. Will I need to reflash TWRP after coming in summer MIUI 10 GLOBAL update ?
 

subhi19

Senior Member
Oct 14, 2015
228
54
Sidoarjo
Xiaomi Poco X3 Pro
1. What about the case when we only boot into TWRP, change some file in system, like build.prop and flash lazy flasher without flashing TWRP itself ?
5. Will I need to reflash TWRP after coming in summer MIUI 10 GLOBAL update ?
1. Yes u can
5. Twrp is not support miui OTA, u must download update rom manually from miui website and install manually via twrp, and no need to reflash twrp again, u must install again twrp if u flash update rom via fastboot only
If u need support miui OTA, try redwolf twrp.
 
  • Like
Reactions: Xda801

Xda801

Member
Jun 6, 2018
16
1
1. Yes u can
5. Twrp is not support miui OTA, u must download update rom manually from miui website and install manually via twrp, and no need to reflash twrp again, u must install again twrp if u flash update rom via fastboot only
If u need support miui OTA, try redwolf twrp.
5. So if I go with Cofface 3.0.3 version I will need to disable dm-verify in its options first plus after every OTA notification I will need download full ROM and flash it via Cofface itself and not from the MIUI interface ?

Sent from my santoni using XDA Labs
 

subhi19

Senior Member
Oct 14, 2015
228
54
Sidoarjo
Xiaomi Poco X3 Pro
5. So if I go with Cofface 3.0.3 version I will need to disable dm-verify in its options first plus after every OTA notification I will need download full ROM and flash it via Cofface itself and not from the MIUI interface ?
Yeah, after install twrp u must disable dm-verify first before boot.
And update manually via twrp not automatic from miui updater.
 
  • Like
Reactions: Xda801

Xda801

Member
Jun 6, 2018
16
1
Yeah, after install twrp u must disable dm-verify first before boot.
And update manually via twrp not automatic from miui updater.
There is option in the MIUI updater to update manually too from the downloaded ROM on the sd card. Will it work if it will be full rom or it can be ONLY update from the TWRP itself and nothing else?

If I will face bootloop someday, can I easily enter TWRP in this case to disable dm-verify again ?

Sent from my santoni using XDA Labs
 

subhi19

Senior Member
Oct 14, 2015
228
54
Sidoarjo
Xiaomi Poco X3 Pro
There is option in the MIUI updater to update manually too from the downloaded ROM on the sd card. Will it work if it will be full rom or it can be ONLY update from the TWRP itself and nothing else?

If I will face bootloop someday, can I easily enter TWRP in this case to disable dm-verify again ?
Dont use miui updater if u use official twrp not redwolf.
Download full rom from miui web and install manually via twrp.
Bootloop is not fixed by disable dm-verify always, u must see your problem first.

---------- Post added at 07:13 AM ---------- Previous post was at 07:10 AM ----------

I've been reading the past replies on this subject and wondering if having SuperSU installed changes anything?

TIA

Greg
Yeah, if already installed supersu or magisk no need to disable dm-verify or lazyflasher because supersu and magisk is already patched disable dm-veritf to your boot image.
 

SGE2010

Senior Member
Dec 23, 2012
72
2
Posting the steps to install the recovery, so everyone knows.
1-Connect your phone into fastboot mode using pc.
2-Open adb tools command prompt.
3-Type fasboot flash recovery recovery.img (recovery.img is the twrp you just downloaded, should be in the same folder from where you opened the command prompt).
4-Type fastboot boot recovery.img
5-TWRP will open. It might not detect your internal storage and ask for a password.
6-Back your storage up.
7-Then, go to wipe and wipe everything. After this your storage will be empty.
8-Since there's no os, install a custom rom and reboot.
:) Cheers

Yes u can, but need flash lazyflasher.

Maybe a misunderstanding here? I have a new Redmi4x global, so I guess it still has the stock rom installed. I want to have TWRP (bootloader is already unlocked by xiaomi account) and also I want to have an android rom, probably resurrection rmx or lineage.

Do I really need lazyflasher or can I follow the steps by xzy99 above?

I'm really lost and could use a step to step manual.
 
Last edited:

lejkabasz

Member
Oct 20, 2013
32
2
Hi,

Is there any solution to avoid data formation in twrp after stock Miui uptade?
There is an uptade package which swap recovery to a stock one.
After flash twrp via fastboot i need to make a data formation to get recovery able to mount internal storage. This operation wipes out my ROM which i dont want to.
Any clue?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Team Win Recovery Project 3.x, or TWRP3.x 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:
    /*
     * Your warranty is now void.
     *
     * 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.
     *
     */

    Download : TWRP 3.2.1.0 For Santoni
    Source Device Tree: Device Tree For Building TWRP
    3
    2
    I'm new to the Redmi 4X Xda thread here, any body tell me what's going on with this Encryption bug in TWRP ?
    I've just unlocked bootloader using Mi Unlock tool and wanted to install TWRP and root to backup and then Flash RR Rom .
    Do i also have to face this encryption bug as well ? (I've not enabled any type of encryption in MIUI. Settings are same as factory new MIUI version.)
    If every option in this official twrp working or not like basic backup and restore ?


    ---------- Post added at 03:21 PM ---------- Previous post was at 03:19 PM ----------

    Yes, to bad just went back to 3.1.0.3.
    Can you please reply to my doubt below your reply ? what's this encryption bug everyone is talking about ? which twrp version should i use ? i want to installed nougat based custom ROM ?
    2
    The encryption issue exists in this version??

    Yes, The encryption issue exists in this version as well..
    2
    I was using MIUI 9 Global Stable and I had TWRP installed as my custom recovery. Recently, I have installed CRDroid with TWRP. I performed a full wipe including system, dalvik cache, data. Also I have flashed CRDroid succesfully. But now, I can't boot into recovery mode. I tried in various ways. I tried with KEY-COMBO of my phone (redmi 4x), tried with flashify, tried with power menu option of CRDroid to boot into recovery. But the phone just reboot as normal. It doesn't boot into recovery. Don't understanding what is the problem :( Does anybody have any idea? Please help :(
    Turn off mobile phone and then press vol up + vol down + power key at same time until your device vibrates or till mi logo appears wait for a sec and device boot into twrp