Help! plz Data 0mb after phone updated, TWRP is working, data recovery with Dm-0? - Android Q&A, Help & Troubleshooting

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

Kevincorella said:
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
Click to expand...
Click to collapse
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.

Arc android said:
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.
Click to expand...
Click to collapse
I could install the rom via Fastboot, but I want to see if there is any hope for the data before wiping everything ):

Related

XT910 Radio partition

Does anyone know the partition which stores the baseband?
cat /proc/partitions doesn't give me the required information:
Code:
major minor #blocks name alias
7 3 314624 loop3
179 0 15564800 mmcblk1
179 1 128 mmcblk1p1
179 2 512 mmcblk1p2
179 3 512 mmcblk1p3
179 4 1 mmcblk1p4
179 5 512 mmcblk1p5
179 6 512 mmcblk1p6
179 7 4096 mmcblk1p7 pds
179 8 512 mmcblk1p8 utags
179 9 1024 mmcblk1p9
179 10 2048 mmcblk1p10
179 11 512 mmcblk1p11
179 12 512 mmcblk1p12
179 13 4096 mmcblk1p13
179 14 8192 mmcblk1p14 boot
179 15 9216 mmcblk1p15 recovery
179 16 217088 mmcblk1p16 cdrom
179 17 512 mmcblk1p17 misc
179 18 512 mmcblk1p18 cid
179 19 4096 mmcblk1p19 kpanic
179 20 793600 mmcblk1p20 system
179 21 737280 mmcblk1p21 cache
179 22 9216 mmcblk1p22 preinstall
179 23 1364992 mmcblk1p23 webtop
179 24 3989504 mmcblk1p24 userdata
179 25 8401792 mmcblk1p25 emstorage
179 26 128 mmcblk1p26
179 64 2048 mmcblk1boot1
179 32 2048 mmcblk1boot0
179 96 31166976 mmcblk0
179 97 31162880 mmcblk0p1
[email protected]:/ #
THX!
dmesg and search for kernel boot line, it contains association with partition number and name

I need help figuring out why my partitions changed

Before
Code:
major minor #blocks name
7 0 48888 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 2111 loop3
253 0 409600 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 31166976 mmcblk1
179 33 31162880 mmcblk1p1
254 0 48888 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 2110 dm-3
After
Code:
[email protected]:/ # cat /proc/partitions
major minor #blocks name
7 0 4190 loop0
7 1 16664 loop1
7 2 2111 loop2
7 3 8348 loop3
7 4 19782 loop4
7 6 5229 loop6
7 7 5229 loop7
253 0 409600 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 31166976 mmcblk1
179 33 31162880 mmcblk1p1
254 0 4189 dm-0
254 1 16663 dm-1
254 2 2110 dm-2
254 3 8347 dm-3
254 6 5229 dm-6
254 7 5229 dm-7
7 8 48888 loop8
254 8 48888 dm-8
254 4 19782 dm-4
Surge1223 said:
Before
Code:
major minor #blocks name
7 0 48888 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 2111 loop3
Click to expand...
Click to collapse
These are loopbacks. What that means is that a file somewhere is mapped by /dev/loop0 to look like a disk.
Between earlier and now, something changed in what's loopback mounted.
The important partitions - those on your internal MMC memory, are unchanged.
Surge1223 said:
Code:
254 0 48888 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 2110 dm-3
Click to expand...
Click to collapse
The dm-0, -1, -2 are purchased applications, mounted on /mnt/asec if I remember right. Where they're mounted will tell you the app name.

Recovery data from Moto G Gen1

Hi there
I want to recovery data from a phone that has been reseted.
So far I have extracted the partition mmcblk0p36 to my computer using dd.
I'm trying to recovery the photos using PhotoRec but it's not working at all.
Some advice?
List of partitions:
Code:
[email protected]_umtsds:/ # cat /proc/partitions
major minor #blocks name
253 0 262144 zram0
179 0 15388672 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 32 mmcblk0p3
179 4 512 mmcblk0p4
179 5 200 mmcblk0p5
179 6 400 mmcblk0p6
179 7 32 mmcblk0p7
179 8 512 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 2332 mmcblk0p10
179 11 512 mmcblk0p11
179 12 200 mmcblk0p12
179 13 400 mmcblk0p13
179 14 32 mmcblk0p14
179 15 512 mmcblk0p15
179 16 1052 mmcblk0p16
179 17 1536 mmcblk0p17
179 18 1536 mmcblk0p18
179 19 512 mmcblk0p19
179 20 8 mmcblk0p20
179 21 1536 mmcblk0p21
179 22 1 mmcblk0p22
179 23 8 mmcblk0p23
179 24 1024 mmcblk0p24
179 25 128 mmcblk0p25
179 26 3072 mmcblk0p26
179 27 4096 mmcblk0p27
179 28 4096 mmcblk0p28
179 29 8192 mmcblk0p29
179 30 512 mmcblk0p30
179 31 10240 mmcblk0p31
259 0 10240 mmcblk0p32
259 1 678016 mmcblk0p33
259 2 999424 mmcblk0p34
259 3 8192 mmcblk0p35
259 4 13545344 mmcblk0p36
179 32 512 mmcblk0rpmb

