unable to format data do to encryption

spazztic

New member
Jul 11, 2016
3
1
3
I hope I haven't bricked my phone, but I installed TWRP on my Mi 10 Pro. I never encrypted the data on the phone but every time i boot into recovery it asks for the pattern to decrypt data. I've tried to format the phone several times and I always get the error:

make_f2fs -g android/dev/block/sda34 121772027 && sload_f2fs -t/data/dev/block/sda34 process ended with ERROR: 255
Unable to wipe Data.
Unable to format to remove encryption.

I had set a pattern on the phone and that pattern doesn't work on TWRP and it no longer works to unlock phone.
All i want to do is be able to format data and start from scratch.
Any help would be appreciated.
 

marcel112

Senior Member
Oct 20, 2009
3,434
557
253
Zwollywood
I hope I haven't bricked my phone, but I installed TWRP on my Mi 10 Pro. I never encrypted the data on the phone but every time i boot into recovery it asks for the pattern to decrypt data. I've tried to format the phone several times and I always get the error:

make_f2fs -g android/dev/block/sda34 121772027 && sload_f2fs -t/data/dev/block/sda34 process ended with ERROR: 255
Unable to wipe Data.
Unable to format to remove encryption.

I had set a pattern on the phone and that pattern doesn't work on TWRP and it no longer works to unlock phone.
All i want to do is be able to format data and start from scratch.
Any help would be appreciated.
Can you boot to system if so remove pattern or pin completely so no security
 

spazztic

New member
Jul 11, 2016
3
1
3
Can you boot to system if so remove pattern or pin completely so no security
I can't boot into system because it asks me for the pattern. The pattern I set doesn't work. I can boot into recovery (TWRP) and it also asks me for the pattern but I can cancel out of that and when I try to reformat I get the error that is in my original post. Somehow it is not able to reformat because it can't mount encrypted data partition.
 

marcel112

Senior Member
Oct 20, 2009
3,434
557
253
Zwollywood
I can't boot into system because it asks me for the pattern. The pattern I set doesn't work. I can boot into recovery (TWRP) and it also asks me for the pattern but I can cancel out of that and when I try to reformat I get the error that is in my original post. Somehow it is not able to reformat because it can't mount encrypted data partition.

and if you factory reset the device to boot to system.
If not, try to reflash the original miui rom, using miflash an d start over