yashsingh1/xdaforums huggingface dataset:
[Magisk] Amiganaut:
You can also make your own enforcing kernel and flash it, as per these instructions. http://xdaforums.com/showpost.php?p=59160364&postcount=23

This is what I ended up doing, I made a flashable zip of just my kernel and flashed it, and now it is set enforcing by default.

Basically, just take the zip file of your ROM, open it (recommended you do this on your computer not your phone), extract the boot.img file.

Then use a hex editor. Up near the beginning of the file, you should see the ASCII string "androidboot.selinux=permissive". Overwrite the permissive to enforcing, be sure to replace the last "e" from the permissive string with hex 00. Save your modified boot.img, and add it back to your zipped ROM, replacing the old boot.img. Then just flash it as normal. If you're up to it, you can edit the updater-script and make it so that it only flashes the kernel.
[Magisk] jodekrus:
i downloaded winhex, extracted the boot.img of the latest unofficial version and did not find the selinux string, looks like i need to do some more work and any help from people here will be highly appreciated. thanks,

---------- Post added at 03:21 AM ---------- Previous post was at 03:17 AM ----------

thanks for the advise. i looked and it looks like im out of luck. the last snapshot version for N7100 was CM11, (Android 4.4) and i think i read somewhere that suhide will work only with android 6?

thanks.
[Magisk] ataraxist:
Selinux only started from Android 5, if I recall. You are using KitKat 4?

---------- Post added at 04:47 AM ---------- Previous post was at 04:45 AM ----------

Depends on your device. Not every device has cm13...go to cm site to check if there is a built for your device.

---------- Post added at 04:49 AM ---------- Previous post was at 04:47 AM ----------

0.35 is unplayable. His post is outdated.
[Magisk] StrykZ:
has anyone been able to set selinux to enforcing on a samsung? running cm13

phone goes black and freezes everytime i try
[Magisk] misteurz:
Hi,

So I've installed the apk "root switch", who works well with safety net helper, with my bank app, and with root check.

But...

Pogo says : device not compatible with this version...

I've wiped cache of the app, uninstalled app and install again...

And it doesn't work.

Do you have any idea?

Edit : I'm on stock Rom, with a lg g5 h850. I've flashed super su 2.78 with twrp

Envoyé de mon LG-H850 en utilisant Tapatalk
[Magisk] Nanoemp:
Same over here, no clue why PoGo it's still saying device not compatible. No idea what could be checking...

Vernee Apollo Lite with Marhsmallow, Supersu v2.78 and systemless xposed 86.6 over here
[Magisk] mobileman88:
Remove xposed to test?

---------- Post added at 07:52 PM ---------- Previous post was at 07:52 PM ----------

You cannot use xposed 86.6 to pass safely net
[Magisk] misteurz:
I don't have xposed : I'm quite "clean".

I never installed xposed, never installed suhide, never installed magisk...

Envoyé de mon LG-H850 en utilisant Tapatalk
[Magisk] jan.skurski:
No luck yet, and in fact - out of ideas, too...

I have S4 i9505,