A little help

Can someone with rooted device run this command and let me known if mmcblk0 partition exists in note 9 pro
Here is the procedure to check:-
Code:
1) Open a terminal in your linux.
2) adb devices (This step assumes that adb and fastboot are in linux system path)
3) adb shell
4) su -
5) You are in root shell now.
6) cat /proc/partitions.
7) check if mmcblk0 partition available
Please let me know if this partitions exists, since it could help others to unbrick they device. Thanks in advance ?.
Anyone? please help me to know if the partitions exists, it could help us to recover the bricked device. Maybe in future you will use the unbrick method to unbrick your device.
On Evolution X ROM, that partition refers to the external SD card on my phone. The main phone partitions are showing on sda.
Apple Pi said:
On Evolution X ROM, that partition refers to the external SD card on my phone. The main phone partitions are showing on sda.
Click to expand...
Click to collapse
Thanks for reply, it will be appear like this, you can try termux to see the partition.
Code:
su
Cat /proc/partitions
It will list out all partitions, there the mmcblk0 partition should exist. And can you help me creat a image of it for recovering device?
Like this
riyan65 said:
Like this
Click to expand...
Click to collapse
Code:
curtana:/ # 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
7 0 97048 loop0
7 8 880 loop1
7 16 1660 loop2
7 24 264 loop3
7 32 22540 loop4
7 40 97048 loop5
7 48 880 loop6
7 56 5664 loop7
7 64 5164 loop8
254 0 3145728 zram0
8 48 131072 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
8 64 4194304 sde
8 65 512 sde1
8 66 4096 sde2
8 67 512 sde3
8 68 262144 sde4
8 69 1024 sde5
8 70 4096 sde6
8 71 32768 sde7
8 72 8192 sde8
8 73 32768 sde9
8 74 512 sde10
8 75 512 sde11
8 76 512 sde12
8 77 128 sde13
8 78 64 sde14
8 79 2048 sde15
259 0 2048 sde16
259 1 512 sde17
259 2 4096 sde18
259 3 512 sde19
259 4 262144 sde20
259 5 1024 sde21
259 6 4096 sde22
259 7 32768 sde23
259 8 8192 sde24
259 9 32768 sde25
259 10 512 sde26
259 11 512 sde27
259 12 512 sde28
259 13 128 sde29
259 14 64 sde30
259 15 2048 sde31
259 16 2048 sde32
259 17 4 sde33
259 18 1024 sde34
259 19 256 sde35
259 20 8192 sde36
259 21 33424 sde37
259 22 4 sde38
259 23 1024 sde39
259 24 8192 sde40
259 25 2048 sde41
259 26 65536 sde42
259 27 128 sde43
259 28 32 sde44
259 29 32 sde45
259 30 512 sde46
259 31 28 sde47
259 32 512 sde48
259 33 1024 sde49
259 34 64 sde50
259 35 131072 sde51
259 36 24576 sde52
259 37 64 sde53
259 38 24576 sde54
259 39 131072 sde55
8 16 8192 sdb
8 17 7168 sdb1
8 18 128 sdb2
8 32 8192 sdc
8 33 7168 sdc1
8 34 128 sdc2
8 0 120479744 sda
8 1 8 sda1
8 2 32768 sda2
8 3 1024 sda3
8 4 512 sda4
8 5 512 sda5
8 6 131072 sda6
8 7 1048576 sda7
8 8 131072 sda8
8 9 131072 sda9
8 10 64 sda10
8 11 64 sda11
8 12 16384 sda12
8 13 393216 sda13
8 14 393216 sda14
8 15 16384 sda15
259 40 8192 sda16
259 41 8388608 sda17
259 42 109786956 sda18
8 80 131072 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 10240 sdf4
8 85 128 sdf5
179 0 125042688 mmcblk0
179 1 125041647 mmcblk0p1
253 0 1518988 dm-0
253 1 1398808 dm-1
253 2 2097152 dm-2
Yes, the partition exists, now there are high chance of recovery of hard brick device. Will you help me to create one. Please PM me if you are interested
That partition only exists due to external storage being mounted to the system via the microSD card slot.
Apple Pi said:
That partition only exists due to external storage being mounted to the system via the microSD card slot.
Click to expand...
Click to collapse
No, it a system partition which contains you firmware, fastboot, and gpt table and much more. It will be the size of your device memory but get compress to 2-3gb.
riyan65 said:
No, it a system partition which contains you firmware, fastboot, and gpt table and much more. It will be the size of your device memory but get compress to 2-3gb.
Click to expand...
Click to collapse
The Partition is 125,042,688 KBytes which is the size of my 128GB MicroSD Card.
Apple Pi said:
The Partition is 125,042,688 KBytes which is the size of my 128GB MicroSD Card.
Click to expand...
Click to collapse
Could you try the same with remove sd card?

