make the oneplus one fly

the code name of the OnePlus One is bacon :)
let’s make bacon fly and install android nightly builds

following this guide:
https://forums.oneplus.net/threads/full-guide-setting-drivers-up-unlocking-bootloader-flashing-recovery-roms-kernels-rooting.291274/

enter developer mode, allow usb debugging.

install android tools (fastboot, awp)
# yum install android-tools

unlock the bootloader

root@filzhut:~# fastboot oem device-info

(bootloader) Device tampered: true
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.005s]
finished. total time: 0.005s
root@filzhut:~# fastboot oem unlock

OKAY [ 0.021s]
finished. total time: 0.021s

root@filzhut:~# fastboot oem device-info

(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.005s]
finished. total time: 0.005s

apparently it’s a bad thing to lock it again later…

flash recovery TWRP and boot it

root@filzhut:~# fastboot flash recovery /run/media/andreas/backup/android/twrp-2.8.7.0-bacon.img
target reported max download size of 1073741824 bytes
sending ‘recovery’ (10368 KB)…
OKAY [ 0.329s]
writing ‘recovery’…
OKAY [ 0.140s]
finished. total time: 0.469s

root@filzhut:/run/media/andreas/backup/android# fastboot boot twrp-2.8.7.0-bacon.img
downloading ‘boot.img’…
OKAY [ 0.336s]
booting…
OKAY [ 0.020s]
finished. total time: 0.356s

from now on every thing takes place in the recovery bootloader, even rooting the device (installing SuperSU) can be done from there

or making a backup!
(see recovery > backup in TWRP)

from now on just download, copy to flash, reboot to recovery and install from there!
Easy as that!

one caveat: Make a backup of your device’s EFS partition, apparently this contains the IMEI code of your device. losing it will get you banned from the cell network.
manual backup or use script as in the thread:

dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512
&
dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512

EXODUS rom:
https://forums.oneplus.net/threads/rom-5-1-1-r8-official-ota-exodus-android-lollipop.278548/

gApps:
http://forum.xda-developers.com/android/software/tk-gapps-t3116347