Every major release of Android in the past couple years has received Google’s Easter Egg treatment. They like to sneak in wallpapers, silly animations, or a fun little game. With the release of Android Nougat (7.0.0), the Easter Egg ended up resembling some kind of Neko Atsume themed game.
The concept is quite simple. Once on Android 7.X.X, after adding the Easter Egg, the player pulls down their notification menu and selects a piece of food to place out. Certain pieces of food net the player a better chance at catching a cat, but these pieces of food respectively take longer before a cat will eat it. After a cat eats the piece of food, the player will be given a chance of catching it depending on what piece of food was placed out. If they succeed the random check, the player will receive a notification and the cat will appear in their inventory. If they fail, the cat will get away with the food and the player will only find an empty bowl with no notification.
Jack’s Mannequin. Because he’s Dark Blue…
Google Gamifying Notifications
It’s silly. It really is. But I like looking at these cats and it’s almost like Google is gamifying the process of me checking my notifications…and that appears to be happening. They are keeping our vested interest by getting us to return to our notifications with the hope of discovering something new. I like this game..
I like my little collection of cats so much that I wanted to find a way to back them up. My phone is an LG Nexus 5X. I probably could’ve stopped at LG and you might have been able to guess what the problem is. My phone is probably doomed.
LG has a pretty large-scale problem with recent phones bootlooping. When I check out the results of Nexus 5X Subreddit, I find horror stories of LG and their support. But I digress. I use the Nexus 5X for the latest Android updates, its cheaper cost, and Project Fi.
Because of the possible impending doom on my Nexus 5X, I wanted to find a way to back it up and keep the cats safe. My requirement, I didn’t want to root. A short while ago, I transferred over all of my devices from being rooted and jailbroken to running stock because of how much easier it was to maintain. If I was rooted, I would just turn to Titanium Backup and call it a day. But I couldn’t do that. Not without unlocking my bootloader and rooting.
After little bit of research, I found that ADB has this nifty built-in feature that can backup applications and their data without root. I threw on USB debugging, connected my phone to the computer, and wrote the following line to back up my Android Nougat Cats with a script.
adb backup -f C:\CatsBackup_%date:~-4,4%%date:~-10,2%%date:~-7,2%.ab com.android.egg -system
When the command above is run in Windows Command Prompt, a few screens will appear on the phone to confirm the backup and possibly enter a password to encrypt it. ADB will create a small file with today’s date on my C: drive named
CatsBackup_20170104.ab (January 04, 2017) and it will contain the backup data for my cats. If you’re not using Windows Command Prompt, go ahead and change the file name to whatever you’d like. I just wanted to make it scriptable for myself.
To restore, simply run:
adb restore C:\CatsBackup_20170104.ab
I had a few issues at first where it wouldn’t restore properly. But after the data was erased for the Easter Egg, I was able to successfully restore one of my backups. That could just be my luck, and others might succeed restoring it over their current cat collection on the first try. But if you’re looking to back up your cat collection, this looks like the way to go. You should be able to restore this on any phone (Not sure how it will handle it on a newer version of Android though).
Velvet–for obvious reasons
Update May 9, 2017: WolfLeader116 wrote a really nice batch script to simplify the process of backing up/restoring and posted it on Pastebin (https://pastebin.com/59LnfS7M). Check out their explanation in the comments below.