The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Template:SFOS Port ham

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "=== Requirements for installation=== * Base Android zip: {{{android_zip}}} * Latest Sailfish OS release: [{{{sfos_installation}}}] * Computer with adb and fastboot installed *...")
 
(Add OTA updates section)
 
Line 10: Line 10:
 
* Reboot
 
* Reboot
  
 +
=== OTA updates ===
 +
 +
Use the Terminal app or connect to device via SSH.
 +
 +
Steps for updating from version 2.1.0.11 to version 2.1.4.14:
 +
 +
 +
1. List OpenRepos repositories. Better to turn them off before upgrade
 +
 +
ssu lr | grep openrepos
 +
 +
2. Disable given OpenRepos repository if there is any enabled
 +
 +
ssu dr [repo-name]
 +
 +
3. Switch ssu to the new version
 +
 +
ssu release 2.1.4.14
 +
 +
4. Clean zypper cache
 +
 +
zypper clean -a
 +
 +
5. Update zypper cache
 +
 +
zypper ref -f
 +
 +
6. Verify cache, download and install packages
 +
 +
version --dup
 +
 +
7. Sync filesystem
 +
 +
sync
 +
 +
 +
It will take some time to download and install all needed packages. At the end system reboot is needed. During boot process system will write new kernel to the boot partition and then reboot itself - it will look like phone is in a bootloop state but it's not. After second reboot system should start normally.
 
=== Report bugs ===
 
=== Report bugs ===
 
* Software-related bugs (Sailfish OS): first search in https://together.jolla.com. If not found, add your question and tag with "porting"
 
* Software-related bugs (Sailfish OS): first search in https://together.jolla.com. If not found, add your question and tag with "porting"

Latest revision as of 15:59, 1 May 2018

Contents

[edit] Requirements for installation

  • Base Android zip: {{{android_zip}}}
  • Latest Sailfish OS release: [{{{sfos_installation}}}]
  • Computer with adb and fastboot installed
  • Patience and luck

[edit] Installation steps

  • Install Android base zip by following instructions: {{{android_installation}}}
  • Install the Sailfish OS zip on top of that Android base
  • Reboot

[edit] OTA updates

Use the Terminal app or connect to device via SSH.

Steps for updating from version 2.1.0.11 to version 2.1.4.14:


1. List OpenRepos repositories. Better to turn them off before upgrade

ssu lr | grep openrepos

2. Disable given OpenRepos repository if there is any enabled

ssu dr [repo-name]

3. Switch ssu to the new version

ssu release 2.1.4.14

4. Clean zypper cache

zypper clean -a

5. Update zypper cache

zypper ref -f

6. Verify cache, download and install packages

version --dup

7. Sync filesystem

sync


It will take some time to download and install all needed packages. At the end system reboot is needed. During boot process system will write new kernel to the boot partition and then reboot itself - it will look like phone is in a bootloop state but it's not. After second reboot system should start normally.

[edit] Report bugs

  • Software-related bugs (Sailfish OS): first search in https://together.jolla.com. If not found, add your question and tag with "porting"
  • App bugs (e.g. an app doesn't scale well on different screens): contact its developer
  • Problems which depend on hardware: search existing http://bit.ly/port-bugs; add new http://bit.ly/port-new-bug
  • Please do not contact Jolla Care, Jolla Developer Care or phone's maker (e.g. LG, OnePlus, Google), as this is the Sailfish OS community's build for other phones
Personal tools