[OnePlus 3 Guides, News, & Discussion] dekefake:
Hi !

I rescently flashed a zip on OP3 i made for my good old Nexus 5, but it failed, as it didnt mounted system and set_perms had failed so.

So i started to dig in /dev/block to find where were the system partition and the idea of searching for full partition table crossed my head.

So here's what i found :

Partitions names are here :

/dev/block/platform/soc/624000.ufshc/by-name

What i wrote on terminal, using adb shell with root access :

root@OnePlus3:/ # ls -al /dev/block/platform/soc/624000.ufshc/by-name
lrwxrwxrwx root root 1970-01-18 10:20 LOGO -> /dev/block/sde17
lrwxrwxrwx root root 1970-01-18 10:20 aboot -> /dev/block/sde15
lrwxrwxrwx root root 1970-01-18 10:20 abootbak -> /dev/block/sde16
lrwxrwxrwx root root 1970-01-18 10:20 apdp -> /dev/block/sde30
lrwxrwxrwx root root 1970-01-18 10:20 bluetooth -> /dev/block/sde23
lrwxrwxrwx root root 1970-01-18 10:20 boot -> /dev/block/sde18
lrwxrwxrwx root root 1970-01-18 10:20 boot_aging -> /dev/block/sde19
lrwxrwxrwx root root 1970-01-18 10:20 cache -> /dev/block/sda3
lrwxrwxrwx root root 1970-01-18 10:20 cdt -> /dev/block/sdd2
lrwxrwxrwx root root 1970-01-18 10:20 cmnlib -> /dev/block/sde26
lrwxrwxrwx root root 1970-01-18 10:20 cmnlib64 -> /dev/block/sde28
lrwxrwxrwx root root 1970-01-18 10:20 cmnlib64bak -> /dev/block/sde29
lrwxrwxrwx root root 1970-01-18 10:20 cmnlibbak -> /dev/block/sde27
lrwxrwxrwx root root 1970-01-18 10:20 config -> /dev/block/sda14
lrwxrwxrwx root root 1970-01-18 10:20 ddr -> /dev/block/sdd3
lrwxrwxrwx root root 1970-01-18 10:20 devcfg -> /dev/block/sda6
lrwxrwxrwx root root 1970-01-18 10:20 devcfgbak -> /dev/block/sda7
lrwxrwxrwx root root 1970-01-18 10:20 devinfo -> /dev/block/sde22
lrwxrwxrwx root root 1970-01-18 10:20 dip -> /dev/block/sde13
lrwxrwxrwx root root 1970-01-18 10:20 dpo -> /dev/block/sde32
lrwxrwxrwx root root 1970-01-18 10:20 dsp -> /dev/block/sde12
lrwxrwxrwx root root 1970-01-18 10:20 frp -> /dev/block/sda8
lrwxrwxrwx root root 1970-01-18 10:20 fsc -> /dev/block/sdf3
lrwxrwxrwx root root 1970-01-18 10:20 fsg -> /dev/block/sde7
lrwxrwxrwx root root 1970-01-18 10:20 hyp -> /dev/block/sde5
lrwxrwxrwx root root 1970-01-18 10:20 hypbak -> /dev/block/sde6
lrwxrwxrwx root root 1970-01-18 10:20 keymaster -> /dev/block/sde24
lrwxrwxrwx root root 1970-01-18 10:20 keymasterbak -> /dev/block/sde25
lrwxrwxrwx root root 1970-01-18 10:20 keystore -> /dev/block/sda5
lrwxrwxrwx root root 1970-01-18 10:20 md5 -> /dev/block/sdf4
lrwxrwxrwx root root 1970-01-18 10:20 mdtp -> /dev/block/sde14
lrwxrwxrwx root root 1970-01-18 10:20 misc -> /dev/block/sda4
lrwxrwxrwx root root 1970-01-18 10:20 modem -> /dev/block/sde11
lrwxrwxrwx root root 1970-01-18 10:20 modemst1 -> /dev/block/sdf1
lrwxrwxrwx root root 1970-01-18 10:20 modemst2 -> /dev/block/sdf2
lrwxrwxrwx root root 1970-01-18 10:20 msadp -> /dev/block/sde31
lrwxrwxrwx root root 1970-01-18 10:20 oem_dycnvbk -> /dev/block/sda9
lrwxrwxrwx root root 1970-01-18 10:20 oem_stanvbk -> /dev/block/sda10
lrwxrwxrwx root root 1970-01-18 10:20 param -> /dev/block/sda11
lrwxrwxrwx root root 1970-01-18 10:20 persist -> /dev/block/sda2
lrwxrwxrwx root root 1970-01-18 10:20 pmic -> /dev/block/sde9
lrwxrwxrwx root root 1970-01-18 10:20 pmicbak -> /dev/block/sde10
lrwxrwxrwx root root 1970-01-18 10:20 recovery -> /dev/block/sde21
lrwxrwxrwx root root 1970-01-18 10:20 reserve -> /dev/block/sdd1
lrwxrwxrwx root root 1970-01-18 10:20 reserve1 -> /dev/block/sda12
lrwxrwxrwx root root 1970-01-18 10:20 reserve2 -> /dev/block/sda13
lrwxrwxrwx root root 1970-01-18 10:20 rpm -> /dev/block/sde1
lrwxrwxrwx root root 1970-01-18 10:20 rpmbak -> /dev/block/sde2
lrwxrwxrwx root root 1970-01-18 10:20 sec -> /dev/block/sde8
lrwxrwxrwx root root 1970-01-18 10:20 splash -> /dev/block/sde33
lrwxrwxrwx root root 1970-01-18 10:20 ssd -> /dev/block/sda1
lrwxrwxrwx root root 1970-01-18 10:20 sti -> /dev/block/sde34
lrwxrwxrwx root root 1970-01-18 10:20 system -> /dev/block/sde20
lrwxrwxrwx root root 1970-01-18 10:20 tz -> /dev/block/sde3
lrwxrwxrwx root root 1970-01-18 10:20 tzbak -> /dev/block/sde4
lrwxrwxrwx root root 1970-01-18 10:20 userdata -> /dev/block/sda15
lrwxrwxrwx root root 1970-01-18 10:20 xbl -> /dev/block/sdb1
lrwxrwxrwx root root 1970-01-18 10:20 xblbak -> /dev/block/sdc1

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