Backup help: TWRP what's the path of sda ?

Background Information
My phone is stuck in a boot loop. Fortunately my phone is rooted and I have TWRP installed.
Original Plan
So my original plan was to just restore the data with TWRP.
However when trying to access the data I found out that the "data" partition can't be mounted in TWRP.
It apparently has to do something with it being encrypted. However I don't understand why I can't just decrypt it since I know my password! ??
New Plan
So my new plan was:
1. Create a disk clone with dd
2. Save it on my pc
3. Flash my phone and use it again
4. Wait (Maybe one day in the future I'll be able to decrypt my data and access it again)
So I listed all partitions in order to find the appropriate "hard drive" or in this case the appropriate flash drive (UFS)
p3s:/ # 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
7 0 264 loop0
7 8 888 loop1
7 16 98312 loop2
7 24 18604 loop3
8 0 499814400 sda
8 1 20480 sda1
8 2 20480 sda2
8 3 4096 sda3
8 4 8192 sda4
8 5 8192 sda5
8 6 512 sda6
8 7 40960 sda7
8 8 3072 sda8
8 9 2048 sda9
8 10 4096 sda10
8 11 8192 sda11
8 12 64 sda12
8 13 65536 sda13
8 14 65536 sda14
8 15 65536 sda15
259 0 71680 sda16
259 1 7680 sda17
259 2 1024 sda18
259 3 512 sda19
259 4 1024 sda20
259 5 53248 sda21
259 6 16384 sda22
259 7 64 sda23
259 8 64 sda24
259 9 32768 sda25
259 10 4 sda26
259 11 316 sda27
259 12 11468800 sda28
259 13 1433600 sda29
259 14 30720 sda30
259 15 614400 sda31
259 16 51200 sda32
259 17 51200 sda33
259 18 485654528 sda34
8 16 4096 sdb
8 32 4096 sdc
8 48 8192 sdd
8 49 6144 sdd1
8 64 20480 sde
253 0 6601340 dm-0
253 1 1764892 dm-1
253 2 845048 dm-2
253 3 4248 dm-3
Click to expand...
Click to collapse
So sda seems to be the main storage as it's the biggest one. I then wanted to know what's the path of sda . Like in normal linux on normal pcs it's always /dev/sda and one can just do dd if=/dev/sda .... .
I tried listing it via:
ls -l /sys/class/block/sda
Click to expand...
Click to collapse
/sys/devices/platform/13100000.ufs/host0/target0:0:0/0:0:0:0/block/sda
p3s:/sys/dev/block # dd if=/sys/devices/platform/13100000.ufs/host0/target0\:0\:0/0\:0\:0\:0/block/sda bs=512 count=1
dd: /sys/devices/platform/13100000.ufs/host0/target0:0:0/0:0:0:0/block/sda: read error: Is a directory
Click to expand...
Click to collapse
However when i try this, dd complains, that sda is a directory
Does anyone know the correct path ? Or how I can find out what the correct path is ?
Oh I think i found it :
I think it's
/dev/block/sda
Click to expand...
Click to collapse
when i now try to execute dd it works
p3s:/ # dd if=/dev/block/sda bs=512 count=1
☺�☺��rU�1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.004320 s, 116 K/s
Click to expand...
Click to collapse

Categories

Resources