Skip to main content

A one-time setup.
Then it runs on its own.

For SafeGuard to lock the phone around the browser, it is set up as the device manager. There are two ways to do it: from the phone itself, wirelessly, on Android 11 and up, or from a Windows or Mac computer over a USB cable. Either way, the accounts on the phone (Google, Samsung and so on) are removed temporarily during setup, and you add them back when it is done. No factory reset is needed.

Before you start: Setting up from a computer requires a Windows or macOS computer, a USB cable, and an Android device with no active user accounts (sign out of accounts temporarily in settings and add them back afterwards, no factory reset needed).

Set up SafeGuard without a computerA quick look: three steps from the phone itself.
On Android 11 or newer? Set up from the phone, no computerYou can set up without a computer or cable, straight from the phone, over wireless debugging. The accounts on the phone are removed temporarily during setup.
Windows or macOS computer

Install via ADB with the automated script

provision-device.bat

The tool does the work: it connects to the phone, sets SafeGuard as the device manager, and turns on the lock. There is a tool for Windows (provision-device.bat) and one for Mac (SafeGuard Provisioner), so pick the one for your computer. You need a phone with no accounts signed in, a computer, and a USB cable.

Installation steps
  1. 1

    On the phone, open Settings → Accounts and temporarily remove all accounts (Google, Samsung, etc.). No factory reset needed, you can sign back in right after setup.

  2. 2

    On the phone, turn on Developer options and then USB debugging (Settings → System → Developer options).

  3. 3

    From the downloads page, get the SafeGuard app and the setup tool for your computer, provision-device.bat for Windows, or SafeGuard Provisioner for Mac.

  4. 4

    Install the SafeGuard app on the phone (allow installing from unknown sources if asked).

  5. 5

    Connect the phone to the computer with a USB cable. A pop-up will appear on the phone asking to allow the connection, tap Allow.

  6. 6

    Run the setup tool: on Windows, double-click provision-device.bat; on Mac, unzip SafeGuard Provisioner and right-click it → Open. The first time, it downloads the tools it needs on its own, so you do not need to install anything.

  7. 7

    Wait for it to finish. It sets up SafeGuard and turns on the lock automatically.

  8. 8

    When you first open the app, approve the accessibility permission if asked. Then add back the accounts you removed, including your Google account.

Seeing a Play Protect message while installing?

That's expected. SafeGuard is installed from a file, not from Google Play, and Play Protect hasn't seen it before, so you may get one message: "App scan recommended". Tap "Scan app", wait for the scan to finish (about 20 seconds), then tap "Install". Or tap "More details" and then "Install without scanning". "Don't install app" cancels the install. In our test the scan ended with "This app looks safe". The message does not appear on every install, and the wording on your phone can differ a little.

The Play Protect message during installWhy the message shows up, and what to tap to continue the install.

This video is also on YouTube

Important: The device manager can only be set when no accounts are signed in on the phone. If the tool shows an error, go back to Settings → Accounts, make sure every account is removed, and run it again.

The first time, the tool downloads the files it needs and keeps them next to it. After that it reuses the saved copy, which is fast and needs no internet.

Mac users: The tool isn't signed, so the first time, right-click it and choose Open (or allow it in System Settings → Privacy & Security). If the phone isn't detected, try a different USB cable. Every other step is the same as on Windows.

Troubleshooting: If the tool doesn't detect the phone, make sure USB debugging is on, that you approved the permission pop-up on the phone, and that your cable transfers data (not charge-only).

Setup failed? See the full troubleshooting guide