• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

fix failed to mount data in twrb

Search This thread

M.sapry

Member
Sep 13, 2016
10
0
im sharing a solution for the problem in the title
i have faced this problem once and this solution worked
go to section "wipe" then "advanced wipe"
choose the partition with the problem*
and choose "repair or change file system"
then "change file system"

you will find many formats
first choose any one for example "f2fs" wipe
wait untill it finishes then repeat from the begining and choose "ext4"
wait untill it finishes now the "data" partition is fixed**

repeat this method with other partitions if not working
 

clsA

Senior Member
Aug 28, 2010
9,823
3,459
Central Florida
im sharing a solution for the problem in the title
i have faced this problem once and this solution worked
go to section "wipe" then "advanced wipe"
choose the partition with the problem*
and choose "repair or change file system"
then "change file system"

you will find many formats
first choose any one for example "f2fs" wipe
wait untill it finishes then repeat from the begining and choose "ext4"
wait untill it finishes now the "data" partition is fixed**

repeat this method with other partitions if not working
Yes this is the procedure to unencrypt an encrypted data partition. Sometimes you can also just choose to Format Data and get the same result

Sent from my Nexus 6P using Tapatalk
 
  • Like
Reactions: M.sapry

M.sapry

Member
Sep 13, 2016
10
0
@clsA
i know but the problem is that you get this error even when you try to normally wipe data partition
so its a way to get through the problem
 
Last edited:
I tried everything such as Changing file system Ext2 to Etx4, formating data partition, flashing TWRP again but literally nothing worked! Device Xiaomi Redmi 6 ( Cereus). After I format data my internal storage ( 0 Mb problem ) got fixed but when I booted the device and set up the device and then I boot to TWRP and again the problem shows up 0 MB Problem and then I researched well and I get to know there is a file name Force-Encryption-Disabler or DM-Verity file then I formatted data partition and flashed DM-Verity File and it showed successfully flashed but but but here comes a twist when I set up my device again and I boot into TWRP Recovery it again again again shows 0 MB Internal storage !!! Please help me!!! If you know anything then please lemme know, it will be so grateful !!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    im sharing a solution for the problem in the title
    i have faced this problem once and this solution worked
    go to section "wipe" then "advanced wipe"
    choose the partition with the problem*
    and choose "repair or change file system"
    then "change file system"

    you will find many formats
    first choose any one for example "f2fs" wipe
    wait untill it finishes then repeat from the begining and choose "ext4"
    wait untill it finishes now the "data" partition is fixed**

    repeat this method with other partitions if not working
    Yes this is the procedure to unencrypt an encrypted data partition. Sometimes you can also just choose to Format Data and get the same result

    Sent from my Nexus 6P using Tapatalk