How to Use Snapchat on Non-Stock Android

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 :)

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:

  1. 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.

  2. 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).

  3. 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.

  4. Install Snapchat from the Play Store and sign in. Do not root your phone before you sign in.

  5. Root your phone. I use Magisk.

  6. Close Snapchat from the App Switcher, and transfer the /data/data/com.snapchat.android/ directory to your computer (you can copy it to /sdcard and move it off via Android File Transfer if you want; any way works). If you can't copy lib, skip it.

  7. Compress everything inside the folder you just copied your computer into a .zip.

Compress everything inside the folder, not the folder itself!

  1. Flash your old images (or restore from backup).

  2. Install Snapchat from the Play Store, and open it once but do not sign in. Close it from the app switcher.

  3. Make sure the device is rooted, and install some type of Terminal emulator. cd to /data/data/com.snapchat.android/.

  4. 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 wget the file and unzip it.

To start the server:

$ cd ~/Desktop/com.snapchat.android/ && python -m SimpleHTTPServer 8080

(if you are using python3, use http.server instead of SimpleHTTPServer)

Use 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!