maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish OS on Sony Xperia X Compact (community build) (https://talk.maemo.org/showthread.php?t=100227)

kaulian 2019-10-31 09:38

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Quote:

Originally Posted by kaulian (Post 1561370)
in fact after pkcon refresh ans pkcon update some package are missing

Code:

droid-compat-f5321-hybris-libsensorfw-qt5-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:38 CET
droid-compat-f5321-feature-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:38 CET
droid-compat-f5321-droid-system-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:34 CET
droid-compat-f5321-droid-hal-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:34 CET
droid-compat-f5321-droid-config-sailfish-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:34 CET
droid-compat-f5321-droid-config-flashing-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:32 CET
droid-compat-f5321-droid-config-0.0.9-1.27.1.jolla.armv7hl Wed 30 Oct 2019 22:02:32 CET


But after update i always have the problem =/

Hi all,

Anyone have an idea ?

it's like missing some driver.


No big information when I launch the camera APP and CSD test fail to.

eugenio 2019-10-31 09:57

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
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

kaulian 2019-10-31 10:15

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Yeah !!!
Thanks

meet.vino 2019-11-01 04:17

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Hi.. Can anyone please confirm if there is Android support for X Compact? And, is the camera quality that bad?

wolke 2019-11-01 04:29

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Quote:

Originally Posted by meet.vino (Post 1561420)
Hi.. Can anyone please confirm if there is Android support for X Compact? And, is the camera quality that bad?

camera quality is same as X, android support is same as X.

X Compact is my only phone, and ive been using it for 16 months without any significant issues (with g7-patched official rom). before that, i used X for a year.

(note that in order to get android support, you must pay for a sailfish X license. you can then download and patch the img with g7's patcher, and install it just like the X, and have android support, etc)

aspergerguy 2019-11-01 05:38

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Quote:

Originally Posted by wolke (Post 1561421)
(note that in order to get android support, you must pay for a sailfish X license. you can then download and patch the img with g7's patcher, and install it just like the X, and have android support, etc)

Haven't tried recently but ran into problems trying to patch Sailfish 3.xx.img so have to flash older 2.xx one and then update via terminal.

wolke 2019-11-02 03:38

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
i flashed Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17.zip
worked fine for me.

when jolla posts my official 3.2 download in the jolla shop, ill try to patch+flash it, and report what happens here

(although, despite having flashed 3 SXC's at least 10 times total, im still not too clear on who picks up the changes to droid-compat-f5321, and where, when i run the patcher in vagrant)

aspergerguy 2019-11-02 10:56

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Quote:

Originally Posted by wolke (Post 1561460)
i flashed Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17.zip
worked fine for me.

Revisited this and after updating Vagrant happy to concur no issues in creating "Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17" on Mac

eugenio 2019-11-02 12:36

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Quote:

Originally Posted by aspergerguy (Post 1561466)
Revisited this and after updating Vagrant happy to concur no issues in creating "Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17" on Mac

Glad to hear that :)

Quote:

Originally Posted by wolke (Post 1561460)
(although, despite having flashed 3 SXC's at least 10 times total, im still not too clear on who picks up the changes to droid-compat-f5321, and where, when i run the patcher in vagrant)

The compatibility layer is on an OBS repository, the patcher script simply unpacks the stock Sailfish X images, adds the repository and installs the pattern specifying the packages to install.

Then the target kernel gets patched too and everything gets repacked and zipped.

The patching process also installs an SSU feature referencing the compatibility layer repository, so that updates to the compatibility layer gets picked up during Sailfish OS OTA upgrades.

poi 2019-11-03 19:06

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Has anyone else expierienced crashes on android browser with embedded youtube links after 3.2 upgrade


All times are GMT. The time now is 10:24.

vBulletin® Version 3.8.8