Skip to content

feat(privacy): borrow ungoogled-chromium degoogling patches (no domain-sub/pruning) - #7

Open
daniel-farina wants to merge 1 commit into
masterfrom
feat/ungoogled-degoogle
Open

feat(privacy): borrow ungoogled-chromium degoogling patches (no domain-sub/pruning)#7
daniel-farina wants to merge 1 commit into
masterfrom
feat/ungoogled-degoogle

Conversation

@daniel-farina

Copy link
Copy Markdown
Owner

What

Borrows the degoogling patches from ungoogled-chromium to strip the remaining Google phone-home / telemetry / tracking out of the Chromium base — without touching Xplorer's Grok integration or branding.

Full write-up: docs/UNGOOGLED.md.

Scope (as agreed)

  • Patch series only.No domain substitution (qjz9zk) and ❌ no binary pruning — those break legit Google sign-in / Chrome Web Store / Translate for little gain.
  • ❌ Skipped every patch touching default search / new-tab / branding — they fight Xplorer's Grok-as-default + branding edits in apply_integration.py.
  • Grok runs over grok.com / x.com (not Google domains) → unaffected by everything here.

Version-skew reality

ungoogled's newest release is 149.0.7827.155-1; they have no 150/151. We pin Chromium 151.0.7897.0 — ~2 milestones ahead. So patches were selected by validating each against our real 151 tree with git apply --check; drifted ones are quarantined, not applied. Pins recorded in VERSIONS.

What's in

  • patches/ungoogled/ — 24 active patches (vendored verbatim), all verified APPLIES clean to 151 after our overlay. RLZ, GCM, GAIA, crash/WebRTC-log/domain-reliability/avatar uploads, update pings, field-trial fetching, fonts.googleapis, battery-status fingerprinting, DIAL/intranet probes, missing-API-key nags, etc. + 11 quarantined (vendored, not applied).
  • scripts/apply_ungoogled.sh / .ps1 — best-effort, idempotent apply pass, wired into apply.sh / apply.ps1 after apply_integration.py so Grok + branding stay authoritative; a drifted patch is logged, never fatal.
  • scripts/check_ungoogled_patches.sh — read-only git apply --check gate (CI / pre-bump).
  • build/args.gn{,.x64,.win,.linux} — 7 build-safe degoogling GN flags.
  • README — generic Acknowledgements credit (BSD-3-Clause).

⚠️ Needs your review / decision

  • Not built. Patches are applies-clean only; build verification is pending (per request, I did not compile). Cumulative-apply + link still need a real build.
  • 3 behavioral patches in the active series (flagged [B] in docs/UNGOOGLED.md): disable-gaia (no browser-level Google sign-in/sync — does not affect website "Sign in with Google"), doh-changes (Secure-DNS defaults), default-webrtc-ip-handling-policy. Drop any line from patches/ungoogled/series to opt out.
  • safe_browsing_mode=0 held back — its companion build-fix patches fail on 151 (quarantined); enabling it alone would break the link. Runtime SB reporting is already removed by the active iridium patches.

Verification

$ scripts/check_ungoogled_patches.sh --all
SUMMARY active: applies=24 fails=0

🤖 Generated with Claude Code

…n-sub/pruning)

Strip the remaining Google phone-home / telemetry / tracking channels from the Chromium
base using ungoogled-chromium's patch series, without disturbing Xplorer's Grok integration
or branding.

What's included:
- patches/ungoogled/: 24 active degoogling patches (vendored verbatim from ungoogled
  149.0.7827.155-1), each verified to apply cleanly to our Chromium 151 pin via
  `git apply --check`; 11 more vendored but quarantined (drift / capability tradeoffs).
- scripts/apply_ungoogled.sh + .ps1: best-effort, idempotent apply pass wired into
  apply.sh / apply.ps1 AFTER apply_integration.py so Grok + branding stay authoritative.
- scripts/check_ungoogled_patches.sh: read-only `git apply --check` validation gate.
- build/args.gn{,.x64,.win,.linux}: 7 build-safe degoogling GN flags (enable_reporting,
  enable_remoting, enable_mdns, enable_service_discovery, enable_hangout_services_extension,
  disable_fieldtrial_testing_config, exclude_unwind_tables).
- VERSIONS: records the Chromium + ungoogled pins.
- docs/UNGOOGLED.md: compatibility report, per-patch status, and the update process.
- README: generic Acknowledgements credit to ungoogled-chromium (BSD-3-Clause).

Deliberately excluded: domain substitution (qjz9zk), binary pruning, and any patch touching
default search / new-tab / branding (they fight Xplorer's Grok-default + branding edits).
safe_browsing_mode=0 is held back because its companion build-fix patches do not yet apply
to 151 (quarantined) and the flag alone would break the link.

Not built/verified yet — applies-clean only; build verification pending.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@daniel-farina
daniel-farina marked this pull request as ready for review June 22, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant