Xperia Tama port: 4.6.0.13 release

I uninstall Waydroid and deleted all Waydroid-Dirs found in System, did a Reboot, Make a new fresh install from Chum and then waydroid init, rebootet again, did comment out this line:

lxc.apparmor.profile = unconfined

from mcedit /var/lib/waydroid/lxc/waydroid/config

[defaultuser@XperiaXZ2Compact ~]$ devel-su waydroid init
Password:
[11:48:11] Downloading Download lineage-18.1-20240706-VANILLA-waydroid_arm64-system.zip (WayDroid)
[Downloading] 801.11 MB/801.18 MB 12663.96 kbps(approx.)[11:49:19] Validating system image
[11:49:24] Extracting to /var/lib/waydroid/images
[11:49:52] Downloading Download lineage-17.1-20240706-HALIUM_10-waydroid_arm64-vendor.zip (WayDroid)
[Downloading] 35.78 MB/35.81 MB 5713.53 kbps(approx.)[11:50:04] Validating vendor image
[11:50:04] Extracting to /var/lib/waydroid/images

Rebooting…
Start Waydroid from Launcher…

[defaultuser@XperiaXZ2Compact ~]$ waydroid status
Session: RUNNING
Container: STOPPED
Vendor type: HALIUM_10
Session user: defaultuser(100000)
Wayland display: …/…/display/wayland-1

(010136) [11:58:14] Traceback (most recent call last):
File “/opt/waydroid/tools/init.py”, line 68, in main
actions.container_manager.start(args)
File “/opt/waydroid/tools/actions/container_manager.py”, line 131, in start
raise OSError(“container failed to start”)
OSError: container failed to start

Conclusion:
The Waydroid-Package for the Sony XZ2 Compact Port is broken when do a fresh install.

Why did you have to change anything in waydroid init? I wonder whether you are using correct Chum repo. Have you set Chum repo URL or are using just “stable” repository.

Why did you have to change anything in waydroid init?

Because it complains about an “unknown/invalid” configuration.
That is listed as “solution” on Github.

I wonder whether you are using correct Chum repo. Have you set Chum repo URL or are using just “stable” repository.

I installed Chum and thats it, no modifications performed.

https://openrepos.net/content/olf/sailfishoschum-gui-installer

It was supposed to be fixed in waydroid version 1.3.4+git1. Check that this is the one that you use.

In GUI, under Settings, check that you have not selected some custom repo.

Other than that, bit difficult to tell what is going wrong.

Its vanilla chum install, no other or experimental repos are selected.

So the fixes doesn’t find its way to the enduser repo!?

Nope, they should be there. So, for some reason, these fixes didn’t work for you. Please open an issue at GitHub - sailfishos-open/waydroid: Waydroid packaging for Sailfish OS and describe it there. Maybe someone knowing more about Waydroid will be able to help.

Hey, I just updated my xz2c to 4.6.0.13, averything fine, but I saw that when I run the:

devel-su zypper in patterns-saiflish…

IT tells me the package is installed but cannot found the package in the repositories, see screenshot:

Any idea? it can provocate problems?

Thanks!

it can provocate problems?

I was forced to do a full reflash, which I had initially planned to do for a long time but didn’t until then because of laziness. This was necessary because after the upgrade, I got a white flashing screen with no apps installed and UI were not responding.

But I’m not sure if your reason is the main cause of the problem i encountered.

try zypper ref and then again. Please don’t paste screenshots - just copy from terminal as a code. That would allow us to copy and paste URLs and check them

1 Like

I searched a bit but cant find a reference in the release notes. The more vertical space in the launcher is a 4.6 “feature” and not some sort of port bug or bug in the os right?

No idea, unfortunately

Hello,

This is the zypper ref:

[root@XperiaXZ2Compact defaultuser]# zypper ref
Repository 'adaptation-common' is up to date.
Repository 'adaptation-community-common' is up to date.
Retrieving repository 'adaptation0' metadata ......................................................................................................................................................[error]
Repository 'adaptation0' is invalid.
[adaptation0|plugin:ssu?repo=adaptation0] Valid metadata not found at specified URL
History:
 - [adaptation0|plugin:ssu?repo=adaptation0] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'adaptation0' because of the above error.
Repository 'apps' is up to date.
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Repository 'openrepos-Mister_Magister' is up to date.
Repository 'openrepos-R1tschY' is up to date.
Repository 'openrepos-WerkWolf' is up to date.
Repository 'openrepos-p2501' is up to date.
Repository 'openrepos-poetaster' is up to date.
Repository 'openrepos-robbbienert' is up to date.
Repository 'openrepos-rubdos' is up to date.
Repository 'openrepos-slava' is up to date.
Repository 'sailfishos-chum' is up to date.
Repository 'store' is up to date.
Some of the repositories have not been refreshed because of an error.

