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

[Aliendalvik] Show root privileges access request

asked 2014-06-22 21:56:00 +0200

coderus gravatar image

updated 2017-11-04 08:56:27 +0200

olf gravatar image

Superuser access for applications working only if option "Allow" selected, if selected "Prompt" question dialog not showed for user

edit retag flag offensive close delete


This is not correct and allows any Android app to gain superuser rights (via the su binary) without user interaction, thus creating a security nightmare on your SailfishOS device.

For a proper and secure configuration, see answer below.

olf ( 2017-11-04 11:21:27 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-08-11 17:59:58 +0200

olf gravatar image

updated 2017-11-06 01:34:29 +0200

WRT Coderus' excellent Aliendalvik Superuser RPM, see https://openrepos.net/comment/14795#comment-14795 and screenshots below for a secure configuration:

You must set in the Superuser app Preferences --> Security --> Multi-user mode to User controlled in order to enable it to properly manage Android apps, which request superuser rights. Also leave / set --> Automatic response on its default, i.e. Prompt.
You also must let the Superuser app start on AlienDalvik start-up by activating Settings --> Apps --> Superuser --> Allow application background services to start on bootup, otherwise it cannot capture and filter superuser (su) requests.

Additionally, you may utilise the quick setup guide https://openrepos.net/comment/14796#comment-14796.

Note, that Aliendalvik Superuser ONLY works on Jolla 1 phones with its AOSP 4.1.2 based AlienDalvik.

Screenshots to illustrate Superuser's configuration and usage:







edit flag offensive delete publish link more



Doesn't work on Jolla C with Haven't tested with original Jolla with 2.0.2.x so don't know if it is related to Sailfish OS version.

Jolla C has newer Android-version, so this could be related to that.

Edit: On Jolla C I can't get root access even if I set the allow-option

hetas ( 2016-08-11 20:34:16 +0200 )edit

Watch this discussion thread: https://openrepos.net/comment/14574#comment-14574

olf ( 2016-08-11 21:53:28 +0200 )edit

Has there been any update, will it work on SFOS X?

XFish ( 2017-11-06 07:55:48 +0200 )edit

This currently does not work with SFOS on Xperia X. Hopefully the community has some ideas of how we may be able to get it to work. At the moment, if you use Android apps, the phone is less secure than properly rooted alternative Android builds. This is really an unacceptable situation for a privacy oriented OS. Perhaps it may be possible to have a firewall type restraint on the Android sandbox on a per app basis. this would satisfy the main security issues but leave out some functionality of rooted apps (backup in particular).

zepher ( 2017-11-07 01:42:34 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2014-06-22 21:56:00 +0200

Seen: 1,540 times

Last updated: Nov 06 '17