diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-05-02 21:25:17 +0200 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-05-02 22:00:35 +0200 |
commit | a8874167f663885f2d3371801cf03681576ac817 (patch) | |
tree | 5be07b8768142efeade536d4135f2250c1ac9071 /README.md | |
parent | a0ee04ea9dbc0802c828afdf660eb37dc6fa350f (diff) |
1200: rename everything to AdvancedPrivacy
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -101,7 +101,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] @@ -117,6 +116,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` @@ -135,13 +146,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 |