Still wondering how to play the game with root? Here's how I fixed it:
I have a Motorola Moto G5S Plus (codename sanders) which I had running AEX (AOSP Extended) with Android 10. I tried everything but could not get Pokémon GO to work. Here's how I fixed it (results may vary).
NOTE: UNROOT AND UNINSTALL EVERYTHING RELATED TO ROOT IF YOU WANT TO KEEP YOUR DATA! I RECOMMEND TO WIPE IF YOU REALLY WANT TO PLAY THIS!
What I had:
AEX 7.0
Android 10
Magisk 20.4
Magisk Manager 7.5.1
So this is what I did, step by step:
1. I downloaded Havoc OS 3.4, Kali NetHunter Full v2020.1 and GApps Pico for Android 10 (ARM64).
2. I booted into TWRP 3.3.0.
3. I clicked on wipe and wiped everything (you just need to swipe. Data will not be lost, but be sure you have uninstalled everything related to root).
4. I flashed the Havoc OS 3.4 ZIP, then the Kali NetHunter ZIP and last but not least GApps.
5. I started my phone, finished the android setup, and installed Pokémon GO from the Play Store. I opened and logged into Pokémon GO.
6. I booted into TWRP again and flashed the Magisk 20.4 ZIP file.
7. I started my phone and opened Magisk Manager (install the APK if you don't have it).
8. I enabled Magisk Hide and reinstalled Magisk Manager with a randomized package name.
9. I enabled Pokémon GO in Magisk Hide.
10. I was done.
NOTE: I HAVE NOT TESTED WITH EDXPOSED YET!
I hope this helped you. Not sure if Kali NetHunter is necessary, but you can test this for yourself and tell me. Goodbye.