Privacy and upstream patch sources
Helium combines upstream compatibility fixes with privacy-focused patch collections and selected browser behavior from other Chromium browsers. The combined source layer reduces unwanted data flow, keeps removed services from leaving broken paths, and preserves useful local browser choices before Helium-specific patches shape the product.
Patch source boundary
The source patch layer sits between the Chromium source tree and Helium's product patches. patches/series applies upstream fixes first, then the imported collections, and then the Helium core, settings, UI, and HOP layers. See Patch assembly and application for the full build model.
This diagram shows how the source collections shape the tree before Helium-specific behavior is added.
flowchart LR
C[Chromium source] --> S[patches/series]
U[Upstream fixes] --> S
I[Imported collections] --> S
S --> T[Prepared Chromium tree]
T --> H[Helium patches]
H --> O[Privacy-aware Helium build]
The collections are not separate browser modes. Their changes become one ordered source stream. A later patch can adapt an earlier privacy change or keep a browser function that would otherwise disappear with a removed service.
Ordered source layer
The ordered source layer starts with V8 and build fixes. It then applies Inox defaults and service removals, Iridium controls, ungoogled-Chromium privacy and choice controls, Bromite options, Debian cleanup, and Brave migration and browser behavior. Helium patches then define the product layer. This order lets later patches use the reduced tree without restoring remote services that earlier patches removed.
References: patches/series• L1-101
Imported patch collections
ungoogled-Chromium collection
The ungoogled-Chromium collection removes Chromium paths that contact Google services or expose extra browser and device data. It also supplies local flags and fallbacks so users can choose how strongly privacy changes affect sites or browser behavior.
Its current outcomes include:
- Less background traffic: Gaia sign-in, GCM messaging, update checks, experiment data, content fetches, domain reliability, network time, media-engagement preload data, Privacy Sandbox attestations, Web Store paths, translation, profile-avatar downloads, and AI paths are stopped or omitted.
- Less identifying data: Google-host detection, variation data, referrers, navigation source parameters, client hints, system details, WebGL details, and selected browser signals can be reduced or blocked. Trace-marked and selected host requests are stopped before they reach the network.
- More local control: Flags cover search-engine collection, omnibox result sources, referrer strength, system information, client hints, WebGL values, incognito storage quota, custom new-tab pages, data clearing, close behavior, popup handling, extension downloads, extension-menu visibility, window and tab controls, avatars, WebRTC interfaces, link dragging, and other browser choices.
- Reduced service dependence: AI, Safe Browsing, domain reliability, GCM, selected preloaded data, Web Store update paths, and related build links are removed or made local. JavaScript optimization settings stay usable when Safe Browsing preferences are absent. Hyphenation data is bundled on non-Apple platforms that need it.
- More predictable browser behavior: Translation is offered only when its script switch is enabled. Automatic search-engine collection can be disabled. Manifest V2 extensions remain usable. Paste-and-go works across supported desktop platforms. Link and selected-text dragging can be disabled. A custom new-tab page can use a local or external URL, with internal
chrome://pages rejected for incognito windows.
The collection therefore does more than block URLs. It removes callers, data stores, prompts, UI entries, and build links that could recreate the same traffic or leave a broken feature behind. Its local flags make privacy strength an explicit choice rather than an automatic remote behavior.
References: patches/…/block-requests.patch• L1-156 patches/…/disable-ai.patch• L1-1641 patches/…/add-flag-for-disabling-link-drag.patch• L1-98 patches/…/bundle-hyphenation-patterns.patch• L1-16 patches/…/disable-gaia.patch• L1-71 patches/…/disable-privacy-sandbox.patch• L1-10 patches/…/add-flags-for-referrer-customization.patch• L1-100 patches/…/add-flag-to-reduce-system-info.patch• L1-62 patches/…/add-flag-to-remove-client-hints.patch• L1-89 patches/…/add-flag-to-spoof-webgl-renderer-info.patch• L1-106 patches/…/add-suggestions-url-field.patch• L1-100 patches/…/add-flag-for-search-engine-collection.patch• L1-100 patches/…/add-flag-for-custom-ntp.patch• L1-47 patches/…/toggle-translation-via-switch.patch• L1-100 patches/…/fix-building-without-safebrowsing.patch• L1-100 patches/…/remove-uneeded-ui.patch• L1-34 patches/…/add-components-ungoogled.patch• L1-63
Inox collection
The Inox collection changes Chromium's starting point from service-enabled to local-first. It disables background mode, hyperlink auditing, prediction, search and translation help, password and payment help, Autofill profile use, RLZ, update URLs, battery reporting, and Autofill crowdsourcing by default.
It also blocks third-party cookies by default, enables the bookmark bar, and leaves reset-page feedback and related choices unchecked until the user selects them. Safe Browsing-dependent paths are removed so the reduced build stays coherent. The result is less background activity and less profile or device data sent to remote services, with some safety and convenience features absent or needing a local alternative.
References: patches/series• L5-8 patches/series• L42-43 patches/…/modify-default-prefs.patch• L1-145 patches/…/disable-autofill-download-manager.patch• L1-97 patches/…/disable-rlz.patch• L1-30 patches/…/disable-update-pings.patch• L1-11 patches/…/fix-building-without-safebrowsing.patch• L1-100
Iridium collection
The Iridium collection stops Safe Browsing incident, phishing, and override reports from being sent to Google. It also disables the platform update interval and prevents profile data from being imported during first run without a user choice.
These changes reduce background disclosure and make first-run data movement explicit. They do not remove the normal import flow, so the user can still select supported data through the browser interface.
References: patches/series• L10 patches/series• L47-48 patches/…/safe-browsing-disable-reporting.patch• L1-100 patches/…/updater-disable-auto-update.patch• L1-30 patches/…/browser-disable-profile-auto-import-on-first-run.patch• L1-38
Bromite collection
The Bromite collection adds privacy and network controls for cases where a user accepts a site-compatibility trade-off. Its fingerprint controls add small document-level changes to layout and canvas measurements. A separate field-trial change prevents remote experiment values from changing browser behavior. A network flag can raise the per-host connection limit from Chromium's default to 15, but it stays disabled by default.
The fingerprint flags pass from the browser to the renderer and use factors selected for each document. The same factors are reused during that document's reads. These choices preserve normal behavior unless the user selects a stronger privacy or network setting.
References: patches/series• L38 patches/series• L50-51 patches/…/fingerprinting-flags-client-rects-and-measuretext.patch• L1-8 patches/…/fingerprinting-flags-client-rects-and-measuretext.patch• L65-113 patches/…/fingerprinting-flags-client-rects-and-measuretext.patch• L127-149 patches/…/fingerprinting-flags-client-rects-and-measuretext.patch• L277-298 patches/…/disable-fetching-field-trials.patch• L11-74 patches/…/flag-max-connections-per-host.patch• L28-49 patches/…/flag-max-connections-per-host.patch• L83-123
Debian collection
The Debian collection removes the warning shown when an unbranded build has no Google API keys. This avoids a misleading startup message without restoring the Google service integration that the build does not use.
References: patches/series• L45 patches/…/disable-google-api-warning.patch• L1-26
Brave collection
The Brave collection broadens profile migration and adds browser behavior that Helium uses at its interface boundary. It discovers profiles from Chrome and many Chromium browsers across supported desktop systems. The supported sources include Chrome variants, Chromium, Edge, Vivaldi, Opera, Yandex, Whale, Brave, Arc, Dia, and Perplexity Comet.
The import path reports progress and keeps passwords out of this importer. It offers bookmarks, history, and eligible extensions as separate choices. Extension migration limits candidates to enabled, user-installed Web Store extensions rather than default or disabled extensions. Source discovery and item selection remain separate from writing data into the Helium profile. Source locks and the required macOS disk-access step make read failures visible to the user.
Separate Brave changes keep default component-extension content settings available after browser restarts. The collection also supplies most-recently-used tab cycling. This lets the interface move through tabs by recent use rather than only by strip order. Cycling ends when the control key is released, the user clicks, the window loses focus, or the window closes.
References: patches/series• L98-101 patches/…/chrome-importer-files.patch• L26-187 patches/…/chrome-importer-files.patch• L327-417 patches/…/custom-importer.patch• L26-77 patches/…/custom-importer.patch• L159-205 patches/…/custom-importer.patch• L224-340 patches/…/fix-component-content-settings-store.patch• L26-56 patches/…/tab-cycling-mru-impl.patch• L28-119 patches/…/tab-cycling-mru-impl.patch• L142-221
Upstream fixes collection
The upstream-fixes collection carries small Chromium and V8 source fixes that the reduced tree needs before the imported collections and Helium patches can apply. Its current role is build dependency support plus WebAssembly interpreter and debugger compatibility.
The dependency changes add direct build links where Chromium no longer provides them through a transitive dependency. The WebAssembly changes keep interpreter memory lookup aligned with the current V8 API and let the debugger report local declarations correctly. These fixes preserve build and runtime compatibility without adding a new browser service.
References: patches/series• L1-3 patches/…/wasm-interpreter-trustedcast-raw.patch• L1-30 patches/…/wasm-interpreter-sharedfunctioninfo.patch• L1-30 patches/…/missing-dependencies.patch• L1-60
Privacy and compatibility outcomes
The collections work together because each one covers a different risk or source-compatibility gap. Privacy patches reduce unsolicited network activity and exposed data. Compatibility patches supply local fallbacks, explicit choices, or build links that those removals can otherwise break.
| Goal | Source groups | Outcome |
|---|---|---|
| Lower background traffic | ungoogled-Chromium, Inox, Iridium, Bromite | Google service calls, update checks, reports, field-trial fetches, search discovery, AI services, network-time checks, profile downloads, and other background work are stopped or made local. |
| Reduce exposed signals | ungoogled-Chromium, Inox, Bromite | Referrers, client hints, system and graphics details, variation data, battery state, RLZ, Autofill data, and fingerprint inputs have less exposure. |
| Keep user choice visible | ungoogled-Chromium, Iridium, Brave | Optional privacy strength, first-run import, selected migration items, custom new-tab pages, search suggestions URLs, link dragging, and profile access failures follow an explicit browser path. |
| Keep an unbranded build usable | ungoogled-Chromium, Inox, Debian, upstream fixes | Removed services do not leave misleading warnings, missing build links, stale preference assumptions, or mandatory remote dependencies. |
| Preserve useful browser behavior | ungoogled-Chromium, Bromite, Brave | Local search and import controls, extension migration, tab behavior, paste-and-go, component settings, hyphenation, link-drag control, and network choices remain available where they do not require removed services. |
The source layer sets the privacy and compatibility baseline. Helium patches then decide how that baseline appears in the product. For the next layer, see Helium core browser behavior. For the interface surface, see Helium browser interface and Helium settings experience. For patch order and platform impact, see Platform patch maintenance. Use Patch validation to check that the assembled source still applies and builds.
Change checklist
When these files or sections are changed, remember to consider these:
- Changes to
patches/seriescan change the source shape seen by a later imported or Helium patch. Recheck the boundary between source collections and Helium collections. - A new Chromium network, reporting, experiment, data-store, translation, or AI path needs review against the existing blocked-request, trace-scheme, domain-reliability, referrer, variation-header, and client-hint controls.
- A service removal must cover its caller, preference, UI entry point, build dependency, and local fallback. This includes AI, Safe Browsing, translation, Web Store, GCM, and preloaded-data paths. Otherwise the tree can build while a browser path still waits for a removed service.
- Changes to optional privacy flags must keep their flag entry, value choices, process hand-off, and browser or renderer behavior aligned. Referrer, client-hint, system-info, WebGL, fingerprint, omnibox, new-tab, extension-download, IPv6, WebRTC, and link-drag choices must cover every path that can expose the signal or change the result.
- Changes to the custom new-tab flag must keep origin-list storage, URL validation, and incognito handling aligned. Internal
chrome://pages must not become an incognito new-tab source. - Changes to the hidden extensions menu must preserve extension bubble anchoring when the normal toolbar container is absent.
- Changes to Brave source browser names or supported profile types must keep platform path discovery, importer types, IPC bounds, Settings selection, progress events, profile writing, extension filtering, and password exclusion in agreement.
- Changes to Brave component-extension startup must preserve content-settings registration on both first run and later browser restarts.
- Changes to Bromite fingerprint or connection flags must keep the flags page, switch propagation, runtime behavior, and default values aligned. Field-trial changes must keep browser and platform callers on local defaults.
- Changes to search-engine editing must carry the optional suggestions URL through the Settings model, validation, browser message, and stored template URL.
- Changes to close-window, popup, paste-and-go, link-drag, or tab-cycling behavior must keep command-line choices aligned with every related input and stop condition.
- Changes to Safe Browsing removal must account for build links, download warnings, security settings, JavaScript optimizer settings, enterprise signals, and generated preferences. These areas can keep stale assumptions after the service is absent.
- Changes to preference or UI removal must keep generated settings data, preference registration, policy maps, and visible controls in agreement. A removed service must not leave a stored field or dead entry point.
- Changes to IPv6 probing or hyphenation must preserve the platform default. The network choice must match the resolver result, and non-Apple builds must retain local hyphenation data.
- Changes to upstream V8 or build fixes must be checked against the Chromium revision and the collection order. A compatibility fix must not be dropped while downstream code still depends on its API or build link.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
An imported patch is omitted or placed after a dependent patch in patches/series | The privacy cut can be absent, or a later patch can fail to apply | Keep source patches in dependency order and use Patch assembly and application before build work |
| An imported AI, Safe Browsing, translation, Web Store, or GCM service is removed but a caller, binding, model download, or UI path remains | The build can fail, or a feature can wait for a result that never arrives | Check the matching fallback, preference, and UI path at the same patch boundary |
| A privacy rule covers only one request or process path | A site can still receive the signal through another path | Treat browser, renderer, worker, navigation, and subresource handling as one contract |
| A custom new-tab URL is applied to incognito without its internal-page guard | Incognito can open a browser-owned page instead of the selected safe source | Keep custom URL validation and incognito restrictions together |
| A hidden extensions menu leaves its normal anchor assumptions in place | Extension dialogs can open outside the browser window | Keep hidden-container layout and alternate bubble anchoring aligned |
| A Brave component extension is registered only on first run | Content settings can disappear after a browser restart | Re-register enabled component extensions when their preferences load |
| A Bromite flag is added without the matching browser-to-renderer or network hand-off | The flag can appear to work while the page or network stack keeps default behavior | Keep the flag entry, choice values, switch propagation, and final consumer aligned |
| IPv6 probing is forced off without accounting for the resulting address order | Sites can prefer IPv4 even when IPv6 is working, or local network behavior can change | Treat the flag default and resolver result as one compatibility choice |
| Field-trial fetching is disabled without a stable local default | A feature can change behavior because it receives an empty or missing value | Make each field-trial reader return its documented default when fetching is off |
| A Brave source profile is locked or macOS disk access is missing | The selected import fails to read source data | Close the source browser and grant the required macOS disk access when prompted |
| A Brave source browser is listed without a matching platform path or importer type | The browser can appear in Settings but provide no usable profile | Add discovery, type, process hand-off, and supported item checks as one change |
| An enabled extension is treated as importable without checking its install source or state | Default, disabled, or unsupported extensions can be copied into the Helium profile | Keep source filtering and the Settings extension choice tied to the same eligibility rules |
| A V8 compatibility fix is dropped with no replacement after a Chromium revision change | WebAssembly interpreter or debugger paths can fail to build or behave incorrectly | Check the new V8 API and debugger contract before changing the upstream-fixes set |
Key files
| File | Why to read it |
|---|---|
patches/series | Shows the order of upstream, imported, and Helium patch layers. |
patches/ungoogled-chromium/disable-ai.patch | Shows the boundary for removing AI browser, renderer, utility, accessibility, PDF, and build paths. |
patches/ungoogled-chromium/add-flag-for-disabling-link-drag.patch | Shows how an opt-in browser flag controls link and selected-text dragging. |
patches/ungoogled-chromium/bundle-hyphenation-patterns.patch | Shows how non-Apple builds keep local hyphenation data after remote or platform-specific paths are reduced. |
patches/ungoogled-chromium/block-requests.patch | Shows how browser features that no longer have a remote service are stopped. |
patches/ungoogled-chromium/disable-gaia.patch | Shows how sign-in network calls are removed from the reduced browser. |
patches/ungoogled-chromium/add-flags-for-referrer-customization.patch | Shows how referrer privacy strength is exposed across request paths. |
patches/ungoogled-chromium/add-flag-to-remove-client-hints.patch | Shows how client hints are removed from navigation and resource requests. |
patches/ungoogled-chromium/add-flag-to-reduce-system-info.patch | Shows how browser and page system signals are reduced. |
patches/ungoogled-chromium/add-flag-for-custom-ntp.patch | Shows how a custom new-tab source becomes a local browser choice. |
patches/ungoogled-chromium/add-suggestions-url-field.patch | Shows how an optional search suggestions endpoint moves from Settings input into stored search-engine data. |
patches/ungoogled-chromium/add-flag-for-search-engine-collection.patch | Shows how automatic search-engine collection becomes a local choice. |
patches/ungoogled-chromium/fix-building-without-safebrowsing.patch | Shows how the reduced tree removes Safe Browsing assumptions from settings, downloads, policy, and reporting. |
patches/ungoogled-chromium/remove-uneeded-ui.patch | Shows how dead service links and non-functional service controls are removed from the browser surface. |
patches/inox-patchset/modify-default-prefs.patch | Shows the local-first defaults supplied by the Inox source. |
patches/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch | Shows how first-run migration becomes an explicit user choice. |
patches/bromite/fingerprinting-flags-client-rects-and-measuretext.patch | Shows the opt-in fingerprint controls and their browser-to-renderer contract. |
patches/bromite/disable-fetching-field-trials.patch | Shows how remote field-trial values are replaced with local defaults. |
patches/bromite/flag-max-connections-per-host.patch | Shows the optional network concurrency choice and its default. |
patches/brave/chrome-importer-files.patch | Shows cross-platform Chromium profile discovery and supported migration data. |
patches/brave/custom-importer.patch | Shows the cross-browser profile import, extension migration, and password exclusion contract. |
patches/brave/fix-component-content-settings-store.patch | Shows how default component-extension content settings survive browser restarts. |
patches/brave/tab-cycling-mru-impl.patch | Shows the source behavior and stop conditions for most-recently-used tab cycling. |
patches/upstream-fixes/missing-dependencies.patch | Shows the direct build links carried as upstream fixes. |
patches/upstream-fixes/wasm-interpreter-trustedcast-raw.patch | Shows the WebAssembly interpreter compatibility fix for a current V8 API. |
patches/upstream-fixes/wasm-interpreter-sharedfunctioninfo.patch | Shows the WebAssembly debugger compatibility fix for local declarations. |