Skip to content
ElRobaMichisPublic

About

Unlock the Brave Origin paywall — one command, nothing to install (macOS · Windows · Linux)

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

unorigin

Unlock the Brave Origin paywall — one command, nothing to install.

unorigin is an escalating wizard. It tries the least invasive fix first, verifies it worked with you, and only escalates if it didn't. Fixes are cumulative — whatever already works stays in place as a fallback, which matters after a Brave update reshuffles things.

Works on macOS · Windows · Linux.

On macOS it uses only what the OS already ships (bash, osascript, osacompile). It will not trigger Apple's Xcode Command Line Tools installer — vanilla macOS python3 is a stub that pops that dialog and never runs a script.


Quick start

macOS / Linux (<( ) keeps the prompts interactive — do not curl | bash):

bash <(curl -fsSL https://raw.githubusercontent.com/ElRobaMichis/unorigin/main/unorigin.sh)

Windows (PowerShell is already on your system):

irm https://raw.githubusercontent.com/ElRobaMichis/unorigin/main/unorigin.ps1 | iex

The wizard closes Brave Origin, applies FIX 1, reopens it, and asks you whether the paywall is gone. If yes, done. If not, it escalates. Only the Brave Origin process is ever touched — your normal Brave is left alone.


The three approaches

Least → most invasive. The wizard walks them in order and stops at the first win.

# Approach What it does Cost
FIX 1 skus.state injection writes a fake validated order into the Local State JSON 0 bytes to the binary · fully reversible
FIX 2 --test-type launcher creates a launcher that starts Brave Origin with --test-type, which skips the gate 0 bytes to the binary · no re-sign
FIX 3 check-only binary patch finds the license check in the framework and neutralizes it (mov w0,0; ret), then re-signs adhoc 8 bytes patched · macOS only · needs a real python

Platform coverage

FIX 1 FIX 2 FIX 3
macOS ✅ ✅ ✅ (real python only — never the Apple stub)
Windows ✅ ✅ — (PE reverser TODO)
Linux ✅ — —

FIX 3 on Windows would need a separate reverser for the PE (chrome.dll); it's not shipped rather than shipping something that might break your install. On macOS you get the full ladder; FIX 1 and FIX 2 need nothing extra.


Why escalating matters (especially on macOS)

Brave updates on macOS tend to rewrite Local State and re-lay the framework, so a single trick that worked yesterday can silently break. The ladder gives you a fallback path in one run instead of hunting for the next fix by hand:

FIX 1 (JSON)  ──fails?──▶  FIX 2 (--test-type)  ──fails?──▶  FIX 3 (binary patch)

Each rung is verified before the next, so you never apply the invasive one unless you actually need it.


Config paths per OS

Resolved automatically:

OS Local State
Windows %LOCALAPPDATA%\BraveSoftware\Brave-Origin\User Data\Local State
macOS ~/Library/Application Support/BraveSoftware/Brave-Origin/Local State
Linux ~/.config/BraveSoftware/Brave-Origin/Local State

The User Data segment only exists on Windows — a real Chromium layout difference, not a typo.


Reverting

A .bak of your original Local State is saved on the first run (framework backups for FIX 3 go to ~/.unorigin-backups/ and are only created if FIX 3 actually runs).

# macOS / Linux
bash <(curl -fsSL https://raw.githubusercontent.com/ElRobaMichis/unorigin/main/unorigin.sh) --restore
# Windows
irm https://raw.githubusercontent.com/ElRobaMichis/unorigin/main/unorigin.ps1 -OutFile unorigin.ps1
.\unorigin.ps1 -Restore

Or just delete the modified Local State and rename Local State.bak back. On macOS, if FIX 3 was applied, copy the framework back from ~/.unorigin-backups/.

The wrapper/shortcut from FIX 2 is one extra file you can throw away:

  • macOS: ~/Applications/Brave Origin+.app
  • Windows: Desktop\Brave Origin+.lnk

Nothing else is installed. No PATH edits, no LaunchAgents, no pkg receipts, no leftover python, no Xcode tools.


Requirements

  • macOS: nothing beyond the OS. FIX 1 uses osascript (ships with macOS). FIX 2 uses osacompile (also stock). FIX 3 is optional and only runs if a real python3 is already on the machine (Homebrew, python.org, or CLT) — the wizard will not invoke /usr/bin/python3 on a vanilla Mac, because that binary is a stub that opens Install Command Line Developer Tools. FIX 3 also needs System Settings → Privacy & Security → App Management so the terminal can re-sign.
  • Windows: PowerShell 5.1+ (ships with Windows 10/11).
  • Linux: python3 (preinstalled on essentially every distro; FIX 1 only).

If a previous run already popped the Xcode dialog and you installed CLT by accident, this fully removes it:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --reset

Notes

  • Re-run it after a Brave update if the paywall reappears.
  • On macOS, if FIX 2/3 were applied, always open Brave Origin with the Brave Origin+ launcher (Dock on macOS, Desktop shortcut on Windows).
  • The process-substitution form runs in memory; nothing is written to disk except the patch itself and its backup. Prefer to read first? Clone the repo and run ./unorigin.sh / .\unorigin.ps1.
  • Use at your own discretion.

License

MIT — see LICENSE.

About

Unlock the Brave Origin paywall — one command, nothing to install (macOS · Windows · Linux)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages