So, here is a little script, which I modified to work on Redmi Note 10 Pro (tested and working on sweet). I didn't create this, only modified it, so all credits goes to
ghostrider_reborn.
Edit:
found another working encryption disabler (rmcrypt.zip), working out of the box, so no edit by me, main difference is better error handling - all credits goes to
[email protected]
Edit2:
just to have all bases covered, and all info on one place, I attached encryption disabler script for OSS vendor based ROMs, originally created for POCO X3 NFC, but working as well on sweet, created by
ghostrider_reborn, so all credits belongs to him...
DISCLAIMER: You know the drill - You are responsible for your own actions - if you choose to use this script on your phone - I am not responsible for any damage that may occurs while (or after) using this script - it works on my device, but I can't guarantee it will work on yours.
Also removing encryption off your /data partition may have unforeseen consequences - for you, your data, your phone - this is a serious modifications of your phone - do it only if you know what you are doing - AT YOUR OWN RISK!
Requirements: unlocked bootloader, flashed custom recovery (OFOX, TWRP), flashed prebuilt MIUI vendor or OSS vendor
Installation: flash attached file in custom recovery
First use:
- flash attached file in custom recovery as the last thing before you reboot recovery (for example flash custom ROM, flash GAPPS, MAGISK and then as the last thing this script)
-
mandatory! -
do a FORMAT DATA confirmed by
YES - this is
one time only and needed to remove encryption from internal storage (/data partition) -
WARNING! - FORMAT DATA will destroy all content on your internal storage - do a backup before you do so!
Usage:
- flash attached file in custom recovery as the last thing before you reboot recovery EVERY time you flashed a new custom ROM, flashed OTA of your installed custom ROM...
- - if you forget to do that, on the next boot to system your internal storage WILL BE ENCRYPTED!
Tested on:
Redmi Note 10 Pro (sweet) + custom ROMs
Not tested/supported :
MIUI itself
Credits:
encryption-disabler-sweet.zip: ghostrider_reborn
Disable_Dm-Verity_ForceEncrypt_20210320.zip: ghostrider_reborn
rmcrypt.zip:
[email protected]
View attachment 5308299
˅˅˅ Important: for OSS vendor based ROMs use Disable_Dm-Verity_ForceEncrypt_20210320.zip ˅˅˅