How duwqijlk/google-trial-tool works
Google AI Trial Tool is a command-line launcher plus a Frida script that uses Google Play BillingClient inside the Google One app to find subscription offers and launch a selected trial. The workflow runs from device setup and script injection, through offer discovery and trial selection, to a billing prompt and purchase-status logging. The README documents launcher responsibilities and product options; the JavaScript excerpt shows BillingClient setup, selection, UI-thread dispatch, and result handling. Some discovery and launcher internals are not excerpted, so those links rely on README statements.
Main entry points: auto-trial.sh ADB and Frida launcher · frida-auto-trial.js Offer discovery
Components 10
Device launcher
- ADB and Frida launcher
auto-trial.sh
Trial workflow
- Frida trial script
frida-auto-trial.js - BillingClient setup
frida-auto-trial.js - Offer discovery
frida-auto-trial.js - Trial selection
frida-auto-trial.js
Billing checkout
- Billing flow launch
frida-auto-trial.js - Purchase status
frida-auto-trial.js
Other components
- Operator
- Android emulator
- Google Play Billing
Connections 12
- Operator → ADB and Frida launcher: runs options
README.md - ADB and Frida launcher → Android emulator: prepares device
README.md - ADB and Frida launcher → Frida trial script: injects script
README.md - Android emulator → Frida trial script: hosts script
README.md - Frida trial script → BillingClient setup: builds client
frida-auto-trial.js - BillingClient setup → Offer discovery: queries offers
README.md - Offer discovery → Google Play Billing: requests product details
README.md - Offer discovery → Trial selection: provides trial offers
frida-auto-trial.js - Trial selection → Billing flow launch: dispatches selection
frida-auto-trial.js - Billing flow launch → Google Play Billing: launches billing flow
README.md - Google Play Billing → Purchase status: returns purchase status
frida-auto-trial.js - Purchase status → ADB and Frida launcher: monitors logs
README.md