[OnePlus 2 Original Android Development] KYKYLLIKA:
That’d be the log:

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/98afbe6a'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usbstorage'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/98afbe6a'
I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-01--01-46-34
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: Setting time offset from file /data/time/ats_2, offset 1498046506032
I:TWFunc::Fixup_Time: Date and time corrected: 2017-06-21--13-48-20
I:Check_Lifetime_Writes result: '285296'
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537
MTP Enabled
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
Using '/dev/mtp_usb' for MTP device.
created new mtpserver object
MtpServer::run fd: 18
mtppipe add storage 65537 '/data/media/0'
MtpStorage id: 65537 path: /data/media/0
I:Set page: 'settings'
I:Set page: 'settings_timezone'
I:Set page: 'settings_screen'
I:Set page: 'settings_vibration'
I:Set page: 'settings_language'
I:Set page: 'settings'
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'settings'
I:Set page: 'settings_timezone'
I:Set page: 'settings_screen'
I:Set page: 'settings_vibration'
I:Set page: 'settings_language'
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/fk-r8-anykernel2.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.

Archive: /sdcard/fk-r8-anykernel2.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: README.md
inflating: anykernel.sh
inflating: ramdisk/fstab.qcom
inflating: ramdisk/init.fk.rc
inflating: ramdisk/init.performance_profiles.rc
inflating: ramdisk/init.special_power.sh
inflating: ramdisk/init.supolicy.sh
inflating: tools/ak2-core.sh
inflating: tools/busybox
inflating: tools/mkbootfs
inflating: tools/mkbootimg
inflating: tools/unpackbootimg
inflating: zImage
franco.Kernel by franciscofranco @ xda-developers

AnyKernel2 by osm0sis @ xda-developers

Checking device...
OnePlus2

Installing kernel...
/tmp/anykernel/anykernel.sh: line 6: kernel.string=franco.Kernel: not found
/tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found
/tmp/anykernel/anykernel.sh: line 8: do.initd=0: not found
/tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found
/tmp/anykernel/anykernel.sh: line 10: do.cleanup=1: not found
/tmp/anykernel/anykernel.sh: line 11: do.cleanuponabort=1: not found
/tmp/anykernel/anykernel.sh: line 12: device.name1=OnePlus2: not found
/tmp/anykernel/anykernel.sh: line 13: device.name2=oneplus2: not found

Invalid partition. Aborting...
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/sdcard/fk-r8-anykernel2.zip'
Updating partition details...
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Data backup size is 3046MB, free: 20483MB.
I:sending message to remove 65537
I:Message sent, remove storage ID: 65537
mtppipe remove storage 65537
I:Unable to mount '/usbstorage'
I:Actual block device: '', current file system: 'vfat'
...done
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Set page: 'flash_done'
I:operation_end - status=1
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

Looks like this is the problematic part:

Installing kernel...
/tmp/anykernel/anykernel.sh: line 6: kernel.string=franco.Kernel: not found
/tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found
/tmp/anykernel/anykernel.sh: line 8: do.initd=0: not found
/tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found
/tmp/anykernel/anykernel.sh: line 10: do.cleanup=1: not found
/tmp/anykernel/anykernel.sh: line 11: do.cleanuponabort=1: not found
/tmp/anykernel/anykernel.sh: line 12: device.name1=OnePlus2: not found
/tmp/anykernel/anykernel.sh: line 13: device.name2=oneplus2: not found