Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

gylive/google-ultra

Security & Privacy

Script that automates claiming Google One AI Ultra 12-month free trial offers via rooted Android billing inspection.

2,332
850
Python
MIT
1 day old

Introduction

google-ultra is a local Python script for rooted Android devices. It uses Frida to hook into the Google One process, loads a billing module through DexClassLoader, and calls BillingClient APIs to inspect and launch Play billing offers. The project is aimed at people who want to see whether their accounts are eligible for the hidden 12-month AI Ultra trial and, if so, activate the 5x / 20TB tier, with the script designed to cancel or back out if the offer is not free or not eligible.

The README states the target result is the Ultra 5x plan with 20TB for 12 months at $0, cancelable before the trial ends. The 20x / 30TB offer is reported as detectable but usually rejected by Play's secondary eligibility check, and the script does not attempt it. Accounts, passwords, and card details are described as staying local, with results written to ultra0-report/.

Preparation and quick start

Prerequisites are a rooted Android phone (Magisk, KernelSU, APatch, or an emulator) connected via USB, Python 3.9+, frida, and adb from platform-tools. Enable USB debugging on the phone and authorize the computer when prompted.

  1. Install dependencies: pip3 install frida.
  2. Run the environment self-check: python3 ultra0.py --check. It verifies the device, root, frida-server, and billing module, and turns off proxies or Clash that may block the Play network.
  3. Create an account file with one account per line, fields separated by four hyphens: email----password----backup email----2FA secret----card number----expiry----CVC----cardholder----ZIP. Trailing fields can be left empty; address defaults to 123 Main St, Portland, OR 97201 if omitted.
  4. Run python3 ultra0.py accounts.txt for a batch, or python3 ultra0.py --account "email:password:2FA secret" for one account.
  5. Verify the result in the Play Store under avatar → Payments & subscriptions → Subscriptions.

See the usage section for the full command sequence and the parameter list for --plan, --no-add, and --no-switch options.

How it works

The script adds the account to the device if needed, switches the Play account, and reads the active account back before continuing to avoid operating on the wrong account. It then starts Google One, hooks it with Frida, and loads the billing module via DexClassLoader. It queries product g1.play.20tb, selects the longest free-period offer (eft-12month, P1Y), and calls launchBillingFlow on the main thread. The checkout screen is monitored: the script proceeds only if the price is $0 or the screen shows a 12-month free trial, and closes it if the ineligible message appears. If Play requests a password, the script fills it in itself.

Constraints and failure modes

  • A rooted device and USB debugging are required; frida-server and the billing module must be working.
  • Each account generally gets one attempt: once a trial is initiated, even without confirmation, the offer may disappear. The README warns against testing with a primary account.
  • A payment method is required. Play's add-card page is a WebView that adb cannot fill, so the script pauses and asks you to complete card binding on the phone, once per device.
  • If the Play account does not switch, the script prints the actual account and exits; you can switch manually and rerun with --no-switch.
  • If checkout does not appear, rerun; if it still fails, check settings get global http_proxy and clear a non-null value, since VPNs such as Clash can hijack DNS.
  • The README reminds users to cancel the subscription in Play before the trial ends to avoid the $99.99 charge.

The project is MIT-licensed and distributed through the repository.

HotRepo's take

No rank or trend data is available for this repository yet; the first recorded snapshot on 2026-11-17 shows 129 stars and 131 forks gained in the new-project window. Those 131 forks—more than the star gain—are unusual for a 133-star repository and worth watching, but a single snapshot cannot establish a trend. The project's value depends entirely on a usage path that requires a rooted device and real accounts, so readers should weigh the one-attempt constraint and payment-method requirement before trying it.

Written by AI from the project's README, updated . The project's own docs are the source of truth.

You might also like

  1. mmdoctor/google-pro-helperChrome extension plus Windows console that automates Google AI Pro free-trial stacking on Google accounts.Python102
  2. ade1256/google-ai-pro-farming-2-yearsLocal macOS browser automation console for running multi-account Google AI Pro subscription and cancellation flows with imported accounts and cards.Python100
  3. LSPosed/LSPosedAn Xposed-compatible ART hooking framework for rooted Android users who want mods without patching APKs.Java25,191
  4. TheNetsky/Microsoft-Rewards-ScriptAutomates Microsoft Rewards daily tasks and searches across multiple accounts, with browser or API modes and optional scheduling.TypeScript1,153
  5. Lotuszn/piggyhand-fishAn LSPosed module that automates Xianyu daily coin, task and polish routines by calling the app's own MTOP APIs.Java98