There is an error on repo-adaptation0

this is the zypper in command:

zypper in patterns-sailfish-device-configuration-h8314
Loading repository data...
Reading installed packages...
'patterns-sailfish-device-configuration-h8314' is already installed.
Package 'patterns-sailfish-device-configuration-h8314' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
Resolving package dependencies...
Nothing to do.

Thanks!

and ssu lr as text, not screenshot

done:

Enabled repositories (global):
 - adaptation-common           ... https://releases.jolla.com/releases/4.6.0.13/jolla-hw/adaptation-common/aarch64/
 - adaptation-community-common ... https://repo.sailfishos.org/obs/nemo:/testing:/hw:/common/sailfishos_4.6.0.13_aarch64/
 - adaptation0                 ... https://store-repository.jolla.com/releases/4.6.0.13/jolla-hw/adaptation-sony-h8314/aarch64/
 - apps                        ... https://releases.jolla.com/jolla-apps/4.6.0.13/aarch64/
 - hotfixes                    ... https://releases.jolla.com/releases/4.6.0.13/hotfixes/aarch64/
 - jolla                       ... https://releases.jolla.com/releases/4.6.0.13/jolla/aarch64/

Enabled repositories (user):
 - openrepos-Mister_Magister ... https://sailfish.openrepos.net/Mister_Magister/personal/main
 - openrepos-R1tschY         ... https://sailfish.openrepos.net/R1tschY/personal/main
 - openrepos-WerkWolf        ... https://sailfish.openrepos.net/WerkWolf/personal/main
 - openrepos-p2501           ... https://sailfish.openrepos.net/p2501/personal/main
 - openrepos-poetaster       ... https://sailfish.openrepos.net/poetaster/personal/main
 - openrepos-robbbienert     ... https://sailfish.openrepos.net/robbbienert/personal/main
 - openrepos-rubdos          ... https://sailfish.openrepos.net/rubdos/personal/main
 - openrepos-slava           ... https://sailfish.openrepos.net/slava/personal/main
 - sailfishos-chum           ... https://repo.sailfishos.org/obs/sailfishos:/chum/4.6.0.13_aarch64/
 - store                     ... https://store-repository.jolla.com/h8314/aarch64/?version=4.6.0.13

Disabled repositories (user):
 - harbour-storeman-obs    ...
 - openrepos-szopin        ... https://sailfish.openrepos.net/szopin/personal/main
 - openrepos-carmenfdezb   ... https://sailfish.openrepos.net/carmenfdezb/personal/main
 - openrepos-seiichiro0185 ... https://sailfish.openrepos.net/seiichiro0185/personal/main
 - openrepos-aerique       ... https://sailfish.openrepos.net/aerique/personal/main
 - openrepos-wiktorek140   ... https://sailfish.openrepos.net/wiktorek140/personal/main
 - openrepos-scharel       ... https://sailfish.openrepos.net/scharel/personal/main
 - openrepos-jojo          ... https://sailfish.openrepos.net/jojo/personal/main
 - openrepos-mkiol         ... https://sailfish.openrepos.net/mkiol/personal/main
 - openrepos-direc85       ... https://sailfish.openrepos.net/direc85/personal/main
 - openrepos-6uvNPR        ... https://sailfish.openrepos.net/6uvNPR/personal/main
 - openrepos-ade           ... https://sailfish.openrepos.net/ade/personal/main
 - openrepos-Karry         ... https://sailfish.openrepos.net/Karry/personal/main

Did you follow main/ota.md at hybris-10 ¡ sailfishos-sony-tama/main ¡ GitHub? As looks like your adaptation0 is wrong. Please read that document and act accordingly.

yes, I followed the link but someway somehow I didn’t realize the adaptation0 was a wrong host. sorry!

Now seems is working. Thanks a lot!

1 Like

There are new Software-Binarys for the Tama with updated Kernel:

https://developer.sony.com/file/download/software-binaries-for-aosp-android-12-0-kernel-4-19-tama/

So what’s the procedure? I don’t even remember what android version was on my xz2c…would I need to reflash android 12 and start all over again?

Just a side note, because your ssu entry for sailfishos-chum seems to have been statically set in the past:
Mind to do that with variables / macros, see lines 163-166 of sailfishos-chum-gui-installer.spec. At the command line you have to have to use single % instead of the double %% in a spec file (this is a special kind of quoting to prevent RPM to interpret strings with a prepended % to be evaluated as RPM macros).

Baseline / takeaway: Do not add the SailfishOS:Chum package repository (or the one for Storeman) manually (i.e. at the command line, e.g. by ssu ar = ssu addrepo), especially because the format of the entry has changed (since SailfishOS 4.6.0) and may change again.
There is a reason why the (three) installer tools exist.

P.S.: I initially did not understand this, too.

It would require new port for Tama.