-
-
Notifications
You must be signed in to change notification settings - Fork 17
Manual Installation
flxapps edited this page Nov 21, 2023
·
5 revisions
- Create a temporary folder, e.g.
detoxdroid
- Download the latest APK of the app (or compile it yourself using the git repository) and save it to
detoxdroid
- Download the Android SDK Platform Tools for your OS and unzip them to
detoxdroid
- Open a terminal and navigate to the folder:
cd C:\path\to\detoxdroid
- 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.
- Open a terminal and navigate to the folder:
cd ~/path/to/detoxdroid
- 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.