happen once with me
your storage might not be mounted
This is the PE10 thread, search/ask in the PE9 thread.
This is needlessly complicated. He just needs to go to recovery and format data and then flash the ROM again and then DFE.it happened to me, this are the steps i used to get my phone unlocked and working again
1. reflash using mi flash tool - use flash all lock
2. you will encounter "Error Find Device Storage Corrupted Your Device is Unsafe Now". just finish the miui10 setup.
3. reboot, go to fastboot, unlock the bootloader again
4. use twrp to do advanced wipe, also format data to remove device encryption,
5. transfer evo-x rom to storage, including dfe and latest magisk. (i guess you can install any rom pie rom)
6. install evo`x rom, dfe and magisk
7. boot into evo-x and finish setup
8. now you have an unencrypted rom running - you can either go back to miui10 and get back stock encryption without the "Error Find Device Storage Corrupted Your Device is Unsafe Now" error, or you can go to any other custom rom. if you wanna install this pe10 rom, skip on the pattern password setup for boot up.