[Hardware Hacking General] ElectroMyStyle:
Huawei MediaPad X1 (7D-503L)

Partition Table: Huawei MediaPad X1 (7D-503L)

General characteristics:

General Device Name: Huawei MediaPad X1
Manufacturer Product Name: 7D-503L
Processor: Hisilicon Kirin 910
AOS version: Android 4.4.2 (EMUI 3.0)
Radio FW version: ???
System FW version: ???
Service Provider/ Branding: Megafon Moscow
Country: Russia

fdisk:

u0_a145@hw7d501l:/ $ su
root@hw7d501l:/ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 15.7 GB, 15758000128 bytes
256 heads, 63 sectors/track, 1908 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot	Start End Blocks Id System
/dev/block/mmcblk0p1 1 1909 15388671+ ee EFI GPT

gdisk:

partedroot@hw7d501l:/ # ./gdisk -l /dev/block/mmcblk0
GPT fdisk (gdisk) version 0.8.4

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! Error 0 reading partition table for CRC check!
Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Disk /dev/block/mmcblk0: 30777344 sectors, 14.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): F9F21FFF-A8D4-5F0E-9746-594869AEC34E
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 30777343
Partitions will be aligned on 512-sector boundaries
Total free space is 990 sectors (495.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 1024 1535 256.0 KiB 0700 mcuimage
2 1536 2559 512.0 KiB 0700 teeos
3 2560 3071 256.0 KiB 0700 log
4 3072 4095 512.0 KiB 0700 round
5 4096 8191 2.0 MiB 0700 fastboot2
6 8192 16383 4.0 MiB 0700 secureboot
7 16384 20479 2.0 MiB 0700 misc
8 20480 36863 8.0 MiB 0700 modemnvbkup
9 36864 45055 4.0 MiB 0700 nvme
10 45056 110591 32.0 MiB 0700 oeminfo
11 110592 118783 4.0 MiB 0700 vrcb
12 118784 143359 12.0 MiB 0700 logo
13 143360 167935 12.0 MiB 0700 lowpower
14 167936 200703 16.0 MiB 0700 modemnvm1
15 200704 266239 32.0 MiB 0700 modemnvm2
16 266240 397311 64.0 MiB 0700 modemimage
17 397312 413695 8.0 MiB 0700 dsp
18 413696 421887 4.0 MiB 0700 hifi
19 421888 552959 64.0 MiB 0700 modemlog
20 552960 585727 16.0 MiB 0700 boot
21 585728 618495 16.0 MiB 0700 recovery
22 618496 1142783 256.0 MiB 0700 cache
23 1142784 1175551 16.0 MiB 0700 userdata
24 1175552 1179647 2.0 MiB 0700 hisitest0
25 1179648 1183743 2.0 MiB 0700 hisitest1
26 1183744 1191935 4.0 MiB 0700 hisitest2
27 1191936 3289087 1024.0 MiB 0700 system
28 3289088 4337663 512.0 MiB 0700 cust
29 4337664 30777343 12.6 GiB 0700 data

parted:

root@hw7d501l:/ # ./parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: Can't have overlapping partitions.
Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 524kB 786kB 262kB mcuimage
2 786kB 1311kB 524kB teeos
3 1311kB 1573kB 262kB log
4 1573kB 2097kB 524kB round
5 2097kB 4194kB 2097kB fastboot2
6 4194kB 8389kB 4194kB secureboot
7 8389kB 10.5MB 2097kB misc
8 10.5MB 18.9MB 8389kB modemnvbkup
9 18.9MB 23.1MB 4194kB nvme
10 23.1MB 56.6MB 33.6MB oeminfo
11 56.6MB 60.8MB 4194kB vrcb
12 60.8MB 73.4MB 12.6MB logo
13 73.4MB 86.0MB 12.6MB lowpower
14 86.0MB 103MB 16.8MB ext4 modemnvm1
15 103MB 136MB 33.6MB ext4 modemnvm2
16 136MB 203MB 67.1MB modemimage
17 203MB 212MB 8389kB dsp
18 212MB 216MB 4194kB hifi
19 216MB 283MB 67.1MB ext4 modemlog
20 283MB 300MB 16.8MB boot
21 300MB 317MB 16.8MB recovery
22 317MB 585MB 268MB ext4 cache
23 585MB 602MB 16.8MB ext4 userdata
24 602MB 604MB 2097kB hisitest0
25 604MB 606MB 2097kB hisitest1
26 606MB 610MB 4194kB hisitest2
27 610MB 1684MB 1074MB ext4 system
28 1684MB 2221MB 537MB ext4 cust
29 2221MB 15.8GB 13.5GB ext4 data

busybox cat:

root@hw7d501l:/ # busybox cat /proc/partitions
major minor #blocks name

179 0 15388672 mmcblk0
179 1 256 mmcblk0p1
179 2 512 mmcblk0p2
179 3 256 mmcblk0p3
179 4 512 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 2048 mmcblk0p7
179 8 8192 mmcblk0p8
179 9 4096 mmcblk0p9
179 10 32768 mmcblk0p10
179 11 4096 mmcblk0p11
179 12 12288 mmcblk0p12
179 13 12288 mmcblk0p13
179 14 16384 mmcblk0p14
179 15 32768 mmcblk0p15
179 16 65536 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 4096 mmcblk0p18
179 19 65536 mmcblk0p19
179 20 16384 mmcblk0p20
179 21 16384 mmcblk0p21
179 22 262144 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 2048 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 4096 mmcblk0p26
179 27 1048576 mmcblk0p27
179 28 524288 mmcblk0p28
179 29 13219840 mmcblk0p29
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 96 65536000 mmcblk1
179 97 65534976 mmcblk1p1
31 0 4096 mtdblock0
31 1 2048 mtdblock1

mount:

root@hw7d501l:/ # mount
rootfs / rootfs ro,relatime 0 0
/dev/block/mmcblk0p14 /mnvm1:0 ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p19 /mnvm3:0 ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /dev/frz cgroup rw,relatime,freezer 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p15 /mnvm2:0 ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
tmpfs /fs_emmc_log tmpfs rw,seclabel,nosuid,nodev,relatime,mode=664 0 0
/dev/block/platform/hi_mci.0/by-name/system /system ext4 ro,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/hi_mci.0/by-name/userdata /tmpdata ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/hi_mci.0/by-name/cust /cust ext4 ro,seclabel,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p22 /cache ext4 rw,seclabel,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/hi_mci.0/by-name/data /data ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/data/share /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:97 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0