yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mnbvc69:
nope
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] darryl_co:
I came across this post

http://en.miui.com/thread-536180-1-1.html

Which says that ota updates can be done via TWRP. has anyone tried this? Did you get success in it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Isley_:
I have this "issue" with the latest TWRP. The hour can't be set correctly, I simply can't set the correct hour for my time zone. I've tried with all the time zones available but nothing. I can live with that but whenever I make a backup the date ends up being 1970 or some similar year. Is there a way to fix this?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DarthJabba9:
Hmmm ... I think you might want to read the discussion of the past 3 days or so on the Redwolf thread before deciding whether or not to use Redwolf. Personally, I would not use it or recommend it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Thing that everyone was just laughing at your posts and couldn't take you seriously isn't the reason for you to come to other threads and start crying in them like little kid. You're spamming with this in all threads. Including Redmi Note 5 section etc. Later RDs had to even start removing your posts to finally stop your spam. Btw. don't expect that I will waste time on your future posts with 0% of the true informations.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DarthJabba9:
"Everyone" = you and your co-devs - who started removing any post (from quite a few people who had been burnt) that pointed out the malicious code in Redwolf or wanted help to get out of the mess that Redwolf got them into. You need to stop spamming this thread. This is a TWRP thread, and TWRP rocks.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Isley_:
Is it only for Treble ROMs?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Isley_:
Thanks I'll give it a try.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DarthJabba9:
You will soon get a revelation of how much I know about RedWolf. :laugh: But enough of spamming TWRP thread with talk about other things :rolleyes:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] udaan:
Will this work for Mi5X with locked bootloader? Bootloader can't be unlocked because it came with fake MiA1 ROM and after I flashed the official fastboot 5X rom it got stuck on bootlogo and is now bootlooping. Also the bootloader is locked and there is no way to unlock it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] artisticwizard:
No
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] udaan:
Shieeeet! Thanks for the quick response. Do you have an idea to fix this problem? *returning the phone is not an option because it was bought in HK by a friend as a gift. Now i am in another country.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] artisticwizard:
No idea. U might need to visit service centre
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] udaan:
I already did, they asked me to change the motherboard. Lazy people.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] quyleanh:
I unlock bootloader successfully but I cannot flash recovery. It is still the stock recovery. Here is log. Is there any help?

> fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (19040 KB)...
OKAY [ 0.452s]
writing 'recovery'...
OKAY [ 0.157s]
finished. total time: 0.609s

When I check all var of fastboot

> fastboot getvar all
(bootloader) version:0.5
(bootloader) token:Gd+NZOKnGbJJQYe19obs9AAA
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4018000
(bootloader) variant:QRD eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) display-panel:
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xd47779e00
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xc0000000
(bootloader) crc:1
(bootloader) serialno:xxxxxxxxx
(bootloader) kernel:lk
(bootloader) product:mido
all:
finished. total time: 0.240s
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
What do you mean you cannot flash recovery, you just flashed it there are no errors. Hold Vol+ and Power to reboot into it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] quyleanh:
I have updated my post. It is still stock recovery... Don't know why...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
Maybe you flashed stock recovery by a mistake, redownload TWRP image and flash it without renaming.

Edit: after flashing recovery type: fastboot boot recovery.img
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crok.bic:
You didn't follow the instructions I think:

fastboot flash recovery twrp-3.2.1-0-mido.img

fastboot boot twrp-3.2.1-0-mido.img

Sometimes I have to repeat the flash command a couple of times.. then the boot command.. and then it will remain there.. WIthout booting TWRP from fastboot for the first time (I think) DM-Verity will always "repair" the recovery. Just try what I wrote. And don't forget lazyflasher if you plan to use original MIUI ROM to prevent bootloop.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] quyleanh:
Thank you all, it is OK now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ekagra69:
I want to switch from redwolf twrp...can i just flash the img file to recovery or i need to follow some other steps??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
Just flash image, you can use Flashify or flash directly in recovery.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] darryl_co:
[MENTION=6070905]abhishek987[/MENTION] Please provide OTA update support as provided by redwolf recovery. That's the only thing that is missing in this Twrp recovery
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nameisbalu:
Is this official twrp is treble supported
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] artisticwizard:
No as of now. May b in future
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DarthJabba9:
No. However, OrangeFox recovery supports Treble.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stevegtrlmk:
thanks for that it took a few minutes to boot up i was panicking a bit just booted up there :D:D:D:D:D:D:D:D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] UsPdSr:
With OrangeFox you simply have to flash the zip file and off you go. ;)

The Twrp-Team just released a new version, by the way.

->

https://eu.dl.twrp.me/mido/twrp-3.2.2-0-mido.img.html

