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.
lineage-XX.X-YYYYYYYY-nightly-bacon-signed.zip
file to your internal storage
lineage-18.1-20210429-nightly-bacon-signed.zip
arm
[32bit] version)
arm
(MindTheGapps-11.0.0-arm-20210412_124103.zip
)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.
Backup
Boot
System
Data
(excluding the storage - this means that the internal storage where your pictures, music and downloads are located is not backed up, only the LineageOS system and the app data of installed apps)Swipe to Backup
1. | 2. and 3. |
---|---|
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!
Wipe
Advanced Wipe
Dalvik / ART Cache
System
Cache
Swipe to Wipe
1. | 2. | 3. and 4. |
---|---|---|
Install
lineage-XX.X-YYYYYYYY-nightly-bacon-signed.zip
Swipe to confirm Flash
Gapps-XX.X-arm-YYYYYYYY.zip
Swipe to confirm Flash
Wipe Davlik/Cache
Swipe to Wipe
Reboot System
1. | 2. | 3. (Part 1) | 3. (Part 2) |
---|---|---|---|
4. | 5. (Part 1) | 5. (Part 2) and 6. | 7. |
---|---|---|---|
Restore
Boot
System
Data
Swipe to Restore
1. | 2. and 3. | 4. |
---|---|---|
Source: TWRP for OnePlus One
Linux:
Download the latest TWRP recover image from the official TWRP page
Download Links
and select the one nearest to your locationimg
file
twrp-3.5.2_9-0-bacon.img
Install android-tools
(pacman -S android-tools
)
Enable ADB on your device
Advanced Options
Settings
About
Build Number
entryDeveloper Options
Settings
list and click the entry Developer Options
USB Debugging
entry and enable itRun 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
Now press power off
and volume down
(just like you would to boot your phone into recovery) while entering the command:
fastboot reboot
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.
Source: How To Update TWRP Recovery With TWRP Recovery! by KTNTECH
Download Links
and select the one nearest to your locationimg
file
twrp-3.5.2_9-0-bacon.img
power off
and volume down
)install
Install Image
to be able to select and image (.img
) to flashtwrp-3.5.2_9-0-bacon.img
recovery
as partition to flashpower off
and volume down
) to see if TWRP was updated3. | 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.