Skip to content

Manual Installation

flxapps edited this page Nov 21, 2023 · 5 revisions

Manual Installation

  1. Create a temporary folder, e.g. detoxdroid
  2. Download the latest APK of the app (or compile it yourself using the git repository) and save it to detoxdroid
  3. Download the Android SDK Platform Tools for your OS and unzip them to detoxdroid

If you are on Windows

  1. Open a terminal and navigate to the folder:
cd C:\path\to\detoxdroid
  1. Install DetoxDroid and grant the necessary WRITE_SECURE_SETTINGS permission via ADB by executing in your terminal:
platform-tools\adb.exe install -r app-release.apk
platform-tools\adb.exe shell pm grant com.flx_apps.digitaldetox android.permission.WRITE_SECURE_SETTINGS
platform-tools\adb.exe shell dpm set-device-owner com.flx_apps.digitaldetox/.system_integration.DetoxDroidDeviceAdminReceiver

The "WRITE_SECURE_SETTINGS" permission is mandatory for the "Automatic Grayscale" feature. The "set-device-owner" permission is necessary, if you want DetoxDroid to be able to automatically deactivate apps. Both permissions can only be granted from your computer via adb.

If you are on Linux or MacOS

  1. Open a terminal and navigate to the folder:
cd ~/path/to/detoxdroid
  1. Install DetoxDroid and grant the necessary WRITE_SECURE_SETTINGS permission via ADB by executing in your terminal:
platform-tools/adb install -r app-release.apk
platform-tools/adb shell pm grant com.flx_apps.digitaldetox android.permission.WRITE_SECURE_SETTINGS
platform-tools/adb shell dpm set-device-owner com.flx_apps.digitaldetox/.system_integration.DetoxDroidDeviceAdminReceiver

The "WRITE_SECURE_SETTINGS" permission is mandatory for the "Automatic Grayscale" feature. The "set-device-owner" permission is necessary, if you want DetoxDroid to be able to automatically deactivate apps. Both permissions can only be granted from your computer via adb.

Clone this wiki locally