Nevertheless, OrangeFox is the one true recovery, bois and girlz.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Elcarambadennsiwillja:
Help! Fastboot Problem after Flashing Custom Kernel

Recovery: TWRP 3.2.1-5

Custom- Rom: AOSiP 8.1

Log-Files: drive.google.com/drive/folders/1Xx-vOQAyex52sUNcN1B3pGNN7905d89N?usp=sharing

BTW. this problem does not seem to be specific to any custom rom or kernely but as soon as I try to flash a custom kernel, the MI Logo launches and it boots into fastboot mode. :( Luckily, I created a log file right after the flashing.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] testman86:
"could not mount /data and unable to find crypto footer" Redmi Note 4 / mido

After successfully installing LineageOS 15.1 (lineage-15.1-20180703-nightly-mido-signed.zip) with latest TWRP (twrp-3.2.2-0-mido.img) with SU addon I am not able to access my data partition anymore. Got the error message while trying to backup my install.

Mountpoint /sdcard and /sdcard1 are empty, before I was able to access the .zips for installing from there and I didn't set any password or encryption meanwhile this install and TWRP is not asking for one to unlock.

There was encryption once, but I could remove it with formating internal storage/data as written somewhere to get rid of it, but this was some weeks ago.

And as said before, I rebooted into twrp-3.2.1-0-mido.img, flashed twrp-3.2.2-0-mido.img rebooted into the new Recovery, used advanced wipe to wipe all except internal storage, then flashed lineageOS and SU .zips with out any problem, just now after the install I am not able to access the internal storage anymore or do backups.

Trying to reboot into Revocery again from TWRP itself also fails and just LineageOS boots again. Just booting into Recovery from LineageOS is working.

Any ideas suggestions?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] joselap:
look here, I think it can help you

https://www.youtube.com/watch?v=X7yDPszoQ5s

https://www.youtube.com/watch?v=VJRKuQf0puE

https://www.youtube.com/watch?v=5do_1oQeFA8

By the way, lineage rom is treble and the last oficial twrp 3.2.2 is not treble compatible. You need a treble twrp for this rom (and all treble roms). Try to flash a treble twrp like the one on the section downloads from first post (OP): https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] testman86:
Funnyly, with the recovery linked in the https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465 i can read my internal storage again, without formattting or anything else, just flashed the recovery and it was working again. :eek: But if I flash twrp-3.2.2-0-mido.img again I can not see anything on internal storage again. So it seems not to be a problem with encryption or so, nor did I do a wipe or so or any other modifcation in between, just flashed different recoveries via fastboot.

---------- Post added at 08:02 PM ---------- Previous post was at 07:40 PM ----------

recovery.img from XDA Thread https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465

Mount: Storage: Internal Storage (22060 MB)

System

Vendor

Data

Cache

Persist

MicroSD

USB OTG

Firmware

######

official TWRP 3.2.2 twrp-3.2.2-0-mido.img

Mount: Storage: Internal Storage (0MB)

System

Data

Cache

Cust

Firmware

Persist

MicroSD

USB OTG

Differnce: Vendor <-> Cust?

This are my results with two different recoveries.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
Recovery linked in LOS 15.1 thread is Treble and official is non Treble.

You are using Treble ROM, use Treble TWRP. You use non Treble ROM/MIUI you can use official TWRP. What you dont understand?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] testman86:
Simply that I could flash official Treble LineageOS with non Treble TWRP and read from internal storage the .zip files to flash them. And after first boot the same recovery is not able to read in the internal storage correctly anymore but a different recovery can. I understand that the Cust partition is now used as the vendor, but that should not change the ability of the recoverys to read the internal storage.

And the official installation instruction is linking to the offical twrp for installing and it worked. But just later it doesnt seem to work anymore.

And before running into this issue, I already had LineageOS 15.1 installed, just an older build, and just wiped everthing before (in advanced wipe; except internal storage) and then was able to read from internal storage the new .zip and flash it. This is why I am confused, because it worked before with even LineageOS 15.1 installed before.

I just want to narrow down the issue, why it worked once and not again.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iTalisman:
Just flash the recovery from abd again and things will be back to normal. I faced the same thing.

---------- Post added at 10:54 PM ---------- Previous post was at 10:47 PM ----------

Flash this TWRP in adb. Unzip and flash the .img file.

This is a treble twrp and i have been using it without any issues.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] testman86:
Recovery from here https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465 works fine, and download link is working in first post.

Still wondering why I have issues with reading internal storage from latest official twrp, but this is a temporary workaround for now.

