View Single Post
Posts: 7 | Thanked: 23 times | Joined on Aug 2018
#162
Hello, patch creator here. I hope this post doesn't get to moderation like the other one did last time


If you updated before 30/10 00:00 UTC+1 you might get the camera black (and aliendalvik not starting) issue.
Everyone who updated afterwards is (should be) fine, X Compact compatibility layer updates are picked automatically during Sailfish OS upgrades.

For those who experience the issue(s), these commands should be enough:

Code:
devel-su
zypper ref -r compat-f5321
zypper dup -r compat-f5321
add-preinit-oneshot /var/lib/platform-updates/flash-bootimg.sh
reboot
=================================================

For those wondering what the issue was, SELinux got enabled in Jolla's Xperia X kernel and then subsequently disabled via kernel cmdline (I think to easily test SELinux without having to re-build the kernel).

This broke both the camera and aliendalvik.

The patcher patches on-the-fly Jolla's kernel replacing the devicetree and the cmdline to match X Compact's.

So in the end we got SELinux enabled and a cmdline which doesn't explicitly disable it.

The cmdline has been synced.

We got pretty unlucky as Jolla touched one of the few HA parts that the patch touches too Fortunately the fix is simple enough.


Eugenio
 

The Following 11 Users Say Thank You to eugenio For This Useful Post: