[Hardware Hacking General] wladimir_tm:
Xiaomi armani (MSM8226) HM 1S

Xiaomi armani (MSM8226) HM 1S

order_num name ls-ldev/block/ ###platform/msm_sdcc.1/by-name/ #blocks/proc/partitiomajorminor#dfFilesysteSize Blksiz#mount fs
0 mmcblk0 /dev/block/mmcblk0 7634944 179 0
1 mmcblk0p1 /dev/block/mmcblk0p1 ->sbl1 2031 179 1
2 mmcblk0p2 /dev/block/mmcblk0p2 ->sbl1bak 2031 179 2
3 mmcblk0p3 /dev/block/mmcblk0p3 ->rpm 1024 179 3
4 mmcblk0p4 /dev/block/mmcblk0p4 ->rpmbak 1024 179 4
5 mmcblk0p5 /dev/block/mmcblk0p5 ->tz 1024 179 5
6 mmcblk0p6 /dev/block/mmcblk0p6 ->tzbak 1024 179 6
7 mmcblk0p7 /dev/block/mmcblk0p7 ->ssd 8 179 7
8 mmcblk0p8 /dev/block/mmcblk0p8 ->sdi 1024 179 8
9 mmcblk0p9 /dev/block/mmcblk0p9 ->DDR 1024 179 9
10 mmcblk0p10 /dev/block/mmcblk0p10 ->aboot 4096 179 10
11 mmcblk0p11 /dev/block/mmcblk0p11 ->abootbak 4096 179 11
12 mmcblk0p12 /dev/block/mmcblk0p12 ->bk1 5120 179 12
13 mmcblk0p13 /dev/block/mmcblk0p13 ->misc 4096 179 13
14 mmcblk0p14 /dev/block/mmcblk0p14 ->logo 8192 179 14
15 mmcblk0p15 /dev/block/mmcblk0p15 ->bk2 29700 179 15
16 mmcblk0p16 /dev/block/mmcblk0p16 ->modemst1 1536 179 16
17 mmcblk0p17 /dev/block/mmcblk0p17 ->modemst2 1536 179 17
18 mmcblk0p18 /dev/block/mmcblk0p18 ->fsc 1 179 18
19 mmcblk0p19 /dev/block/mmcblk0p19 ->bk3 62463 179 19
20 mmcblk0p20 /dev/block/mmcblk0p20 ->fsg 1536 179 20
21 mmcblk0p21 /dev/block/mmcblk0p21 ->bk4 31232 179 21
22 mmcblk0p22 /dev/block/mmcblk0p22 ->bk5 32768 179 22
23 mmcblk0p23 /dev/block/mmcblk0p23 ->modem 65536 179 23 /firmware 64.0M 16384 /firmwarevfat
24 mmcblk0p24 /dev/block/mmcblk0p24 ->boot 16384 179 24
25 mmcblk0p25 /dev/block/mmcblk0p25 ->recovery 16384 179 25
26 mmcblk0p26 /dev/block/mmcblk0p26 ->persist 32768 179 26 /persist 15.7M 4096 /persist ext4
27 mmcblk0p27 /dev/block/mmcblk0p27 ->system 819200 179 27 /system 786.5M4096 /system ext4
28 mmcblk0p28 /dev/block/mmcblk0p28 ->cache 393216 179 28 /cache 377.8M4096 /cache ext4
29 mmcblk0p29 /dev/block/mmcblk0p29 ->userdata 6094836 179 29 /data 5.7G 4096 /data ext4
rpmb mmcblk0rpmb /dev/block/mmcblk0rpmb 512 179 32
mmcblk1 mmcblk1 /dev/block/mmcblk1 30915584 179 64
mmcblk1p1 mmcblk1p1 /dev/block/mmcblk1p1 30914560 179 65
/dev/block/
loop0 loop0 /dev/block/loop0
loop1 loop1 /dev/block/loop1
loop2 loop2 /dev/block/loop2
loop3 loop3 /dev/block/loop3
loop4 loop4 /dev/block/loop4
loop5 loop5 /dev/block/loop5
loop6 loop6 /dev/block/loop6
loop7 loop7 /dev/block/loop7

parted