I tried to do this "enforcing kernel" trick (unpacked boot.img from CM14 ROM ZIP I'm using; hex-edited, packed, dirty flashed), but the behaviour hasn't changed - it still says "permissive", and still freezes when toggling root using Root Switch.

But, PoGo says now "unable to authenticate" everytime. So, there is a slight chance (as I unrooted, finally) that it WILL work, when login will be finally possible. And APK I downloaded from APKMirror (0.41.4) says it's corrupted, every time I try to install (downloaded it 2 times), I don't know why :/.
[Magisk] Triviox:
Yes, with SELinux mode changer.. Im Galaxy s5 cm13 with SuperSU v2.78 SR1, suhide 0.55 (with command fix) and xposed 86.2.
[Magisk] jodekrus:
i tried selinux mode changer also and it does say it changed the status but when i run the 'getenforce' command it still says permissive.

---------- Post added at 03:13 PM ---------- Previous post was at 03:10 PM ----------

our hope is for a cm13 snapshot for our devices, because it will be enforcing. otherwise yeah, we are out of luck.
[Magisk] Triviox:
I think this issue is a cm13 problem only in your device model; in s5 havent problem. Sorry and good luck to fix it!
[Magisk] jodekrus:
man ur lucky. i have a galaxy s5 neo (sm-g903) but i cant find a compatible cm version, maybe the lte version but i'm worried i'll brick my s5. what's your s5?

thanks.
[Magisk] Triviox:
Here Galaxy S5 G500M (klte) ; could try if you device is G500F or similar, but with G903 i think is very different and cm13 klte will softbrick your phone =/
[Magisk] Nanoemp:
Hi, thanks for the tip. I uninsatlled xposed, magisk and supersu fully unrooting. Safetynet is not blue anymore, but red, because of CTS profile match false.

This didn't matter before, I could play PoGo with CTS false and SafetyNet red, but now after uninstalling everything PoGo keeps saying device not compatible.

Maybe I left something somewhere? I never have Safetynet green to begin with, even with factory reset and stock ROM I got CTS false.

Does anybody have any idea?

Thanks always for your help

EDIT: I didn't care it wasn't working after unsintalling everything. I reflashed Supersu v2.78, magisk v7, suhide 0.55 and PoGO is working again thanks to the Root Toggle apk. Let's hope this is going to last.

I'm going to test xposed v.86.2 too, now that I have a working reference, backuped with Nandroid

Many thanks to those explainig the steps and helping!

EDIT 2: Xposed systemless v.86.6 working as well following the previous steps. It seems suhide 0.55+root toggle apk are the keys. Thank you all
[Magisk] PRAKASHPANDEY193:
Please help...i have successfully installed magisk in my j7 latest version however when i installed the hide supersu zip...my system goes in bootloop and the magisk v6 is not working properly...please help if anyone playing this game in samsung with some other tweaks...
[Magisk] acad67:
rom for marshmallow 6.0
[Magisk] tchavei:
I have Cm13 on a Samsung S4 mini (I9195) and selinux is always in enforced mode? I only use nightlies. No snapshots.

Anyway, in my case it isn't a selinux problem.

Enviado do meu GT-I9195 através de Tapatalk
[Magisk] giffyy:
Tesla, so what exactly is working for Note 3. what is your setup. can you please share, ROM, kernel, and what SU and other things you have installed to make POGO and safetynet working.

THanks for your help.
[Magisk] Tesla:
Nope. Nothing i know of is working for sure.

I said **** it today and installed stock. :good:

Will try to find a CM13 rom that i can easily unroot and wont hassle me with safetynet.

for reasons my pogo is more important right now than root.

But i have seen a few in those links with root and everything working.

So read there m8.
[Magisk] tchavei:
Impressive since your selinux is in permissive mode

Enviado do meu GT-I9195 através de Tapatalk
[Magisk] ataraxist:
A well explained installation...

https://www.google.com.sg/amp/s/amp...gpcq/how_to_root_and_run_pogo_as_of_10142016/
[Magisk] dzikk:
Someone check this metod on Xiaomi Redmi Note 3 pro with 5.1.1?
[Magisk] ataraxist:
Impossible for permissive selinux to pass safetynet....
[Magisk] Didgeridoohan:
Obviously you're new, so here's a little heads up: Discussing warez (mentioned in 2 and 3) is not allowed on XDA.
[Magisk] blup_00:
Sorry. Should I edit the post?
[Magisk] Didgeridoohan:
Since your solution is based on it, i'd say yes.

And also: remember that this is a developers forum and warez is the same as stealing from said developers. Don't use it...
[Magisk] Insou:
I'm on Samsung Galaxy Note 4 (SM-910C)

I tested this solution ( https://www.reddit.com/r/pokemongodev/comments/57gpcq/how_to_root_and_run_pogo_as_of_10142016/ ) :

When i flash suhide 0.55, Android reboot and optimise my application but it never ends, it reboot before the end.

Can you help me ? :)
[Magisk] Tesla:
Did you try the old black magic, Wipe Dalvik and Cache?
[Magisk] 99poison:
I re-flash rom and I follow this method ( https://www.reddit.com/r/pokemongodev/comments/57gpcq/how_to_root_and_run_pogo_as_of_10142016/ ). Now Safety net is passed again with this method and I can play Pokemon go now in my Sony M4 Aqua. Thank you all.
[Magisk] Insou:
Yes, i try wipe Dalvik / cache..

Same result.. Bootloop after optimise application :s

Another idea ? :)
[Magisk] Tesla:
Well.. Do a complete new installation of your rom.

Make sure it works.

Not fun, but you have to eliminate romfail.

Scrub everything.
[Magisk] Luiguicalder:
Idk why it bootloop, but I can tell you what if your Rom is custom our something it won't work, because most of kernels are "permissive" and we need to change it to "enforcing"

Im on erobotrom v12 and root switch works but not with pogo because it's a enforcing kernel u.u

Enviado desde mi SM-N910C mediante Tapatalk
[Magisk] Insou:
My kernel is "enforcing" : https://www.dropbox.com/s/wofz1qtgyzr6vma/IMG_20161016_204406.jpg?dl=0
[Magisk] Luiguicalder:
Are you sure?, what Rom r u using?

Enviado desde mi SM-N910C mediante Tapatalk
[Magisk] Insou:
I'm sure with that : https://www.dropbox.com/s/wofz1qtgyzr6vma/IMG_20161016_204406.jpg?dl=0
[Magisk] Luiguicalder:
Ok you are right [emoji12], did you try cleaning everything? I mean root, magisk, xposed and all?

Pd: what rom are you using?, I want enforcing too[emoji24]

Enviado desde mi SM-N910C mediante Tapatalk
[Magisk] Yeisonp:
Running Last versión Pokemon Go https://youtu.be/Tqk0BICTaDs

Enviado desde mi SM-G935F mediante Tapatalk
[Magisk] theredbaron1834:
Does anybody know how to get Viper to work with PoGo? I have a Blu R1 HD, and the only way I have gotten Viper to work right is using the Magisk module. If I just install the driver from the app I get a "Enabled: No;Status: Abnormal;Audio Format: Unsupported", aka it doesn't work.

Any ideas?
[Magisk] Insou:
It's ok now..

Flash SuperSu, reboot and flash SuHide 0.55..

Now i'm root and PoGo work fine.

But when i install xposed after suhide, bootloop again :s

And my ROM is : N910CXXU2DPG8_BTU

Maybe here : http://xdaforums.com/note-4/development/rom-note-4-stock-t3440787
[Magisk] lonewy2005:
It seems Google rolled out another safety net patch just now, because my pogo won't login again with root switch as of now. Could anyone confirm?

---------- Post added at 03:15 AM ---------- Previous post was at 03:11 AM ----------

Sorry,false alarm. Still working.
[Magisk] Rhoban:
First of all, if you install the driver from the app it will count as a system modification, which in turn might break Pokémon GO.

Second, Viper doesn't seem to work with systemless root, so it won't be able to install the driver anyway.

Thirdly, you error may be due to the fact that your kernel is enforcing. Setting it to permissive should make Viper work, but it will probably break Pokémon again if SafetyNet now checks the selinux state.
[Magisk] theXeffect:
I'm guessing there's no fix for the new saftyneto?
[Magisk] ataraxist:
Is this setup still working after the new safetynet update?

By the way, how do you do this: >> Install busybox systemless ?
[Magisk] Rhoban:
RootSwitch or the suhide fix.

If SafetyNet has been updated this weekend, then most probably not.

It's a losing battle anyway. Google won't give up until SafetyNet is fully patched and there won't be any more exploits to circumvent it. So we might as well forget about Pokémon GO on rooted devices from now.
[Magisk] Ker~Man:
There's always loopholes as long as there's devs.
[Magisk] ataraxist:
Losing but not out. As long as root is required, the patching game will continue. To entirely make a closed system will also prompt for new innovation and a more open source.

Root Switch is possible for further innovation. Renaming files can be an algorithm that Google cannot follow through.

Anyway, safetynet should be dropped by niantic and the patching will not be as fierce as we seen today...

Let the game begin...

Let's patch 'em all...
[Magisk] Rhoban:
Google will probably pay Niantic to keep using SafetyNet, lol.

The way I see it, Google benefits greatly from this forum, because we (and by "we" I mean de devs) find ways to circumvent their SafetyNet. This in turn allows them to fix that issue.

And the problems is that at some point it will get so ridiculous that nobody will want to follow the steps it takes to make the game work again.

I already got tired of this crap.

First there was a detection of root.

Go systemless. Simple.

Then there was detection of systemless.

Use Magisk with root toggle to turn off root live. Also pretty simple.

Then came detection for Xposed. Suhide and SuperSU fixed it. But you had to remove Magisk, go to terminal, enter a command to force SuperSU systemless, flash etc.

Things started to get a bit more complicated.

Now they hunt down selinux status. Most custom kernels are permissive, because a lot of apps work better that way. But permissive apparently trips SafetyNet.

Setting it to enforcing is simple enough with a terminal command, unfortunately it reverts back to permissive after reboot.

The only other option is to edit the boot.img

What I'm getting at is that the steps get more and more complicated, and people have to quit using certain stuff just to play the game.

I mean, there are probably a lot of people who stopped using Xposed, or root altogether, just to be able to play the game

Not to mention all the trial and error it takes to switch from one method to the other.

The best solution is have two devices. Or maybe dual booting a stock and a custom ROM works as well.

Soon they might be able to detect if you're using a custom recovery. Then what?

I mean, all of this SafetyNet bypassing is only possible thanks to the recovery.

This is getting ridiculous.
[Magisk] Tesla:
Haha.. yes, i agree. This is getting ridiculous.

It's so sad that it's fun.

I'm on stock now and will stay with it until i get a new/old phone to play with.

I need my phone in working order so all this.. nope.

I wish you all good luck.
[Magisk] xu3sno:
Just sharing my experience:

As of posting, PoGo v 0.41.4 still works just fine!

( My intention is just playing PoGo on rooted device with Xposed. Don't have Android Pay!)

Device: Xiaomi Redmi Note 2

ROM: AOSP Android 6 by [MENTION=5773402]nofearnohappy[/MENTION]

Magisk v7

SuperSU 2.78 SR1

suhide 0.55

Xposed 86.6 sdk 23 system-less

Root switch > toggled Root disable

Have a great day bro! :cool:
[Magisk] Tesla:
Good for you m8.:good:

"PoGo v 0.41.4 still works just fine!"

That' just it. Talk to me again in two weeks :)
[Magisk] theXeffect:
I was on this 3 days ago n after that I could pass saftynet.....

Any ideas?
[Magisk] theredbaron1834:
It worked for me.

As for busybox, at least the installer in the playstore by Stephen let's you install to /su/xbin, aka your systemless su install location, so it is "systemless" as well. Though some apps may have issue with it.
[Magisk] Tesla:
http://xdaforums.com/showpost.php?p=69175609&postcount=3071
[Magisk] :
Running Pogo and passing safetynet

Smg900w8 stock rom

Flashed stock rom

Twrp

Magisk v7

SuperSU 2.78 SR1

suhide 0.55

Root switch

Installed magisk manager apk

Installed v4a module through magisk with corresponding apk

Installed xposed through magisk with corresponding apk

Reboots between each step.

Working great so far.

Thanks ?
[Magisk] theredbaron1834:
Little update:

First, it seems safety net doesn't care about the module. I installed it, and while if didn't work at first, it still passed.

Second, it didn't have an issue with my system less root. However it does need busybox. Lucky, Stephens busybox in the play store can install to /su, so that works.

Third, yeap, selinux was my issue. Installed selinuxmodechanger from fdroid. On boot it switches to permissive, and once unlocked once root switch will turn off on unroot to play, and back off when done.

So standard Viper will work fine with Pogo, as long as you don't need it while playing.
[Magisk] Luiguicalder:
And don't forget the problem with some Samsung devices. Terminal code for switch between permissive and enforcing doesn't work

Enviado desde mi SM-N910C mediante Tapatalk
[Magisk] jonamafun:
Where does one find this root switch app?
[Magisk] Andr3w151:
Can you please post a link to all of that cause i would really need to get pokemon go running and im at work and dont have to much time to search, thanks in advance.
[Magisk] rling:
Pokemon Go 0.41.4 working as of writing

Device: Google Nexus 7 tablet

ROM: Stock 6.1 android

Twrp 3

SuperSU 2.78 SR1

suhide 0.55

Xposed 86.2 sdk 23 system-less

Xposed module: Snorlax, mock mock location.

Root switch > toggled Root disable
[Magisk] pharmdeon:
https://m.reddit.com/r/pokemongodev...etynet/?utm_source=mweb_redirect&compact=true
[Magisk] davizzyus:
I agree 10,000%. Very well stated. Its beyond ridiculous and totally unfair. FU Niantic!!! My 5yr old daughter cant play Pogo anymore, unless I spend hours learning development and try to always stay 1 step ahead, just because I prefer a rooted phone. Dirty m*th*r fu**ers had to take a good thing and ruin it.

On the bright side, ive learned a lot on XDA the last few weeks because of it. Maybe I'll design an app game where ninjas throw exploding pokeballs that destroy the evil Niantic headquarters
[Magisk] Andr3w151:
I keep getting unable to authenticate any ideas how to get it to work?
[Magisk] mobileman88:
Could you try another account on the same device? If it works, your account has probably been banned. You can appeal to Niantic if you have not cheated.
[Magisk] Nanoemp:
Hello, I have this setup working>

SuperSu v2.78 + Magisk v7 + suhide 0.55 + xposed v86.6.

On Android 6.0.1.

My issue is that I cannot reboot the phone, and that's annoying because sometimes is neccessary, for example with xposed. If I reboot the phone, I'm on an eternal bootloop unless I access TWRp and flash Supersu again. Does anyone have any idea why is this happening? Thanks
[Magisk] ataraxist:
If u have boot loop..how did u boot for the 1st time?
[Magisk] Nanoemp:
Flashing supersu... it appears my phone doesn't boot unless I flash supersu.

I flashed supersu, magisk, suhide and xposed... I got all waorking and booted fine.

From there, everytime the phone cannot reboot. If I want to boot I have to enter first on TWRP and flash supersu.zip again

Anyone any idea? Thanks!
[Magisk] nava88:
Hi, I have supersu + root switch since yesterday it works perfectly today pokemon go tells me that my phone are incompatible.
[Magisk] skeeter92:
Hello. Pogo work but root swich remove xposed... any idea ?

Envoyé de mon SM-G925F en utilisant Tapatalk
[Magisk] Triviox:
Try flash supersu 2.78 systemless + suhide 0.55 +fix 06suhide + xposed 86.2 systemless. Check if selinux is set "enforcing" .

With it, u'lll can play PoGo with xposed and pass safetynet without problems =)

PS: with 06suhide fix dont need root switch!
[Magisk] skeeter92:
I have do all of it... 06suhide don't work with me. Only root switch work but xposed isn't supported

Envoyé de mon SM-G925F en utilisant Tapatalk
[Magisk] Triviox:
To me dont work in terminal at phone, but works with adb shell with pc. Maybe with adb shell with pc can work to you too.

Good luck!
[Magisk] skeeter92:
I have selinux permissive but it's work but i must reinstall xposed when i desactivate root. This is the only problem...

Envoyé de mon SM-G925F en utilisant Tapatalk
[Magisk] Tesla:
Still working?
[Magisk] davelangmaid:
how do i delete this
[Magisk] Tesla:
Uninstall it.

You are part of the problem. No cheaters= No need for all these fixes too keep root.

Thanks all cheaters.

This is why we can't have nice things.
[Magisk] teddy0209:
So wrong... You can, it is compatible with suhide, but you have to have magisk installed.
[Magisk] Rhoban:
You don't even need root to cheat. There are various apps that allow one to spoof without the phone being rooted.

So by blocking root users Niantic achieved absolutely nothing.
[Magisk] Tesla:
Yes, we all know that.

My point still stands.
[Magisk] rling:
Root switch hides Xposed. Xposed manager will say you do not have Xposed installed (as it is hidden) but the installed Xposed modules work.
[Magisk] royaLred:
Stop crying i dont care.

This is not the place for your opinion.

Everyone can do what he want to do.

Gesendet von meinem SM-G935F mit Tapatalk
[Magisk] Lyvna2011:
Hello...

Can someone teach me right way to install magisk with superSU?

Exactly 1 by 1 step with link to superSU systemless cause i cant find any of it at magisk thread..

thanks guys..
[Magisk] EViollet:
This is strange.

Safetynet is failing on my device (using SafetyNet Helper AND SafetyNet Playground)

However, Pokemon Go is STILL working.

I had a look at the SafetyNet API, and I don't see any way to differenciate the SafetyNet failures. It just fails or passes. No intermediate values...

So, could it be that PoGo is no longer using SafetyNet? But, rather using it's own techniques for detecting root? I'm guessing that Niantic have changed their cheating detection strategy?

Anyone have any insights on this? I see that they now detect GPS faking apps, so I'm figuring that they're now taking things into their own hands and not depending on Google any more, and, actually, taking a much more rational path with this root detection.

Regards
[Magisk] tchavei:
Wouldn't that require a pogo update? It's still 0.41.4?

Enviado do meu GT-I9195 através de Tapatalk
[Magisk] EViollet:
Yes, I suppose so. Unless they have developped their own kind of SafetyNet which would just require changes on their own servers. It's a more complex approach, but, actually more reliable.
[Magisk] ataraxist:
Is that true for everyone?
[Magisk] EViollet:
No idea. That's one of the reasons I posted.

But the fact that it's working like that on my phone is enough for me to begin asking myself questions...
[Magisk] ataraxist:
I just tested on a rooted device... pg didn't work. Says that it is incompatible...so they have not given up safety net.
[Magisk] EViollet:
I didn't say they're not testing root.

PoGo won't run on a rooted device.

I'm just saying that I have a feeling that they're not relying on Safetynet to test it.
[Magisk] klefreak:
Using Viper one m8 Version 6.1

And pogo does not work...

Got unsupported Device using any version of magisk and also if i unrooted the Device (still using Viper One)
[Magisk] exodius48:
I get a new update about safety net, it will detect phone itself about bootloader. If your phone has unlocked bootloader, safety net won't pass.

Here for detail : http://xdaforums.com/showpost.php?p=69203468&postcount=763
[Magisk] zakijesk:
as far as I know the majority of android phones have unlocked bootloader only some US carriers lock the bootloader so it makes no seance to do this, and it dose log in fine for me and my phone have an unlocked bootloader
[Magisk] Tesla:
PSA Android SafetyNet Now Tripped By Unlocking Bootloader

https://www.reddit.com/r/Android/co...et_now_tripped_by_unlocking/d8ygqwb?context=3
[Magisk] negroxxx:
I'm sad i can not play pogo LOL
[Magisk] m3rkd45:
Running MultiROM on GT-i9505

to play PoGo i installed OmniROM 4.4.4 as a secondary ROM, installed GPS Spoofing Apps to system/apps, then unrooted via SuperSU...-> PoGo works fine and SafetyNet passes...

Sadly i had no success with unrooting Lollipop or Marshmallow Custom ROMS.. (No SafetyNet pass)
[Magisk] zakijesk:
I really don't understand stupid banks and their stupid apps they're ok running in windows

that's riddled with viruses and keep demanding more and more security measures in android

google is going to ruin android and make it even worse than ios if they keeps going on this path
[Magisk] :
Clearly you'd want your money in an unlocked safe, to which every person can have access to, because you don't really care about bank security.

The real problem is the developers abusing this ability to effectively shut off people like us from their apps. That, and with the amount of spoofers present here on XDA, Niantic can't be asked to develop a decent enough anti-cheat to combat the spoofers.