[OnePlus 2 Q&A, Help & Troubleshooting] KYKYLLIKA:
Hello, everyone.

Since the ROM version on my OPT is not available for download (I got a phone with Oxygen 2.0.3), I decided to make a flashable image. This is the first time I do this, and I am kind of lost.

From this guide, I gathered that I need to find boot, kernel, system and misc partitions. Here are the partitions on OPT:

ls -al /dev/block/platform/f9824900.sdhci/by-name

lrwxrwxrwx root root 1970-01-24 09:32 DDR -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-24 09:32 DRIVER -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-24 09:32 LOGO -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-24 09:32 aboot -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-24 09:32 abootbak -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-24 09:32 apdp -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-24 09:32 bluetooth -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-24 09:32 boot -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-24 09:32 cache -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 1970-01-24 09:32 config -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 1970-01-24 09:32 devinfo -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-24 09:32 dpo -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-24 09:32 fsc -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-24 09:32 fsg -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-24 09:32 hyp -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-24 09:32 hypbak -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-24 09:32 keystore -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-24 09:32 limits -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-24 09:32 misc -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-24 09:32 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-24 09:32 modemst1 -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-24 09:32 modemst2 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-24 09:32 msadp -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-24 09:32 oem_dycnvbk -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-24 09:32 oem_stanvbk -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-24 09:32 param -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-24 09:32 persist -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-24 09:32 pmic -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-24 09:32 pmicbak -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-24 09:32 recovery -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-24 09:32 reserve1 -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-24 09:32 reserve2 -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-24 09:32 rpm -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-24 09:32 rpmbak -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-24 09:32 sbl1 -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-24 09:32 sbl1bak -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-24 09:32 sdi -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-24 09:32 sec -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-24 09:32 ssd -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-24 09:32 system -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 1970-01-24 09:32 tz -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-24 09:32 tzbak -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-24 09:32 userdata -> /dev/block/mmcblk0p43

I see boot, system, and misc, but no kernel (there is kernel in the file system, though, I imagine it could be part of system), and I also see a bunch of strange names and a bunch of important-looking names.

Something tells me that Driver, DDR, Logo are somehow important and then there are modem and stuff, and tz looks important enough to back it up. Does anyone know what this all means? I saw links to stock Oxygen ROMs, so I imagine someone knows how to dump it.