The desktop app
quitlock-gui does in a window what most people need the CLI for: connect to the phone, see its state, change its settings, approve changes and set a phone up. It is built on the same library as the CLI, so it signs and sends exactly what the CLI would, and the phone checks it the same way.
Starting it
- Windows: download
quitlock-gui-<version>-windows-x86_64.exeand run it. - Linux: download
quitlock-gui-<version>-linux-x86_64,chmod +xit and run it from your desktop. It needs a desktop session (X11 or Wayland) with OpenGL, which every desktop has. The USB accessory needs the udev rule from Installing; the app does not install it, since that needssudo: runquitlock setup --udevonce.
Both use the same keys as the CLI (%APPDATA%\quitlock\keys on Windows, ~/.config/quitlock/keys on Linux, or QUITLOCK_KEY_DIR). Setting a phone up needs adb, found on your path, as for the CLI. quitlock-gui --page settings opens on a given page: phone, settings, approvals, people, history or setup.
Connecting
Plug the phone in, unlock it and press Connect to phone. While it connects, the top of the window says what it is waiting for, such as unlocking the phone or choosing QuitLock in Android’s accessory prompt. If the phone cannot be reached, it says why (adb not allowed yet, no phone found) and tries again every few seconds by itself; Try again now tries at once.
Once connected it reads the phone every 5 seconds, and reconnects by itself if the cable comes out. Disconnect stops it and lets go of the phone, so a quitlock command can use it; only one program at a time can talk to the phone. An armed phone on a computer without the USB accessory (Windows) needs Allow USB debugging (5 min), tapped in QuitLock on the phone, as for the CLI.
Phone
The phone’s state (not set up, almost set up, not armed, armed) and what it means, its mode, delay and DNS filter, and the app’s version. Dev and tester builds are marked as not for real use. Below that:
- A countdown, when a change waits out the delay: what it is, a progress bar and the time left. To stop it, tap Cancel this change on the phone. The desktop app cannot cancel, by design: cancelling needs nothing but the phone.
- A change waiting for approval: who has approved it and who still must. Review it opens Approvals.
- The self-check, on an armed phone.
- People: the owner keys and every partner key, marked when one of them is on this computer, which kind of phone lock each person has, and the partners’ rule in words.
- Leave QuitLock: Request exit… signs an exit with your key; Request exit, to approve on the phone… sends it unsigned, to approve with your phone PIN or password. Either asks first. On an armed phone the exit waits out the delay and can be cancelled on the phone until then; in partner mode the partners approve it too, as many as the rule says (Leaving).
Settings
The phone’s settings, laid out as the phone’s own Propose a change: the delay, the DNS filter (with Check, which tries it from this computer), which apps may be installed, SafeSearch and incognito, and the six lists. Entries are checked as you type them.
The Review panel compares your edits with the phone’s settings as you go: each change marked as tightening or loosening, and what will happen when you send it (applies at once, waits out the delay, needs partners’ approval). It also warns about a blocklisted app the phone needs, and says when the phone would refuse the change, for example while another change waits for approval, or a loosening change while a countdown runs.
- Sign and send asks for your key’s PIN or password, then signs and sends the new settings. When they apply at once, the app reads them back from the phone and says so. A change to the DNS filter is checked first, since a filter that does not answer leaves an armed phone without internet; you can send it anyway.
- Send to approve on the phone sends it unsigned, when you have a phone lock set: approve it on the phone with your phone PIN or password.
- When the change needs partners who are far away, the app offers to save a copy for them to approve (Partners).
- Open file… and Save as file… read and write the same
quitlock.tomlfiles as the CLI. With no phone connected, Start from the recommended settings makes one to edit and save. - Start again drops your edits.
Approvals
Waiting on the phone shows the change waiting for approval, described in full. If a partner key is on this computer, Approve as a partner, with ‘name’ asks for its PIN or password and approves it. Otherwise the page says how partners can approve; the owner approves on the phone with their phone PIN or password. Nothing changes until it is approved, and it can be dropped on the phone.
Send a change from a file is for the owner: open a .qlb file, such as one your partner approved and sent back, check what it does, and send it to the phone. The CLI’s quitlock send does the same.
Approve a change sent as a file is for a partner far away: open the .qlb file the owner sent, check what it does, approve it with your key and save the approved file to send back. The CLI’s quitlock partner sign does the same.
People
- Keys on this computer: each key, its fingerprint and whether it is an owner or partner key on the connected phone. Make a key and Restore from a recovery phrase work as in setup. Recovery phrase… shows a key’s 24 words again, after its PIN or password. Save a copy… writes the key’s encrypted file, still locked by its PIN or password, as a backup or for another computer; Import a key file… reads one. Each key has its own PIN or password: one key’s never opens another.
- Partners: up to ten, each with a key of their own.
- Joining in person: when the owner has tapped Add a partner (or Add another partner), then With your partner’s computer, in person, on the phone, plug it into the partner’s computer and connect. Join as the partner uses a key on that computer, or makes one, and sends it. Check that the phone shows the same fingerprint; the owner confirms there.
- Far away: the owner, connected, presses Write an invite… and sends the file. The partner, with no phone needed, presses Join from an invite…, chooses or makes a key and saves a reply to send back. The owner opens it with Open their reply…, ticks that the partner read out the same fingerprint, and presses Enrol them as the partner.
- Another partner joins the same way, approved by the partners already there as the rule says, and waits out the delay.
- Remove… beside each partner key, for the owner. It needs partners’ approval, as the rule says, and waits out the delay on an armed phone. A partner with only a phone PIN or password has Remove the partner… instead.
- What your partners decide: the rule in words. Change this… edits it: how many partners a loosening change needs, how many make one apply at once, and how many may tighten without the owner. Send the new rule… sends it; a weaker rule waits out the delay.
- Owner keys: add another of your keys as an owner key (a backup on another computer), or remove one. On an armed phone both wait out the delay.
- A forgotten phone PIN or password: a key clears its person’s phone PIN or password, so a new one can be set on the phone within 10 minutes. Do it only while you are with the phone.
History
The phone’s history of changes, newest first, and whether its hash chain is intact. Choose an entry to see its details. Save a copy… writes the file quitlock log verify checks.
Set up
The same five steps as quitlock setup (Setting up a phone):
- Your key: one on this computer, a new one, or one restored from its recovery phrase. A new key shows its 24-word recovery phrase; write it down, then type three of the words to check your copy.
- The phone: how to turn on USB debugging, then Look for the phone. It lists what stops setup. Other users and profiles can be removed from here, after a confirmation; for accounts, it opens the accounts screen on the phone for you to remove them. Look again when you have.
- The app: the latest release from GitHub, checked against its
SHA256SUMS, or an APK file. A phone where QuitLock is already the device owner keeps its app. - Settings: the recommended ones, to change as you like. The DNS filter is checked from this computer before the last step.
- Set up: installs QuitLock, makes it the device owner and sends your key and settings, then reads them back. Each step is listed as it happens.
While setup uses the phone, the rest of the window leaves it alone. When it is done, sign back in to your accounts and tap Arm on the phone when you are ready.
Opening and saving files
The app has its own file browser: Up, Home, the working folder, a folder typed in (Enter goes there) and, on Windows, each drive. It never overwrites a file; choose another name.
What needs the CLI
The desktop app covers everyday use. These stay in the CLI (CLI reference): updates (quitlock update), the live dashboard (quitlock dash), writing changes to a file instead of sending them (--to-file, including a re-pair with quitlock enrol --to-file --device-id), and the udev rule (quitlock setup --udev).