Skip to content

F‐Droid notes

steadfasterX edited this page Aug 17, 2023 · 2 revisions

a note about the F-Droid privileged extension which allows to use F-Droid without enabling allowing "unknown sources":

you can use: EXTENDROM_PACKAGES="F-DroidPrivilegedExtension_pb" which will use the prebuilt apk from F-Droid or you can use the recommended way and build it instead:

for the recommended way (build with the ROM) add this to your .repo/local_manifest/extendrom.xml:

<!-- F-Droid -->
<remote name="fdroid" fetch="https://gitlab.com/fdroid/" />
<project path="packages/apps/F-DroidPrivilegedExtension" name="privileged-extension.git" remote="fdroid" revision="master" />

sync this repo with repo sync -j4 packages/apps/F-DroidPrivilegedExtension

and add EXTENDROM_PACKAGES="F-DroidPrivilegedExtension" (so without _pb) to your device/<vendor>/<model>/device.mk or device/<vendor>/<model>/vendorsetup.sh.

Final hint

In more recent Android versions (A10 or later) the privileged extension might not work as expected anymore due to limitations of the current implementation.

Clone this wiki locally