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

rebuild the kernel [answered]

asked 2014-06-07 20:46:29 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-06-07 20:46:29 +0300

freemanuu gravatar image


I was really interested by your product, but there is too much thing I don't understand. I know that the UI is closed source and some kernel driver are also closed source. I'm ok with that. I also read that we can get the kernel source with DVD shipping, ok. But can we rebuild the kernel ? (even if we will have to keep close source module for the wifi for example). Can we then flash the device in order to use the custom-kernel ? It seems it's not the case, but I want to be sure Do you provide the toolchain ? (or maybe there is documentation for building the toolchain ourself) ? In your website, we can download the other half SDK, ok. But where can I download the SDK for building application ? Is it possible to build c program ? (if you give us a gcc toolchain, then of course, it should be possible. right ?) Do you have API to access to contact list for example ? Can we use python to access it ?

maybe I'm wrong and your product doesnt target geek guy ?


edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by r0kk3rz
close date 2015-09-01 18:00:03.111839

2 Answers

Sort by » oldest newest most voted

answered 2014-06-07 22:30:45 +0300

Acce gravatar image

updated 2014-06-07 22:39:01 +0300

Look here and here. The first one is the github repo the kernel code gets pushed to (or was pushed to at a time, not sure about the current state) and the latter is the content of the DVD sent by Jolla on request, I assume it has been uploaded with a permission. it doesn't have the newest update though.

Above links are from TMO discussion: http://talk.maemo.org/showthread.php?t=92852

edit flag offensive delete publish link more


thank you, it nice to have the source. But how can we build the kernel ? Where is the crosstool ?

freemanuu ( 2014-06-07 22:44:23 +0300 )edit

@freemanuu: Although I have not tested it, this: https://wiki.merproject.org/wiki/Sailfish/Backup_Device#Building_the_kernel might lead you to the right direction. It looks like you have to get package / compile the toolchain for "armv7hl-hardfloat-linux-gnueabi"

Acce ( 2014-06-08 17:56:44 +0300 )edit

answered 2014-06-07 21:09:50 +0300

Peter S. gravatar image

Informations about the SDK for building application can be found on https://sailfishos.org/

Some useful information are also on https://openrepos.net/

edit flag offensive delete publish link more


ok, thank you. But I still cannot find the linux source. So I suppose we can only get them by DVD ? And I still don't know if we can rebuild the kernel.

freemanuu ( 2014-06-07 21:51:21 +0300 )edit

Ok, I found the answer. They said, they are waiting to fix a tinkerability bug (source: https://together.jolla.com/question/3511/how-to-recompile-the-kernel-for-ipv4-multicast-support/ ). it seems that this bug is still not fixed at the end of january (https://together.jolla.com/question/3612/release-notes-software-version-1025-maadajavri/) So I suppose, we can buy the phone, and we will should get the ability to build the kernel later ?

freemanuu ( 2014-06-07 22:29:27 +0300 )edit

Question tools



Asked: 2014-06-07 20:46:29 +0300

Seen: 1,059 times

Last updated: Jun 07 '14