Skip to content

Over the Air updates

Willem-Jan de Hoog edited this page Nov 26, 2020 · 22 revisions

Over-the-Air updates (OTA) seems to work. User 'it-was-me' describes his experiences on the Oneplus forum.

Based on his post and the Fairphone wiki page the following procedure will probably work:

NOTES:

  • For the current state of Sailfish for OPO you really need to have installed the CM base called cm-12.1-YOG7D-sf-20170218-bacon.zip and this is not part of the OTA process. (Updating from other CM bases will not fail but video decoding and the camera won't work after that.)
  • 'it-was-me' used this procedure successfully with and without multirom.
  • As of 2.1.4.14 the image is released from 'testing' repositories instead of 'devel'. so obs/nemo:/devel:/hw:/oneplus:/bacon became obs/nemo:/testing:/hw:/oneplus:/bacon. Both repositories exist so use the one that suits you best.
  • I did not test any OTA thing at all.

Note: make sure the release number matches an actual one.

OTA:

  • Backup your Sailfish OS user files.
  • Open a shell as user nemo preferrably via ssh
  • Change the repositories for example for version 3.4.0.24:
    • edit /usr/share/ssu/features.d/adaptation-community.ini and update the address http://repo.merproject.org/obs/nemo:/testing:/hw:/oneplus:/bacon/sailfishos_3.4.0.24/
    • edit /usr/share/ssu/features.d/adaptation-community-common.ini and update the address http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_3.4.0.24
  • Perform the update:
devel-su
ssu release 3.4.0.24
zypper ref
zypper up
version --dup
sync
reboot

Afterwards listing the repos with ssu lr should look like:

Enabled repositories (global):
- adaptation-community        ... http://repo.merproject.org/obs/nemo:/testing:/hw:/oneplus:/bacon/sailfishos_3.4.0.24/
- adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_3.4.0.24/
- apps                        ... https://releases.jolla.com/jolla-apps/3.4.0.24/armv7hl/
- hotfixes                    ... https://releases.jolla.com/releases/3.4.0.24/hotfixes/armv7hl/
- jolla                       ... https://releases.jolla.com/releases/3.4.0.24/jolla/armv7hl/

Note: make sure the release number matches an actual one.

Clone this wiki locally