summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0b842ed..12c9a7b 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,6 @@ modules must be build and deployed in the following order:
- ./gradlew :privacymodule-api:assembleRelease
- ./gradlew --console=verbose publishToMavenLocal // To make it available locally for dev.
- ./gradlew --console=verbose publish // To publish it on gitlab for release.
-- [privacymodule-e](../../../e_privacycentral_privacymodulese)
- [privacymodule-tor](../../../e_privacycentral_privacymoduletor)
- [app]
@@ -115,6 +114,18 @@ For building from CLI, you can execute this command:
You can build the apk locally by using above instructions or you can download the latest stable apk from `master` branch pipeline.
### To run apk on /e/OS devices
+
+If you are running your tests on a `/test` build, the debug buildtype already sign it with the appropriate key, and without the persistant flag, to allow further updates.
+But the first time, to replace the AdvancedPrivacy app, embeded in the test build, you have to use the following commands:
+
+ ```shell
+ adb root && adb remount
+ adb push your_advanced_privacy_debug_build.apk /system/priv-app/AdvancedPrivacy/AdvancedPrivacy.apk
+ adb shell kill -9 $(adb shell pidof -s foundation.e.advancedprivacy)
+ ```
+
+#### AdvancedPrivacy requiement against the system
+
AdvancedPrivacy needs to be installed as system app and whitelisting in order to grant some system specific permissions. Follow these steps to make it work properly on /e/OS
1. From `Developer options`, enable `Android debugging` and `Rooted debugging`
@@ -133,13 +144,13 @@ AdvancedPrivacy needs to be installed as system app and whitelisting in order to
```
1. Push permissions whitelist.
- - it requires the whitelisting [privapp-permissions-foundation.e.privacycentralapp.xml](privapp-permissions-foundation.e.privacycentralapp.xml) file that can be found in the project repository.
+ - it requires the whitelisting [privapp-permissions-foundation.e.advancedprivacy.xml](privapp-permissions-foundation.e.advancedprivacy.xml) file that can be found in the project repository.
- then use the following command
```bash
- adb push privapp-permissions-foundation.e.privacycentralapp.xml /system/etc/permissions/
+ adb push privapp-permissions-foundation.e.advancedprivacy.xml /system/etc/permissions/
```
-1. Allow the fake location service to run in background. Add <allow-in-power-save package="foundation.e.privacycentralapp.e" /> in the file /system/etc/permissions/platform.xml .
+1. Allow the fake location service to run in background. Add <allow-in-power-save package="foundation.e.advancedprivacy" /> in the file /system/etc/permissions/platform.xml .
1. Reboot the device
```shell