[Hardware Hacking General] arvinquilao:
General Device Name: Android One 2nd Generation

Codename: seed

Manufacturer Product Name: H220

Processor: Qualcomm Snapdragon 410

Baseband version: SEED-MPSS.DPM.2.0.2.c1-00014-61

Service Provider/ Branding: Cherry Mobile

Country: Philippines

df:

Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 968852 60 968792 0% /dev
tmpfs 968852 5720 963132 1% /tmp
/dev/block/mmcblk0p31
12648636 11043900 1588352 87% /data
/dev/block/mmcblk0p31
12648636 11043900 1588352 87% /sdcard
/dev/block/mmcblk0p29
147072 208 143792 0% /cache
/dev/block/mmcblk1p1 7798880 5246688 2552192 67% /external_sd

mount:

rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=968852k,nr_inodes=154699,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=968852k,nr_inodes=154699)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk0p31 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p31 on /sdcard type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p29 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk1p1 on /external_sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

cat /proc/partition:

major minor #blocks name

179 0 15267840 mmcblk0
179 1 512 mmcblk0p1
179 2 512 mmcblk0p2
179 3 1024 mmcblk0p3
179 4 1024 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 512 mmcblk0p9
179 10 512 mmcblk0p10
179 11 4 mmcblk0p11
179 12 1536 mmcblk0p12
179 13 1536 mmcblk0p13
179 14 1024 mmcblk0p14
179 15 1 mmcblk0p15
179 16 8 mmcblk0p16
179 17 10240 mmcblk0p17
179 18 512 mmcblk0p18
179 19 65536 mmcblk0p19
179 20 32 mmcblk0p20
179 21 65536 mmcblk0p21
179 22 1536 mmcblk0p22
179 23 16 mmcblk0p23
179 24 32768 mmcblk0p24
179 25 1572864 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 65536 mmcblk0p27
179 28 32768 mmcblk0p28
179 29 153600 mmcblk0p29
179 30 512 mmcblk0p30
179 31 12983791 mmcblk0p31
179 32 4096 mmcblk0rpmb
179 64 7801856 mmcblk1
179 65 7800832 mmcblk1p1

partx -s /dev/block/mmcblk0:

NR START END SECTORS SIZE NAME UUID
1 131072 132095 1024 512K sbl1 fe052fb5-b111-1b60-c9b0-e60c02e18d45
2 132096 133119 1024 512K sbl1bak 9599c4cf-a81e-24a8-4a59-22c1797b7483
3 133120 135167 2048 1M aboot fbfc39ae-2695-d25e-c638-4142834399ae
4 135168 137215 2048 1M abootbak 3104de68-4803-a6e7-2491-bf92a2c31a0c
5 137216 138239 1024 512K rpm 16289c8c-451e-0d54-e18c-eacb5bd82700
6 138240 139263 1024 512K rpmbak b305a8d5-22eb-225f-f42b-c8e521c0f7ee
7 139264 140287 1024 512K tz a1c7960d-c6ed-8dc3-e29d-9a6a3f3c1906
8 140288 141311 1024 512K tzbak 6a507a58-4ffd-efbf-aed3-0eb2582e5dc2
9 141312 142335 1024 512K hyp d29bf77b-27a0-78c2-7ab7-a401be924284
10 142336 143359 1024 512K hypbak fba5e28b-d75b-290b-93f6-84feb5e36d7e
11 143360 143367 8 4K devinfo bda2c4fe-00c1-36bd-2595-e95638856f19
12 262144 265215 3072 1.5M modemst1 d2616067-0cfe-4f55-aa1e-62e0a992e279
13 265216 268287 3072 1.5M modemst2 94794ef3-23d0-40ac-9f6a-a1576cf9a613
14 268288 270335 2048 1M misc 9232dd7b-ced2-2d33-cd3a-1914273e2915
15 270336 270337 2 1K fsc 04f6662e-8176-3f1a-350e-72f219d53818
16 270344 270359 16 8K ssd 83bee846-01c4-a849-fbbe-141af10147a7
17 270360 290839 20480 10M splash 51924c96-e6af-af15-1c5d-635175f6606e
18 290840 291863 1024 512K keystore de00b799-87b6-348f-b47c-df63164b94e2
19 393216 524287 131072 64M oem 897f7eb4-836d-6dbc-3eef-ed1977b8840f
20 524288 524351 64 32K DDR 3c1f6bf3-b5ae-42aa-c818-d7786815c730
21 524352 655423 131072 64M modem 0f71c547-56b6-de46-1197-385237ce0cdd
22 655424 658495 3072 1.5M fsg 24a72624-7c35-f759-706a-43f192b824be
23 658496 658527 32 16K sec a4a18353-b7b5-8abb-e933-4f47228d20c1
24 658528 724063 65536 32M boot 6ad3e4e1-8fc8-bb73-3854-e49e80ef9a56
25 724064 3869791 3145728 1.5G system 567e35b6-a401-0f46-24ba-6c440e3ac7b9
26 3869792 3935327 65536 32M recovery a84cf483-8c8f-1d50-7df1-d2f01e327b1c
27 3935328 4066399 131072 64M odm e0879d64-dadf-c1f8-b4d5-e674f57be8ea
28 4194304 4259839 65536 32M persist 95f004dd-98bd-2140-be09-79703e763022
29 4259840 4567039 307200 150M cache 1604a7a3-ae62-6235-3c19-9a16d2fc90de
30 4567040 4568063 1024 512K frp 3f27e05c-5714-686a-28bd-1226f2233b4a
31 4568064 30535646 25967583 12.4G userdata 64d31a91-4a98-dfb2-46b4-90eb1d70fed4

