From a8874167f663885f2d3371801cf03681576ac817 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Tue, 2 May 2023 21:25:17 +0200 Subject: 1200: rename everything to AdvancedPrivacy --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9d58239..35a7958 100644 --- a/README.md +++ b/README.md @@ -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 in the file /system/etc/permissions/platform.xml . +1. Allow the fake location service to run in background. Add in the file /system/etc/permissions/platform.xml . 1. Reboot the device ```shell -- cgit v1.2.1