Ask / Submit

Installation of Android app fails with "Parse error: [...]"

asked 2018-03-17 14:27:48 +0300

g gravatar image

updated 2018-03-17 18:15:37 +0300

olf gravatar image

Hello community,

I was wondering if anyone has managed to successfully install Android app "Magisk". AFAIK this tool manages to hide the fact our devices are rooted under the Android environment (as it happens with Alien Dalvik). My goal is to be able to use certain Android apps which cannot be used if the app detects it is a rooted device...

When I try to install this app I get the following (Android) message: ¨Parse error: there was a problem whilst parsing the package".

If not possible, has anyone managed to achieve this via another Android/Sailfish app?

Thank you for your help!

PS: my device is a Jolla C.

edit retag flag offensive close delete


2 Answers

Sort by » oldest newest most voted

answered 2018-03-17 15:43:33 +0300

olf gravatar image

updated 2018-04-22 04:44:57 +0300

¨Parse error: there was a problem whilst parsing the package" usually occurs, when the package (APK file) is for a newer Android version (i.e. newer than Android 4.4, which is the basis for AlienDalvik on the Jolla C) or has become broken (while downloading etc.).
Thus try a version of this app, which is compatible with Android 4.4 ("KitKat", API level 19) or earlier.

edit flag offensive delete publish link more


@olf: thanks for the reply. Very good to know.

For others who try to install Magisk, I tried a version compatible with Android 4.4 or earlier (v11.1). The error does not show up any longer but it does not install...

Should anyone manage to install Magisk, please share!

g ( 2018-03-18 22:33:32 +0300 )edit

I don't understand this stuff deeply, but as a long time Android user and Magisk user, I don't think you will get it to work on Sailfish. Maybe someone else can explain it better, but I think the Magisk hide functions work based on a patched Android boot img., which we don't have, and also based on detecting aspects of the Android os, which it probably can't do, since Android is installed as a compatibility layer', (again, not exactly sure what that is, but...).

Levone1 ( 2018-04-18 15:56:33 +0300 )edit

answered 2018-04-18 21:27:58 +0300

olf gravatar image

updated 2018-04-22 14:41:16 +0300

Specifically WRT installing Magisk:
While this seems to be technically feasible (@Levone1, no image to patch and flash necessary), it has to be prepared from the SailfishOS side (where one is root, already), either manually or by building an installable RPM package; installing the Magisk APK after this preparation work is just the last step (like Aliendalvik Superuser does that on Jolla 1 phones with their AOSP 4.1.2 based AlienDalvik).

If you want to pursue this route, installing SuperSU (using its documentation) may be easier and recent Magisk releases are for Android 5+ only. But that (either with Magisk, SuperSU or any other such tool) needs some thorough understanding of rooting Android (e.g. see aforementioned documentation), AlienDalvik etc.

Please report any successes or failures here (even if only partially), as others may pursue the same on SailfishOS devices with the newer, AOSP 4.4 based AlienDalvik.
If other functionality of Magisk than just "rooting" is your aim (you mentioned "signature spoofing"), the Xposed framework (v2.6.1 seems to be the last version working under Android 4) and its modules may be worth a try (after having successfully "rooted" AlienDalvik) as an alternative.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2018-03-17 14:27:48 +0300

Seen: 996 times

Last updated: Apr 22 '18