yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Questions & Answers] Belvin02:
Making a secondary user account/folder on the filesystem does not create a new /system/ or /data/ folder, you are still using the same binaries and libraries from the system on the second/guest account.

This goes for using sandboxes such as shelter and island as well.
[OnePlus 6 Questions & Answers] spr33:
Whatever it does or doesn't do, it still works :)
[OnePlus 6 Questions & Answers] Belvin02:
You'll be banned within a week.
[OnePlus 6 Questions & Answers] sudhakarstoopy:
I've did the same. After a week I got banned
[OnePlus 6 Questions & Answers] Ginosius:
So there's still no way to have magisk and snapchat without getting banned??
[OnePlus 6 Questions & Answers] Trey n:
I haven't gotten banned I'm using magisk 19.3 and magisk hide for magisk manager and titanium backup

Sent from my OnePlus 5
[OnePlus 6 Questions & Answers] LELBOT:
How to use Snapchat with magisk (After Ban)

Follow these steps to use Snapchat with magisk -

1.) Update to latest Magisk stable build v20.0 - https://github.com/topjohnwu/Magisk/releases/download/v20.0/Magisk-v20.0.zip

2.) After updating magisk, Go to Magisk Manager > Magisk Hide and check/enable Snapchat and Google Services (all services have to be marked).

3.) Hide Magisk Manager by it self, go to Magisk Manager > Settings and "Hide Magisk Manager" so it will repack Magisk Manager with random name.

4.) Delete "busybox" binary from /system/xbin directory and install BusyBox module from Magisk Manager > Downloads.

5.) Clear data and cache of Snapchat, try to login this time, it will work for sure, if it doesn't, login to this and click unlock my account - https://accounts.snapchat.com/accounts/login?continue=https://accounts.snapchat.com/accounts/welcome

I have tried this myself and it works, my first main account was permanent banned on magisk canary build, After that I deleted that account and started out with fresh new account.

Tested on -

Samsung Galaxy S9+

Rom - Ulitamte Rom v11.3

Magisk - v20.0 (Stable)

Kernel - ElementalX
[OnePlus 6 Questions & Answers] Ginosius:
Thanks sir!

I did exactly what you said, including the deletion of /system/xbin/busybox and repacking the Magisk Manager app.

However, after a week or so, I still got banned again (just for 24hours..).

I'm also on a S9+ but the difference is that I'm running TGP rom with TGP kernel.

Will try to switch to the ElementalX kernel instead, if that doesn't work, I'll flash Ultimate Rom as well.
[OnePlus 6 Questions & Answers] Belvin02:
ROM's do not matter, the underlying file system still exposes all the things that snapchat is looking for when it launches and in the background. Magisk cannot be trusted since March 2019, the developer does not care about the hide feature, despite advertising it as a main selling point for Magisk( and you would think an app with over 1,000,000,000 downloads on the play store wouldnt be considered a "minor" app)

If you want to use snapchat you have only 1 course of action

Unroot

Flash a stock ROM

Lock your bootloader.

Your next ban on that account will be 1 week. Consider this if you care about your account
[OnePlus 6 Questions & Answers] scj20:
I'm on an unrooted redmi note 7 pro violet, MIUI version 11.0.5.0. My bootloader is locked (I've still got 28 hours left). The only advanced user things I have done is install a few apps like greenify and naptime and grant them special permissions through adb, tried to unlock bootloader through fastboot straight as well as through miui unlock tool and enable usb debugging, usb debugging secure settings (for granting system permissions via adb) and enable oem unlocking (for unlocking bootloader).

Snapchat still sends me a message that I'm accessing snap through a third party app and keeps banning my account. Rn it's banned for a week. I thought magisk might help me out but judging by your comments it's likely to make the problem worse.

Does anyone have any clue on how to still use snapchat? I do want to root my phone but I'll skip it, if it means I still get to use snapchat.
[OnePlus 6 Questions & Answers] Belvin02:
Having an unlocked bootloader fails SafetyNet which Snapchat must pass to login. Back in v18 of magisk this was properly taken care of and would be forced to pass with the Hide feature.

Magisk dev since March 2019, no longer cares about the Hide feature they promote so heavily(but an app with over 1 billion downloads is classified as a "minor app" that the dev has no interest in maintaining proper hiding code for).

The only option is to have a fully stock ROM from Google's download site or OTA,unrooted and a locked bootloader to pass safetynet if you are interested in using Snapchat in 2019.

