Previously running 14.1 (

No need for a full wipe.

Update TWRP

cp twrp-3.2.1-0-oneplus3.img twrp.img
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot reboot

Make a backup using TWRP

Reboot into recovery, and check that we really have the new version.

Choose "Backup", select all checkboxes and also choose to use compression.

Retrieve the backup and all user data

adb pull /data/media/0/TWRP/backups
adb pull /sdcard

Obtain updated firmware and modem (the 5.0.1 version from here)

There are suggestions elsewhere that without updating these, the rest might fail.

Obtain 15.1 from

Obtain gapps

As currently recommended on the LineageOS Wiki:


adb push /sdcard
adb push /sdcard
adb push /sdcard

Reboot to recovery. Format system partition. Add the three zip files to the flashing queue (in the order listed above) and flash them all.


Success - the system came back up in a good state.


So far just that the "back" and "recents" hardware buttons were swapped. There is an easily found setting that can fix this.