Previously running 15.1

No need for a full wipe.

Update to 16.0

Use previously installed TWRP to upgrade to

lineage-16.0-20190303-nightly-oneplus3-signed.zip
open_gapps-arm64-9.0-mini-20190304.zip

Nightly updates start failing

After a few days, nightly upgrades started to fail, with

assert failed: op3.verify_modem("2018-12-06 00:49:
24") == "1"
Updater process ended with ERROR: 7
Error installing zip file '/data/lineageos_updates/
lineageos-16.0-20190309-nightly-oneplus3-signed.zip'
Updating partition details...
...done

Updating TWRP did not help.

Details:

cp twrp-3.2.3-1-oneplus3.img twrp.img
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot reboot

The problem appeared to be modem compatibility, so:

Update firmware and modem

Latest was Stable5.0.8+Firmware+Modem_OnePlus3.zip

adb push Stable5.0.8+Firmware+Modem_OnePlus3.zip /sdcard

Go into recovery and update with TWRP.

After this, nightly updates work again.

Nightly updates start failing again (June 2019)

This happened around the update of 16th June.

I noticed that there was a new firmware Stable9.0.3+Firmware+Modem_OnePlus3.zip.

After flashing this, I could not unlock the lock screen with PIN.

Reverted to Stable5.0.8+Firmware+Modem_OnePlus3.zip, disabled screen locking, flashed Stable9.0.3+Firmware+Modem_OnePlus3.zip. Now nightly updates work again.

But: I could not set a PIN again, because a PIN is needed to set the PIN, and it would not accept the old PIN.

In TWRP’s file manager I deleted /data/system/locksettings.db.

After rebooting, all was well.