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 (community build) (https://talk.maemo.org/showthread.php?t=99875)

m4r0v3r 2017-10-13 17:53

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

Originally Posted by maximilian1st (Post 1536704)
sounds like black magic

what as a daily driver? ill happily build it but someone else has to test :P

deprecated 2017-10-13 20:02

Re: Sailfish OS on Sony Xperia X (community build)
 
I'll test anything, even high risk stuff. I have programming jigs and SMD rework stations. :p

Seriously though, I will test anything. My Xperia X is my daily driver, but I work from home and have voip land line for most communications.

chris_bavaria 2017-10-13 20:45

Re: Sailfish OS on Sony Xperia X (community build)
 
Is it possible to use Bluetooth over Aliendalvik?
Android apps has no direct acces to bt-devises.

DrYak 2017-10-13 22:09

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

Originally Posted by m4r0v3r (Post 1536698)
ill build it and see but my X is my daily driver

I would be *very very* interested in the result (don't have much time and resource to invest into building it myself, right now).

Bonus point :
- If you happen to also recompile the kernel from Sony's source : would you be so kind to turn the btrfs support on ? and/or modules ? pretty please ? (they are urrently turned off)

nh1402 2017-10-13 22:24

Re: Sailfish OS on Sony Xperia X (community build)
 
4.4 kernel isn't fully functional yet, both cameras don't work and some other stuff see here for more details

Also I don't believe Bluetooth works with alien dalvik.

DrYak 2017-10-13 22:41

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

Originally Posted by nh1402 (Post 1536752)
4.4 kernel isn't fully functional yet, both cameras don't work and some other stuff see here for more details

Also I don't believe Bluetooth works with alien dalvik.

So we'll have to be patient until sony fixes their kernel...

(Well, they'll eventually do it : they plan to provide oreo with 4.4 on the xperia x)

meloferz 2017-10-13 23:24

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

Originally Posted by chris_bavaria (Post 1536735)
Is it possible to use Bluetooth over Aliendalvik?
Android apps has no direct acces to bt-devises.

For music I tested and works great, used Deezer Android app with my Sony SHB 20 and my JBL Charge 2

Enviado desde mi Xperia X corriendo Sailfish OS

m4r0v3r 2017-10-13 23:34

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

Originally Posted by nh1402 (Post 1536752)
4.4 kernel isn't fully functional yet, both cameras don't work and some other stuff see here for more details

Also I don't believe Bluetooth works with alien dalvik.

thanks for that, saves me time jumping down the rabbit hole

chris_bavaria 2017-10-13 23:57

Re: Sailfish OS on Sony Xperia X (community build)
 
Bluetooth is working with only sound output from AlienDalvik?
My new pebble watch does not work with any additional companion app (android). Only Rockpool (sailfish) is working with bt-paired watch.:confused:

DrYak 2017-10-14 10:27

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

Originally Posted by m4r0v3r (Post 1536762)
thanks for that, saves me time jumping down the rabbit hole

Yup we'll still have some patience to go apparently.

(And regarding my hopes of btrfs, means I'll have to learn to compile my own kernel and compile a 3.10 kernel with modules and btrfs enabled. )

(Or try to find a fuse btrfs driver. Well given that btrfs is not only a filesystem but a whole volume manager, and that it actually uses in-kernel facilities (device mapper for the volume management, crypto for compression, etc.), any existing working btrfs fuse solution probably roughly looks like recompiling the whole kernel)

pullrequest 2017-10-15 14:24

Re: Sailfish OS on Sony Xperia X (community build)
 
Since a few days i try to mount netshares. But I do not succeed completely.
Here my previous failure. Maybe someone has another idea:

NFS: ->No kernel support for nfs.
SMB: Compiled successfully cifs-util-6.6, but unfortunately -> No kernel support for loading modules.
sshfs: Compiled successfully sshfs-2.10 -> Mounting, reading and edit files work. But every fuse_create_reply action gives me a SIGBUS error and sshfs crash.
So i can't copy or create files on mounted filesystem.

Any ideas, anyone?

Dmitrij101 2017-10-15 16:22

Re: Sailfish OS on Sony Xperia X (community build)
 
Hey guys, sorry for offtopic.
I want to buy Sony Xperia XA1, will I be able to flash it with Sailfish or i need only Xperia X (not the XA, XA1, etc) ?:confused:

suicidal_orange 2017-10-15 16:42

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

Originally Posted by Dmitrij101 (Post 1536884)
Hey guys, sorry for offtopic.
I want to buy Sony Xperia XA1, will I be able to flash it with Sailfish or i need only Xperia X (not the XA, XA1, etc) ?:confused:

You'll need a device that's in the Open Devices program so we have the drivers to use in Sailfish, the XA1 uses a Mediatech chip so it won't ever be added.

There are rumours of an X Compact port being close but if you want a Sony with Sailfish today the X is the only choice.

Dmitrij101 2017-10-15 18:16

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

Originally Posted by suicidal_orange (Post 1536886)
You'll need a device that's in the Open Devices program so we have the drivers to use in Sailfish, the XA1 uses a Mediatech chip so it won't ever be added.

There are rumours of an X Compact port being close but if you want a Sony with Sailfish today the X is the only choice.

Thanks for the info.

m4r0v3r 2017-10-16 10:18

Re: Sailfish OS on Sony Xperia X (community build)
 
planning to do a rebuild in a couple of days, I notice some people want CONFIG_MODULES enabled, BTRFS and TRIM support. Think I'll bundle them in, anything else people fancy?

nh1402 2017-10-16 10:26

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

Originally Posted by m4r0v3r (Post 1536960)
planning to do a rebuild in a couple of days, I notice some people want CONFIG_MODULES enabled, BTRFS and TRIM support. Think I'll bundle them in, anything else people fancy?

not yet, I do have a list for anbox stuff, but it's not finalised (WiFi stops working with the patches applied)

m4r0v3r 2017-10-16 13:27

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

Originally Posted by nh1402 (Post 1536961)
not yet, I do have a list for anbox stuff, but it's not finalised (WiFi stops working with the patches applied)

who needs wifi...right? :P

mikecomputing 2017-10-16 17:18

Re: Sailfish OS on Sony Xperia X (community build)
 
Okey, I have bashed about Sony officially only support flash in windows. And I really hate it.

But the thing is I really can’t stand Android OS I GO NUTS every day and missing my SFOS from fairphone/jolla phone era!

I will loose alot money selling my XZs but starting being desperate because I did a huge mistake. I just wanted a better camera than FP2 and also needed support for some android apps such as bankid/swish here in Sweden. So I thought well lets go Android and hope for SFOS in the future but it was a mistake. The phone and camera is fine but the OS drives me nuts… Seriously how can ANY like Android?

So I have a serious question:

Has the community done any progress on it or is it just me who has XZs?

If i wipe android I need bankid/swish so I need Dalvik too so community edition is probably not enouoght but would be nice to know if anyone has tried SFOS on XZs?

My second option is to buy a X also and install official SFOS so I can use Bankid. Then try to be more active in the community and help, if I can in some way, port SFOS to XZs and hope Jolla will help us with the closed bits such as Dalvik. I don't have a clue how big this task is and how much can be "reused" from X. I only know the camera/kernel is different but...

suicidal_orange 2017-10-16 17:29

Re: Sailfish OS on Sony Xperia X (community build)
 
I'm still hoping someone will comment what the officially supported X and the unofficially working X dual show up as on Jolla's site - seems to me if you buy Sailfish X and register the 'wrong' device dalvik etc could work on any phone, but it's especially likely to work if it's a Sony as the vendor ID will match.

As to porting I'm sure someone is trying but I fear the lack of any posts anywhere (as with the compact) means it's not going well. The place to ask is irc...

pullrequest 2017-10-16 19:05

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

Originally Posted by m4r0v3r (Post 1536960)
planning to do a rebuild in a couple of days, I notice some people want CONFIG_MODULES enabled, BTRFS and TRIM support. Think I'll bundle them in, anything else people fancy?

NFS support would be nice too.

deprecated 2017-10-16 22:01

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

Originally Posted by m4r0v3r (Post 1536960)
planning to do a rebuild in a couple of days, I notice some people want CONFIG_MODULES enabled, BTRFS and TRIM support. Think I'll bundle them in, anything else people fancy?

Just curious, can I run your up-to-date community build and still install XT9 from the Jolla store from my official purchase? I don't install the Android support, because - personally - I consider it device poison.

rinigus 2017-10-17 06:20

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

Originally Posted by mikecomputing (Post 1536991)
Has the community done any progress on it or is it just me who has XZs?

If i wipe android I need bankid/swish so I need Dalvik too so community edition is probably not enouoght but would be nice to know if anyone has tried SFOS on XZs?

My second option is to buy a X also and install official SFOS so I can use Bankid. Then try to be more active in the community and help, if I can in some way, port SFOS to XZs and hope Jolla will help us with the closed bits such as Dalvik. I don't have a clue how big this task is and how much can be "reused" from X. I only know the camera/kernel is different but...

@mikecomputing, would be great to have active and contributing members in the community. I don't think we are in position where we should just sit and wait for SFOS to get better without us - it wouldn't. So, good to hear of your wish to step up and make the difference.

I wonder whether Bankid is open sourced or proprietary bit. In Estonia, most of the ID software is open sourced, with the exception of a newer version that is heavily promoted these days. Unfortunately, company behind it refused to port it to SFOS (I do wonder why?). Maybe you have better luck with the Bankid?

As for Jolla helping with porting Dalvik to XZ - I don't think it will happen, unless something majorly changes in their business model. It looks to be major (read expensive) effort to do so. Do you know whether Bankid works on Dalvik? With XZ, you may have better luck with supporting anbox. I presume XZ would have more or less recent kernel and that's required to tun it. So, it maybe cheaper and more constructive to get a cheap android phone for bankid and push for XZ port together with the anbox development.

Quote:

Originally Posted by deprecated (Post 1537028)
Just curious, can I run your up-to-date community build and still install XT9 from the Jolla store from my official purchase? I don't install the Android support, because - personally - I consider it device poison.

No idea whether its allowed, but its a fair question. Its just insane that we have to use proprietary bits for text prediction. When (if) I get off the navigation software development, I would be happy to help anyone to get this piece of SFOS replaced with some open-sourced solution. Just would prefer to finish what I started before first. Any takers for developing text prediction for SFOS so we can drop XT9?

lantern 2017-10-17 06:28

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

Originally Posted by pullrequest (Post 1537007)
NFS support would be nice too.

It's already there. check /dev/pn54x

suicidal_orange 2017-10-17 07:11

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

Originally Posted by rinigus (Post 1537038)
Any takers for developing text prediction for SFOS so we can drop XT9?

That sounds like my kind of project (no UI to worry about) but I've never used QML and am struggling to think how prediction works. Do you suggest the alphabetically next matching word that's slightly longer or a much longer word to save more typing less often? I guess there's a big dictionary behind it for each language, but they are full of words few will ever use on a phone...

As a Colemack user on my Sailfish devices I would want different corrections to a qwerty user too, assuming spellcheck and prediction are both part of the same thing.

nh1402 2017-10-17 07:25

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

Originally Posted by suicidal_orange (Post 1537044)
That sounds like my kind of project (no UI to worry about) but I've never used QML and am struggling to think how prediction works. Do you suggest the alphabetically next matching word that's slightly longer or a much longer word to save more typing less often? I guess there's a big dictionary behind it for each language, but they are full of words few will ever use on a phone...

As a Colemack user on my Sailfish devices I would want different corrections to a qwerty user too, assuming spellcheck and prediction are both part of the same thing.

My guess is that there is a dictionary of words, ordered lexicographically and by the frequency of use (based on some researched values at first), which will be updated each time the user types that word. (this being overly simplified of course)


EDIT: There does seem to be some open source libraries around this being one I'm not sure why Jolla didn't just use one them.

rinigus 2017-10-17 07:43

Re: Sailfish OS on Sony Xperia X (community build)
 
Looks like http://openadaptxt.sourceforge.net/ is not actively developed, though.

I would suggest to look into Ubuntu Touch solution. They had predictive text input and, as far as I understand, use the same keyboard stack as SFOS. There was someone who was looking into it earlier, but I don't remember the name, unfortunately.

We had some discussion on it in this thread (pages 54,55,56,57 - between other messages). OKboard was suggested and it may have some text prediction in it already

suicidal_orange 2017-10-17 07:47

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

Originally Posted by rinigus (Post 1537049)
We had some discussion on it in this thread (pages 54,55,56,57 - between other messages). OKboard was suggested and it may have some text prediction in it already

Thanks, I'll have a read tonight. This thread is only on page 27 for me though - what post number does the discussion start at?

rinigus 2017-10-17 07:50

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

Originally Posted by suicidal_orange (Post 1537050)
Thanks, I'll have a read tonight. This thread is only on page 27 for me though - what post number does the discussion start at?

My mistake - it was the (official) one : https://talk.maemo.orghttps://talk.m...=99017&page=54

I would suggest to read also on the keyboard stack and what's used by Ubuntu. In the official thread we finished discussion early, as far as I could see, declaring it OT :)

rinigus 2017-10-17 07:55

Re: Sailfish OS on Sony Xperia X (community build)
 
From the quick search:

Looks like Ubuntu source code is at https://github.com/ubports/keyboard-component

and it seems to use http://presage.sourceforge.net/

nh1402 2017-10-17 07:58

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

Originally Posted by rinigus (Post 1537049)
Looks like http://openadaptxt.sourceforge.net/ is not actively developed, though.

I just gave that one as an example of many open source alternatives, I didn't suggest of using it.

Speaking of Ubuntu touch though, they use aethercast for casting stuff from phone to TV's etc. Why aren't we using it?

pullrequest 2017-10-17 17:35

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

Originally Posted by lantern (Post 1537039)
It's already there. check /dev/pn54x

Thanks for the reference but this is the Near Field Communication device (NFC).

And I would like to have kernel support for the Network File System (NFS).

DrYak 2017-10-17 17:59

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

Originally Posted by m4r0v3r (Post 1536960)
planning to do a rebuild in a couple of days, I notice some people want CONFIG_MODULES enabled, BTRFS and TRIM support. Think I'll bundle them in, anything else people fancy?

I think several people were interested in networking solution (so basically NFS and CIFS/SMB).

Another nice thing would be to make it using the latest possible kernel (e.g.: the 3.10.1xx-something-ish currently used by Sony for their official Android 7.1.1 Nougat build, instead of the 3.10.84 that Sony previously used for their Android 6.0.1 Marshmallow and that Jolla used for their official SFOX image) :
it seems that there has been some bugfixes between these two versions that blocked some users to have their muSDXC card detected.

It would be nice if the kernel image works with the official Sailfish X
(it should, I don't see any reason why it shouldn't - as long as /oem is populated with the corresponding proprietary firmwares and drivers.).

lantern 2017-10-17 18:08

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

Originally Posted by pullrequest (Post 1537107)
Thanks for the reference but this is the Near Field Communication device (NFC).

And I would like to have kernel support for the Network File System (NFS).

While waiting fo kernel update, check this out, might help
https://github.com/facebookincubator/nfusr
https://github.com/NetDirect/nfsshell

m4r0v3r 2017-10-17 23:32

Re: Sailfish OS on Sony Xperia X (community build)
 
What about okboard?

Watchmaker 2017-10-18 10:43

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

Originally Posted by m4r0v3r (Post 1537151)
What about okboard?

On my (official) SFOS X it works, but the Italian dictionary is not updated for the latest version so I can only use it in English.

ljo 2017-10-18 17:08

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

Originally Posted by rinigus (Post 1537038)
@mikecomputing, would be great to have active and contributing members in the community. I don't think we are in position where we should just sit and wait for SFOS to get better
...

No idea whether its allowed, but its a fair question. Its just insane that we have to use proprietary bits for text prediction. When (if) I get off the navigation software development, I would be happy to help anyone to get this piece of SFOS replaced with some open-sourced solution. Just would prefer to finish what I started before first. Any takers for developing text prediction for SFOS so we can drop XT9?

I think you hit a few nails here. I am willing on the same terms as you are. :) So for me the OKBoard is a nice piece of software and a good foundation for same or next word predictions with the swiping as icing on top of the cake. I helped promoting OKBoard by providing the Swedish language models very early on and helped others build resources for their favourite languages. OKBoard ties in nicely with the current maliit keyboard infra. As a language technologist I already back in the 90s did text prediction. Most lessons learned are that we should avoid special solutions but build something that tie in or adds to existing open solutions. In the case with xt9 we know the infra is not too restricted, so we could replace it fully with good enough API's for our free solution.

m4r0v3r 2017-10-28 21:21

Re: Sailfish OS on Sony Xperia X (community build)
 
enabling modules causes this error

Quote:

net/built-in.o: In function `qtaguid_mt':
ipc_router_security.c:(.text+0x692ac): undefined reference to `xt_socket_put_sk'
ipc_router_security.c:(.text+0x69350): undefined reference to `xt_socket_get6_sk'
ipc_router_security.c:(.text+0x69360): undefined reference to `xt_socket_get4_sk'
ipc_router_security.c:(.text+0x693bc): undefined reference to `xt_socket_put_sk'
net/built-in.o: In function `tcp_nuke_addr':
ipc_router_security.c:(.text+0x7fdd8): undefined reference to `in6addr_any'
ipc_router_security.c:(.text+0x7fde8): undefined reference to `in6addr_any'
ipc_router_security.c:(.text+0x7ff40): undefined reference to `rt6_lookup'
make[2]: *** [vmlinux] Error 1
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/martin/hadk/kernel/sony/msm'
make: *** [TARGET_KERNEL_BINARIES] Error 2
edit, fixed by disabling IPV6 since thats causing problems. But the F2FS module is causing issues.

DrYak 2017-10-29 08:25

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

Originally Posted by m4r0v3r (Post 1537901)
enabling modules causes this error
Quote:

make[1]: Leaving directory `/home/martin/hadk/kernel/sony/msm'

Looks like sony's msm platform-specific stuff was never tested against modules.

Are these dependencies built-in as in the original kernel ?
Or are they switched to modules, now that modules are activated ?

m4r0v3r 2017-10-29 09:04

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

Originally Posted by DrYak (Post 1537908)
Looks like sony's msm platform-specific stuff was never tested against modules.

Are these dependencies built-in as in the original kernel ?
Or are they switched to modules, now that modules are activated ?

maybe? who knows, will have to give it a better look later, but now config_modules is enabled and it builds. just no modules with it :P

pexi 2017-10-30 09:49

Re: Sailfish OS on Sony Xperia X (community build)
 
A small and perhaps stupid question: is the community port identical to Jolla port minus exchange, predictive text input and alien dalvik?


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8