We have moved to a new Sailfish OS Forum. Please start new discussions there.

Sony Xperia X camera app on Sailfish X

asked 2018-07-09 21:14:15 +0300

Maybe this is a (very) silly question, but couldn't it be possible to extract the Sony Android camera app from the Xperia X and use it after flashing Sailfish X on it. I mean there is Android support available for Sailfish, so why cant we use the original Sony camera app, which comes with the phone by default. It's might be even possible to create a partition with the original keys in it, in order to make the camera fully functional.

But maybe this is not feasible at all, due to ...

edit retag flag offensive close delete


due to? ten chars

tortoisedoc ( 2018-07-09 21:15:49 +0300 )edit

the dots behind are meant to be an invitation to give an explanation for it. Is it it weird and misleading?

Vieno ( 2018-07-09 21:26:44 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-07-09 21:43:17 +0300

Levone1 gravatar image

updated 2018-07-10 04:41:16 +0300

There have been several ports of Sony camera over the years, and you may be able to get one or more of them working on Sailfish. The main issue is that the particular camera app you use typically doesn't have any effect on how well the camera works, (except that some apps offer more manual control than others, so if you're knowledgeable about that stuff, you could possibly get better results). So, if you're interested in using the Sony camera app simply because you prefer the interface over other apps, you probably could find a port on XDA and use it. If you're interested more in the actual quality and performance of the phone's camera, that is a different, and more complex issue, involving things like blobs, and shims, etc, that typically happen during the rom build. Usually you can't do too much to change that post-build, but some devs have been able to port frameworks, etc, to make it happen, but it's usually very specific to device and version, so a lot less likely to find something that would work here, unless it was specifically developed for this...

edit flag offensive delete publish link more



@Levone1: Thanks for your answer. As usual things aren't that easy as they might appear in the beginning. I was hopping to bring the marvellous post processing feature of the original Sony camera app to Sailfish X OS. Maybe somebody else had this idea as well and get the answer here.

Vieno ( 2018-07-09 21:54:22 +0300 )edit

I can tell you the XDA devs who would know: opendata, iXaidyiu, and mkdmc. You could reach out and ask them if possible in this situation. I think it's going to be a lot of work... Of course, it might be all n/a in sfos - I don't really know anything about that.

Levone1 ( 2018-07-10 03:39:00 +0300 )edit

@Levone1: I must admit I didn't even come up to my mind that there is a port of the Sony camera app on Android itself. I thought the camera app is locked to the phone via the DRM keys. And on top of it, why porting? If you have a Sony h/p the camera app comes with it and if you don't hv a Sony h/p the Sony camera app may wont work there. My idea was to transfer the bundled Sony camera app from the Android OS to Sailfish X OS. But if its a hell of work its might not worth doing it. Maybe Sony will compile there camera app for Sailfish 4 one day.

Vieno ( 2018-07-10 20:47:22 +0300 )edit

The porting is of course done for non-Sony firmware, like Lineage, AOSP, etc., and definitely does not come easily The first port I used was for LP back in '15, by a device named Xperiaz2 - https://forum.xda-developers.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253. It's a lot of smali code writing and editing, which is way over my head. Also, I think Sailfish X is KK based, so some would have to go way back in the archives and code from scratch, (if it would even work)... There were some camera ports for JB and KK also, but I never tried, and I think they were all specific to Sony phones, (like if you had an Xperia M and wanted the camera from the Z1 or something).

Levone1 ( 2018-07-11 04:27:07 +0300 )edit

Wonder if new Aliendalvik for XA2 might make this actually possible...

Levone1 ( 2019-02-14 21:43:59 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2018-07-09 21:14:15 +0300

Seen: 1,131 times

Last updated: Jul 10 '18