No other options exist
[OnePlus 6 Questions & Answers] Trey n:
I haven't had any issues, I'm using magisk 20.1 and titanium backup and successfully pass safetynet
[OnePlus 6 Questions & Answers] scj20:
Has anyone tried running snapchat through island?
[OnePlus 6 Questions & Answers] scj20:
Maybe a way?

Okay so after a lot of searching I might have stumbled on to a way to access snapchat. I will try it as soon as I can root my phone (MI has waiting time).

Firstly, factory reset your device. Then root it before setting it up again. Enable magiskhide on play services and play store. Enable magisk repackaging option.

Install an earlier version of the app, below 10.40. (Using the beta versions, even the latest might work, I saw some users saying that).

Try to avoid updating the app.

Enable magiskhide on snapchat.

Grant it only the permissions it needs to work, no more.

Disable autostart and stop it from running in background.

Instead of using root apps, try using magisk modules for the same. Example: Use an ad-blocking module from magisk instead of adaway, use greenify4magisk instead of the app from playstore etc.

After installing the app, instead of using the app straight away, create a dual app if your phone has that feature, or parallel space. Or you might try using app in island.

If all this doesn't work, you might need to reset your device id and then try all this all over again. That might work.

I don't know if all this will work, but this is what I've been able to piece together after hours of searching the web. It might, it might not.

Special thanks to @TevW for some of these steps
[OnePlus 6 Questions & Answers] Flashby:
Unrooting will solve the issue or it's link to custom rom?
[OnePlus 6 Questions & Answers] BookCase:
Works for me on HTC U11 Life. Thanks for sharing.
[OnePlus 6 Questions & Answers] Dabarr:
As a very easy solution:

Oneplus provides the option to clone you apps or to let them in parallel. Just clone the app and then use the cloned version. The cloned version is run in a simulated instance and should not be effected by root or any other app. Here is a quick guide on how to do it: https://www.mobigyaan.com/dual-apps-parallel-apps-oneplus-7-pro
[OnePlus 6 Questions & Answers] woodyby:
Already tried on Samsung with the same option, "Dual messaging", but doesn't work ... Still ban after 12 hours !
[OnePlus 6 Questions & Answers] juggernaut1997:
So i had a similiar experience on my redmi note 5 pro, running android 10 pixel experience. Found turning off these magisk modules worked.

Hope that helps.
[OnePlus 6 Questions & Answers] Trey n:
I haven't gotten banned in a year and I've been using magisk and kept it up to date and I'm on pixel experience 10 too on op5
[OnePlus 6 Questions & Answers] juggernaut1997:
Didn't say to disable magisk, just the modules shown (gms doze didn't affect Snapchat on further testing)

Magisk worked fine but enabling the modules led to snapchat not logging in
[OnePlus 6 Questions & Answers] Xenomorphs:
What i did was disable riru modules as they were the ones giving me failed safetynet but you can disable all modules just in case. Then check to see if you pass safetynet and if true, login to snapchat and once logged in enable on modules and snapchat wont give any problems.
[OnePlus 6 Questions & Answers] Soumy1234:
I think Energized is a culprit (mainly the sites it blacklists). I can only log into Snapchat if my hosts file is cleared.
[OnePlus 6 Questions & Answers] veronesi.n:
Didn't read all post, but solution is quite simple, after clearing cache and data of the app you want to use that detects the root, go to magisk and then go to settings/ Genearal and Hide/rename magisk with an other name. After that hide magisk from the app. then download, install safetypatch in magisk, restart phone, you're done.

It works with EVERY app I've tryed, from banking apps, to snapchat, my work apps and even kind of secure id app in belgium.
[OnePlus 6 Questions & Answers] spider451:
I recently was experiencing this no matter what I done. I'd catch a ban by the next day or so. Even with parallel apps I was getting banned. After updating to Android 10 this has stopped. Which suggests to me it's a whole someplace in PIE. Since I've been on Q I haven't had one issue.

OP6T (global) Magisk, XXX no limits , and Omega Kernel
[OnePlus 6 Questions & Answers] Trey n:
havent had any issues and been hopping roms (been on stock oos for a month waiting for 10) on my oneplus 5
[OnePlus 6 Questions & Answers] Oswald Boelcke:
Moderator Announcement: Thread cleaned from any warez discussion! XDA has a zero-tolerance policy in that respect even if such a "tool" offers additional capabilities.

