Xperia 10 II + SFOS

What about Sony Xperia 5?
This definitely is quite perfect device. Powerful and somewhat cheap now.

“Somewhat cheap” and 600 Euro down here is not really fitting together for me :slight_smile: It is a similar price as the Xperia X was when it was new. I can very much understand that Jolla a year later switched to the XA2 and the 10, which are 350 Euro or less.

I can understand that you might want a more toplevel device, but I assume that for Jolla, having more accessible and affordable hardware, makes them more sales in licenses for Sailfish X.
I would be interested in seeing the sales statistics for the Xperia X and the Xperia XA2 :slight_smile:

I also think that Dual Sim is more of a selling point than the slightly faster model.

3 Likes

I have seen them for around 400-500 eur :slight_smile:

If you have some time on your hands and free space on your computer, you can ‘beta test’ Sailfish for the Xperia 10 II by building it yourself:
https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_10_Build_and_Flash#Adaptation_Status

5 Likes

I would love to, I will get the phone for other means most likely on the next sale. But without the basic official support (android in primis) the phone with SFOS is pretty much useless for me. Would make more sense to try to get the Android 10 hybris up to speed for the XPeria x perhaps instead :stuck_out_tongue: (Yes, I am aware that the kernel would need quite a bit of loveee). Considering the license is tied to the device; if (hypothetically) I would be to bump the android layer to 10, and have a working kernel; would that enable my license? Considering opensource licensing, I’d assume this to be the case (at least to some extent).

Edit: there seems to be an updated kernel for XPeria X in the 4 series; that would probably help alot?

2 Likes

This is something I’ve been wondering about as well:

  • Sailfish X is running on Xperia X kernel 3.10, but Xperia X has kernel 4.4 and 4.9 officially available.
  • If a community member would want to put in the work to get Sailfish running on the newer kernel, would Jolla officially support it?
  • If a community member would want to put in even more work to replace the Xperia X’s old aliendalvik (which only supports Android applications up to Android 4.4) with the new method used in the Xperia XA2, Xperia 10 and soon Xperia 10 II, would Jolla support this endeavour? This would allow Android applications up to Android 9 to run on the Xperia X, which would future-proof the device for many more years to come, as the most common minimum version these days is Android 5.0.

I can’t attend the community meetings, but if someone would want to bring this up in my stead, please do.

9 Likes

let’s face it, it is unrealistic

There’s been an effort here https://github.com/vknecht/droid-hal-sony-loire but as far as I see that has come to a halt.

3 Likes

Loire being the older kernel, right?
What we would need here, I guess, is hybris for the 4 series kernel; and build it on top of the XPeria X kernel (assuming the Vanilla Sony kernel does not require any mods to compile in order to work with hybris).

Loire is the whole Xperia X platform consisting of the F5121 (Xperia X) the F5122 (Xperia X dual SIM) and Xperia X compact. It’s been a while that I read the HADK, but as far as I remember you need LineageOS or AOSP from which you want to port.

1 Like

Sony ships aosp as well, so that would be covered too:
https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions
I guess that means then that:

  • patches for the kernel might be necessary for hybris
  • patches for AOSP might be necessary for hybris/Android support?
    Come to think of it, n00b question:
    does MER require AOSP ? If hybris (as I understood) is managing the compatibility between glib & android drivers in the kernel; theoretically, the AOSP is necessary “only” for the android support?
1 Like

I was looking at what Vknecht posted on:
http://merproject.org/logs/%23sailfi…05-02.log.html
respectively:

https://build.merproject.org/project…qualcomm:f5121

also a pie based port which works better, but only boots correctly sometimes:
https://build.merproject.org/project…:hw:sony:loire

because of:
https://github.com/sonyxperiadev/dev…6c494ecad6875e

I would like to try any of these ports but I need some guidance like step by step sequence of actions.

3 Likes

No. By tthe way there had been a “Community initiative” already, which got abandoned.

2 Likes

how is the backport for audio to be applied ?

Oh, so someone already got it to work with an even more recent kernel version, that’s interesting. It’s a shame that person seems to have stopped working on it. @vknecht, if by any chance you read this, do you intend to continue your project?

1 Like

Thanks for the interest in Oreo/Pie based ports for Loire, and I understand how important it looks to SFOS on Loire users/fans. Sadly, it seems to be a dead end since Jolla :

  • never really acknowledged this work (like for all community devices/ports)
  • never agreed to provide/allow AlienDalvik for community devices/ports

so there’s no real benefit to it except maybe more recent kernel (and new problems/incompatibilities to solve), but even Sony’s 4.9 kernel branch (LE.UM.2.3.2.r1.4) is almost dead now and not update-able anymore.

Future is in getting Loire devices mainlined, that is, integrated in Linus Torvald’s Linux tree.
And thankfully there is a team working on it which already mainlined Nile/XA2 : https://www.somainline.org/
That way, no need for binary blobs anymore, and it opens gates to newer and native Android or SFOS ports.
Also, Anbox seems to be better supported on mainlined OS/devices.

14 Likes

Thank you for replying so quickly! Mainline kernel support for mobile phones sounds incredible, but I guess a lot of work will still be needed to make sure those phones can function like a proper phone, with decent battery life and functional sensors.

Indeed, Jolla does not support community ports more than on the tech side.
Premium aspects (Alien Dalvik, predictive text etc) are not available.
Which is why I was wondering if updating the kernel would yield at least a better AOSP.
But perhaps that’s not enough.

I am not looking for (yet) another open source project aimed at saving the mobile world (Jolla gracefully demonstrated this to be not a feasible solution already); I just want a sustainable (from user perspective) phone with SFOS :). The XPeria X is an excellent HW, and actually quite reliable.
If there’s not a better alternative available by the EOL of it, there might be better options around. Will see!

1 Like

One step further. readme

13 Likes

Did you try it? :grimacing: But we would need a “ready made” Image to flash, right?

1 Like