Update OnePlus One LineageOs

2021.07.21

The following guide contains the steps on how to update a OnePlus One device to the latest LineageOS version provided at the moment:

Disclaimer: All these instructions were found on the internet and could result in your device having multiple problems like data loss or a permanent bootloop. This is not an official guide - just instructions that worked when upgrading to LineageOS 18 for the author.

1. Download the latest ROM zip file and Google app zip file

  1. Go to the official LineageOS download page and download the lineage-XX.X-YYYYYYYY-nightly-bacon-signed.zip file to your internal storage
  2. Check the official LineageOS Google Apps help page to find from which source and which version of the Google apps zip file you should get (it should always be the arm [32bit] version)

2. Backup the old operating system

Backing up the current LineageOS install is strongly recommended to get back to it if someday an update or the new LineageOS version somehow breaks the operating system. In that case you can just restore app data and the operating system from this backup.

  1. Select Backup
  2. Check the following boxes:
  3. Swipe Swipe to Backup
1. 2. and 3.

3. Remove the old operating system

The following steps will remove the old operating system so be careful and sure that you have a backup of your current working operating system!

  1. Select Wipe
  2. Select Advanced Wipe
  3. Check the following boxes:
  4. Swipe Swipe to Wipe
1. 2. 3. and 4.

4. Install the new operating system (the new version of LineageOS)

  1. Select Install
  2. Select the previously downloaded LineageOS zip file lineage-XX.X-YYYYYYYY-nightly-bacon-signed.zip
  3. Swipe Swipe to confirm Flash
  4. Go back and select the previously downloaded Google apps zip file Gapps-XX.X-arm-YYYYYYYY.zip
  5. Swipe Swipe to confirm Flash
  6. Click Wipe Davlik/Cache
  7. Swipe Swipe to Wipe
  8. Click Reboot System
1. 2. 3. (Part 1) 3. (Part 2)
4. 5. (Part 1) 5. (Part 2) and 6. 7.

Bonus: TWRP restore backup

  1. Select Restore
  2. Select one of the previously created backups
  3. Check the following boxes:
  4. Swipe Swipe to Restore
1. 2. and 3. 4.

Bonus: TWRP recovery

Install TWRP recovery

Source: TWRP for OnePlus One

Linux:

  1. Download the latest TWRP recover image from the official TWRP page

  2. Install android-tools (pacman -S android-tools)

  3. Enable ADB on your device

  4. Run the following commands on your device:

    adb reboot bootloader
    # Wait until a bootloader/fastboot screen is displayed on the device screen
    fastboot flash recovery /path/to/Downloads/twrp-3.5.2_9-0-bacon.img
  5. Now press power off and volume down (just like you would to boot your phone into recovery) while entering the command:

    fastboot reboot
  6. The device should now boot into TWRP recovery and thus overwrite the previous recovery image (like for example LineageOS recovery)

TODO:

Currently this is not working any more, after each boot the TWRP recovery is replaced by LineageOS recovery. This means this step needs to be done each time a backup or new flash is wanted.

Update TWRP recovery

Source: How To Update TWRP Recovery With TWRP Recovery! by KTNTECH

  1. Download the latest TWRP recover image from the official TWRP page
  2. Boot your phone into recovery (press power off and volume down)
  3. Click install
  4. Click Install Image to be able to select and image (.img) to flash
  5. Select the previously downloaded file twrp-3.5.2_9-0-bacon.img
  6. Select recovery as partition to flash
  7. Power off the device and restart into recovery (press power off and volume down) to see if TWRP was updated
3. 4. 5. 6.

TODO:

Currently this is not working any more, after somehow the installation of LineageOS 18.1 overwrote the recovery which replaces TWRP each time the device boots into LineageOS. For further information read the previous section Install TWRP recovery.