yashsingh1/xdaforums huggingface dataset:
[Magisk] SquallLHeart:
Hi everyone,

I'd like to take a moment and make sure everyone is on the same page here and that the problem at hand is that Niantic is doing this to prevent people from cheating.. their methods are wrong, in my opinion.. and the majority of the folks in this thread seem to understand that cheating is bad and that we root for other things. Bloatware, ads, performance, etc...

So when I'm seeing people in this thread mentioning about fixing their root methods to resume cheating? That further reinforces Niantic's dirty tactics on stopping people from rooting their phones and furthers the cause in the fight for us to make Niantic understand that someone rooting a device doesn't mean that someone is cheating.. I don't enjoy having this back and forth war with Niantic. I'd like to believe everyone here is fighting for the right cause... and we need to make sure they understand that. They do something, we do something.. back and forth.. whack-a-mole..

Many thanks to everyone here figuring out the methods and procedures needed to be able to do what we would like to do with our own devices, but in the meantime I would also love for us to find ways to promote fair play... and somehow find a way to reach out to Niantic and work with them to keep cheating under control. Thanks much for listening to my rant.. I felt that it was needed after reading the posts from the previous few days.
[Magisk] CarameloPT:
The problem here is not cheating but rooting. At this moment Niantic is ignoring the denial of not giving storage permissions. Even you are cheating, Niantic should not be able to read your internal storage data to check for files, folders related with rooting and recovery flash if you don't give them permission to do so
[Magisk] DaSoul:
Isn't this also an authorization fail from android? I mean if I try to execute an installer on windows without administrative privileges, it simply doesn't work right? So how come they can scan without permission?:confused:

Edit: Will answer the question myself after some research

So apparently what Niantic does is, they have a list of file and folder names they are searching for, in the storage. The problem is, that even without permission they get either "file not found" or "access denied" errors in return. So they don't even need permission to check, whether e.g. a "magisk" folder exists and therefore the device must be rooted or not.

I still consider this a system fail, as without permission the only response you should ever get is "access denied". Same what 99% of websites do, if you enter wrong user data/pw or request a new passwort.
[Magisk] T_I:
I second that, it's a game, when you can't play without cheating, try another game, or just quit gaming.

I'll see if I can get PoGo working with a clean phone (after a backup of course), to see what triggers this nonsense. All solutions offered until now seem not to work. (love Island though, use it now for a lot of other games, great, to bad there is only 1 'work' profile)

