Install LineageOS 15.1 on OnePlus 5
- (Firmware) OxygenOS 5.0.2 Firmware & Modem for OnePlus 5
- (ROM) LineageOS 15.1 for OnePlus 5
- (GApps) MindTheGapps-8.1.0-arm64-20180223_195845
- (SU) Magisk v16.0
- (No Verity) Disable DM Verity and Forced Encryption for OnePlus 5 v2
- Install TWRP.
- Make a backup of your current system in case of failure.
- Flash stock firmware of OxygenOS 5+ if you are upgrading from Android 7.x or below.
- Flash ROM, then GApps. I’m using MindTheGapps and it’s working correctly with LineageOS 15.1. Ground Zero’s GApps also works too. Open GApps does not seem to work.
- Flash Magisk, then disable DM verity.
- Reboot into system.
- Enjoy LineageOS.