Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Porting Sailfish OS

OP jabza

23rd January 2014, 07:03 PM   |  #1  
OP Senior Member
Thanks Meter: 534
 
512 posts
Join Date:Joined: Aug 2012
Donate to Me
More
So, with the recent news of a port of Sailfish to the Nexus 4, I've been thinking. Does anyone know what it would take to port this OS? Does anyone here know the system well enough to be able to describe what it would entail to port this to another Nexus device, like the Nexus 5?

To clarify, I'm not asking anyone else to port the OS (though if someone would like to, that's fine), because I'm more than happy to do the work for it. I've just never actually ported anything like a completely new OS, so I don't know what it would involve and I'd like it if someone explained or even gave a rough outline of what would need to be done.
23rd January 2014, 10:05 PM   |  #2  
Daycrawler's Avatar
Senior Member
Flag Gdańsk
Thanks Meter: 76
 
250 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by jabza

So, with the recent news of a port of Sailfish to the Nexus 4, I've been thinking. Does anyone know what it would take to port this OS? Does anyone here know the system well enough to be able to describe what it would entail to port this to another Nexus device, like the Nexus 5?

To clarify, I'm not asking anyone else to port the OS (though if someone would like to, that's fine), because I'm more than happy to do the work for it. I've just never actually ported anything like a completely new OS, so I don't know what it would involve and I'd like it if someone explained or even gave a rough outline of what would need to be done.

I tried to do that a few weeks back but didn't have time to hunt down all the problems I had.
Check out this blog:
http://martinbrook.blogspot.com/?m=1
There's a rough guide in one entry. Basically you need to build CM from source, apply libhybris patches and then set up Mer on top of it. When you get Mer running it should be easy to install Sailfish packages. Libhybris is a compatibility layer for Android drivers to work on normal linux. Good luck and let us know how it goes. I had troubles with building Mer image for my device. In the video you mentioned it looks like the whole patch+Mer+ sailfish packages is this second prepared zip he flashes.

Sent from my LG-P760 using Tapatalk
The Following 2 Users Say Thank You to Daycrawler For This Useful Post: [ View ]
10th February 2014, 07:54 AM   |  #3  
aeppacher's Avatar
Senior Member
Thanks Meter: 737
 
630 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by jabza

So, with the recent news of a port of Sailfish to the Nexus 4, I've been thinking. Does anyone know what it would take to port this OS? Does anyone here know the system well enough to be able to describe what it would entail to port this to another Nexus device, like the Nexus 5?

To clarify, I'm not asking anyone else to port the OS (though if someone would like to, that's fine), because I'm more than happy to do the work for it. I've just never actually ported anything like a completely new OS, so I don't know what it would involve and I'd like it if someone explained or even gave a rough outline of what would need to be done.


Hey man have you tried yet? My laptop is currently being serviced but upon its return I really want to try this.
10th February 2014, 06:50 PM   |  #4  
OP Senior Member
Thanks Meter: 534
 
512 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by aeppacher

Hey man have you tried yet? My laptop is currently being serviced but upon its return I really want to try this.

Not yet; I've been busy working with other things. Though it looks like we're in pretty good shape so far because the recent Ubuntu Touch builds have been getting doing some good work for Mer on the Nexus 5, so hopefully we can use that progress. I just haven't found the time to work on this yet, unfortunately.
The Following User Says Thank You to jabza For This Useful Post: [ View ]
10th February 2014, 06:56 PM   |  #5  
aeppacher's Avatar
Senior Member
Thanks Meter: 737
 
630 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by jabza

Not yet; I've been busy working with other things. Though it looks like we're in pretty good shape so far because the recent Ubuntu Touch builds have been getting doing some good work for Mer on the Nexus 5, so hopefully we can use that progress. I just haven't found the time to work on this yet, unfortunately.

I think SF is a really promising OS more so than Firefox is, tizen, and I think more polished than Ubuntu phone. I can't wait to start developing for it so I really want to port it when I get my laptop back. Nice thing is if you use Qt you can basically just write one app that will natively run on Ubuntu and SailFish
10th February 2014, 07:38 PM   |  #6  
OP Senior Member
Thanks Meter: 534
 
512 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by aeppacher

I think SF is a really promising OS more so than Firefox is, tizen, and I think more polished than Ubuntu phone. I can't wait to start developing for it so I really want to port it when I get my laptop back. Nice thing is if you use Qt you can basically just write one app that will natively run on Ubuntu and SailFish

I agree completely. It's sad that it hasn't seen a bigger leap in development, but I hope that it'll pick up sooner rather than later. I was just reading earlier today about Qt, which is pretty nifty if you ask me. Hopefully I'll find some time this week to actually make progress on it.
10th February 2014, 07:41 PM   |  #7  
aeppacher's Avatar
Senior Member
Thanks Meter: 737
 
630 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by jabza

I agree completely. It's sad that it hasn't seen a bigger leap in development, but I hope that it'll pick up sooner rather than later. I was just reading earlier today about Qt, which is pretty nifty if you ask me. Hopefully I'll find some time this week to actually make progress on it.

Well once I get my laptop back I will message you and maybe we can tag team it
The Following User Says Thank You to aeppacher For This Useful Post: [ View ]
10th February 2014, 08:07 PM   |  #8  
Member
Thanks Meter: 10
 
89 posts
Join Date:Joined: May 2013
Nice..get it work!

Lähetetty minun Nexus 4 laitteesta Tapatalkilla
The Following User Says Thank You to apelamod For This Useful Post: [ View ]
11th February 2014, 02:44 PM   |  #9  
Senior Member
Thanks Meter: 24
 
273 posts
Join Date:Joined: Apr 2011
More
Jolla is working hard on the android hardware adaptation libraries, here's official status about whats going on, its work in progres and might not be quite upto date.
https://wiki.merproject.org/wiki/Adaptations/libhybris

source: https://twitter.com/HarriHakulinen/s...63017555959808
Last edited by Whippler; 11th February 2014 at 02:47 PM.
11th February 2014, 07:46 PM   |  #10  
aeppacher's Avatar
Senior Member
Thanks Meter: 737
 
630 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by jabza

I agree completely. It's sad that it hasn't seen a bigger leap in development, but I hope that it'll pick up sooner rather than later. I was just reading earlier today about Qt, which is pretty nifty if you ask me. Hopefully I'll find some time this week to actually make progress on it.

Quote:
Originally Posted by Whippler

Jolla is working hard on the android hardware adaptation libraries, here's official status about whats going on, its work in progres and might not be quite upto date.
https://wiki.merproject.org/wiki/Adaptations/libhybris

source: https://twitter.com/HarriHakulinen/s...63017555959808

I tweeted Jolla asking if there was now an arm image within the SDK instead of just a x86 one and they told me that there is so that will take care of one major issue.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes