Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.02 KB

File metadata and controls

23 lines (18 loc) · 1.02 KB

Google OTA prober

This program is designed to obtain URLs to over-the-air (OTA) update packages from Google's servers for a specified device.

Requirements

  • Python 3
  • Build fingerprint of your stock ROM

How to use

  1. Install needed dependencies: python -m pip install -r requirements.txt
  2. Modify config.yml correctly, as described in the file itself.
  3. python probe.py

Limitations

  • This only works for devices that use Google's OTA update servers.
  • The prober can only get the latest OTA update package that works on the build specified in config.yml.
  • Unless it is a major Android upgrade (11 -> 12), the prober will only get links for incremental OTA packages.

References

  1. https://github.com/MCMrARM/Google-Play-API/blob/master/proto/gsf.proto
  2. https://github.com/microg/GmsCore/blob/master/play-services-core-proto/src/main/proto/checkin.proto
  3. https://chromium.googlesource.com/chromium/chromium/+/trunk/google_apis/gcm/protocol/android_checkin.proto
  4. https://github.com/p1gp1g/fp3_get_ota_url