XDA Forum Rules (excerpt):
[OnePlus 6 Questions & Answers] qounik:
So after Reading the whole thread it seems Snapchat Not Only able to Detect Root, It Can Detect even if Magisk Hide is in place. It's Very Interesting. How are they Able to Achieve such things. Saw a Link Above of Breakdown of how and what they detects. Mostly use to be Xposed which is understandable but what if a Dev wants to Troubleshoot their device with Magisk also Use Snapchat?

I am unable to Clean install my device so I can't really test Different scenarios but has anyone tried

Magisk, Riru Storage Isolation and or freezing the app while not using it and only unfrozen use and froze it again?

Just a thought
[OnePlus 6 Questions & Answers] Trey n:
Haven't had any issues I've been hopping roms on my oneplus 5
[OnePlus 6 Questions & Answers] Chirag Piplani:
Hii. I am here to get the solution for snapchat voice quality.. snapchat is using top mic which is noise cancellation mic.. and the quality of the voice is so bad. Can we fix this issue? With root or xxxnolimit.. i have tried the custom rom.. quality was improved with the custom rom but is there any way we can fix this with stock rom?
[OnePlus 6 Questions & Answers] soraxd:
it also has a list of package names it checks for. you could repackage each of these apps to hide them, altho the app I used to use to repackage apps doesn't work anymore on my android 9 phone.

heres an excellent write up with a list of detected package names.

https://aeonlucid.com/Snapchat-detection-on-Android/
[OnePlus 6 Questions & Answers] qounik:
Thanks for the Idea, I'm Trying Different Things every other day I'm getting free time, I'm Curious about what they exactly they detects and How. If I Don't have any Trace of Xposed in my system Then why would they block us, and is it ok to look through the apps? We have Root but Snapchat app don't so we should have the upper hand. It's app therefore it has vulnerabilities. Idk what am saying but I'm curious to find out
[OnePlus 6 Questions & Answers] VD171:
Try using my app VD INFOS, you can see every detectable thing. (Root/Magisk/Xposed/Riru/and others.)

And then you can fix what needs to be fixed.

https://xdaforums.com/t/VD-Infos.4097379/
[OnePlus 6 Questions & Answers] qounik:
That's a Very Impressive app. I will Try Playing around with it. Thanks!
[OnePlus 6 Questions & Answers] VD171:
Thank you very much, my friend.

You are totally welcome.

Enjoy :cool:
[OnePlus 6 Questions & Answers] RJASSI21:
Yeah before I unrooted I uninstalled the app and then even after that I had uninstalled it more than once since I was switching accounts I also uninstalled it then as well. I've attempted to contact Snapchat to see how that goes maybe they can tell me which app is causing it because as far as I'm aware I don't have one installed. Thanks for the heads up.
[OnePlus 6 Questions & Answers] whitslack:
I had Snapchat running on my Magisk-rooted OnePlus 5T for over a year. Logging in had to be done with Magisk uninstalled, but the app would stay logged in indefinitely even after installing Magisk. (I do enable Snapchat in Magisk Hide.) But then evidently an update to Snapchat added an ability for them to detect root periodically while logged in, and I too started getting banned. That was in January. I got up to a one-week ban and finally gave up and deactivated my Snapchat account. I guess Snapchat just doesn't want me as a user. Fine.

The real kicker? Deactivating one's Snapchat account doesn't actually prevent friends from sending snaps, so people are asking me why I'm not looking at the snaps they're sending me. Bull**** app.
[OnePlus 6 Questions & Answers] dumbasPL:
Some more info

