[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
Your posts in PE always refer to MIUI and the same with one or two of your posts here as well. And that's what I've been asking about all along.

I know this because my only difficulty and the only thing I am interested in and the major thing I am reading about right now is to be able to FLASH MIUI through TWRP but not get BOOTLOADER LOCKED , A BOOTLOOP, BOOTFREEZE (and in the worst case scenario A BRICKED PHONE, I don't think it get this far though)

and because this is a subject that is very interesting to me I always watch out for the word "MIUI" and when I do I always read that post very carefully.

In PE I asked you SPECIALLY , if you had flushed MIUI THROUGH TWRP and you said yes. I asked you on many occasions.

Now it looks like you were not paying much attention to my question and you assumed I was referring to one of the other CUSTOM ROMs (and not to MIUI). I don't blame you for that . You are not interested in flashing MIUI through TWRP.

So at least this time we have clarified it once and for all:

YOU CANNOT FLASH MIUI THROUGH TWRP IF YOU DON'T FLASH DFE AT THE SAME TIME.

This is the same information that you get if you Google how to flash MIUI through TWRP.

============================

Now for the issue that is being discussed here:

YOU DO NOT NEED DFE OR ANY OTHER DECRYPTING SYSTEMS AND METHODS IF YOU ARE FLASHING A CUSTOM ROM THROUGH TWRP.

This is exactly the same information you get if you Google, which you should , because Google is our best and only friend.

There are only three scenarios when flashing a custom ROM through TWRP.

1) wipe cache, dalvick cache , system

( Theoretically it is not necessary to wipe system because the ROM being flashed will wipe system before it flushes itself -but to be on the safe side , just wipe system through TWRP before flash)

This scenario is for when we update the same rom or when we reinstall the same rom.

2) wipe cache, dalvick cache , system , data

This is for when we are installing a different custom ROM. It's good practice to wipe data when you are installing a different rom. Sometimes it's not necessary if those rooms are very similar or very close to AOSP like in the case of PE and linOS.

3)wipe cache, dalvick cache , system , data, internal storage

this is for the worst case scenario when things don't work out any other way.

NOWHERE IN THIS DO YOU NEED DFE OR ANY ENCRYPTION OR DETRACTION METHODS.

IN ALL CASES GAPPS SHOULD BE FLASHED AT THE SAME TIME THE ROM IS FLUSHED.

IN NEARLY EVERY CASE MAGISK SHOULD BE FLUSHED AFTER THE FIRST BOOT INTO THE ROM and customizing as necessary.

Flashing magisk together with the rom usually gives problems and is generally not recommended.

They are a few exceptions to this rule,

BUT UNLESS OTHERWISE STATED YOU FLASH MAGISK AFTER THE FIRST BOOT.

Give this a try and give feedback...

---------- Post added at 06:48 AM ---------- Previous post was at 06:32 AM ----------

I agree with you...

I have been using custom rooms in all my phones and I am using custom roms in pocophone....

I HAVE NEVER EVER INSTALLED DFE OR ANY OTHER ENCRYPTION OR DECRYPTION METHOD BEFORE I FLASH A CUSTOM ROM - NEVER.

There is nowhere on the internet that says You MUST do so, and people all over the world , people with different phones , different roms ,are installing custom rooms without DFE.

Generally speaking and it makes the most sense, A STOCK ROM IS NOT RECOMMENDED TO BE FLASHED THROUGH TWRP.

The different companies have their own flash tools or you do it through fastboot or download mode if you are on a Samsung device.

And in the case of the pocophone we have the MiFlashTool that will flash the stock ROM (MIUI)

Flashing a A STOCK ROM through TWRP is actually a hack and will usually require extra steps like DFE.

So DFE is necessary when you are flashing A STOCK ROM through TWRP, not when you are flashing a custom ROM.