[Hardware Hacking General] ladislav.heller:
Huawei P20 Lite ANE-LX1

Device: Huawei P20 Lite ANE-LX1

Output of command

ls -la /dev/block/*/by-name

total 0
drwxr-xr-x 2 root root 1160 2018-07-22 12:52 .
drwxr-xr-x 3 root root 60 2018-07-22 12:52 ..
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 bootfail_info -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 cache -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 cust -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 dfx -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 dto -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 dts -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 erecovery_kernel -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 erecovery_ramdisk -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 erecovery_vbmeta -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 erecovery_vendor -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 fastboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 frp -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 fw_hifi -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 fw_lpm3 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 hisitest0 -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 hisitest1 -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 hisitest2 -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 kernel -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modem_fw -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modem_om -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modem_secure -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modemnvm_backup -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 modemnvm_factory -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modemnvm_img -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modemnvm_system -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 modemnvm_update -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 nvme -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 odm -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 oeminfo -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 patch -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 product -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 ramdisk -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 recovery_ramdisk -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 recovery_vbmeta -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 recovery_vendor -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 reserved2 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 reserved3 -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 reserved4 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 reserved5 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 reserved8 -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 reserved9 -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 rrecord -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 secure_storage -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 sensorhub -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 splash2 -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 system -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 teeos -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 trustfirmware -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 userdata -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 vbmeta -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 vendor -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 2018-07-22 12:52 version -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 vrl -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 2018-07-22 12:52 vrl_backup -> /dev/block/mmcblk0p2

Output of command

fdisk -ul /dev/block/mmcblk0

Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 122142720 sectors, 2296M
Logical sector size: 512
Disk identifier (GUID): f9f21fff-a8d4-5f0e-9746-594869aec34e
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 122142719

Number Start (sector) End (sector) Size Name
1 1024 1535 256K vrl
2 1536 2047 256K vrl_backup
3 2048 2559 256K fw_lpm3
4 2560 4095 768K frp
5 4096 12287 4096K fastboot
6 12288 20479 4096K modemnvm_factory
7 20480 32767 6144K nvme
8 32768 163839 64.0M oeminfo
9 163840 172031 4096K reserved3
10 172032 180223 4096K modemnvm_backup
11 180224 196607 8192K modemnvm_img
12 196608 204799 4096K modemnvm_system
13 204800 270335 32.0M secure_storage
14 270336 274431 2048K reserved4
15 274432 278527 2048K reserved5
16 278528 282623 2048K persist
17 282624 311295 14.0M modem_secure
18 311296 376831 32.0M modem_om
19 376832 507903 64.0M splash2
20 507904 511999 2048K misc
21 512000 561151 24.0M modemnvm_update
22 561152 684031 60.0M reserved2
23 684032 692223 4096K teeos
24 692224 696319 2048K trustfirmware
25 696320 729087 16.0M sensorhub
26 729088 753663 12.0M fw_hifi
27 753664 802815 24.0M erecovery_kernel
28 802816 868351 32.0M erecovery_ramdisk
29 868352 901119 16.0M erecovery_vendor
30 901120 950271 24.0M kernel
31 950272 983039 16.0M ramdisk
32 983040 1048575 32.0M recovery_ramdisk
33 1048576 1081343 16.0M recovery_vendor
34 1081344 1138687 28.0M dts
35 1138688 1146879 4096K dto
36 1146880 1343487 96.0M modem_fw
37 1343488 1345535 1024K recovery_vbmeta
38 1345536 1347583 1024K erecovery_vbmeta
39 1347584 1351679 2048K reserved8
40 1351680 1384447 16.0M dfx
41 1384448 1392639 4096K vbmeta
42 1392640 1654783 128M cache
43 1654784 1916927 128M odm
44 1916928 1921023 2048K hisitest0
45 1921024 1925119 2048K hisitest1
46 1925120 1933311 4096K hisitest2
47 1933312 1998847 32.0M patch
48 1998848 2002943 2048K bootfail_info
49 2002944 2035711 16.0M rrecord
50 2035712 2064383 14.0M reserved9
51 2064384 13598719 5632M system
52 13598720 13991935 192M cust
53 13991936 14057471 32.0M version
54 14057472 15663103 784M vendor
55 15663104 16056319 192M product
56 16056320 122142719 50.5G userdata