Skip to content

Fdroid system install

username-removed-16558 requested to merge fdroid-system-install into master

This is my part of a two day sprint with @mvdan .

It implements an automated way to install F-Droid into the system-partition.

  • On first start of F-Droid, the user is asked to install F-Droid as into the system (if we detect root access). Maybe this functionality should be disabled as long as we haven't finished other TODOs, like permission diffs
  • If the user selects the system installer preference she is also asked to install F-Droid as a system app if not already present
  • A preference button to uninstall F-Droid when installed as a system-app

Installation is tested on Cyanogenmod and heavily depends on shell commands, thus could break on some Android distributions. Unfortunatly, on Android >= 5 a reboot is required after installation.

So I would propose merging this while having the first start option disabled for now.

In a future step, @mvdan and I proposed removing the root installer in favor of this method, i.e., installing F-Droid into system using root and afterwards installing apps with the internal install apis.

Merge request reports