Hopefully official TWRP will support treble or offical LineageOS builds in the future because in the LinageOS wiki it is linked to official TWRP which just works for installing right now and not for later flashing .zips or backup ROM.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
Can I encrypt my phone with TWRP?

I cannot encrypt my phone in LOS settings (I'm using the latest LOS15.1 and latest unofficial TWRP by OP), it just reboot to system without encrypting the phone. I wonder if there is other way to encrypt my phone. Thanks for you time.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] massiswantoo:
Why do u need encrypting ur phone?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
It's basic to encrypt one's phone. Over the years I've picked up several unencrypted lost phones in public places, and I can't tell you what juicy things and pictures found in them.

To be honest, LineageOS team should not call their product "private", "secure", "stable", or "reliable" if it can't even encrypt properly. It just becomes a toy of some geeky guys.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SafwanMcQueen:
Everytime i enter the right pattern it says

Pattern failed! Try again later!!

Any solution
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Isley_:
Did you restore a backup of a ROM?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wlk0:
What you said, it's so easy to get rid of the keyguard and access everything in the phone by booting TWRP on an unencrypted phone.

I cannot encrypt AospExtended, same behavior as LOS 15 (reboot without encrypting /data).

I was thinking about applying a no-verity-force-encrypt-6.0 to force encryption at the next boot (but I don't have the phone available right now).

Let me know if you figure a way to re-encrypt.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
I fallbacked to non-treble official versions of both TWRP and LOS 14.1, encrypted it, and then update to LOS 15.1 with treble version of TWRP, without any custom kernel. Now the encryption stays and nothing seems unusual.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wlk0:
So I assume you cleared /data without formatting it then when upgrading.

I guess I'll have to do that if the "reverse" lazypatcher trick doesn't work.

Thanks ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
When I upgrade from LOS14.1 to LOS15.1, I didn't even wipe or format data, things in there would still be there afterwards :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SafwanMcQueen:
Yes
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Isley_:
Using TWRP file manager go to /data/system and delete the locksettings.db file.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] CanBostanci:
Could you recommend an 8.1 ROM with proper encryption?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
(deleted)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ericdsant:
Please link for this is
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Use this unofficial build instead, stable enough.

https://drive.google.com/a/my.smccd.edu/uc?id=1DXuos3BhwqaReN54AFB6mVWH7G67ip2a&export=download
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] FlemishDroid:
I didn't followed Xda or Mido development for some months so I have a question. The official LOS 15.1 downloaded from download.lineageos.org/mido have also treble support? I know the dev is the same... Thanks in advance

Verstuurd vanaf mijn Redmi Note 4X met Tapatalk
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
Yes. And you must use the TWRP in OP to flash it, not the official TWRP since it doesn't support TWRP.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stunned:
3.2.3 released

https://dl.twrp.me/mido/
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jawahar.T:
Treble supported?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AyyMido:
Treble Support?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] juniorhxcx:
I had been trying to install Magisk 16.7 using TWRP 3.2.2-0 Official and "Error 1" occurred. I'm using DotOS 2.4 Android 8.1.

Do you have a solution?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] gsudha:
No
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BobaHeisenberg:
DotOS is a Treble ROM, you need to use Treble enabled TWRP.. I don't think official TWRP is compatible with Treble ROMs yet.

I use the TWRP from [MENTION=6070905]abhishek987[/MENTION] LineageOS.

(I hope its OK if I share the link to it here, I apologize in advance if this is not allowed)

https://drive.google.com/a/my.smccd.edu/uc?id=1DXuos3BhwqaReN54AFB6mVWH7G67ip2a&export=download

Official Magisk is supported BTW
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] 9Strike:
Would be nice if [MENTION=6070905]abhishek987[/MENTION] could upstream Code from custom Recovery for LOS to offical TWRP Gerrit (and update OP).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] darryl_co:
[MENTION=6070905]abhishek987[/MENTION] I'm using the twrp recovery as posted by the op. I'm on MIUI 9.5.8.0. inspite of using firewall the updater app manages to connect to the internet and downloading the update zip file and I get notification saying update downloaded, tap to reboot. This recovery does not support ota update but I am happy with it, do not wish to switch to Red Wolf recovery. My question is if I accidentally clicked on tap to reboot, what would happen? Would I brick my phone? Please guide
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jbonlinea:
Hi guys,

Strupid question; two of them.

How do I update twrp ?

I mean If y device has a older version of twrp, is there a way to update twrp without using fastboot ?

I'm asking this as I've seen that we may install orange fox as any form twrp.

Can I do the same to update twrp ?

The second question is, would it also work from redwolf ?

Thank's in advance guys

---------- Post added at 04:43 PM ---------- Previous post was at 04:43 PM ----------

