[Hardware Hacking General] AndDiSa:
Huawei Mediapad M5 8,4 (SHT-W09)

General Device Name: Huawei Mediapad M5

Manufacturer Product Name: schubert

Processor: Qualcomm Kirin 960

AOS version: Android 8.0

System FW version: 8.0.0 C432 B123

Country: Germany

Device not rooted, limited outputs.

<< output of df>>

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1620628 17308 1603320 2% /
tmpfs 1957568 656 1956912 1% /dev
/dev/block/dm-0 4576648 2953216 1607048 65% /system
/dev/block/dm-1 765280 620072 129408 83% /vendor
/dev/block/dm-2 122796 93504 26716 78% /odm
/dev/block/dm-3 27552 15048 11864 56% /version
/dev/block/dm-4 186268 98764 83636 55% /product
/dev/block/dm-5 186268 110760 71640 61% /cust
tmpfs 1957568 0 1957568 0% /mnt
none 1957568 0 1957568 0% /sys/fs/cgroup
/dev/block/mmcblk0p59 23283696 8181628 14475380 37% /data
/dev/block/mmcblk0p17 124912 64 122228 1% /cache
/data/media 23263216 8808316 14454900 38% /storage/emulated

<<ls -l /dev/block/platform/hi_mci.0/by-name/>>

lrwxrwxrwx 1 root root 21 2018-05-14 20:27 bootfail_info -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 cache -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 cust_a -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dfx -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dto_a -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dts_a -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_kernel_a -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_ramdisk_a -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_vbmeta_a -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_vendor_a -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fastboot_a -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 frp -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fw_hifi_a -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fw_lpm3_a -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 hisee_fs -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 hisee_img_a -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 isp_boot_a -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 isp_firmware_a -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 kernel_a -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modem_fw_a -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modem_om -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 modem_secure -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_backup -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_factory -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_img -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_system -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_update_a -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 nvme -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 odm_a -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 oeminfo -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 patch_a -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 persist -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 product_a -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 ramdisk_a -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_ramdisk_a -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_vbmeta_a -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_vendor_a -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 reserved1 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved10 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved2 -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved3_a -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved4_a -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved5 -> /dev/block/mmcblk0p58
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 reserved6 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 rrecord -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 secure_storage -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 sensorhub_a -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 splash2 -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 system_a -> /dev/block/mmcblk0p57
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 teeos_a -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 trustfirmware_a -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 userdata -> /dev/block/mmcblk0p59
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vbmeta_a -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vector_a -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vendor_a -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 version_a -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 vrl -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 vrl_backup -> /dev/block/mmcblk0p6

<< ls -l /dev/block/bootdevice/by-name/ >>

lrwxrwxrwx 1 root root 21 2018-05-14 20:27 bootfail_info -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 cache -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 cust -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dfx -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dto -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 dts -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_kernel -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_ramdisk -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_vbmeta -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 erecovery_vendor -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fastboot -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 frp -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fw_hifi -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 fw_lpm3 -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 hisee_fs -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 hisee_img -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 isp_boot -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 isp_firmware -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 kernel -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modem_fw -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modem_om -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 modem_secure -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_backup -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_factory -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_img -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_system -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 modemnvm_update -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 nvme -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 odm -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 oeminfo -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 patch -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 persist -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 product -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 ramdisk -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_ramdisk -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_vbmeta -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 recovery_vendor -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 reserved1 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved10 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved2 -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved3 -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved4 -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 reserved5 -> /dev/block/mmcblk0p58
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 reserved6 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 rrecord -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 secure_storage -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 sensorhub -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 splash2 -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 system -> /dev/block/mmcblk0p57
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 teeos -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 trustfirmware -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 userdata -> /dev/block/mmcblk0p59
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vbmeta -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vector -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 vendor -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 2018-05-14 20:27 version -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 vrl -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2018-05-14 20:27 vrl_backup -> /dev/block/mmcblk0p6

Mapping partition to block device

Major Minor Size Device Name Description
179 0 30535680 mmcblk0
179 288 4096 mmcblk0rpmb
179 192 4096 mmcblk0boot1
179 96 4096 mmcblk0boot0
179 1 512 mmcblk0p1	frp	Factory reset protection
179 2 2048 mmcblk0p2	persist	DRM related files, sensor reg file (sns.reg), wifi and bluetooth mac addresses, etc.
179 3 5120 mmcblk0p3	reserved1
179 4 512 mmcblk0p4	reserved6
179 5 512 mmcblk0p5	vrl
179 6 512 mmcblk0p6	vrl_backup
179 7 8704 mmcblk0p7	modem_secure
179 8 6144 mmcblk0p8	nvme
179 9 65536 mmcblk0p9	oeminfo
179 10 32768 mmcblk0p10	secure_storage
179 11 32768 mmcblk0p11	modem_om
179 12 4096 mmcblk0p12	modemnvm_factory
179 13 4096 mmcblk0p13	modemnvm_backup
179 14 12288 mmcblk0p14	modemnvm_img
179 15 4096 mmcblk0p15	modemnvm_system
179 16 81920 mmcblk0p16	splash2
179 17 131072 mmcblk0p17	cache	optimized dex files, etc.
179 18 131072 mmcblk0p18	odm
179 19 2048 mmcblk0p19	bootfail_info
179 20 2048 mmcblk0p20	misc	Flags and switches (region, carrier id, etc.)
179 21 32768 mmcblk0p21	reserved2
179 22 4096 mmcblk0p22	reserved10
179 23 8192 mmcblk0p23	hisee_fs
179 24 16384 mmcblk0p24	dfx
179 25 16384 mmcblk0p25	rrecord
179 26 256 mmcblk0p26	fw_lpm3
179 27 3840 mmcblk0p27	reserved3
179 28 4096 mmcblk0p28	hisee_img
179 29 12288 mmcblk0p29	fastboot
179 30 4096 mmcblk0p30	vector
179 31 2048 mmcblk0p31	isp_boot
179 32 14336 mmcblk0p32	isp_firmware
179 33 12288 mmcblk0p33	fw_hifi
179 34 8192 mmcblk0p34	teeos
179 35 24576 mmcblk0p35	erecovery_kernel
179 36 32768 mmcblk0p36	erecovery_ramdisk
179 37 16384 mmcblk0p37	erecovery_vendor
179 38 16384 mmcblk0p38	sensorhub
179 39 24576 mmcblk0p39	kernel
179 40 16384 mmcblk0p40	ramdisk
179 41 32768 mmcblk0p41	recovery_ramdisk
179 42 16384 mmcblk0p42	recovery_vendor
179 43 14336 mmcblk0p43	dts
179 44 2048 mmcblk0p44	dto
179 45 2048 mmcblk0p45	trustfirmware
179 46 57344 mmcblk0p46	modem_fw
179 47 43008 mmcblk0p47	reserved4
179 48 2048 mmcblk0p48	recovery_vbmeta
179 49 2048 mmcblk0p49	erecovery_vbmeta
179 50 4096 mmcblk0p50	vbmeta
179 51 81920 mmcblk0p51	modemnvm_update
179 52 32768 mmcblk0p52	patch
179 53 32768 mmcblk0p53	version
179 54 802816 mmcblk0p54	vendor
179 55 196608 mmcblk0p55	product
179 56 196608 mmcblk0p56	cust
179 57 4800512 mmcblk0p57	system	/system (mounted through dm)
179 58 131072 mmcblk0p58	reserved5
179 59 23285760 mmcblk0p59	userdata	/data, /external_storage