[How-to] Pokemon Go 0.37+ on Aqua Fish (and likely other Sailfish devices)
Thought I'd make a thread for this. So the latest Pokemon Go update (0.37.0) notoriously refuses to run on rooted Android devices - and apparently Alien Dalvik counts as one. I'll document a workaround that I found here: https://talk.maemo.org/showpost.php?p=1514888&postcount=120 and that I have tested on my own Aqua Fish. This isn't about the general problem of running Pokemon Go on Sailfish devices - it's for the case where you have already been playing previous versions of Pokemon Go on your device but are not able to continue to do so due to the new root check built into version 0.37.0 onwards.
Workaround: You simply need to hide the su binaries in Alien Dalvik. The su binaries are /opt/alien/bin/su and /opt/alien/usr/bin/su - just move or rename them. You'll need developer mode and devel-su.
For people who are unfamiliar with how to do this, do the following in the terminal. First get root powers:
> devel-su
Type your password, then run the following two commands:
> mv /opt/alien/bin/su /opt/alien/bin/su_moved
> mv /opt/alien/usr/bin/su /opt/alien/usr/bin/su_moved
Of course, this would probably jeopardize any android root apps that you may be running - if you're running any (I'm not). There are no other consequences that I am aware of so far.
There are probably other ways with other tradeoffs to work around this problem, this is the one I'm using. Feel free to post if you know of another one. Also feel free to feedback if this works/does not work on your device.
I think I'll rather boycott the game and hope many others on Android will.
Giacomo Di Giacomo ( 2016-09-13 19:28:24 +0200 )editIt's kind of a duplicate of https://together.jolla.com/question/28907/problem-android-application-believes-that-it-is-installed-on-a-rooted-device/, maybe it was enough to edit the accepted answer and confirm that @coley 's comment is the good thing to do.
Sthocs ( 2016-09-14 00:59:46 +0200 )editNot sure what's the duplicate policy here, but the reason I made a thread is to make it searchable for people facing this specific problem with specifically pokemon go. Even though the nature of the problem is similar to that thread, I'm pretty sure most people - myself included - would not have been able to find that thread and the solution therein. Also, I'd say it's not necessarily clear (even though it may happen to be) that what works for the Barclay's app will work for Pokemon Go - afaik there is no absolutely standard way for an app to check for root, so having two threads isn't without sense imo.
moofang ( 2016-09-14 09:42:43 +0200 )editThanks @moofang but it doesn't work for me (on jolla 1) Maybe it's because I'm using a modified APK for Android 4.0.1
pierrehegr ( 2016-09-14 10:29:25 +0200 )editFair enough! I actually tried to do that and it appears to not work on my Jolla 1. I didn't try to rename the real binaries, the best might be to follow Giacomo advice in the end!
Sthocs ( 2016-09-15 13:40:10 +0200 )edit