Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

QuitLock

A commitment tool for Android that makes leaving slow, visible and deliberate.

CI CodeQL Licence: GPLv3 Android 10 and later Desktop app and CLI for Linux and Windows Tested on a Galaxy S20 FE Status: preview

QuitLock is an open-source commitment tool for people quitting porn. An Android app, set up as device owner, blocks most adult content and makes its own removal slow. A desktop app and a command-line tool for Linux and Windows set it up and authorise changes over a USB cable.

Warning

Preview. QuitLock has been tested on Android emulators and on one real phone, with a dev build (Tested devices), and no signed release has been published yet. Until the manual checks are done, use it on a phone you could wipe.

What it is and is not

QuitLock is for someone restricting their own phone. The person it guards against is you, during an urge, holding both the phone and the computer. It does not try to be unbreakable; it tries to make every way out slow, visible and deliberate.

  • No server, no account, no network protocol. The app’s own code never opens a network connection. It holds the internet permission only because Android’s call for setting Private DNS tests the DNS server from inside the app. The only network use anywhere is on the computer: downloading an app update from GitHub when you ask for it, and checking that a DNS filter you chose answers before the phone is told to use it.
  • No monitoring. It never records what you browse or which apps you use. The phone keeps a history of changes to QuitLock itself, and nothing else.
  • No stealth. The app is always visible and always shows whether it is armed.
  • You can always get out. With your key, quitlock exit request removes QuitLock after the delay. Without it, “Pair a new key” on the phone lets you enrol a new key, which can then do the same.

What it does, once armed

  • Locks Private DNS to a filtering DNS provider, and blocks VPNs, proxies and other users.
  • Keeps SafeSearch on and incognito off in Chrome and other supported browsers, applies domain block and allow lists there, and suspends browsers it cannot configure (Browsers).
  • Suspends apps installed from outside trusted stores, and new browsers.
  • Makes every loosening change (a looser config, an update, an exit) wait out a delay of 3 to 72 hours, shown on the phone with a countdown anyone can cancel.
  • With a partner, needs their approval as well.

This book

New here? Start with Installing, then Setting up a phone. QuitLock is free software under the GPLv3; to report a security problem, see the security policy.