2017-06-27 15:43:23 +00:00
|
|
|
Note: F-Droid requires root privileges to install Privileged Extension
|
|
|
|
as a system "priv-app".
|
|
|
|
|
2018-12-24 11:33:11 +00:00
|
|
|
[[org.fdroid.fdroid]] can make use of system privileges or permissions
|
2017-06-27 15:43:23 +00:00
|
|
|
to install, update and remove applications on its own. The only way to
|
|
|
|
obtain those privileges is to become a system app.
|
|
|
|
|
|
|
|
This is where the Privileged Extension comes in - being a separate app
|
|
|
|
and much smaller, it can be installed as a system app and communicate
|
|
|
|
with the main app via AIDL IPC.
|
|
|
|
|
|
|
|
This has several advantages:
|
|
|
|
|
|
|
|
* Reduced disk usage in the system partition
|
|
|
|
* System updates don't remove F-Droid
|
|
|
|
* The process of installing into system via root is safer
|
|
|
|
|
|
|
|
This is packaged as an OTA (Over-The-Air) update ZIP file. It must be
|
|
|
|
installed using TWRP or other Android recovery that can flash updates
|
|
|
|
to the system from the /data/data/org.fdroid.fdroid folder on the
|
|
|
|
/data partition. The standalone APK is called
|
2018-12-24 11:33:11 +00:00
|
|
|
[[org.fdroid.fdroid.privileged]], and that provides updates after this
|
2017-06-27 15:43:23 +00:00
|
|
|
OTA package is installed.
|