[Aliendalvik] Show root privileges access request
Superuser access for applications working only if option "Allow" selected, if selected "Prompt" question dialog not showed for user
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Superuser access for applications working only if option "Allow" selected, if selected "Prompt" question dialog not showed for user
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:
Doesn't work on Jolla C with 2.0.2.43. 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 )editWatch this discussion thread: https://openrepos.net/comment/14574#comment-14574
olf ( 2016-08-11 21:53:28 +0200 )editThis 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 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-06-22 21:56:00 +0200
Seen: 1,621 times
Last updated: Nov 06 '17
[Request] Alien Dalvik full root [answered]
WhatsApp notification [answered]
Why is Firefox' Sync functionality not supported (currently)? [answered]
Suggestion: Switch to disable swiping in Android apps. [duplicate]
Android app settings lost when removing Alien Dalvik [released]
Bug: Android display timezone not set correctly [duplicate]
[Bug] Removing android App data [answered]
Skype video call ability [answered]
Android apps loses audio (resolved) [released]
Closing Android VM should "power off" Android VM (Alien Dalvik) [not relevant]
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