Friday, January 13, 2017

Update SailfishOS 1.x to 2.0 on Nokia N9

Update SailfishOS 1.x to 2.0 on Nokia N9.

My Japanese Blog Article Link1
My Japanese Blog Article Link2
My Japanese Blog Article Link3
My Japanese Blog Article Link4

In advance, installed SailfishOS 1.1.0.39.
But, cannot get 1.1.0.39 image now.(Related Link)
Instead, can get 1.1.2.15 image. (Related Link)

The following content is a process started from 1.1.0.39 image.
If started from 1.1.2.15 image, it may a little different be the case of 1.1.0.39.
I tried once from 1.1.2.15. I remember the process remained almost unchanged.
However, a slight difference in the movement was seen.


Update Process
1. root password change
From Terminal.
It becomes necessary as measures after updating to 2.0.1 and later.

2. Disable Repository
These repositories can not be used and should be invalidated.
# ssu dr adaptation0
# ssu dr adaptation1
# ssu dr thirdparty

3. Lock packages for installed N9
Accidentally in order to not uninstall.
# zypper al kernel-adaptation-n950 n950-camera-fw nemo-configs-n950-n9 nemo-configs-n950-n9-wayland gst-omapfb libomap3camd omap-update-display policy- settings-basic-n950 ti-omap3-sgx ti-omap3-sgx-wayland-wsegl udev-rules-n950 pulseaudio-module-cmtspeech-n9xx pulseaudio-settings-n950 bme-rm-680-bin

4. Change before update
Invalidation Setting.
Comment out them.

In case, 1.1.0.39 and 1.1.2.15.
/var/lib/environment/nemo/61-nemo-mobile-hw-wayland.conf
#QT_COMPOSITOR_NEGATE_INVERTED_Y=1

In case, 1.1.2.15 only.
/var/lib/environment/compositor/60-n9-n950-ui.conf
#QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=90"

5. OS Update
When updating any version, the application icon became 3 columns.
Rarely 2 columns.

Sounds and battery indications are lost with the update to 2.0.
I think that the reason is to uninstalled the following locked package.

When updating to 1.1.7.28, uninstall the dependent package.
pulseaudio-module-cmtspeech-n9xx
pulseaudio-settings-n950

When updating to 1.1.9.28, uninstall the dependent package.
bme-rm-680-bin

# ssu re 2.0.0.10
After updating to 2.0.1, several problems came out. I update it to 2.0.0 once.

# zypper ref
# zypper up
Uninstall some locked packages on update.

And add some zypper patterns.
---------------
2017-01-13 01:30 JST
Later, I will write things 2.0.1 and later.
Some wrote in a Japanese blog article.

Summary
After updating to 2.0.1, it happened that I did not know the cause.
It is not possible to change the time from the setting screen or change the password in the developer mode.
But I could change the wallpaper.
I think that the problem is related to administrator authority.

Appending 2017-04-11 23:48 JST
/etc/dbus-1/system.d/org.nemo.passwordmanager.conf

<policy group="system">
edit to
<policy group="privileged">

Can change the password in the developer mode on 2.1.0.11.
Originally changed in the .ks file for image creation.
It was reset by package update.

---------------------
Appending 2017-03-17

$ dconf write /desktop/sailfish/silica/theme_pixel_ratio 0.75
application icon 4 columns.

Tuesday, December 17, 2013

Nemo Apps on SailfishOS Emulator

My Japanese Blog Article Link

I tried install Nemo Apps on SailfishOS Emulator (SDK Alpha-1312-Qt5).

Use Environment
Windows 7 x64
VirtualBox 4.3.4

1. Create SailfishOS Emulator clone.
For keep original Emulator.

2. SailfishOS Emulator's user account password setting.
Settings from GUI.

3. Install zypper to Emulator from Mer Core repository.
zypper was not installed in Emulator Ver.1312.

4. Add Nemo Apps and Nemo MW repositories.
Some packages depend from Nemo MW repository.

5. Install Nemo Apps.
Included in zypper pattern's nemo-apps-wayland.
Except upgrade or downgrade packages from Nemo MW repository.

Update: 2013-12-20
There was not need to install zypper.
SailfishOS have pkcon.
If you want to install zypper, following command.

$ pkcon refresh
$ pkcon install zypper

zypper package from jolla repository.