[Galaxy S6 Android Development] zapahacks:
Alexis V 7.0.2 + safetynet + Latest Pokemon Go

For those having problems with Pokemon Go and latest safetynet update.

There are 2 things you need to know and to keep in mind in order to play Pokemon Go:

1. Your SElinux status has to be "enforcing"

2. Root detection needs to be bypassed with suhide 0.55 + root switch or by using the temporary solution supplied by chainfire on his thread

So, for number 1, you need to have Alexis Rom with stock kernel. Because if you flash arters or other kernels SElinux will change to permissive and you won't be able to log in. There should be an easy fix for this, as I know all kernels that support Permissive state usually will support Enforcing state as well. Unfortunately I haven't been able to find a way to set the kernel to Enforcing. So, until somebody help us with this matter you will only be able to use Alexis Rom stock kernel. I'm sorry for those using Vipers, as I believe it only works with Permissive SElinux policies

For number 2, I find easier to use the root switch. Hopefully Chainfire will release suhide 0.56 soon. But until then, you can use this Root Switch apk:

So lets get into the step by step for all those having trouble:

EDIT: added a simplified way, shorter, more stable and that doesn't require to re-flash every time you reboot:cyclops:

V1: without Magisk

1. Install with recovery V 7.0 of the Rom, then install 7.0.2 OTA. No need to reboot between them.

2. Reboot into system, set up just the basic things of the Rom and check that SElinux is set to Enforcing. You do this in the about the phone info in settings.

3. Reboot into recovery and flash SuperSU (no need to type the systemless command, it will flash systemless by default in this ROM), then flash suhide 0.55, then exposed 86.2 systemless.

4. Reboot into system, install the xposed apk and download your modules. Activate them.

5. Reboot once again in system to activate your xposed modules.

6. Install the root switch apk. It should ask for root permissions, accept them. Press the disabled switch. Also SElinux should say Enforcing. Your root now will be hidden.

7. At this time you should be good to go. If you want, just run the safetynet helper and you should get green screen. Open your spoofing app in case you use one and then launch and play Pokemon Go.

PD: when you reboot everything should be fine. I just suggest to keep root enable when not playing or before rebooting

V2: with Magisk, I feel more lag in the game with this version, and you will need to re-flash on every reboot

1. Install with recovery V 7.0 of the Rom, then install 7.0.2 OTA. No need to reboot between them.

2. Reboot into system, set up just the basic things of the Rom and check that SElinux is set to Enforcing. You do this in the about the phone info in settings.

3. Reboot into recovery and flash Magisk V7, wipe dalvik/cache, then flash xposed 86.6 systemless

4. Reboot into system, install the xposed apk and download your modules. I recommend snorlax :). It is important to active all the modules you need before going into the next steps, otherwise you will have to do the procedure more times.

5. Go to SuperSu app and unroot. When it asks about the stock boot image just select No. Your phone should reboot and you should not have root anymore.

6. Go to recovery, wipe dalvik/cache and type the command in terminal echo "SYSTEMLESS=true" > /data/.supersu

7. Flash SuperSu, the latest one we already know

8. Flash suhide 0.54 or 0.55, any of them should work

9. Flash again xposed 86.6 (this step is not mandatory, but I suggest you do it :))

10. Reboot into system, you should now have SuperSu app, open it one time.

11. Install the root switch apk. It should ask for root permissions, accept them. Press the disabled switch. Also SElinux should say Enforcing. Your root now will be hidden.

12. At this time you should be good to go. If you want, just run the safetynet helper and you should get green screen. Open your spoofing app in case you use one and then launch and play Pokemon Go

You should keep 2 things in mind.

1. There is a bug with Magisk where everytime you reboot your phone you will lose root and the suhide effect. So you won't be able to pass safetynet. The temporary fix is to flash superSu and suhide after every reboot, just like in the steps I mentioned in V2. You don't need to wipe dalvik/cache. So it will just take 2 extra minutes. Hopefully new version of suhide will fix this. Or just go with V1 :cool:

2. Re-enable root with the switch app before rebooting. Just as a precaution. Sometimes I lose root if I don't do this, specially if you applied V2 method.

I hope this helps you Mikolol, and also other people. If you have any trouble let me know.

I'll keep everyone informed when I find a way to use this with other kernels/viper mod. I'm still trying to find a more stable workaround. For now is a temporary solution, and Alexis Rom with stock kernel is good enough to use as a daily rom :)