Hi guys,

Strupid question; two of them.

How do I update twrp ?

I mean If y device has a older version of twrp, is there a way to update twrp without using fastboot ?

I'm asking this as I've seen that we may install orange fox as any form twrp.

Can I do the same to update twrp ?

The second question is, would it also work from redwolf ?

Thank's in advance guys
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] amitroutray:
From you old TWRP select the new zip file and flash it. If new one is a img file then select the option img inside your old TWRP and flash it. Then reboot to TWRP to check your new TWRP version.

Triggered from RN5pro
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jbonlinea:
OK great pas would it also work from redwolf

Or interchangeably?

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] amitroutray:
It should work.

Triggered from RN5pro
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohit.ghosh:
After i changed to this display i can not use any custom rom because of the display colour calibration Only MIUI working properly

Plzz help me out anyone.......
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Keller0088:
Try a custom kernel bro! And Kernel adiutor/ screen
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kelvino9:
Is there any vanilla TWRP 3.2.3 with treble support available? The last TWRP with treble I can find is still based on 3.2.1. Everything else are custom recoveries which isn't really what I'm looking for. Thanks for any hints!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BobaHeisenberg:
Can't remember where I ended up finding this or if its OK to share here. I'm not sure who the credit goes to, if anyone knows how to figure this out please let me know so that their work receives the credit it deserves. I apologize in advance if I'm in the wrong by sharing this.

This is the TWRP I've been using and its pretty damn epic!

https://drive.google.com/file/d/1Gmn6fUVxUuup4HB72aixmlYQyCAsSDKP/view?usp=drivesdk
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kelvino9:
Thank you very much [MENTION=8168328]BobaHeisenberg[/MENTION]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] r.Ry4N.05:
Is this by Abhishek (OP)?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] largeruk:
I'm rooted (with Magisk), have stock recovery and would like to install latest non-treble version of TWRP.

Sorry for the dumb questions but...

what steps do I need to take to install TWRP while keeping everything else intact?

is it possible to keep OTA updates? If so, how?

PS. I'm suffering from the common low in-call volume issue (ie. the other person can hear me ok but I struggle to hear the other person because their volume is low/distorted) - any of the stock global stable roms cure/improve this? (I'm on 9.5.9.0)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stunned:
There is a new update. Some say it supports treble now.

It is much smaller though :confused:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dhruvpatel_9880:
If you have tried then please tell that does it support treble ??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crok.bic:
Didn't try to install Treble ROM with this new version yet

BUT

in the Backup menu there is no Cust partition but Vendor

thus I presume it's now officially Treble compatible.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ekagra69:
Can i download the treble supported version from the OP ??....i mean the link mentioned in the OP is the latest one right ??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crok.bic:
The recovery.img in the OP is from May 26, 2017.

Go to the official download page here:

https://dl.twrp.me/mido/

and pick the latest (it is twrp-3.2.3-1-mido.img at the moment of writing).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Golbinex:
According to TWRP site, Mauronofrio is maintainer of mido TWRP now, so I guess abishek987's twrp is not official anymore.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TrueVanDal:
I have updated TWRP form twrp.me site and used it to update official weekly Lineage OS 15.1 without issues. It does look like Treble support is present, as mentioned above there is a 'vendor" partition mentioned and no "cust" partition is shown.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] The superstar:
Lazy flasher

I have done a research about lazyflash zip but cant get it what i want so i am putting here.

1.What is lazyflash?

2.When we need it to flash??

3.Is it compulsory or optional?

I am using rn4(snapdragon) unlocked bootloader now trying to flash twrp and then magistick for now no plans about custom rom i would like to use stock miui with unlocked bootloader and twrp and root now should i fladh lazyflash? If yes then when i mean just after flashing twrp or after flashing magistick??

One more thing when i downloaded lazyflash it shows i mean title it is for redmi note 3 so xan we flash on rn4 sd??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prashant2198:
1) Lazyflasher is a tool that prevents dmverity check when your phone reboots to system after a restart.

2) You need to flash it to prevent bootloop and bricked device. When the device performs its usual dmverity check after a reboot and finds there's been change to the system (flashing of a custom recovery/twrp), it goes into bootloop, so to prevent that you need to disable dmverity check, thus flash lazyflasher.

3) You need to flash it only if you want to stay on miui rom (as in your case). Custom roms don't have dmverity checks. It is a prerequisite everytime you switch to miui from a custom rom.

You need to flash lazyflasher right after flashing the twrp, boot into it and flash the zip. You can flash magisk before it, no worries, but flash it for sure before booting into the system.

And lazyflasher is universal. Rn3 one will work just fine for Rn4.