Hello fellow Linux bros,
I saw this thread today Sailfish OS 3.0.0 released to early adopters today
(https://www.oesf.org/forum/index.php?showtopic=35592&st=0&#entry290497)
I have to keep type this up quick since it is literally 2:00 AM for me and I am recovering from recent sickness with work tomorrow- so I apologize for the formatting.
Also thanks to Depscribe and Yoram for the thread, it also had some useful information and links for me to get this done.
I was on SFOS 2.1.3.7 initially, but flashed the SFOS 2.1.4.14 build since I wanted to triple boot.
So these are the steps I performed from a fresh install on that build.
Enable early access to SFOS releases at https://account.jolla.com/
(Requires Jolla account; Not sure if required but I enabled it)
I enabled SSH under developer options.
I used SSH for this next task.
ssh-keygen -f "/home/meganerd/.ssh/known_hosts" -R 192.168.2.15
ssh nemo@192.168.2.15
devel-su
vi /usr/share/ssu/features.d/adaptation-community-common.ini
(Press 'i' to enter insert mode, modify text, ESC, then enter :wq)
change this line:
adaptation-community-common = http://repo.merproject.org/obs/nemo:/devel...latest_%(arch)/
to:
adaptation-community-common = http://repo.merproject.org/obs/nemo:/testi...hos_%(release)/
If do not change from devel: (state: unstable) to testing: (state: testing) you get trouble with your sensorfw (sensors not working, only a software problem). Before next step you can verify that the change is done with:
ssu lr
You must go to 2.2.0.29 before going to 3.x
So start the update to 2.2.0.29:
ssu re 2.2.0.29
pkcon refresh
version --dup
sync
reboot
(if you get "Fatal error: File ... not found" on you made a typo on the file)
megaman@machine:~$ ssh nemo@192.168.2.15
nemo@192.168.2.15's password:
Last login: Fri Nov 2 00:59:21 2018 from 192.168.2.4
NOTICE: Env value ignored HYBRIS_LD_LIBRARY_PATH=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib
,---
| SailfishOS 2.1.4.14 (Lapuanjoki)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# vi /usr/share/ssu/features.d/adaptation-community-common.ini
[root@Sailfish nemo]# ssu lr
[D] unknown:0 - "No carrier"
Enabled repositories (global):
- adaptation-community ... http://repo.merproject.org/obs/nemo:/testing:/hw:/planet:/geminipda/sailfishos_2.2.0.29/
- adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_2.2.0.29/
- apps ... https://releases.jolla.com/jolla-apps/2.2.0.29/armv7hl/
- hotfixes ... https://releases.jolla.com/releases/2.2.0.29/hotfixes/armv7hl/
- jolla ... https://releases.jolla.com/releases/2.2.0.29/jolla/armv7hl/
Enabled repositories (user):
- store ... https://store-repository.jolla.com/geminipda/armv7hl/?version=2.2.0.29
Disabled repositories (global, might be overridden by user config):
Disabled repositories (user):
- home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
[root@Sailfish nemo]# ssu re 2.2.0.29
Changing release from 2.2.0.29 to 2.2.0.29
Your device is now in release mode!
[D] unknown:0 - "No carrier"
[root@Sailfish nemo]# pkcon refresh
Refreshing cache
Starting
Refreshing software list
Finished
[root@Sailfish nemo]# version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
Finished transaction (status=1, runtime=321682ms)
UPGRADING SYSTEM
Finished transaction (status=1, runtime=373457ms)
FINISHING
After reboot, and attempting to boot into SFOS the device looks like it is in a powered off state.
But I can hear the USB sound from SFOS when I plug it in... so I SSH in to the device. This works.
(Eventually the screen started working so you can SSH or wait)
megaman@machine:~$ ssh nemo@192.168.2.15
nemo@192.168.2.15's password:
Last login: Fri Nov 2 01:37:50 2018
,---
| Sailfish OS 2.2.0.29 (Mouhijoki)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]#
So now I need to get to 3.0.0.0 or 3.0.0? (I am guessing the build is this)
UPDATE - I got stuck:
It is way past time for me to get to bed, unfortunately I will have to pickup on this tomorrow.
If anyone who was successful could help me figure out what I am doing wrong that would be awesome
I read that Yoram said he had to switch his adaptation layer to salfish_latest
so I modified the file back to its original state
(/usr/share/ssu/features.d/adaptation-community-common.ini)
Then attempted multiple releases but got an error from here
ssu re 3.0.0.0
ssu re 3.0.0
Both of them throwing me this error
Error: File '/repodata/repomd.xml' not found on medium 'http://repo.merproject.org/obs/nemo:/testing:/hw:/planet:/geminipda/sailfishos_3.0.0.0/'
I see that the output is still trying the first modified syntax even after updating the adaptation-community-common.ini file?
I took a brief look at the ssu command but no luck.
I have run out of time to get this going for tonight- sorry!
[root@Sailfish nemo]# ssu --help
Usage: ssu [-command-options] [arguments]
Repository management:
updaterepos, ur update repository files
repos, lr list configured repositories
[-m] format output suitable for kickstart
[device] use repos for 'device'
[flags] additional flags
rnd= set rnd or release mode (default: take from host)
addrepo, ar add this repository
[url] specify URL, if not configured
removerepo, rr remove this repository from configuration
enablerepo, er enable this repository
disablerepo, dr disable this repository
Configuration management:
flavour, fl display flavour used (RnD only)
[newflavour] set new flavour
release, re display release used
[-r] use RnD release
[newrelease] set new (RnD)release
set display global variables
[-r] operate on repository only variables
display value of
set value of to
Device management:
status, s print registration status and device information
register, r register this device
[-h] configure user for OBS home
update, up update repository credentials
[-f] force update
model, mo print name of device model (like N9)
[root@Sailfish nemo]# ssu ur
[D] unknown:0 - "No carrier"
[root@Sailfish nemo]# pkcon refresh
Refreshing cache
Starting
Refreshing software list
Finished
Fatal error: File '/repodata/repomd.xml' not found on medium 'http://repo.merproject.org/obs/nemo:/testing:/hw:/planet:/geminipda/sailfishos_3.0.0/'
[root@Sailfish nemo]#
Sources:
https://together.jolla.com/question/186471/...anet-computers/
https://jolla.zendesk.com/hc/en-us/articles/201836347#2
https://www.oesf.org/forum/index.php?showto...mp;#entry290497
So it looks like the reason why the upgrade didn't work is there is no listing at
http://repo.merproject.org/obs/nemo:/testi...net:/geminipda/ for 3.0.0.0
Index of /obs/nemo:/testing:/hw:/planet:/geminipda
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[DIR] sailfishos_2.1.4.14/ 26-Jul-2018 17:46 -
[DIR] sailfishos_2.2.0.29/ 26-Jul-2018 17:46 -
Apache/2.2.22 (Debian) Server at repo.merproject.org Port 80