Ok so i think we might have a solution(but for now only for oneplus users :( )

i have been using snapchat for over a week now without ban while having magisk. it was on my old account witch had in the past a 7 day ban. Now i will try using it on my main, will see what happens.

So here is what i did:

-flashed clean os and wiped device.

-set it up, install snapchat, (never launched after installation)

-cloned it using parallel aps which is a feature of oxygen os

-logged in to the cloned app(again, never opened the normal one)

-installed twrp

-flashed magisk(and some other irrelevant stuff)

-booted to os and as quick as possible force stopped both snapchats(the cloned one first since that's the one i care more)

-opened magisk app and repackaged it with random name(you can find this in options)

-never enabled magisk hide(i think that might have something to do with it since on my old nexus phone i had it disabled for a while after first install and was fine but then enabled it and got banned the next day)

-and then started using phone normally. And here i am after using it for a week with no ban

Why i think it worked and some more thoughts:

So first some observations: Snapchat can see su binary from the paralel apps since it can be seen basically from everywhere, also it can see internal storage but that's probably because /sdcard/ is a link that eventually leads to /data/media/0 (the "parallel aps storage" is /data/media/999" also it looks like it's encrypted differently since twrp can't decrypt it but when the os is up both are encrypted and both user 0 and 999 have full access to one another). Snapchat cant detect other apps installed since for example when it checks if there is bitmoji app installed (and there is) it can't find it and opens google play. I've tried pretty much the same stuff but with magisk hide enabled and got banned next day so maybe since snapchat cant see the app itself it was actually detecting one of the hiding methods.
[OnePlus 6 Questions & Answers] totnakina:
This didnt work for me... Still having issues.
[OnePlus 6 Questions & Answers] qbanlinxx:
Which magisk is everyone on having these issues?
[OnePlus 6 Questions & Answers] djer34:
ill give this a try. seems like an awful amount of work just to get snapchat running. I'm going to create an additional snapchat account just for testing instead of using my main one as my main one is on a 2 week ban now...

but I'll give this a shot I guess. really don't want to lose root just to use snapchat but don't really want to not use snapchat.

thabks for the feedback. perhaps there's a work around we can figure out that doesn't require wiping everything.
[OnePlus 6 Questions & Answers] dumbasPL:
the wipe is what i did to make sure that it was clean for testing purposes, also op6t will boot loop if system partition modified and no magisk installed so i had to restore atleast the system partition. i guess you should be able to dirty flash it and it should boot without magisk. so for me it's not only root because i can live with just twrp but if i touch system partition then i wont boot unless i install magisk
[OnePlus 6 Questions & Answers] qbanlinxx:
I just uninstalled 18.1, and installed 18.0 and my banking app is working again with Magisk Hide
[OnePlus 6 Questions & Answers] djer34:
that makes sense. well may we have an update? still going strong? no ban? and you're on magisk 18.1 and the most up to date snapchat app correct?

I haven't given this a shot still. will be here tonight. are you using the cloned app then to use snapchat daily? the one you logged in to initially? or did you go back to the original one? did you have to login to that one if you went back to it?

thanks for the help. I think this is beatable.
[OnePlus 6 Questions & Answers] dumbasPL:
Ok so I was logged in to my main account on my other phone(clean pixel experience rom, no magisk or any other mods) to keep my snapstreaks. After using my second account on my main phone after over a week without ban I decided to to put my main account on my rooted phone. Here is the fun part, Snapchat detects root(only without magisk hide I think) even from the cloned app so I thought why not just copy paste all files from old phone to now one. So I rebooted the old phone (with my main account) to twrp and archived the entire private data of Snapchat using tar(it's /data/data/com.snapchat.android) then moved it to my rooted phone. The only problem now was that twrp can't decrypt the 999 user witch is a second invisible user for the cloned apps so I had to do it while system was running. So I force stopped Snapchat and then tried to find where Android stores private apps data for the cloned ones, I found it in /data/user/999 and inside there is the com.snapchat.android folder(for it to be there you have to first clone the app and open it once). So I removed all its contents and unpacked the archive there. Launched Snapchat and to my surprise it worked. Now I'm using it for three days and still fine. But the most suprizing thing to me was that it did not insta log me out because Snapchat is taking all that effort to block us to make it "safer" and what I just did is one of the most simple hacks to make if you have full access.

I am using magisk 18.1(18100) and always keep Snapchat up to date.

Also I never opened the original one since I installed it because if I did then Snapchat would register it's background service and add itself to automaticly start with os.
[OnePlus 6 Questions & Answers] djer34:
hmmm. I guess that makes sense. you're basically tricking the app into thinking it's installed on another phone. ha. well done that's smart.

well I'm not sure where to go. I'm on the pixel 2 and don't have a spare phone to transfer app data. and I don't need magisk to run custom roms like you do. so how do you think I should go about this? do you think I could get by without cloning the application?

-wipe data and internal completely

-fresh os install

-boot

-install app and run but not login

-magisk install

-boot

-kill app

-transform magisk to manager and not enable magisk hide

-login to snapchat

-see what happens?

do you think enabling magisk hide is affecting snapchat? so don't enable it?
[OnePlus 6 Questions & Answers] dumbasPL:
If you are not transferring data then log in to Snapchat first then install magisk, reboot, kill Snapchat, repackage magisk, have fun

Form my experience magisk hide was always ****ing it up so just repackage magisk manager and it should be fine

Also the wipe I probably not necessary if you can remove magisk normally. Just remove it and reinstall Snapchat and try doing what I described above, will send what happenes
[OnePlus 6 Questions & Answers] djer34:
welp. back to the drawing board. lol. banned again. I'm going to keep trying with another account.

this time I had magisk completely removed when I was banned. which blows my mind. I used the magisk Uninstaller. completely removed. rebooted. installed snapchat and logged in. went a day before ban message came in. so it's not magisk that is affecting this. unless I had some trace of magisk leftover that snapchat is sensing.

i have app ops installed. I just don't believe this would be affecting things when it's an app from the android market. and deemed safe. I'll Uninstall it though just for kicks cause I'm out of ideas.

i guess the next thing to do is completely wipe. install fresh os. and go from there.

my bootloader is obviously unlocked. I just can't bring myself to believe that snapchat is banning phones with unlocked bootloaders...that would be a new level of stupidity when it's something baked in to android os.

anyone else have ideas?
[OnePlus 6 Questions & Answers] dumbasPL:
Snapchat is not detecting unlocked bootloader by itself(that's just straight up stupid) i can confirm that unlocked bootloader + twrp + maybe custom rom(but not prerooted) is safe.

Magisk may have left some traces, that is possible. Witch uninstall method did you use?

If you can i would suggest downloading clean rom from manufacturer(google in your case) and flashing it and wiping the phone in the process(if you have cloud backup configured this should be a non problem, just restore it). And then maybe just flash twrp and try using phone normally(this should not cause nay ban) and then after some time start adding things to see what the problem exactly is. Snapchat bans can be delayed even by few days, keep that in mind.
[OnePlus 6 Questions & Answers] djer34:
I wouldn't imagine snapchat detecting simply unlocked bootloader.

I'm on a custom rom that is not pre rooted. I uninstalled magisk using the built in uninstall method. which should wipe it completely... I uninstalled. installed snapchat. logged in. ban the next day.

I guess the next step is wipe and fresh rom with no root and see if I get banned. then add magisk. and see what happens.

you're still going strong? no ban? magisk up and running? I guess what you did differently was wipe so I'll try that next.
[OnePlus 6 Questions & Answers] daleloco:
I don't have a OP6 yet but I'm following this thread because I will get one in a couple of weeks. I've read in another forum (don't remember now which one) that the problem may be caused by magisk version, and some users reported that they had Snapchat working great with no bans in magisk version 18.0 and 16.3. I can't verify or test it but maybe it could help you guys.
[OnePlus 6 Questions & Answers] RJASSI21:
I kind of have up using Snapchat on my main device. I decided to relock the bootloader on my Z4 Tablet and use that. So when I first stopped using the app on my magisk phone I got banned some how even though that device isn't even rooted. To me it seems that they still ban it until the app is sure it's not being used on that same device. I also decided to just use it on an iPad too. I have my old Z2 which has a custom ROM and super user but I don't think it's rooted correctly. I've used Snapchat on there and it's been fine but it does have a locked bootloader. Honestly this is pretty stupid though because non of use are even using the third party apps that actually interact with the usage of the app. The app is pretty much dead to anyone who uses magisk for other reason, not to mess with the app.
[OnePlus 6 Questions & Answers] alb3rtt:
Used it for just under 48 hours before I was locked out.

---------- Post added at 01:50 PM ---------- Previous post was at 01:49 PM ----------

Both snapchat ticked and setting enabled. I might have something else in my setup causing this issue but I can't seem to figure it out.
[OnePlus 6 Questions & Answers] alb3rtt:
What I meant was that on 18.0 and 18.1, I can't login to snapchat without using a titanium backup. On 17.3, I can login without getting the "your login has temporarily failed" message. Also, correct. I used the busybox module.
[OnePlus 6 Questions & Answers] Corvetrims77:
I ran into this issue when SafetyNet first started causing issues. Have you tried using the Beta or Alpha versions of snap? I suggest using the alpha as it has been revamped for Android. Do what you must to login, Search for the Bahamas and upgrade via the snap icon.