gdisk -l /dev/block/mmcblk0:

GPT fdisk (gdisk) version 0.8.4

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/block/mmcblk0: 30535680 sectors, 14.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 32 entries
First usable sector is 34, last usable sector is 30535646
Partitions will be aligned on 8-sector boundaries
Total free space is 479076 sectors (233.9 MiB)

Number Start (sector) End (sector) Size Code Name
1 131072 132095 512.0 KiB FFFF sbl1
2 132096 133119 512.0 KiB 0700 sbl1bak
3 133120 135167 1024.0 KiB FFFF aboot
4 135168 137215 1024.0 KiB 0700 abootbak
5 137216 138239 512.0 KiB FFFF rpm
6 138240 139263 512.0 KiB 0700 rpmbak
7 139264 140287 512.0 KiB FFFF tz
8 140288 141311 512.0 KiB 0700 tzbak
9 141312 142335 512.0 KiB FFFF hyp
10 142336 143359 512.0 KiB 0700 hypbak
11 143360 143367 4.0 KiB FFFF devinfo
12 262144 265215 1.5 MiB FFFF modemst1
13 265216 268287 1.5 MiB FFFF modemst2
14 268288 270335 1024.0 KiB FFFF misc
15 270336 270337 1024 bytes FFFF fsc
16 270344 270359 8.0 KiB FFFF ssd
17 270360 290839 10.0 MiB FFFF splash
18 290840 291863 512.0 KiB FFFF keystore
19 393216 524287 64.0 MiB FFFF oem
20 524288 524351 32.0 KiB FFFF DDR
21 524352 655423 64.0 MiB 0700 modem
22 655424 658495 1.5 MiB FFFF fsg
23 658496 658527 16.0 KiB FFFF sec
24 658528 724063 32.0 MiB FFFF boot
25 724064 3869791 1.5 GiB 0700 system
26 3869792 3935327 32.0 MiB FFFF recovery
27 3935328 4066399 64.0 MiB 0700 odm
28 4194304 4259839 32.0 MiB 0700 persist
29 4259840 4567039 150.0 MiB 0700 cache
30 4567040 4568063 512.0 KiB 0700 frp
31 4568064 30535646 12.4 GiB 0700 userdata

parted /dev/block/mmcblk0 print all:

