You take your new Android phone out of the box, install your custom kernel, ROM, or root it, then you get to Snapchat and you see this:
Oh no! Your login temporarily failed, so please try again later. If your login continues to fail, please visit https://support.snapchat.com/a/failed-login :)
Thanks for the smiley face.
Okay, so here's how you do it:
TAKE A BACKUP! You ARE going to lose everything if you don't. I'm still not sure of the best way to do this, so I just started over, but Google it.
Download the stock image for whatever device you use. Personally, I use a Nexus 6P, so I downloaded angler-n4f26u-factory-131d7b01.zip from Google (7.1.1 is the version of Android I use with ElementalEX and PureNexus, so I chose that).
Clean flash the stock image (or if you can get Snapchat to work on a dirty flash, great, but I couldn't.) Back up everything before this. Really.
Install Snapchat from the Play Store and sign in. Do not root your phone before you sign in.
Root your phone. I use Magisk.
Close Snapchat from the App Switcher, and transfer the
/data/data/com.snapchat.android/directory to your computer (you can copy it to
/sdcardand move it off via Android File Transfer if you want; any way works). If you can't copy
lib, skip it.
Compress everything inside the folder you just copied your computer into a .zip.
Flash your old images (or restore from backup).
Install Snapchat from the Play Store, and open it once but do not sign in. Close it from the app switcher.
Make sure the device is rooted, and install some type of Terminal emulator. cd to
Okay, we have to transfer it from our computer. The easiest way I found to do this was actually just to start up a small HTTP server on my laptop so I could just
wgetthe file and
To start the server:
$ cd ~/Desktop/com.snapchat.android/ && python -m SimpleHTTPServer 8080
(if you are using python3, use
http.server instead of
ifconfig to grab your local IP address, and make sure the phone is on the same network.
Then, download the zip on your phone and extract it:
$ su $ cd /data/data/com.snapchat.android/ $ wget http://[ip]:8080/Archive.zip $ unzip Archive.zip
That's it! Have fun!