7 0 98304 loop0
8 0 56582144 sda
8 1 8 sda1
8 2 32768 sda2
8 3 262144 sda3
8 4 1024 sda4
8 5 512 sda5
8 6 128 sda6
8 7 128 sda7
8 8 512 sda8
8 9 10240 sda9
8 10 10240 sda10
8 11 1024 sda11
8 12 8096 sda12
8 13 16192 sda13
8 14 512 sda14
8 15 56238572 sda15
8 16 4096 sdb
8 17 4052 sdb1
8 32 4096 sdc
8 33 4052 sdc1
8 80 1572864 sdf
8 81 2048 sdf1
8 82 2048 sdf2
8 83 4 sdf3
8 84 512 sdf4
8 64 4194304 sde
8 65 512 sde1
8 66 512 sde2
8 67 2048 sde3
8 68 2048 sde4
8 69 512 sde5
8 70 512 sde6
8 71 2048 sde7
8 72 16 sde8
8 73 512 sde9
8 74 512 sde10
8 75 97280 sde11
8 76 16384 sde12
8 77 1024 sde13
8 78 32768 sde14
8 79 8192 sde15
259 0 8192 sde16
259 1 16384 sde17
259 2 65536 sde18
259 3 65536 sde19
259 4 3080192 sde20
259 5 65536 sde21
259 6 4 sde22
259 7 1024 sde23
259 8 512 sde24
259 9 512 sde25
259 10 256 sde26
259 11 256 sde27
259 12 256 sde28
259 13 256 sde29
259 14 256 sde30
259 15 256 sde31
259 16 4 sde32
259 17 33424 sde33
259 18 2048 sde34
8 48 131072 sdd
8 49 32 sdd1
8 50 4 sdd2
8 51 1024 sdd3

I assigned each partition with its space, in kb, to get the full partition table :

Size (in Kb)	Partitions names and paths

---------------------------------------------------------

98304	loop0

---------------------------------------------------------

56582144	sda

8	ssd -> /dev/block/sda1[B]
32768	persist -> /dev/block/sda2
262144	cache -> /dev/block/sda3[/B]
1024	misc -> /dev/block/sda4
512	keystore -> /dev/block/sda5
128	devcfg -> /dev/block/sda6
128	devcfgbak -> /dev/block/sda7
512	frp -> /dev/block/sda8
10240	oem_dycnvbk -> /dev/block/sda9
10240	oem_stanvbk -> /dev/block/sda10
1024	param -> /dev/block/sda11
8096	reserve1 -> /dev/block/sda12
16192	reserve2 -> /dev/block/sda13
512	config -> /dev/block/sda14[B]
56238572	userdata -> /dev/block/sda15[/B]

---------------------------------------------------------

4096	sdb

4052	xbl -> /dev/block/sdb1

---------------------------------------------------------

4096	sdc

4052	xblbak -> /dev/block/sdc1

---------------------------------------------------------

131072	sdd

32	reserve -> /dev/block/sdd1
4	cdt -> /dev/block/sdd2
1024	ddr -> /dev/block/sdd3

---------------------------------------------------------

4194304	sde

512	rpm -> /dev/block/sde1
512	rpmbak -> /dev/block/sde2
2048	tz -> /dev/block/sde3
2048	tzbak -> /dev/block/sde4
512	hyp -> /dev/block/sde5
512	hypbak -> /dev/block/sde6
2048	fsg -> /dev/block/sde7
16	sec -> /dev/block/sde8
512	pmic -> /dev/block/sde9
512	pmicbak -> /dev/block/sde10
97280	modem -> /dev/block/sde11
16384	dsp -> /dev/block/sde12
1024	dip -> /dev/block/sde13
32768	mdtp -> /dev/block/sde14
8192	aboot -> /dev/block/sde15
8192	abootbak -> /dev/block/sde16
16384	LOGO -> /dev/block/sde17[B]
65536	boot -> /dev/block/sde18[/B]
65536	boot_aging -> /dev/block/sde19[B]
3080192	system -> /dev/block/sde20
65536	recovery -> /dev/block/sde21[/B]
4	devinfo -> /dev/block/sde22
1024	bluetooth -> /dev/block/sde23
512	keymaster -> /dev/block/sde24
512	keymasterbak -> /dev/block/sde25
256 cmnlib -> /dev/block/sde26
256	cmnlibbak -> /dev/block/sde27
256 cmnlib64 -> /dev/block/sde28
256	cmnlib64bak -> /dev/block/sde29
256 apdp -> /dev/block/sde30
256 msadp -> /dev/block/sde31
4	dpo -> /dev/block/sde32
33424	splash -> /dev/block/sde33
2048	sti -> /dev/block/sde34

---------------------------------------------------------

1572864	sdf
[B]
2048 modemst1 -> /dev/block/sdf1 (EFS1, I suppose)
2048	modemst2 -> /dev/block/sdf2 (EFS2, I suppose) [/B]
4	fsc -> /dev/block/sdf3
512	md5 -> /dev/block/sdf4