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

Android sources for Jolla Phone

asked 2019-01-08 22:21:14 +0300

PureTryOut gravatar image

So as I understand it, the original Jolla Phone (and I guess any other model really) runs using libhybris, so it can make use of the Android drivers created for other phones of the same SoC. I'd like to get the Android sources used for this as I plan on porting Halium to this phone and do some experimenting. Are the sources available somewhere, or can they be made available by Jolla?

edit retag flag offensive close delete

Comments

1

I don't really understand your question. What do you mean by "Android sources"? The drivers I guess aren't open source, that's why they needed to do this libhybris thing in the first place.

Maybe I can give you a hint without understanding the question, anyway:

http://releases.sailfishos.org/sources/

https://github.com/libhybris/libhybris

ossi1967 ( 2019-01-09 17:32:00 +0300 )edit

The drivers are not open-source no, if only that were a thing, it'd be a dream.

I guess I used the word "sources" wrong, but I just want the Android stuff the Jolla Phone uses with libhybris. So the vendor blobs (most of the time placed in "/vendor" on Android iirc) like LineageOS ships here, and the Android image containing the required user-land drivers.

PureTryOut ( 2019-01-09 17:39:03 +0300 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2019-01-09 18:36:39 +0300

lpr gravatar image

Android system comes with rpm-package droid-system-sbj which is downloadable with pkcon on a jolla1, the andoid-kernel with GNU/linux stuff switched on by compiler-flags comes with kernel-adaptation-sbj rpm-package, which is downloadable using a jolla1, too.

edit flag offensive delete publish link more
-3

answered 2019-01-09 02:21:31 +0300

jason roland gravatar image

I believe they are available from sony's website as part of the sony open devices platform

edit flag offensive delete publish link more

Comments

The Jolla Phone is not a Sony device though... I'm talking about the actual Jolla Phone, the first device Jolla itself released.

PureTryOut ( 2019-01-09 02:22:39 +0300 )edit
3

if you mean alien dalvik; its closed source. the drivers are also hw blobs compiled against bionic

tortoisedoc ( 2019-01-09 08:59:02 +0300 )edit
1

I do not mean Alien dalvik, that's the software that makes SailfishOS run Android applications. I'm talking about the sources used to make libhybris run SailfishOS on Android drivers. Other phones have tons of custom ROMS that all can be used to run libhybris, so I'm not sure why the Jolla sources for this couldn't be released as well.

PureTryOut ( 2019-01-09 14:31:43 +0300 )edit

AFAIK sailfish OS on Jolla Phone is fully native, glibc on linux kernel withoud android drivers. Am I wrong ?

yorambh ( 2019-01-09 14:57:30 +0300 )edit
1

Well it's definitely glibc on a Linux kernel, but afaik it uses Libhybris to use Android drivers. I am not sure about this though, and if it's not, I'd like to know what kernel options and userland drivers were used to make everything work instead. I managed to make a different OS run on the phone (postmarketOS), but it lacks most hardware support. Even the screen isn't working, so it definitely looks like the device uses libhybris.

PureTryOut ( 2019-01-09 15:21:14 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-01-08 22:21:14 +0300

Seen: 729 times

Last updated: Jan 09 '19