From 2dfecdde6230608d6445e1868a73cdfeaca71dd2 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 27 Apr 2019 13:04:21 +0200 Subject: [PATCH] Add wiki article: Nokia-HMD-phone-preparations.md --- wiki/Nokia-HMD-phone-preparations.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 wiki/Nokia-HMD-phone-preparations.md diff --git a/wiki/Nokia-HMD-phone-preparations.md b/wiki/Nokia-HMD-phone-preparations.md new file mode 100644 index 00000000..e07ee5af --- /dev/null +++ b/wiki/Nokia-HMD-phone-preparations.md @@ -0,0 +1,18 @@ +HMD Global phones have been reported to kill apps with a manufacturer-specific implementation called "DuraSpeed". DuraSpeed is built-into the OS and normally cannot be disabled by the user. This causes Syncthing-Fork to silently cease syncing when DuraSpeed kills the app. + +To work around this, connect your phone to a computer running ADB. +If you like to allow Syncthing-Fork to attempt to disable DuraSpeed system-wide when your phone boots, issue the following commands: + +* adb shell pm grant com.github.catfriend1.syncthingandroid android.permission.WRITE_SECURE_SETTINGS +* adb shell pm grant com.github.catfriend1.syncthingandroid.debug android.permission.WRITE_SECURE_SETTINGS + +If you're unhappy with Syncthing-Fork turning of DuraSpeed and you want to revert the change, issue the following commands: + +* adb shell pm revoke com.github.catfriend1.syncthingandroid android.permission.WRITE_SECURE_SETTINGS +* adb shell pm revoke com.github.catfriend1.syncthingandroid.debug android.permission.WRITE_SECURE_SETTINGS + +Reboot your phone after the "pm revoke" for the change to take effect. + +Related: +- [GitHub issue](https://github.com/Catfriend1/syncthing-android/issues/404) +- [Details from the urbandroid-team tracker](https://github.com/urbandroid-team/dont-kill-my-app/issues/57)