answered
2019-04-16 20:24:35 +0200
Something seems wrong with your app ascertaining that your Android is rooted :
there is no su
binary in the Android application compatibility layer (alien-dalvik) to begin with.
I would strongly suspect that the app makes a general "Is everything okay ?" test (e.g.: tries to run the SafetyNet feature), and displays this as a standard message whenever the test fail, because most often that's the problem (people installing some very suspect chinese spyware-ridden Android app to root their phones), nobody has made the effort to make a specific code to detect the relatively rare "You're running Sailfish OS" situation and display a corresponding message.
You would need to test further a couple of things :
Official Google solution
Maybe installing the official Google Play services (e.g.: using a source like openGAPPS) would solve the problem ? (make the Safetynet tester work ?) There are some tutorials here around on TJC to install this.
microG solution
( ^- my favourite )
- try installing microG
- some apps also test for the presence of Google Play Store and complain otherwise. There is a special package FakeStore in FDroid that simulates this. This comes handy when you only use other things instead: like using the Aptoid app provided by Jolla to install stuff from their aptoid repo, or using Yalp store to fetch stuff from Google (I use both of this)
- then test options in the microG settings :
- microG has multiple options that can be turned on or off like registering the smartphone at Google, to get a Google ID
- they also implement Safety Net
- use the top-right "three dots" menu to go to advanced to select the server (3rd party or Google).
- their SafetyNet can contact 3rd party servers
- they also have a special container (look for microG DroidGuard Helper in FDroid) that can isolate the DroidGuard system used to sign request so the official Google SafetyNet server can accept them.
I've done some quick test with my installation (I have microG+FDroid+Yalp+Aptoid+FakeStore) and turning on microG's SafetyNet after installing the microG DroidGuard Helper, seems to make the
"The device has root user rights or apps that use root rights. We recommend that you remove the root rights or apps that use them"
message - that otherwise appeard before when the app starts - to disappear on subsequent run.
Note that I don't use that bank (I don't even live in Finland to begin with) so I can't test much further. My banks happen to not give a damn about SafetyNet or whatever and happily run their app on my phone even with SafetyNet disabled.
Actually your XA2 is rooted, not SFOS.
potski ( 2019-04-16 17:30:29 +0200 )edit