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

[Question] Hide root privileges for android apps

asked 2019-10-29 15:17:29 +0200

Stanislav1988 gravatar image

updated 2019-10-29 16:52:19 +0200

jiit gravatar image

Good morning,

I want to know if exist, any solution to hide root, because some apps which I need (like goverment app mObywatel, ING Mobile ) detect this and don`t want work. So there is a chance to hide root for this apps?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
4

answered 2019-10-29 15:26:06 +0200

DrYak gravatar image

Sometimes, "your device is rooted" is the message that apps show when in fact they were just unable to run some Google Play Service API or didn't find Google Play Store installed (yup for some reason some application look for that).

Installing the opensource microG or the original Google Play Service could help in these cases.

These messages might also be caused by failing a SafetyNet checks. (Saddly for microG users, DroidGuard is currently broken due to upstream changes from Google).

edit flag offensive delete publish link more

Comments

@DrYak I have Google Play Services installed but I don`t use microG service

Stanislav1988 ( 2019-10-29 15:32:43 +0200 )edit

Okay, so at least we can exclude both the API, and the SafetyNet.

From that point onward, I don't know what further to do.

Maybe these app do something stupid like checking for AOSP ?

At least we know it's not due to checking for su: it's not there. You actually gain root from the outside, from Sailfish OS (lxc-attach -n aliendalvik /system/bin/sh).

Maybe try running logcat (lxc-attach -n aliendalvik /system/bin/logcat) and whatch if there's some missing API/broken library or other error message, when you attempt starting the apps ?

DrYak ( 2019-10-29 15:42:35 +0200 )edit

@DrYak I am currently on LineageOS and I don`t want switch OS once again to make log cat and back to android once again. Really I have some apps which I must to have, because I always use them.

Stanislav1988 ( 2019-10-30 08:35:08 +0200 )edit

Have attached logs for one of the apps(in.org.npci.upiapp) which fails to start @DrYak

santhoshmanikandan ( 2019-10-30 08:44:00 +0200 )edit

It`s look like problem is in com.google.android.gms/.trustagent.UserPresentBroadcastReceiver

Stanislav1988 ( 2019-10-30 08:50:10 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2019-10-29 15:17:29 +0200

Seen: 608 times

Last updated: Oct 29 '19