Help! plz Data 0mb after phone updated, TWRP is working, data recovery with Dm-0?

Search This thread

Kevincorella

Member
Mar 20, 2011
43
3
Hi
My Poco F2 pro, rooted and encrypted (sadly) decided to auto update, when it flashed in twrp, after reboot I couldnt even mount Data, so I tried to change the file system, but still 0mb, tried try decryp with no luck

I reseach about it, and found that I could dump the dev/block/dm-xx (I trhink so, or to at least recover my data anywhere else but the phone

Please help, any ideas what could or should I do?

~ # cat /proc/partitions
major minor #blocks name

1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
8 16 16384 sdb
8 17 7168 sdb1
8 18 7168 sdb2
8 19 512 sdb3
8 20 1492 sdb4
8 0 248700928 sda
8 1 8 sda1
8 2 32 sda2
8 3 32 sda3
8 4 32 sda4
8 5 128 sda5
8 6 256 sda6
8 7 512 sda7
8 8 512 sda8
8 9 512 sda9
8 10 2048 sda10
8 11 4096 sda11
8 12 8192 sda12
8 13 8192 sda13
8 14 8192 sda14
8 15 16384 sda15
259 0 16384 sda16
259 1 1024 sda17
259 2 16384 sda18
259 3 15360 sda19
259 4 32768 sda20
259 5 32768 sda21
259 6 65536 sda22
259 7 65536 sda23
259 8 65536 sda24
259 9 131072 sda25
259 10 98304 sda26
259 11 32768 sda27
259 12 131072 sda28
259 13 393216 sda29
259 14 393216 sda30
259 15 1048576 sda31
259 16 8912896 sda32
259 17 32768 sda33
259 18 237166572 sda34
8 32 16384 sdc
8 33 7168 sdc1
8 34 7168 sdc2
8 35 512 sdc3
8 36 1492 sdc4
8 48 32768 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
8 52 2048 sdd4
8 53 2048 sdd5
8 54 1024 sdd6
8 64 1048576 sde
8 65 104 sde1
8 66 32 sde2
8 67 32 sde3
8 68 32 sde4
8 69 32 sde5
8 70 128 sde6
8 71 128 sde7
8 72 256 sde8
8 73 256 sde9
8 74 32 sde10
8 75 32 sde11
8 76 32 sde12
8 77 32 sde13
8 78 128 sde14
8 79 128 sde15
259 19 128 sde16
259 20 128 sde17
259 21 128 sde18
259 22 256 sde19
259 23 256 sde20
259 24 256 sde21
259 25 512 sde22
259 26 512 sde23
259 27 512 sde24
259 28 128 sde25
259 29 128 sde26
259 30 128 sde27
259 31 3712 sde28
259 32 1024 sde29
259 33 1024 sde30
259 34 1024 sde31
259 35 1024 sde32
259 36 1024 sde33
259 37 1024 sde34
259 38 1024 sde35
259 39 1024 sde36
259 40 2048 sde37
259 41 2048 sde38
259 42 2048 sde39
259 43 2048 sde40
259 44 4096 sde41
259 45 4096 sde42
259 46 32768 sde43
259 47 8192 sde44
259 48 8192 sde45
259 49 16384 sde46
259 50 32768 sde47
259 51 65536 sde48
259 52 65536 sde49
259 53 131072 sde50
259 54 458752 sde51
259 55 32768 sde52
259 56 32768 sde53
259 57 53248 sde54
259 58 4096 sde55
259 59 4096 sde56
259 60 2048 sde57
259 61 2048 sde58
8 80 65536 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 2048 sdf4
8 85 128 sdf5
8 86 768 sdf6
8 87 8192 sdf7
8 88 8192 sdf8
8 89 8192 sdf9
8 90 1024 sdf10
252 0 2842372 dm-0
252 1 1655520 dm-1
252 2 1147096 dm-2
252 3 131072 dm-3
252 4 404196 dm-4
~ #

------------------------------

Tried

~ # pull /dev/block/dm-0 /data.img
-/sbin/sh: pull: not found

~ # twrp decrypt 1238
Attempting to decrypt data partition or user data via command line.
Failed to decrypt data.


Tried flashing disableVerity

PD: Lost vendor partition

Any way I can copy the dm-0 (I understood that I could somehow manage to regain my data if I get those files)
Or is it anyway to mount them or any ideas


===================

Would mean the world to me if anyone could help
 

Arc android

Senior Member
  • Jan 28, 2021
    126
    24
    Hi
    My Poco F2 pro, rooted and encrypted (sadly) decided to auto update, when it flashed in twrp, after reboot I couldnt even mount Data, so I tried to change the file system, but still 0mb, tried try decryp with no luck

    I reseach about it, and found that I could dump the dev/block/dm-xx (I trhink so, or to at least recover my data anywhere else but the phone

    Please help, any ideas what could or should I do?

    ~ # cat /proc/partitions
    major minor #blocks name

    1 0 8192 ram0
    1 1 8192 ram1
    1 2 8192 ram2
    1 3 8192 ram3
    1 4 8192 ram4
    1 5 8192 ram5
    1 6 8192 ram6
    1 7 8192 ram7
    1 8 8192 ram8
    1 9 8192 ram9
    1 10 8192 ram10
    1 11 8192 ram11
    1 12 8192 ram12
    1 13 8192 ram13
    1 14 8192 ram14
    1 15 8192 ram15
    8 16 16384 sdb
    8 17 7168 sdb1
    8 18 7168 sdb2
    8 19 512 sdb3
    8 20 1492 sdb4
    8 0 248700928 sda
    8 1 8 sda1
    8 2 32 sda2
    8 3 32 sda3
    8 4 32 sda4
    8 5 128 sda5
    8 6 256 sda6
    8 7 512 sda7
    8 8 512 sda8
    8 9 512 sda9
    8 10 2048 sda10
    8 11 4096 sda11
    8 12 8192 sda12
    8 13 8192 sda13
    8 14 8192 sda14
    8 15 16384 sda15
    259 0 16384 sda16
    259 1 1024 sda17
    259 2 16384 sda18
    259 3 15360 sda19
    259 4 32768 sda20
    259 5 32768 sda21
    259 6 65536 sda22
    259 7 65536 sda23
    259 8 65536 sda24
    259 9 131072 sda25
    259 10 98304 sda26
    259 11 32768 sda27
    259 12 131072 sda28
    259 13 393216 sda29
    259 14 393216 sda30
    259 15 1048576 sda31
    259 16 8912896 sda32
    259 17 32768 sda33
    259 18 237166572 sda34
    8 32 16384 sdc
    8 33 7168 sdc1
    8 34 7168 sdc2
    8 35 512 sdc3
    8 36 1492 sdc4
    8 48 32768 sdd
    8 49 104 sdd1
    8 50 128 sdd2
    8 51 1024 sdd3
    8 52 2048 sdd4
    8 53 2048 sdd5
    8 54 1024 sdd6
    8 64 1048576 sde
    8 65 104 sde1
    8 66 32 sde2
    8 67 32 sde3
    8 68 32 sde4
    8 69 32 sde5
    8 70 128 sde6
    8 71 128 sde7
    8 72 256 sde8
    8 73 256 sde9
    8 74 32 sde10
    8 75 32 sde11
    8 76 32 sde12
    8 77 32 sde13
    8 78 128 sde14
    8 79 128 sde15
    259 19 128 sde16
    259 20 128 sde17
    259 21 128 sde18
    259 22 256 sde19
    259 23 256 sde20
    259 24 256 sde21
    259 25 512 sde22
    259 26 512 sde23
    259 27 512 sde24
    259 28 128 sde25
    259 29 128 sde26
    259 30 128 sde27
    259 31 3712 sde28
    259 32 1024 sde29
    259 33 1024 sde30
    259 34 1024 sde31
    259 35 1024 sde32
    259 36 1024 sde33
    259 37 1024 sde34
    259 38 1024 sde35
    259 39 1024 sde36
    259 40 2048 sde37
    259 41 2048 sde38
    259 42 2048 sde39
    259 43 2048 sde40
    259 44 4096 sde41
    259 45 4096 sde42
    259 46 32768 sde43
    259 47 8192 sde44
    259 48 8192 sde45
    259 49 16384 sde46
    259 50 32768 sde47
    259 51 65536 sde48
    259 52 65536 sde49
    259 53 131072 sde50
    259 54 458752 sde51
    259 55 32768 sde52
    259 56 32768 sde53
    259 57 53248 sde54
    259 58 4096 sde55
    259 59 4096 sde56
    259 60 2048 sde57
    259 61 2048 sde58
    8 80 65536 sdf
    8 81 104 sdf1
    8 82 2048 sdf2
    8 83 2048 sdf3
    8 84 2048 sdf4
    8 85 128 sdf5
    8 86 768 sdf6
    8 87 8192 sdf7
    8 88 8192 sdf8
    8 89 8192 sdf9
    8 90 1024 sdf10
    252 0 2842372 dm-0
    252 1 1655520 dm-1
    252 2 1147096 dm-2
    252 3 131072 dm-3
    252 4 404196 dm-4
    ~ #

    ------------------------------

    Tried

    ~ # pull /dev/block/dm-0 /data.img
    -/sbin/sh: pull: not found

    ~ # twrp decrypt 1238
    Attempting to decrypt data partition or user data via command line.
    Failed to decrypt data.


    Tried flashing disableVerity

    PD: Lost vendor partition

    Any way I can copy the dm-0 (I understood that I could somehow manage to regain my data if I get those files)
    Or is it anyway to mount them or any ideas


    ===================

    Would mean the world to me if anyone could help
    I don't know Bro. Seems like your data has gone read only. I don't know if I am right though. Anyways what I want to ask you is if you can manage to completely wipe your data and install a custom rom. I don't think I am much helpful but please let me know if you can do it.
     

    Kevincorella

    Member
    Mar 20, 2011
    43
    3
    I don't know Bro. Seems like your data has gone read only. I don't know if I am right though. Anyways what I want to ask you is if you can manage to completely wipe your data and install a custom rom. I don't think I am much helpful but please let me know if you can do it.
    I could install the rom via Fastboot, but I want to see if there is any hope for the data before wiping everything ):
     
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone