r/pokemongodev • u/DanielTheManiel- • 4d ago
Android Screenshot-free live encounter monitoring / IV prediction
First time posting here. I couldn't find anything discussing this so I thought I'd share with the hopes of more development being put into this - I think it's very exciting and fresh.
Using shizuku on a non-rooted android device, you can read your device logs (logcat) on the fly. There's many many system-related logs coming through at any given time, but some apps also log certain information. I found some useful logs that Pokemon GO logs as soon as you enter an encounter. An example few lines:
```11-19 11:41:02.114 4120 4187 D QUAGO-SDK: QuagoManager.Handler() KeyValues for Segment Encounter = [PokemonId, 25]
11-19 11:41:02.116 4120 4187 D QUAGO-SDK: QuagoManager.Handler() KeyValues for Segment Encounter = [PokemonCp, 134]
11-19 11:41:19.802 4120 4187 D QUAGO-SDK: Segment ended```
(These are made up lines but structure stands)
As you can see, the pokemon ID (Pokedex number) and CP are reported as soon as an encounter is started - before the pokemon even appears on screen. I used this to make an app that calculates all IV/CP combinations for the species, then reports the matching combos in an overlay to tell me whether hundo/nundo is possible or not (pictured in post).
This app was incredibly useful during the GO Wild event when I filtered only lvl 30+ pokemon and IVs above 13/13/13 to scan mighty pokemon - snagged a big handful of hundos without spending too many safari balls. I wanted to make the app more context-aware (raid, research, shadows, etc) but stopped developing it myself.
I'm sharing this information to hopefully spur some creativity in designing a better app than mine leveraging this tool, or maybe to find more information accessible via device logs! If there are any ideas you'd like to share, I can open-source my app and implement them.