order_num name #partedNumber Start End Size FilesysteName Flags
0 mmcblk0 Disk /dev/block/mmcblk0: 7818MB
1 mmcblk0p1 1 17.4kB 2097kB 2080kB sbl1
2 mmcblk0p2 2 2097kB 4177kB 2080kB sbl1bak
3 mmcblk0p3 3 4177kB 5225kB 1049kB rpm
4 mmcblk0p4 4 5225kB 6274kB 1049kB rpmbak
5 mmcblk0p5 5 6274kB 7323kB 1049kB tz
6 mmcblk0p6 6 7323kB 8371kB 1049kB tzbak
7 mmcblk0p7 7 8371kB 8379kB 8192B ssd
8 mmcblk0p8 8 8379kB 9428kB 1049kB sdi
9 mmcblk0p9 9 9428kB 10.5MB 1049kB DDR
10 mmcblk0p10 10 10.5MB 14.7MB 4194kB aboot
11 mmcblk0p11 11 14.7MB 18.9MB 4194kB abootbak
12 mmcblk0p12 12 18.9MB 24.1MB 5243kB bk1
13 mmcblk0p13 13 24.1MB 28.3MB 4194kB misc
14 mmcblk0p14 14 28.3MB 36.7MB 8389kB logo
15 mmcblk0p15 15 36.7MB 67.1MB 30.4MB bk2
16 mmcblk0p16 16 67.1MB 68.7MB 1573kB modemst1
17 mmcblk0p17 17 68.7MB 70.2MB 1573kB modemst2
18 mmcblk0p18 18 70.2MB 70.3MB 1024B fsc
19 mmcblk0p19 19 70.3MB 134MB 64.0MB bk3
20 mmcblk0p20 20 134MB 136MB 1573kB fsg
21 mmcblk0p21 21 136MB 168MB 32.0MB bk4
22 mmcblk0p22 22 168MB 201MB 33.6MB fat16 bk5
23 mmcblk0p23 23 201MB 268MB 67.1MB modem
24 mmcblk0p24 24 268MB 285MB 16.8MB boot
25 mmcblk0p25 25 285MB 302MB 16.8MB ext4 recovery
26 mmcblk0p26 26 302MB 336MB 33.6MB ext4 persist
27 mmcblk0p27 27 336MB 1174MB 839MB ext4 system
28 mmcblk0p28 28 1174MB 1577MB 403MB ext4 cache
29 mmcblk0p29 29 1577MB 7818MB 6241MB userdata
rpmb mmcblk0rpmb
mmcblk1 mmcblk1 1 1049kB 31.7GB 31.7GB fat32 boot, lba
mmcblk1p1 mmcblk1p1

gdiks

name #gdiskNumber Start(sectoEnd(sectorSize # Code Name
mmcblk0
mmcblk0p1 1 34 4095 2.0 MiB FFFF sbl1
mmcblk0p2 2 4096 8157 2.0 MiB 0700 sbl1bak
mmcblk0p3 3 8158 10205 1024.KiB FFFF rpm
mmcblk0p4 4 10206 12253 1024.KiB 0700 rpmbak
mmcblk0p5 5 12254 14301 1024.KiB FFFF tz
mmcblk0p6 6 14302 16349 1024.KiB 0700 tzbak
mmcblk0p7 7 16350 16365 8.0 KiB FFFF ssd
mmcblk0p8 8 16366 18413 1024.KiB FFFF sdi
mmcblk0p9 9 18414 20461 1024.KiB FFFF DDR
mmcblk0p10 10 20462 28653 4.0 MiB FFFF aboot
mmcblk0p11 11 28654 36845 4.0 MiB 0700 abootbak
mmcblk0p12 12 36846 47085 5.0 MiB 8300 bk1
mmcblk0p13 13 47086 55277 4.0 MiB FFFF misc
mmcblk0p14 14 55278 71661 8.0 MiB 8300 logo
mmcblk0p15 15 71662 131061 29.0 MiB 8300 bk2
mmcblk0p16 16 131062 134133 1.5 MiB FFFF modemst1
mmcblk0p17 17 134134 137205 1.5 MiB FFFF modemst2
mmcblk0p18 18 137206 137207 1024 bytesFFFF fsc
mmcblk0p19 19 137208 262133 61.0 MiB 8300 bk3
mmcblk0p20 20 262134 265205 1.5 MiB FFFF fsg
mmcblk0p21 21 265206 327669 30.5 MiB 8300 bk4
mmcblk0p22 22 327670 393205 32.0 MiB 8300 bk5
mmcblk0p23 23 393206 524277 64.0 MiB 0700 modem
mmcblk0p24 24 524278 557045 16.0 MiB FFFF boot
mmcblk0p25 25 557046 589813 16.0 MiB FFFF recovery
mmcblk0p26 26 589814 655349 32.0 MiB 0700 persist
mmcblk0p27 27 655350 2293749 800.0MiB 0700 system
mmcblk0p28 28 2293750 3080181 384.0MiB 0700 cache
mmcblk0p29 29 3080182 15269854 5.8 GiB 0700 userdata
mmcblk0rpmb
mmcblk1 1 2048 61831167 29.5 GiB 700 Microsoftbasicdata
mmcblk1p1

