[Hardware Hacking General] Aerotinge:
Benq B506

General Device Name: Benq B506

Manufacturer Product Name: SWEP_B506

Processor: Mediatek MT6735P

AOS version: Android 5.1

Radio FW version: MOLY.LR9.W1444.MD.LWTG.MP.V16.P9

System FW version: SWEP_B506_v01.009.01.g_01

Service Provider/ Branding: CHT

Country: TAIWAN

I just keep a note here so I won't blow up this device.

I use Magisk for root, therefore you'll see some dummy stuff. Ignore that.

<< output of cat /proc/partinfo>>

shell@B506_TW:/ $ cat /proc/partinfo
Name Start Size
pgpt 0x0000000000000000 0x0000000000080000
proinfo 0x0000000000080000 0x0000000000300000
nvram 0x0000000000380000 0x0000000000500000
protect1 0x0000000000880000 0x0000000000a00000
protect2 0x0000000001280000 0x0000000000a00000
lk 0x0000000001c80000 0x0000000000080000
para 0x0000000001d00000 0x0000000000080000
boot 0x0000000001d80000 0x0000000001000000
recovery 0x0000000002d80000 0x0000000001000000
logo 0x0000000003d80000 0x0000000000800000
expdb 0x0000000004580000 0x0000000000a00000
seccfg 0x0000000004f80000 0x0000000000080000
oemkeystore 0x0000000005000000 0x0000000000200000
secro 0x0000000005200000 0x0000000000600000
keystore 0x0000000005800000 0x0000000000800000
tee1 0x0000000006000000 0x0000000000500000
tee2 0x0000000006500000 0x0000000000500000
frp 0x0000000006a00000 0x0000000000100000
nvdata 0x0000000006b00000 0x0000000002000000
metadata 0x0000000008b00000 0x0000000002500000
system 0x000000000b000000 0x00000000b5800000
cache 0x00000000c0800000 0x000000001f800000
userdata 0x00000000e0000000 0x00000000e1f80000
flashinfo 0x00000001c1f80000 0x0000000001000000
sgpt 0x00000001c2f80000 0x0000000000080000

<< output of df>>

shell@B506_TW:/ $ df
Filesystem Size Used Free Blksize
/dev 460.3M 64.0K 460.2M 4096
/sys/fs/cgroup 460.3M 12.0K 460.2M 4096
/mnt/asec 460.3M 0.0K 460.3M 4096
/mnt/obb 460.3M 0.0K 460.3M 4096
/mnt/media_rw 460.3M 0.0K 460.3M 4096
/storage/usbotg 460.3M 0.0K 460.3M 4096
/storage/emulated 460.3M 0.0K 460.3M 4096
/system 2.7G 2.1G 664.4M 4096
/data 3.4G 1.0G 2.4G 4096
/cache 488.2M 956.0K 487.3M 4096
/protect_f 5.8M 60.0K 5.8M 4096
/protect_s 5.8M 56.0K 5.8M 4096
/nvdata 27.5M 2.2M 25.3M 4096
/mnt/cd-rom 8.8M 8.8M 0.0K 2048
/mnt/shell/emulated 3.4G 1.0G 2.4G 4096

<< output of blkid>>

127|shell@B506_TW:/ # blkid
/dev/block/zram0: TYPE="swap"
/dev/block/loop0: LABEL="B506_TW" TYPE="iso9660"
/dev/block/loop1: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p3: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p4: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p18: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p20: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p21: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p22: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

<< output of cat /proc/partitions>>

127|shell@B506_TW:/ $ cat /proc/partitions
major minor #blocks name

254 0 475136 zram0
7 0 8988 loop0
179 0 7389184 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 10240 mmcblk0p10
179 11 512 mmcblk0p11
179 12 2048 mmcblk0p12
179 13 6144 mmcblk0p13
179 14 8192 mmcblk0p14
179 15 5120 mmcblk0p15
179 16 5120 mmcblk0p16
179 17 1024 mmcblk0p17
179 18 32768 mmcblk0p18
179 19 37888 mmcblk0p19
179 20 2973696 mmcblk0p20
179 21 516096 mmcblk0p21
179 22 3702272 mmcblk0p22
179 23 16384 mmcblk0p23
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0

<< output of ls -al /dev/block/platform/mtk-msdc.0/by-name/>>

shell@B506_TW:/ # ls -al /dev/block/platform/mtk-msdc.0/by-name/
lrwxrwxrwx root root 2010-01-01 08:41 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2010-01-01 08:41 cache -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2010-01-01 08:41 expdb -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2010-01-01 08:41 flashinfo -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2010-01-01 08:41 frp -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2010-01-01 08:41 keystore -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2010-01-01 08:41 lk -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2010-01-01 08:41 logo -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2010-01-01 08:41 metadata -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2010-01-01 08:41 nvdata -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2010-01-01 08:41 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2010-01-01 08:41 oemkeystore -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2010-01-01 08:41 para -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2010-01-01 08:41 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2010-01-01 08:41 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2010-01-01 08:41 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2010-01-01 08:41 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2010-01-01 08:41 seccfg -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2010-01-01 08:41 secro -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2010-01-01 08:41 system -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2010-01-01 08:41 tee1 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2010-01-01 08:41 tee2 -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2010-01-01 08:41 userdata -> /dev/block/mmcblk0p22

<< output of fdisk -l /dev/block/mmcblk0>>

1|shell@B506_TW:/ # /data/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: 7566 MB, 7566524416 bytes, 14778368 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 14778367 7389183+ ee GPT

<< output of gdisk -l /dev/block/mmcblk0>>

shell@B506_TW:/ # /data/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: 14778368 sectors, 7.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 23 entries
First usable sector is 1024, last usable sector is 14777343
Partitions will be aligned on 1024-sector boundaries
Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name
1 1024 7167 3.0 MiB 0700 proinfo
2 7168 17407 5.0 MiB 0700 nvram
3 17408 37887 10.0 MiB 0700 protect1
4 37888 58367 10.0 MiB 0700 protect2
5 58368 59391 512.0 KiB 0700 lk
6 59392 60415 512.0 KiB 0700 para
7 60416 93183 16.0 MiB 0700 boot
8 93184 125951 16.0 MiB 0700 recovery
9 125952 142335 8.0 MiB 0700 logo
10 142336 162815 10.0 MiB 0700 expdb
11 162816 163839 512.0 KiB 0700 seccfg
12 163840 167935 2.0 MiB 0700 oemkeystore
13 167936 180223 6.0 MiB 0700 secro
14 180224 196607 8.0 MiB 0700 keystore
15 196608 206847 5.0 MiB 0700 tee1
16 206848 217087 5.0 MiB 0700 tee2
17 217088 219135 1024.0 KiB 0700 frp
18 219136 284671 32.0 MiB 0700 nvdata
19 284672 360447 37.0 MiB 0700 metadata
20 360448 6307839 2.8 GiB 0700 system
21 6307840 7340031 504.0 MiB 0700 cache
22 7340032 14744575 3.5 GiB 0700 userdata
23 14744576 14777343 16.0 MiB 0700 flashinfo

If Google bring you here, good luck to you.

This is a development thread, not a support thread. Do not ask for help with raw image files.