How leonboe1/googlefindmytools works
GoogleFindMyTools is an experimental client for Find Hub/Find My services. Its principal workflow authenticates a Google account, lists trackers, lets the user select one, requests location data, decodes the response, and decrypts reports for display. Separate capabilities retrieve E2EE keys, register custom trackers, and provide tracker cryptography and owner lookup. The README also documents ESP32 and Zephyr firmware. Connections below follow sampled code, SOURCE INDEX references, or README statements; unsampled internals and firmware protocol details are not inferred.
Main entry points: nbe_list_devices.py Device selection · get_owner_key.py Owner key retrieval · location_request.py Location request · decrypt_locations.py Location decryption
Components 26
Authentication
- Token retrieval
Auth/token_retrieval.py - AAS tokens
Auth/aas_token_retrieval.py - FCM receiver
Auth/fcm_receiver.py - Firebase messaging
Auth/firebase_messaging/fcmpushclient.py - FCM registration
Auth/firebase_messaging/fcmregister.py - Token cache
Auth/token_cache.py
Network APIs
- CLI entry
main.py - Device selection
NovaApi/ListDevices/nbe_list_devices.py - Nova transport
NovaApi/nova_request.py - Spot transport
SpotApi/spot_request.py
Tracker Data
- Protobuf decoder
ProtoDecoders/decoder.py - Location request
NovaApi/ExecuteAction/LocateTracker/location_request.py - Location decryption
NovaApi/ExecuteAction/LocateTracker/decrypt_locations.py
Keys and Crypto
- Owner key retrieval
SpotApi/GetEidInfoForE2eeDevices/get_owner_key.py - E2EE key info
SpotApi/GetEidInfoForE2eeDevices/get_eid_info_request.py - Key backup decryption
KeyBackup/cloud_key_decryptor.py - Shared key retrieval
KeyBackup/shared_key_retrieval.py - Tracker cryptography
FMDNCrypto/foreign_tracker_cryptor.py - EID generation
FMDNCrypto/eid_generator.py - Owner lookup
DULT/OwnerLookup/collector.py
Custom Trackers
- BLE tracker registration
SpotApi/CreateBleDevice/create_ble_device.py - Tracker key refresh
SpotApi/UploadPrecomputedPublicKeyIds/upload_precomputed_public_key_ids.py - ESP32 firmware
ESP32Firmware/main/main.c - Zephyr firmware
ZephyrFirmware/app/src/main.c
Other components
- User
- Google services
Connections 33
- User → CLI entry: starts
README.md - CLI entry → Device selection: runs
main.py - User → Device selection: selects tracker
NovaApi/ListDevices/nbe_list_devices.py - Device selection → Nova transport: requests list
NovaApi/ListDevices/nbe_list_devices.py - Nova transport → Google services: posts request
NovaApi/nova_request.py - Nova transport → Token retrieval: gets ADM token
NovaApi/nova_request.py - Token retrieval → AAS tokens: gets AAS token
Auth/token_retrieval.py - AAS tokens → FCM receiver: gets Android ID
Auth/aas_token_retrieval.py - AAS tokens → Token cache: caches token
Auth/aas_token_retrieval.py - FCM receiver → Firebase messaging: uses messaging
Auth/fcm_receiver.py - Firebase messaging → FCM registration: registers client
Auth/firebase_messaging/fcmpushclient.py - Device selection → Protobuf decoder: parses list
NovaApi/ListDevices/nbe_list_devices.py - Device selection → Tracker key refresh: refreshes keys
NovaApi/ListDevices/nbe_list_devices.py - Device selection → Location request: requests location
NovaApi/ListDevices/nbe_list_devices.py - Location request → Nova transport: sends request
NovaApi/ExecuteAction/LocateTracker/location_request.py - Location request → Protobuf decoder: parses update
NovaApi/ExecuteAction/LocateTracker/location_request.py - Location request → Location decryption: decrypts reports
NovaApi/ExecuteAction/LocateTracker/location_request.py - Location decryption → Protobuf decoder: parses update
NovaApi/ExecuteAction/LocateTracker/decrypt_locations.py - Location decryption → Owner key retrieval: gets owner key
NovaApi/ExecuteAction/LocateTracker/decrypt_locations.py - Location decryption → Tracker cryptography: decrypts reports
NovaApi/ExecuteAction/LocateTracker/decrypt_locations.py - Owner key retrieval → E2EE key info: gets key info
SpotApi/GetEidInfoForE2eeDevices/get_owner_key.py - Owner key retrieval → Shared key retrieval: gets shared key
SpotApi/GetEidInfoForE2eeDevices/get_owner_key.py - Owner key retrieval → Key backup decryption: decrypts owner key
SpotApi/GetEidInfoForE2eeDevices/get_owner_key.py - E2EE key info → Spot transport: sends request
SpotApi/GetEidInfoForE2eeDevices/get_eid_info_request.py - Spot transport → Google services: posts gRPC
SpotApi/spot_request.py - Spot transport → Token retrieval: gets Spot token
SpotApi/spot_request.py - Device selection → BLE tracker registration: registers tracker
NovaApi/ListDevices/nbe_list_devices.py - BLE tracker registration → Owner key retrieval: gets owner key
SpotApi/CreateBleDevice/create_ble_device.py - BLE tracker registration → EID generation: generates EID
SpotApi/CreateBleDevice/create_ble_device.py - BLE tracker registration → Spot transport: sends registration
SpotApi/CreateBleDevice/create_ble_device.py - Device selection → ESP32 firmware: supports firmware
README.md - Device selection → Zephyr firmware: supports firmware
README.md - Owner lookup → EID generation: uses crypto