Ask / Submit

Possible to overcome Google Play Services dependencies?

asked 2014-11-13 20:55:58 +0300

AnaT gravatar image

I started to think that wouldn't it be possible to write a library that would mimic the Google Play Services? For example, when an app requests for a map, this library would feed it OSM, instead of Google Maps.

On the other hand, Blackberry users seem to be fighting with the same issue. Maybe these would work on Jolla also:

Any ideas?

edit retag flag offensive close delete



my idea would be to have all necessary things native that we dont need any android bulk :)

NuklearFart ( 2014-11-13 21:22:12 +0300 )edit

A lot of apps are years away from being ported to Sailfish. Many may never come. Not trying to find an interim fix is stupid.

midnightoil ( 2014-11-13 21:26:28 +0300 )edit

I did not say that I would not search for interim fixes, e.g. I installed here maps android beta to be able to have maps available offline. But in my opinion sailfish has much more potential. I personally don't need that much apps.

NuklearFart ( 2014-11-13 22:29:07 +0300 )edit

IMHO I think that the opposite is necessary: services that allow alien dalvik to use Sailfish APIs instead of Google Play Services. So, we don't need Google's services, but Jolla Play Services in Dalvik, and something that tells Android apps "use these services".

palikao ( 2016-07-29 10:51:37 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2016-10-16 20:14:27 +0300

bomo gravatar image

updated 2016-10-17 21:46:47 +0300

When its about android apps that don't install because of missing google maps v1 api you can use the open implementation (that replaces google maps with OSM) of the great nogapps/microg project. To install the libraries, download this and extract the files in the


of the archive to


set the permission correctly (like to other files in the respective folders) and restart aliendalvik

Edit: Here the hopefully complete commands:

[nemo@jollas ~]$ devel-su 
[root@jollas nemo]# pwd
[root@jollas nemo]# wget
[root@jollas nemo]# unzip -d mapsv1
[root@jollas nemo]# cp mapsv1/system/framework/ /opt/alien/system/framework/
[root@jollas nemo]# cp mapsv1/system/etc/permissions/ /opt/alien/system/etc/permissions/
[root@jollas nemo]# chmod 664 /opt/alien/system/etc/permissions/ 
[root@jollas nemo]# chmod 664 /opt/alien/system/framework/ 
[root@jollas nemo]# systemctl restart aliendalvik.service
edit flag offensive delete publish link more



Nogapps is old, the successor is microG. The mapsv1 of microG is here.

ale5000 ( 2016-10-16 20:40:25 +0300 )edit

@ale5000 perfect, didn't know that he is still working on the v1 api.

bomo ( 2016-10-16 23:19:14 +0300 )edit

bomo can you further describe the process? there is a flashable zip then there is a sourcecode zip and a tar.gz. Where should those archives be extracted? Do all three files need to be copied into system/etc?

DarkTuring ( 2016-10-17 02:26:23 +0300 )edit

@DarkTuring Look at these instructions for further help on using microg on Sailfish, I got quite a few things up and running well both on Jolla C and the Jolla tablet!

jwalck ( 2016-10-17 02:51:14 +0300 )edit

I have created Tingle (a fork of Needle) to simplify patching (it support also Jolla phones).

ale5000 ( 2016-10-17 12:13:12 +0300 )edit

answered 2014-11-14 03:45:42 +0300

dsilveira gravatar image

updated 2016-09-12 12:19:09 +0300

nadir gravatar image

I believe this is possible, but it requires a few services to be created by Jolla, to be exposed via the emulated API. Some might be harder than other to implement, if you think of all the services that Google provides.

It also requires Alien Dalvik to implement those wrapper classes to be available system wide.

edit flag offensive delete publish link more



We are still facing the issue, so I don't see a reason to accept this answer

AnaT ( 2015-11-16 21:05:21 +0300 )edit

There's already a library available called micro G for this reason. Still in development.

nadir ( 2016-07-29 10:12:18 +0300 )edit

Why couldnt they just be normal android services running in dalvik?

tortoisedoc ( 2016-07-29 10:25:48 +0300 )edit

@nadir, would you have an idea on how to get microG working on Sailfish?

AnaT ( 2016-08-14 21:08:23 +0300 )edit

@AnaT on is a discussion about how to get Pokemon Go working on the Jolla. In that topic there is an explanation how to get microG working. I didn't try it myself yet. I don't play Pokemon Go.

Jozz ( 2016-08-17 22:00:02 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-11-13 20:55:58 +0300

Seen: 2,950 times

Last updated: Oct 17 '16