Back to the overviewUpgrade LineageOS on
m8d
Upgrade LineageOS on
HTC One (M8) Dual SIM
m8d
Basic requirements
- Read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
- You actually want to upgrade your device to the newest version - if you wish to downgrade to an earlier version of LineageOS, follow your device’s instructions for installing LineageOS the first time.
Manually upgrading LineageOS
Note: Following these instructions will not wipe your data. It is, however, recommended to save important data before doing so, anyway!
The updater app does not support upgrades from one version of LineageOS to another, and will block installation to any update for a different version. Upgrading manually requires similar steps to installing LineageOS for the first time.
- Verify your device is using the latest TWRP. Simply download the latest recovery file, named something like
twrp-x.x.x-x-m8.img
. Follow your device’s installation guide to see how you can update your recovery image.Important: These instructions may not work if you choose to use a different recovery! - Download the LineageOS install package that you’d like to install or build the package yourself.
- Make sure your computer has working
adb
. Setup instructions can be found here. - Enable USB debugging on your device.
- Additionally if you are on LineageOS 16.0 or below, open Settings, then “System”, then “Developer Options”, then select “Root Access Options”, and finally “ADB Only”. Now, run
adb -d root
- Run
adb -d reboot sideload
.Important: The device may reboot to a blank black screen, fear not, this is a known bug on some recoveries, proceed with the instructions. - Run
adb -d sideload /path/to/zip
(inserting the path to your LineageOS package).Tip: Normally, adb will reportTotal xfer: 1.00x
, but in some cases, even if the process succeeds the output will stop at 47% and reportadb: failed to read command: Success
. In some cases it will reportadb: failed to read command: No error
oradb: failed to read command: Undefined error: 0
which is also fine. -
(Optionally): If you want to install any add-ons, click
Advanced
, thenADB Sideload
, then swipe to begin sideload, thenadb -d sideload /path/to/zip
those packages in sequence. - Once you have installed everything successfully, run
adb reboot
.
Warning: Depending on which recovery you use, you may be prompted to install additional apps and services.
We strongly advise you to opt out of installing these, as they may cause your device to bootloop,
as well as attempt to access or corrupt your data.