[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Thanks

still having the same issue though when i try to leave stock.

1. flashed twrp

2. flashed firmware (on dl page for this ROM)

3. flashed ROM

Maybe I should do #2 first? idk

Documenting - back to OOS

1. flash OOS stock kernal

2. flash OOS Recovery (twrp won't allow me to install OOS)

3. sideload OOS

4. boot into OOS

Documenting attempt to lineage

1. start dev options in OOS

2. fastboot - install recovery

3. reboot to twrp

4. format data, wipe data (prob unnecessary), reboot to twrp

5. copy firmware + ROM (from this thread); copy gapps

6. flash firmware (no errors) then reboot

7. flash lineage-14.1-20170621-flo071-oneplus3.zip

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Starting TWRP 3.0.2-1 on Sun May 31 10:14:11 1970

(pid 433)

BOARD_HAS_NO_REAL_SDCARD := true

RECOVERY_SDCARD_ON_DATA := true

I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled

TW_INCLUDE_CRYPTO := true

I:TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness

I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'

I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'

I:TWFunc::Set_Brightness: Setting brightness control to 80

I:LANG: en

Starting the UI...Overlay graphics may work (mdssfb_90000), but not enabled. Use TW_TARGET_USES_QCOM_BSP := true to enable.

setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565

cannot find/open a drm device: No such file or directory

fb0 reports (possibly inaccurate):

vi.bits_per_pixel = 32

vi.red.offset = 0 .length = 8

vi.green.offset = 8 .length = 8

vi.blue.offset = 16 .length = 8

setting GGL_PIXEL_FORMAT_RGBA_8888

double buffered

framebuffer: 0 (1080 x 1920)

Using fbdev graphics.

I:TWFunc::Set_Brightness: Setting brightness control to 80

I:Loading package: splash (/twres/splash.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly

I:Checking resolution...

I:Loading resources...

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Loading page splash

I:Switching packages (splash)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/boot'

I:Processing '/cache'

I:Processing '/data'

I:Processing '/recovery'

I:Processing '/system'

I:Processing '/system_image'

I:Processing '/efs1'

I:Processing '/efs2'

I:Processing '/usb_otg'

I:Created '/usb_otg' folder.

I:Setting up '/data' as data/media emulated storage.

I:Created '/sdcard' folder.

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:Setting up '/data' as data/media emulated storage.

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:Backup folder set to '/data/media/TWRP/BACKUPS/817a1e90'

I:Settings storage is '/data/media'

I:Decrypt adopted storage starting

I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly

Updating partition details...

I:Data backup size is 0MB, free: 53974MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Unmounting main partitions...

Partition Logs:

/boot | /dev/block/sde18 | Size: 64MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/sde18

Display_Name: Boot

Storage_Name: boot

Backup_Path: /boot

Backup_Name: boot

Backup_Display_Name: Boot

Storage_Path: /boot

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/cache | /dev/block/sda3 | Size: 247MB Used: 0MB Free: 247MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/sda3

Display_Name: Cache

Storage_Name: Cache

Backup_Path: /cache

Backup_Name: cache

Backup_Display_Name: Cache

Storage_Path: /cache

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/data | /dev/block/sda15 | Size: 54918MB Used: 0MB Free: 53974MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage

Symlink_Path: /data/media

Symlink_Mount_Point: /sdcard

Primary_Block_Device: /dev/block/sda15

Length: -16384

Display_Name: Data

Storage_Name: Internal Storage

Backup_Path: /data

Backup_Name: data

Backup_Display_Name: Data

Storage_Path: /data/media

Current_File_System: f2fs

Fstab_File_System: f2fs

Backup_Method: files

MTP_Storage_ID: 65537

/recovery | /dev/block/sde21 | Size: 64MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/sde21

Display_Name: Recovery

Storage_Name: recovery

Backup_Path: /recovery

Backup_Name: recovery

Backup_Display_Name: Recovery

Storage_Path: /recovery

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/system | /dev/block/sde20 | Size: 2868MB Used: 1998MB Free: 869MB Backup Size: 1998MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/sde20

Display_Name: System

Storage_Name: System

Backup_Path: /system

Backup_Name: system

Backup_Display_Name: System

Storage_Path: /system

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/system_image | /dev/block/sde20 | Size: 3008MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/sde20

Display_Name: System Image

Storage_Name: system_image

Backup_Path: /system_image

Backup_Name: system_image

Backup_Display_Name: System Image

Storage_Path: /system_image

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/efs1 | /dev/block/sdf1 | Size: 2MB

Flags: Can_Be_Backed_Up Has_SubPartition IsPresent

Primary_Block_Device: /dev/block/sdf1

Display_Name: EFS

Storage_Name: EFS

Backup_Path: /efs1

Backup_Name: efs1

Backup_Display_Name: EFS

Storage_Path: /efs1

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/efs2 | /dev/block/sdf2 | Size: 2MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /efs1

Primary_Block_Device: /dev/block/sdf2

Display_Name: efs2

Storage_Name: efs2

Backup_Path: /efs2

Backup_Name: efs2

Backup_Display_Name: efs2

Storage_Path: /efs2

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/usb_otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage

Primary_Block_Device: /dev/block/sdg1

Alternate_Block_Device: /dev/block/sdg

Display_Name: USB-OTG

Storage_Name: USB-OTG

Backup_Path: /usb_otg

Backup_Name: usb_otg

Backup_Display_Name: USB-OTG

Storage_Path: /usb_otg

Current_File_System: vfat

Fstab_File_System: vfat

Backup_Method: files

MTP_Storage_ID: 65538

I:Loading package: TWRP (/data/media/TWRP/theme/ui.zip)

I:Loading zip theme

I:Loading package: TWRP (/twres/ui.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_TW.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_CN.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ja.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

parsing languageFile

parsing languageFile done

I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly

I:Checking resolution...

I:Loading resources...

I:Failed to load image from indeterminate013, error -1

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Including file: /twres/portrait.xml...

I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly

I:Loading resources...

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Loading page main

I:Loading page main2

I:Loading page install

I:Loading page flash_confirm

I:Loading page flash_zip

I:Loading page flash_done

I:Loading page flashimage_confirm

I:Loading page clear_vars

I:Loading page confirm_action

I:Loading page action_page

I:Loading page singleaction_page

I:Loading page action_complete

I:Loading page filecheck

I:Loading page rebootcheck

I:Loading page wipe

I:Loading page advancedwipe

I:Loading page formatdata

I:Loading page formatdata_confirm

I:Loading page checkpartitionlist

I:Loading page partitionoptions

I:Loading page refreshfilesystem

I:Loading page selectfilesystem

I:Loading page backup

I:Loading page backup_options

I:Loading page backupname1

I:Loading page backupname2

I:Loading page backupencryption

I:Loading page backupencryption2

I:Loading page checkbackuppassword

I:Loading page backup_run

I:Loading page restore

I:Unable to open '/data/media/TWRP/BACKUPS/817a1e90'

I:Loading page restore_read

I:Loading page restore_decrypt

I:Loading page try_restore_decrypt

I:Loading page restore_select

I:Loading page renamebackup

I:Loading page restore_run

I:Loading page mount

I:Loading page usb_mount

I:Loading page usb_umount

I:Loading page system_readonly_check

I:Loading page reboot

I:Loading page system_readonly

I:Loading page settings

I:Loading page settings_timezone

I:Loading page settings_screen

I:Loading page settings_vibration

I:Loading page settings_language

I:Loading page advanced

I:Loading page partsdcardsel

I:Loading page partsdcardcheck

I:Loading page partsdcard

I:Loading page htcdumlock

I:Loading page lock

I:Loading page filemanagerlist

I:Loading page filemanageroptions

I:Loading page choosedestinationfolder

I:Loading page filemanagerrenamefile

I:Loading page filemanagerrenamefolder

I:Loading page filemanagerchmod

I:Loading page filemanagerconfirm

I:Loading page filemanageraction

I:Loading page decrypt

I:Loading page decrypt_pattern

I:Loading page trydecrypt

I:Loading page terminalcommand

I:Loading page sideload

I:Loading page fixcontexts

I:Loading page installsu

I:Loading page slideout

I:Loading page select_storage

I:Loading page select_language

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Switching packages (TWRP)

SELinux contexts loaded from /file_contexts

Full SELinux support is present.

I:Not using /misc, not defined in fstab.

I:Not using /misc, not defined in fstab.

Startup Commands:

ro.cm.build.version.plat.rev=0

ro.cm.build.version.plat.sdk=5

ro.cm.device=oneplus3

ro.cm.display.version=13.0-20160804-UNOFFICIAL-oneplus3

ro.cm.version=13.0-20160804-UNOFFICIAL-oneplus3

ro.cm.releasetype=UNOFFICIAL

ro.com.google.clientidbase=android-oneplus

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=false

ro.com.android.wifi-watchlist=GoogleGuest

ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html

ro.boot.mode=recovery

ro.boot.angela=disabled

ro.boot.nobatt=0

ro.boot.secboot=enabled

ro.boot.selinux=permissive

ro.boot.baseband=msm

ro.boot.ftm_mode=ftm_recovery

ro.boot.hardware=qcom

ro.boot.serialno=817a1e90

ro.boot.keymaster=1

ro.boot.bootdevice=624000.ufshc

ro.boot.hw_version=16

ro.boot.rf_version=31

ro.boot.veritymode=logging

ro.boot.pcba_number=001580306521032100009555

ro.boot.rpmb_enable=true

ro.boot.project_name=15801

ro.boot.enable_dm_verity=1

ro.twrp.boot=1

ro.twrp.version=3.0.2-1

ro.wifi.channels=

ro.allow.mock.location=1

ro.board.platform=msm8996

ro.build.id=MMB29M

ro.build.date=Thu Aug 4 09:14:14 EDT 2016

ro.build.date.utc=1470316454

ro.build.host=build

ro.build.tags=test-keys

ro.build.type=eng

ro.build.user=jenkins

ro.build.flavor=cm_oneplus3-eng

ro.build.display.id=OnePlus3-eng 6.0.1 MMB29M 123bd1a616 test-keys

ro.build.product=OnePlus3

ro.build.selinux=1

ro.build.version.sdk=23

ro.build.version.base_os=

ro.build.version.release=6.0.1

ro.build.version.codename=REL

ro.build.version.incremental=123bd1a616

ro.build.version.preview_sdk=0

ro.build.version.all_codenames=REL

ro.build.version.security_patch=2015-12-01

ro.build.description=OnePlus3-user 6.0.1 MMB29M 42 dev-keys

ro.build.fingerprint=OnePlus/OnePlus3/OnePlus3:6.0.1/MMB29M/213690:user/release-keys

ro.build.characteristics=default

ro.config.ringtone=Orion.ogg

ro.config.alarm_alert=Helium.ogg

ro.config.notification_sound=Argon.ogg

ro.dalvik.vm.native.bridge=0

ro.kernel.android.checkjni=1

ro.secure=0

ro.zygote=zygote64_32

ro.carrier=unknown

ro.cmlegal.url=https://cyngn.com/legal/privacy-policy

ro.display.series=OnePlus 3

ro.product.cpu.abi=arm64-v8a

ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi

ro.product.cpu.abilist32=armeabi-v7a,armeabi

ro.product.cpu.abilist64=arm64-v8a

ro.product.name=OnePlus3

ro.product.board=MSM8996

ro.product.brand=OnePlus

ro.product.model=ONE A3000

ro.product.device=OnePlus3

ro.product.locale=en-US

ro.product.manufacturer=OnePlus

ro.baseband=msm

ro.bootmode=recovery

ro.hardware=qcom

ro.revision=0

ro.serialno=817a1e90

ro.bootimage.build.date=Thu Aug 4 09:14:31 EDT 2016

ro.bootimage.build.date.utc=1470316471

ro.bootimage.build.fingerprint=OnePlus/OnePlus3/OnePlus3:6.0.1/MMB29M/123bd1a616:eng/test-keys

ro.alarm_boot=false

ro.bootloader=unknown

ro.debuggable=1

ro.modversion=13.0-20160804-UNOFFICIAL-oneplus3

ro.rommanager.developerid=cyanogenmod

ro.setupwizard.enterprise_mode=1

net.bt.name=Android

net.change=net.bt.name

sys.usb.ffs.ready=1

init.svc.adbd=running

init.svc.healthd=running

init.svc.ueventd=running

init.svc.recovery=running

init.svc.set_permissive=stopped

twrp.crash_counter=0

twrp.action_complete=0

debug.atrace.tags.enableflags=0

media.sf.omx-plugin=libffmpeg_omx.so

media.sf.extractor-plugin=libffmpeg_extractor.so

dalvik.vm.isa.arm.variant=cortex-a53

dalvik.vm.isa.arm.features=default

dalvik.vm.isa.arm64.variant=kryo

dalvik.vm.isa.arm64.features=default

dalvik.vm.usejit=true

dalvik.vm.lockprof.threshold=500

dalvik.vm.dex2oat-Xms=64m

dalvik.vm.dex2oat-Xmx=512m

dalvik.vm.dex2oat-filter=verify-at-runtime

dalvik.vm.stack-trace-file=/data/anr/traces.txt

dalvik.vm.image-dex2oat-Xms=64m

dalvik.vm.image-dex2oat-Xmx=64m

dalvik.vm.image-dex2oat-filter=verify-at-runtime

persist.sys.dun.override=0

persist.sys.usb.config=adb

persist.sys.dalvik.vm.lib.2=libart.so

persist.sys.root_access=0

persist.sys.recovery_update=false

service.adb.root=1

keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log

tw_get_context got selinux context: u:object_r:unlabeled:s0

I:Got default contexts and file mode for storage files.

I:Attempt to load settings from settings file...

I:InfoManager file '/data/media/TWRP/.twrps' not found.

I:Backup folder set to '/data/media/TWRP/BACKUPS/817a1e90'

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

I:TWFunc::Set_Brightness: Setting brightness control to 80

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/TWRP/BACKUPS/817a1e90'

I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-05-31--05-14-12

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: no ats files found, leaving untouched!

I:Enabling MTP during startup

I:Starting MTP

Starting MTP

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

MTP Enabled

I:Switching packages (TWRP)

I:Set page: 'system_readonly'

created new mtpserver object

MtpServer::run fd: 19

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

I:Is_Mounted: Unable to find partition for path '/vendor'

I:operation_start: 'Toggle System Mount'

I:operation_end - status=1

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Switching packages (TWRP)

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: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing zip file '/sdcard/TWRP/lineage-14.1-20170621-flo071-oneplus3.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.

Comparing TZ version TZ.BF.4.0.1-85373 to TZ.BF.4.0.1-76917

Comparing TZ version TZ.BF.4.0.1-85373 to TZ.BF.4.0.1-76917script aborted: assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-85373") == "1"

assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-85373") == "1"

Updater process ended with ERROR: 7

I:Legacy property environment disabled.

Error installing zip file '/sdcard/TWRP/lineage-14.1-20170621-flo071-oneplus3.zip'

Updating partition details...

I:Data backup size is 0MB, free: 53387MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

I:Set page: 'confirm_action'

I:Set page: 'action_page'

I:operation_start: 'Format'

Formatting Cache using make_ext4fs...

Creating filesystem with parameters:

Size: 268435456

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 65536

Block groups: 2

Reserved block group size: 15

Created filesystem with 11/16384 inodes and 2089/65536 blocks

warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:Recreating /cache/recovery folder.

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

Updating partition details...

I:Data backup size is 0MB, free: 53387MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=0

I:operation_start: 'Format'

Wiping Dalvik Cache Directories...

-- Dalvik Cache Directories Wipe Complete!

Updating partition details...

I:Data backup size is 0MB, free: 53387MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:operation_end - status=0

I:Set page: 'clear_vars'

I:Set page: 'flash_done'

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

E:endSendObject() failed, unlinking /data/media/TWRP/OnePlus3Oxygen_16_OTA_054_all_1706101914_1ab24f4be6e74def.zip

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 80

I:Set overlay: ''

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'wipe'

I:Set page: 'action_page'

I:operation_start: 'Format'

Formatting cache using make_ext4fs...

Creating filesystem with parameters:

Size: 268435456

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 65536

Block groups: 2

Reserved block group size: 15

Created filesystem with 11/16384 inodes and 2089/65536 blocks

warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:Recreating /cache/recovery folder.

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

Wiping data without wiping /data/media ...

I:skipped '/data/media'

Done.

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

Updating partition details...

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

E:MtpServer::addStorage Storage for storage ID 65537 already exists.

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=0

I:Set page: 'clear_vars'

I:Set page: 'wipe'

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/TWRP/OOS416-stock-kernel-OnePlus3-recovery.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.

Flashing stock kernel

minzip: Extracted 14 file(s)

(c) Lord Boeffla (aka andip71), 2016.09.21

Finished, please reboot.

script succeeded: result was [Finished, please reboot.]I:Updater process ended with RC=0

I:Legacy property environment disabled.

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'flash_done'

I:operation_end - status=0

I:Set page: 'confirm_action'

I:Set page: 'action_page'

I:operation_start: 'Format'

Formatting cache using make_ext4fs...

Creating filesystem with parameters:

Size: 268435456

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 65536

Block groups: 2

Reserved block group size: 15

Created filesystem with 11/16384 inodes and 2089/65536 blocks

warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:Recreating /cache/recovery folder.

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=0

I:operation_start: 'Format'

Wiping Dalvik Cache Directories...

-- Dalvik Cache Directories Wipe Complete!

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:operation_end - status=0

I:Set page: 'clear_vars'

I:Set page: 'flash_done'

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing zip file '/sdcard/TWRP/lineage-14.1-20170621-flo071-oneplus3.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.

Comparing TZ version TZ.BF.4.0.1-85373 to TZ.BF.4.0.1-76917

Comparing TZ version TZ.BF.4.0.1-85373 to TZ.BF.4.0.1-76917script aborted: assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-85373") == "1"

assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-85373") == "1"

Updater process ended with ERROR: 7

I:Legacy property environment disabled.

Error installing zip file '/sdcard/TWRP/lineage-14.1-20170621-flo071-oneplus3.zip'

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

I:Set page: 'confirm_action'

I:Set page: 'action_page'

I:operation_start: 'Format'

Formatting cache using make_ext4fs...

Creating filesystem with parameters:

Size: 268435456

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 65536

Block groups: 2

Reserved block group size: 15

Created filesystem with 11/16384 inodes and 2089/65536 blocks

warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:Recreating /cache/recovery folder.

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=0

I:operation_start: 'Format'

Wiping Dalvik Cache Directories...

-- Dalvik Cache Directories Wipe Complete!

Updating partition details...

I:Data backup size is 0MB, free: 53374MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:operation_end - status=0

I:Set page: 'clear_vars'

I:Set page: 'flash_done'

I:Set page: 'confirm_action'

I:Set page: 'clear_vars'

I:Set page: 'flash_done'

I:Set page: 'clear_vars'

I:Set page: 'install'

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 80

I:Set overlay: ''

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 80

I:Set overlay: ''

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/recovery.log

btw, think i'd rather brick the phone than have to deal with stock OOS

;)