With the current rate of play (3 weeks) and trying to get the game running (3 days), I'm close to the point that it's not worth it though. Community is great to be in, but so are most in the other games. (to bad they want to introduce this in Ingress as well, which I've been playing for over 5 years now)

Edit: Yep, factory reset, Magisk Hide, rename Magisk Manager and remove of dir and it works. (reset was needed anyway, even Ingress didn't want to start). Will start re-installing my other apps, with Titanium Backup as first. All apps on the phone will have to live in peace with TB, else it's gone. (including PoGo)
[Magisk] CarameloPT:
you are 100% right. This is happening because android allows it and tbh Niantic knows it and is taking advantage of it

I had to freshly reinstall lineage on my phone and it worked. I had a couple files and folders related with magisk and twrp and I think it was that. non rooted atm and still playing
[Magisk] RikLIjkendijk:
The problem is not Niantic They are just making use of an Android bug.

If an app is denied storage access, EVERY query performed on storage should be answered with. YOU DO NOT HAVE PERMISSION TO PERFORM THIS QUERY!
[Magisk] SquallLHeart:
the problem is Niantic knows that a decent majority of cheaters are using methods to cheat via jailbroken or rooting methods.. and instead of finding ways to stop the specific spoofing methods, they're using a shotgun approach and using an Android flaw to be able to check for folders in internal storage to stop everyone that is rooting from playing.. they can't stop gps spoofing at that level, so they aimed for a broader approach and attacked everyone with root.. obviously shooting down all the innocent bystanders as well.

i had to deal with this rooting nonsense for a long time with Niantic.. and they still believe that stopping people with root is the ultimate solution for stopping cheaters... and i'm sure most of us in here are smart enough to realize that is not the case.. but they think that we are nothing more than a small percentage of people... nothing more than collateral damage in their fight to stop cheating.

that's what the issue at hand is here.... so yes, the problem is about cheating... and Niantic's battle against it...

so the people who root but don't cheat... we are collateral damage they don't seem to care about... because we're apparently an insignificant percentage of the playerbase to them.
[Magisk] Wesley_NL:
Guys pgo dont wanna login since safetynet invailid it worked fine before what can i do to slove this , its in magisks hide , and pokemon go is enabled for hide
[Magisk] -Happy Feet-:
Hmm I installed Island but any App that is installed in the work profile won't start. Can anyone help me?
[Magisk] -Happy Feet-:
I get this issue in Island... What's wrong? Android 9.
[Magisk] sireniankyle:
For the people that used magisk JUST for spoofing; Set up your spoofing apps properly, then run the magisk uninstall. It worked fine for me. If you're using magisk for other reasons, you will need to decide what is important to you.
[Magisk] T_I:
I had Xposed installed, but disabled it before starting PoGo. Once you forget to disable, the game somehow seems to record it has seen Xposed once and fails afterwards, even in island. (which it shouldn't) Removing, renaming left-over files,... nothing else a factory reset and reinstall without Xposed (and apps that I needed Xposed for) worked.

I'd say, it's Niantic's way to battle cheating, other developers are pretty active in hunting down cheaters and blocking google accounts of cheaters (not just game id's, google accounts). However, that's an expensive method (you need people for that), Niantic choose the cheap option, disable the game for anybody that has the opportunity to cheat. The root check was the reason I didn't play for a long time, but now they want to add this nonsense in Ingress as well, that's what got me testing and trying. (I like Ingress more, more relaxed play style)

How do you see safetynet is invalid? Magisk here (Android 8) shows invalid as well, but PoGo starts (after a fresh setup of phone and removal of Xposed and rename of all files/dirs with 'magisk' in them)

Easy, I use Magisk for root, as I use Titanium Backup to backup my apps/data. Would anybody remove a perfectly working backup solution for a game? I wouldn't. Only way I use Magisk is to test if the non-rooting nonsense can be solved for Ingress Prime whet it launches.

My device is a phone first, which requires a good backup, and a gaming device 2nd. No contest here.

---------- Post added at 08:06 AM ---------- Previous post was at 08:00 AM ----------

Did you restart the phone after installing island and configuring the work environment? I had to, as my apps did start, but didn't get access to location.

I have to admit, love the app, running multiple games in the island mode (running alts in island is smoother/faster then switching in mainland app, for those games that allow alts)
[Magisk] Wesley_NL:
uhh , i have 2 phones

galaxy s9+ sm-g965f

sony xperia x performance

now that magisks shows invailid on safetynet pokemon go says failed to log in

both phones are stock roms no mods, only unifined host manager to block adds, they both run stock rom/kernel

and mgishs hide is on, pokemon go is added in magisks hide so what els could be wrong ?
[Magisk] sireniankyle:
From what I have gathered, Niantic is exploiting a bug in Android 8.0 where they are able to identify the presence of certain files without having permission. I don't know which files they are trying to find, but it either returns "access denied" or "file not found". Obviously, if it says "access denied", they know that the files exist, and proceed to block the game.

There are some that are claiming that this is a violation of privacy on Niantic's part, and even going so far as to question the legality of it.

I've concluded that it is only on 8.0 Oreo that this is happening as I have an S9+ and an S7 Edge on Oreo that were blocked, a Samsung tablet running 7.0 that works fine, and a Samsung Note 4 on 6.0.1 that works fine. All of which are using the same methods of exploit. Meaning they use the same apps and zips to accomplish spoofing. My advice is to downgrade to 7.x, if able.

---------- Post added at 02:05 AM ---------- Previous post was at 02:01 AM ----------

I get it. I avoid full backups just because I don't like the possibility of a bug following me. So Not using Titanium Backup is fine for me. The method I had mentioned, though, allows you to reinstall magisk whenever you please. Just know that Pokemon Go will not function during that time. Once you're done backing up, you can run the uninstall zip again. To each their own.
[Magisk] Wesley_NL:
i dont spoof or cheat i only use root , i dont wanna lose another account >_>

and yes indeed my dad witch use android 7.0.1 on galaxy s6 flat works fine

is there a way to slove this ?
[Magisk] T_I:
What worked here (after factory reset to get rid of all junk) was:

- Magisk Hide for PoGo

- Magisk Manager Hide (settings of Magisk Manager)

- Rename any file with Magisk in the name

- Remove /storage/emulated/0/MagiskManager folder

When this doesn't help, search for any files/dirs with magisk in the name and rename them.
[Magisk] Wesley_NL:
Uhh i dont wanna break anything is there a certain guide for it ? I never done this
[Magisk] deif102:
Does anyone know if I can flash magisk, restore my apps with TB, unistall magisk and then be able to play PGO?
[Magisk] Phantom Thief:
You should be able to.
[Magisk] Didgeridoohan:
As long as you only delete or rename files and folders in your internal storage you'll be good. All important Magisk files are kept in /data/adb and /sbin/.core, and those Niantic can definitely not see.
[Magisk] xstormli:
methods to make it work again:

first, magiskhide pogo;

second, hide magisk manager;

last, rename or get rid of magisk folder, i highly suggest to get rid of it.

this is how i did it, i have been playing over 12 hours by now without seeing the 1|A harassment again.

thank you all for the awesome and tireless work!

ps i do not spoof, i use root for adsblocks and performances.
[Magisk] T_I:
* Magisk Manager -> Hide -> enable for PoGo

* Magisk Manager -> Settings -> Hide Magisk Manager (Gives package random name)

* Files -> sdcard -> Delete folder Magisk Manager (Needs to be done after every install/update of a Magisk module, when you only use it for root this once is enough)

* Files -> <location you installed Magisk from> -> Rename Magisk-v<version>.zip to <SOmething else>.zip

* Restart device

Yep, but why would you uninstall? (BTW Don't know if uninstalling will delete the folder as well) I'm running game with Magisk and TB. PoGo will be removed from the device before TB will. First app I registered, best investment ever, have it since my first smartphone in 2012, will be the last app to be removed. (probably when smartphones are replaced with something more niftier)
[Magisk] Surfinette:
Tried this, also renamed titanium backup related files... Still getting unauthorized device warning, before the game is even fully loaded.

Tried Island, side-loaded pogo...

Here it's a bit better. I can play for about 10-20 seconds untill the unauthorized device warning pops-up.

I wonder what is triggering the warning (with some lag) when playing through Island?

How should Island be set/used to not trigger the unauthorized device warning?

I don't use exposed, just root for TB and device optimization
[Magisk] Karls0:
What do you mean with island? I tried above mentioned procedure and it works. I don't even need to rename TB backups, or magisk zip, only magisk folder.
[Magisk] Surfinette:
First, I did what you did, but it didn't work... I get the unauthorized device warning.

So, I tried another solution suggested earlier in this thread... Using Island which creates an isolated environment and can launch a cloned version of pogo. For some, it's the only solution that works.

What kills me is that I could play without issue on my rooted phone using version 111.4. The issue started after upgrading to v115.3.

But now, when going back to 111.4 I can't play anymore... I now also get the unauthorized device warning with 111.4

EDIT ------

I'm really really stupid.

Problem solved (apparently).

I had not realized that Pokemon go had been unticked in the Magisk hide list while upgrading or masking Magisk ...
[Magisk] Karls0:
It's a bit surprising as I can play both on "normal" and cloned PoGO v115.3, so nothing changed when i updated from v111.4 except this trick with renaming magisk manager package and its folder. What I can suggest is to check if you revoke permission for internal storage. PoGO still will have some possibilities to check for root residues, but in more limited way. Also search for any files like old, unused xposed installers. Also the warning message is interesting - if it is caused by new root detection metod it should be "unauthorized_device_lockout_1|A". And you said that downgrade doesn't change anything so it seems that something is broken, with magisk hiding at all. Are you sure you pass SafetNet in any app now?
[Magisk] T_I:
I had the same problem before I got it working. For me the only methid that helped was reboot to custom recovery (twrp), backup, factory reset and reinstall/restore from tb. (When it detects something in island, I don't trust the device anymore)

It's working for 2 days in a row now, both on device and in island. (Magisk is only used for root, only games on device are PoGo and Ingress)
[Magisk] Surfinette:
Thanks for helping.

See my Edit above, in the process of trying to hide Magisk after upgrading to v115.3, Pogo was unticked from Magisk Hide list, without me noticing.

After ticking Pogo again, everything works again.
[Magisk] T_I:
I guess that would have helped me as well, but had the phone for less then a month and had been messing with it, so factory reset was no biggy here.

Island helped off-loading game profiles to tablets. (Now 2 per tablet ;) ) I prefer to race in CSR 2 on 10", not 5. (At least no complaints from my eyes)
[Magisk] Jimnik:
I am stuck I have done everything mentioned and even though the unauthorized device error has stopped the game wont even load
[Magisk] GiordanoPT:
Have you cleared game data after the above procedure? remember that if the game detects root, it will store that info. Clear game data and start over.
[Magisk] twcobra:
I found that hiding the folders from Solid Explorer works.
[Magisk] Scottjerbi:
Magisk shows invalid respond after ive done all the steps op mentioned , i think thats why its still gives me thw error safetynet fails
[Magisk] whoopoi:
This is where I'm at.

I did all these steps and then safetynet now just constantly fails on me so pogo won't even load.
[Magisk] stg33k:
This is fantastic news for me, as I am also using a Note 4 on Android 6. I have not yet updated the PoGo app to the latest version, and it looks like Niantic forced the update this morning. Are you saying I could most likely simply update PoGo and continue on my merry way as I have been?

(Galaxy Note 4, stock/rooted Android 6, Magisk v15.3, Magisk Manager v5.6.4)
[Magisk] xstormli:
I updated few module this morning, forgot to erase/rename magisk folder again, boommm, 1|A again!

Please be aware of that folder, PS kill the magisk background service too, just in case.
[Magisk] Phantom Thief:
When you update modules you just need to remove the folder again and that's it?
[Magisk] xstormli:
the prerequisite would be: you magiskhide pogo already, and you hide magisk manager in magisk settings already.

That's my trilogy of making pogo work without the nasty 1|A harassment.
[Magisk] Jimnik:
Same here
[Magisk] Wesley_NL:
What about titanium backup and twrp ?
[Magisk] Wesley_NL:
I deleted mgisks folder , and magisks hide and hide magisks for pokemon go is on, also what about magisks app ?

So what now ?

I did all steps and rebooted
[Magisk] abacate123:
https://github.com/topjohnwu/Magisk/commit/9bbfcf326cc18699cbb12cbc7af1e20b9e2ca762
[Magisk] sireniankyle:
I updated pogo on my tablet running 7.0, and it got hit. Afraid to update my Note 4. I think they are working their way down.
[Magisk] Wesley_NL:
So if all these steps dont work im out of luck?

How can i identify what cause it ?
[Magisk] iofujsiow:
spent the past 2 hours trying to get both of phones (Samsung S6 Edge running 8.1, Xiaomi Redmi 2 running 7.1) to work, only have luck for the Redmi 2. What I did were: magisk hide pokemon go, rename magisk, delete magisk manager folder, clear cache and data for pokemon go, reinstall pokemon go, ignore pokemon go read storage in privacy guard (built-in privacy control), install appops to deny most pokemon go permissions (triple privacy protection), run pokemon go with/without magisk running at the background. I was able to get the redmi 2 to work for about 30 mins before it got too sluggish and had to exit, but had no luck for Samsung despite I did the same for both phones. I then updated from 16.0 to 16.7 and then deleted the magisk manager folder again for the samsung, still no luck. I also notice that my Samsung sometimes gave me the 'unable to authenticate' message instead of the 'unauthorized device lockout' message, could this be related to safetynet test?
[Magisk] appman1234:
Just to report that this method works. Thanks!

Redmi Note 4X (SD)
[Magisk] T_I:
Both working fine here, without issues. (Could be because I have the backup of both on external sd) To be honest, if I had to ditch one of them for PoGo, It's byebye PoGo. No game is worth not having a reliable backup for.

---------- Post added at 07:13 AM ---------- Previous post was at 07:07 AM ----------

Coild be appops, had the same issue when I has xposed installed via magisk, PoGo is a terrible app, I keep amazing myself how much time I invested in getting it to work. Somehow I think that when Ingress Prime needs this much work as well, it'll be the end of Niantic games for me.
[Magisk] iofujsiow:
I thought pogo and xposed could never co-exist? You will never be able to pass safetynet as long as you have exposed installed. I have granted superuser permission to appops to both of my phones, maybe andriod 8.1 takes thing differently?
[Magisk] Scottjerbi:
Whats this bro?
[Magisk] Jimnik:
After I uninstalled appops the game worked till the next restart now the game keeps loading and I can't login
[Magisk] Didgeridoohan:
If you've read through the thread you'd have seen that the MagiskManager folder in the internal storage has become a way of detecting Magisk. That commit is the fix for that...
[Magisk] rhystagram:
Trying to hide Magisk Manager on my sisters Galaxy S7 but after the process finishes, there's 2 Magisk Manager apps in her app drawer & the original wont uninstall/hide/disappear (whatever it does)... We're then getting a toast saying "Magisk Manager was denied root access" (or whatever it says) so I set grant access to always & it's not fixing it.

Any help?

We've clean flashed Magisk & clean installed Magisk Manager time and time again to no avail.
[Magisk] Didgeridoohan:
Could be that there's some help here:

https://www.didgeridoohan.com/magisk/Magisk#hn_There_are_two_Magisk_Managers
[Magisk] J.L.C.:
None of the fixes seen to work for me. I'm on CrDroid on a 6p and further get the cannot connect or unauthorized device error.

I deleted all zips with magisk in the name, renamed magisk, deleted magisk folder and tried Island. Sometimes PG will run for ~5mins after wiping the app cache and data.
[Magisk] xstormli:
did you hide magisk manager in magisk settings? third one from the top in setting menu.
[Magisk] benlm72:
Hello,

Works for me too, without even restarting my phone. Still OK after restart. TB goes on working.

Thanks to all having found this workaround !

I'm on Galaxy S4 with LineageOS 14.1.
[Magisk] Attisus:
island

I don't understand how it's possible this stupid game can still see magisk while in Island?.. I thought it was sandboxed from mainland data?
[Magisk] J.L.C.:
Yes
[Magisk] cycu2007:
Hey,

I have a problem with go-tcha. I removed root (magisk) from xiaomi redmi note 4. In Bluetooth it sees go-tch, in the game also (as a plus). But they do not want to connect. Everything after root removed from the phone. The method of adding a command does not work. Any suggestions?
[Magisk] Quinny899:
If you removed Magisk and it still does it, it doesn't sound like Magisk is the cause
[Magisk] cycu2007:
it's actually my friend phone but he's sure the phone is clean, he knows it. But what could it be? On second phone, s7 it works
[Magisk] -Happy Feet-:
It seems that Pogo cant work with island anymore.
[Magisk] -Happy Feet-:
It seems poko can read it. But why? I get this
[Magisk] DaSoul:
This either means there is a server issue right now. More like is, that you are banned. There is no "you have been banned" message, only, that data couldn't be retrieved from the server.

[MENTION=431071]general[/MENTION]

You don't need any special island, permission app ops or whatever apps.

1. Use magisk hide to hide everything related to pogo (also spoofing app)

2. Hide magisk itself via its own settings

3. Use a file explorer and delete "magisk" folder on sd card + any files related to flashing/rooting e.g. TWRP.zip, ROMS, Magisk.zip

And you are perfectly fine. I have pogo running as I am writing this right now.
[Magisk] BigDoun2011:
Nein, er ist nicht gebannt. Ich hab die selbe Nachricht bekommen, nochmals im Datei Manager Daten gelöscht etc und nun funktioniert die App aktuell wieder. Fraglich nur, für wie lange. Die Apps findet einen Weg dich zu blockieren, aber ich weiß nicht wie und wann..

No, I also got this message. He's not banned. I deleted more zips etc on my SD card, actually I can play, so I'm not banned. Questionable how long... It seems the app finds a way every time but I cannot say how :/.

Edit: okay, app funktioniert aktuell wieder nicht mehr

Okay, app has been stopped working -.-
[Magisk] Jimnik:
It's killing me that I don't get any error messages it just keeps loading even though I have followed the steps mentioned above (I have a Samsung Galaxy s6 running ressurecrion remix Android 8 )
[Magisk] Locke1985:
I'm using Ressurection Remix Android 8.1 on my Leeco Le Max 2 (X820) without custom recovery, without root and without magisk. I check safetyNet with "safetynet test helper". There the safetynet status fails but basic integrity pass but i have no problems with pokemon go no matter if i use PTC or google login.

I want to upgrade to RevengeOS Android Pie. Everything i do, never will Pokemon Go run.

I flashed it clear without root, magisk and so on. Safetynet and basic integrity failed. Then i installed magisk and safetynet pass all. I hided Pokemon Go but login failed with the 1|A message. Then i hide magisk and searched for magisk folder but found nothing. Pokemon Go, data cleared, faild again.

I only want to upgrade to Android Pie and play Pokemon Go, but i don't know what i can still do.

Has anyone an idea to solve?