TWRP password decrypt storage I have Xiaomi redmi note plus.
I wanted to install twrp and root my device in ordre to flash mods.
Well the 1st time I enter to TWRP after flashing it with adb, it demand the password, in steps they mention that the password is the same as the one you had in the previous rom. But actually it didn't work.
Trying a diffrent password/PIN without 0, still nothing, the problem that I lost all my data during the process.
So how can I disable or pass this password permanently to decrypt my storage and be able to flash mods.
That TWRP requires a password is because your /data is encrypted, which is default since Android 6.

To permanently decrypt the filesystem, you need to format /data and flash a "disable force encryption" package. Be aware that formatting /data will delete all your files, including photos, music, etc. in your internal storage.

Also be careful when flashing other ROMs or applying OTAs, as most of them will make your /data encrypted again and you'll have to format it again. You need to flash the "force encryption disabler" every time you flash another ROM/OTA.