This may actually be a development question, but I'm going to err on the side of caution and post here first, then see if
@Alberto97 thinks it's worth elevating to the dev thread.
I have an XT1540 2GB/16GB osprey on MetroPCS (T-Mobile MVNO reseller in the US), and I had successfully managed to get Pokemon Go working for several versions of the 7.1 releases.
Specifically using
iSu by
@bhb27 (thanks!
), which renames the su binaries when toggled on, and then puts them back when toggled off. No Xposed framework (I know, I know; don't even think about it near a CM development thread), no Magisk, no Chainfire or phh SuperSU... always making backups with Titanium Backup then restoring things one at a time (and re-doing system settings, not restoring) after a full wipe & clean flash. Using TWRP 3.0.2-r5 and a known-good MicroSD card.
Versions where I think it worked:
CM 14.1 (Dec 25 & 27 builds)
Lineage Unofficial (Jan 12, 13, & 14 builds - I know those were supposed to be for just the CDMA variant, but they also seemed to have the side effect of making the GPS and PoGo work again)
Versions where it hasn't worked:
LineageOS Unofficial (Jan 10 and before): Would NEVER get a GPS fix, no matter how long I left it running. GPS Status was able to get a location properly, even in device-only mode; it just wasn't passing through.
LineageOS Official (Jan 25): Gets a GPS fix, but seems to fail SafetyNet attestation, both with official root add-on from lineageos.org applied then hidden with iSu, and with a fresh install that doesn't even have the root add-on package installed.
Again, that's with internal storage/data/system/cache/dalvik/your mom all wiped and a clean install.
So, CM/LOS used to pass SafetyNet, at least well enough for Pokemon Go to successfully sign in with my Google account credentials, merely by renaming/deleting the su binaries. Now it doesn't. Is that due to how the add-on package applies root vs. how it was baked-in before? Any recommendations on what to try? I know it's not everyone's highest priority, but my wife & I enjoy playing when we go for a walk, so being able to continue doing a favorite activity on my favorite ROM is something I'd appreciate immensely.