gdisk_detailed

name Partition numberPartition GUID code: Partition unique GUID: First sector: Last sector: Partition size: Attribute flags: Partition name:
mmcblk0
mmcblk0p1 1 DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 (Unknown) 379E788C-D102-38A8-20E0-3B183733A514 34 at 17.0 KiB 4095 at 2.0 MiB 4062 sectors 2.0 MiB 0000000000000000 'sbl1'
mmcblk0p2 2 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)C58FC4E5-2FBF-7D63-6068-79F5F73AC7F4 4096 at 2.0 MiB 8157 at 4.0 MiB 4062 sectors 2.0 MiB 0000000000000000 'sbl1bak'
mmcblk0p3 3 098DF793-D712-413D-9D4E-89D711772228 (Unknown) DE3342BF-24D7-F55B-79E5-23F0D5B9F848 8158 at 4.0 MiB 10205 at 5.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'rpm'
mmcblk0p4 4 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)1330EFE4-1B2A-496F-6435-A5761509BE3E 10206 at 5.0 MiB 12253 at 6.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'rpmbak'
mmcblk0p5 5 A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 (Unknown) A39DBD6A-9959-2971-4A38-2A14D31671B8 12254 at 6.0 MiB 14301 at 7.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'tz'
mmcblk0p6 6 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)B326418A-7A83-D6D1-35E6-8580729CF8B1 14302 at 7.0 MiB 16349 at 8.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'tzbak'
mmcblk0p7 7 2C86E742-745E-4FDD-BFD8-B6A7AC638772 (Unknown) DB7394E1-B995-8807-6FB1-92951C3D272E 16350 at 8.0 MiB 16365 at 8.0 MiB 16 sectors 8.0 KiB 0000000000000000 'ssd'
mmcblk0p8 8 D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203 (Unknown) 520BEA0E-9BDD-ECB9-4CDE-C29FE8457AFB 16366 at 8.0 MiB 18413 at 9.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'sdi'
mmcblk0p9 9 20A0C19C-286A-42FA-9CE7-F64C3226A794 (Unknown) A03A558B-809A-39AA-881B-18AF09BA8124 18414 at 9.0 MiB 20461 at 10.0 MiB 2048 sectors 1024.0 KiB 0000000000000000 'DDR'
mmcblk0p10 10 400FFDCD-22E0-47E7-9A23-F16ED9382388 (Unknown) DF5ABC85-727C-062D-A661-70929A81C855 20462 at 10.0 MiB 28653 at 14.0 MiB 8192 sectors 4.0 MiB 0000000000000000 'aboot'
mmcblk0p11 11 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)1087FAE3-9898-A4D9-7E14-68561078D72B 28654 at 14.0 MiB 36845 at 18.0 MiB 8192 sectors 4.0 MiB 0000000000000000 'abootbak'
mmcblk0p12 12 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) DE1E3635-E297-DCA2-D264-2D9C8BE803D4 36846 at 18.0 MiB 47085 at 23.0 MiB 10240 sectors 5.0 MiB 0000000000000000 'bk1'
mmcblk0p13 13 20117F86-E985-4357-B9EE-374BC1D8487D (Unknown) 860F1E8B-63AE-4AB0-F6C8-8DEDFF886702 47086 at 23.0 MiB 55277 at 27.0 MiB 8192 sectors 4.0 MiB 0000000000000000 'misc'
mmcblk0p14 14 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 2F6B45A5-B856-2981-7746-606F9E6F3E1C 55278 at 27.0 MiB 71661 at 35.0 MiB 16384 sectors 8.0 MiB 0000000000000000 'logo'
mmcblk0p15 15 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 09D4565B-EB4C-D8C3-1E14-86232BECA382 71662 at 35.0 MiB 131061 at 64.0 MiB 59400 sectors 29.0 MiB 0000000000000000 'bk2'
mmcblk0p16 16 EBBEADAF-22C9-E33B-8F5D-0E81686A68CB (Unknown) 199A976F-D9FE-0A88-2012-E7EC6FCAF428 131062 at 64.0 MiB 134133 at 65.5 MiB 3072 sectors 1.5 MiB 0000000000000000 'modemst1'
mmcblk0p17 17 0A288B1F-22C9-E33B-8F5D-0E81686A68CB (Unknown) E2999573-C08A-F7C8-1B56-90FD9FFCBF8C 134134 at 65.5 MiB 137205 at 67.0 MiB 3072 sectors 1.5 MiB 0000000000000000 'modemst2'
mmcblk0p18 18 57B90A16-22C9-E33B-8F5D-0E81686A68CB (Unknown) 5F4BFDE1-7C3E-D28B-BB11-CB57CEA5029B 137206 at 67.0 MiB 137207 at 67.0 MiB 2 sectors 1024 bytes 0000000000000000 'fsc'
mmcblk0p19 19 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) C656706F-7456-DFD8-FCE1-48471EC03D2C 137208 at 67.0 MiB 262133 at 128.0 MiB 124926 sectors 61.0 MiB 0000000000000000 'bk3'
mmcblk0p20 20 638FF8E2-22C9-E33B-8F5D-0E81686A68CB (Unknown) F7C5327F-7883-427F-55F2-5C41026AA527 262134 at 128.0 MiB 265205 at 129.5 MiB 3072 sectors 1.5 MiB 0000000000000000 'fsg'
mmcblk0p21 21 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 47B5258D-94A9-9458-3B90-1523BED35678 265206 at 129.5 MiB 327669 at 160.0 MiB 62464 sectors 30.5 MiB 0000000000000000 'bk4'
mmcblk0p22 22 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) AA5D1F1C-5381-9B66-6802-D793666F6F2D 327670 at 160.0 MiB 393205 at 192.0 MiB 65536 sectors 32.0 MiB 0000000000000000 'bk5'
mmcblk0p23 23 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)3D2C4D09-42BC-D6BD-6C75-F0A3BFA83AA8 393206 at 192.0 MiB 524277 at 256.0 MiB 131072 sectors 64.0 MiB 0000000000000000 'modem'
mmcblk0p24 24 20117F86-E985-4357-B9EE-374BC1D8487D (Unknown) 076F9B85-F265-E20E-AF3D-A9758E2E2596 524278 at 256.0 MiB 557045 at 272.0 MiB 32768 sectors 16.0 MiB 0000000000000000 'boot'
mmcblk0p25 25 20117F86-E985-4357-B9EE-374BC1D8487D (Unknown) 46B3221C-5E48-9613-E61C-B48C7FC76533 557046 at 272.0 MiB 589813 at 288.0 MiB 32768 sectors 16.0 MiB 0000000000000000 'recovery'
mmcblk0p26 26 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)8CD4EA6D-D185-BF10-0070-2350053037F8 589814 at 288.0 MiB 655349 at 320.0 MiB 65536 sectors 32.0 MiB 0000000000000000 'persist'
mmcblk0p27 27 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)1D1B3E7F-1D14-0F02-0000-EA924CE8EE75 655350 at 320.0 MiB 2293749 at 1.1 GiB 1638400 sectors 800.0 MiB 0000000000000000 'system'
mmcblk0p28 28 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)CE93E28F-03BE-4C75-C9DE-073DE91AF1DD 2293750 at 1.1 GiB 3080181 at 1.5 GiB 786432 sectors 384.0 MiB 0000000000000000 'cache'
mmcblk0p29 29 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)0BCDE82A-7DB9-5B63-8EF4-716376F4C4DE 3080182 at 1.5 GiB 15269854 at 7.3 GiB 12189673 sectors 5.8 GiB 0000000000000000 'userdata'
mmcblk0rpmb
mmcblk1 1 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)20B11061-C795-4B68-98FF-0DC8686F08BA 2048 at 1024.0 KiB 61831167 at 29.5 GiB 61829120 sectors 29.5 GiB 0000000000000000 'Microsoft basic data'
mmcblk1p1

additional:

@ docsDOTgoogleDOTcom

sorry for NOT direct link:)

/spreadsheets/d/1LkosFv54iBqsuLO4DfCTxO-0Glu5C0lbM1fcOkkYfmg/edit?usp=sharing

detailed log of obtaining info & thought about method = log.txt

PS: great thanks for topic!!!