[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] mizuhored:
Last night I do have a problem with the custom rom that I have installed, because of the battery problem keeps on dropping, so I decided to go back to the official stock rom which is for global however after flashing the fastboot rom via Miflash Tool, I have a welcome message that says Find Device storage corrupted. Your device is unsafe now. I thought that I just need to activate this to the device admin, after a reboot I tried to check it out if this message if this message will still pop up, and it keeps on popping up. I have flashed the rom again and it keeps on happening.

Things that I have Tried:

So I tried to check for other ways that I could get rid of this but this doesnt work on the terminal via TWRP. "

[GUIDE] How to fix "Find Device storage corrupted. Your device is unsafe now".

[GUIDE] How to fix "Find Device storage corrupted. Your device is unsafe now". How to fix "Find Device storage corrupted. Your device is unsafe now" ? (At your own risk... I'm not responsible for damage or brick) Required : - Be rooted and...

xdaforums.com

".

The one that works:

Things that you needed:

1. Download Mi Flash Tool(https://www.xiaomiflash.com/)

2. Minimal ADB and Fastboot

3. 7zip or BreeZip

4. TWRP A12(

TWRP A12.rar

drive.google.com

) if you are using other MIUI and devices and want to check it this will work then just use your twrp that is recommended for your mui device.

5. Global Rom (https://xiaomifirmwareupdater.com/miui/alioth/stable/V12.5.6.0.RKHMIXM/)

warning: make sure that you are using the right rom for your device, my device that I am using is a global variant so I need to flash a global version, if you are using other MIUI device and want to check it out just download the miui that works for you must be on a later update of the rom if the latest current rom that you are working on right now didnt work.

Steps to follow.

1. Extract the Rom which you have downloaded using the 7zip or BreeZip, so for me I extracted the version 12.5.6.0 take note that this is not the latest rom but for this to work we need to be in a later update this rom is an android version 11.

2. after extracting the fastboot rom file type TGZ you will notice that the one that you extracted is on a TAR file type, and you need to extract the TAR file type for you to have the folder "alioth_global_images_V12.5.6.0.RKHMIXM_20220210.0000.00_11.0_global_62b4f5d6ca"

3. Using the Mi Flash Tool, just pick the clean all and start the flashing.

4. After flashing the rom set up the phone but do not update it.

5. On your extracted folder for the rom go to the folder that says images and look for 'persist" this is an img file. copy the persist img file and paste it on your Internal memory of your phone.

6. Turn off your phone and go to fastboot by pressing the volume down as well as the power button. You will notice that the fastboot logo is the older version since we are using an older rom.

7. Extract the TWRP A12 and you should have the disc recovery image of it, copy and paste it on your Minimal ADB and Fastboot folder and rename it "recovery".

8. While you are on the Minimal ADB Fastboot folder make sure that your phone is plug in to the usb port on your computer, click the cmd here on the Minimal ADB and Fastboot Folder and you should able to run the cmd.

9. run the following commands:

fastboot devices (then press the enter)

warning: make sure that the fastboot devices is able to see your device.

after seeing the device run this command:

fastboot boot recovery.img (then press enter)

the device should boot to the twrp if its on chinese look for settings and set it to english. we are not flashing the twrp we are just going to use it temporarily thats why we are only going to boot it to twrp recovery.

10. On your twrp, go to install, click the install image and look for your persist.img that we have copied earlier to your internal memory

you should find it on the sdcard folder. just flash and you will see that you have successfully flashed the persist image and then just reboot your phone.

After rebooting your phone you will notice that the "Find Device storage corrupted. Your device is unsafe now." will not prompt. Since I already have the current fastboot rom I have tried to flash the current fastboot rom and locked my device and fixed the problem permanently without any problem.