Model: MMC R821MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 67.1MB 67.6MB 524kB sbl1
2 67.6MB 68.2MB 524kB sbl1bak
3 68.2MB 69.2MB 1049kB aboot
4 69.2MB 70.3MB 1049kB abootbak
5 70.3MB 70.8MB 524kB rpm
6 70.8MB 71.3MB 524kB rpmbak
7 71.3MB 71.8MB 524kB tz
8 71.8MB 72.4MB 524kB tzbak
9 72.4MB 72.9MB 524kB hyp
10 72.9MB 73.4MB 524kB hypbak
11 73.4MB 73.4MB 4096B devinfo
12 134MB 136MB 1573kB modemst1
13 136MB 137MB 1573kB modemst2
14 137MB 138MB 1049kB misc
15 138MB 138MB 1024B fsc
16 138MB 138MB 8192B ssd
17 138MB 149MB 10.5MB splash
18 149MB 149MB 524kB keystore
19 201MB 268MB 67.1MB ext4 oem
20 268MB 268MB 32.8kB DDR
21 268MB 336MB 67.1MB fat16 modem
22 336MB 337MB 1573kB fsg
23 337MB 337MB 16.4kB sec
24 337MB 371MB 33.6MB boot
25 371MB 1981MB 1611MB ext2 system
26 1981MB 2015MB 33.6MB recovery
27 2015MB 2082MB 67.1MB odm
28 2147MB 2181MB 33.6MB ext4 persist
29 2181MB 2338MB 157MB ext4 cache
30 2338MB 2339MB 524kB frp
31 2339MB 15.6GB 13.3GB ext4 userdata

fdisk -l /dev/block/mmcblk0:

WARNING: GPT (GUID Partition Table) detected on '/dev/block/mmcblk0'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/block/mmcblk0: 15.6 GB, 15634268160 bytes, 30535680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 4294967295 2147483647+ ee GPT
--------------
blkid:
/dev/block/mmcblk0: PTTYPE="gpt"
/dev/block/mmcblk0p1: PARTLABEL="sbl1" PARTUUID="fe052fb5-b111-1b60-c9b0-e60c02e18d45"
/dev/block/mmcblk0p2: PARTLABEL="sbl1bak" PARTUUID="9599c4cf-a81e-24a8-4a59-22c1797b7483"
/dev/block/mmcblk0p19: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p21: SEC_TYPE="msdos" UUID="00BC-614E" TYPE="vfat"
/dev/block/mmcblk0p25: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p28: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p29: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p31: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk1: PTTYPE="dos"
/dev/block/mmcblk1p1: UUID="8644-1107" TYPE="vfat"

ls -al dev/block/platform/soc.0/7824900.sdhci/by-name:

drwxr-xr-x 2 root root 660 Jan 8 1970 .
drwxr-xr-x 4 root root 740 Jan 8 1970 ..
lrwxrwxrwx 1 root root 21 Jan 8 1970 DDR -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 20 Jan 8 1970 aboot -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Jan 8 1970 abootbak -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Jan 8 1970 boot -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 Jan 8 1970 cache -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 Jan 8 1970 devinfo -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Jan 8 1970 frp -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 Jan 8 1970 fsc -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Jan 8 1970 fsg -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 20 Jan 8 1970 hyp -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 Jan 8 1970 hypbak -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 Jan 8 1970 keystore -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 Jan 8 1970 misc -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 Jan 8 1970 modem -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 Jan 8 1970 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 Jan 8 1970 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 Jan 8 1970 odm -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 Jan 8 1970 oem -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Jan 8 1970 persist -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 Jan 8 1970 recovery -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 20 Jan 8 1970 rpm -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 Jan 8 1970 rpmbak -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Jan 8 1970 sbl1 -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 Jan 8 1970 sbl1bak -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 Jan 8 1970 sec -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 Jan 8 1970 splash -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 Jan 8 1970 ssd -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 Jan 8 1970 system -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 20 Jan 8 1970 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 Jan 8 1970 tzbak -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 Jan 8 1970 userdata -> /dev/block/mmcblk0p31