
First, we need to understand the file and remove useless parts. Understanding and trimming the decoded metadata fileĪt this point, you’re close to starting your data mine, however, there is still some infrastructure work to do. We use Sublime Text 3 due to high performance and good RegEX support.ģ. Now select all from the right column and copy it into a text editor of your choice. Make sure your decoding configuration says the following: Decoding the global-metadata.dat to ASCIIĪfter extracting the metadata file from the APK, open HxD and open the metadata file with it. At this point, we are going to use HxD so make sure you installed it, or if not, install it now.Ģ.

Just drag and drop the file outside of the archive. The metadata file we’re looking for is situated here:Īssets\bin\Data\Managed\Metadata\global-metadata.dat The 0.55.0 APK that was used for this guide is around 81.4Mb large and includes around 7Mb of metadata that’s interesting for exploration. Download the APK and open it with 7zip (or any other zip tool). If this sounds difficult, or even dangerous, don’t be afraid – it’s none of that! It’s just a rather lengthy process that sounds harder than it really is! Let’s start! 🙂 Understand and remove useless parts of the decoded fileĪnd finally: data mine and explore the code behind Pokémon GO using your text editors Search and Replace with RegEX (regular expressions) Open the APK and extract Pokémon GO metadataĭecode the metadata file from HEX to ASCII format In this guide you will learn the following: This is the first and, as far as I know, the only step by step guide on the Internet on how to do it.įor this guide, you will need the following:Ī copy of the latest Pokémon GO APK, which is available at APK MirrorĪ good text editor with support for RegEX like Sublime Text, Notepad++ or AtomĪ Hex editor that can convert from Hex to ASCII, like HxD I been doing this for a while already, and so have others, namely TheSilphRoad. APK mining, or data mining, is the process of exploring and reading the code behind Pokémon GO.
