F-Droid Privileged Extension doesn't work on LineageOS 16 (Pie), and how you can probably fix it
- Device OS and version: LineageOS 16.0
- Device model/manufacturer: Oneplus 3T
- F-Droid version (in the About screen): 1.5.1
- F-Droid privileged extension version (if installed): 0.29
What did you do? (clear steps if possible)
- Install F-Droid Privileged Extension
- Enable it
- Apps now fail to install
What did you expect to see?
- Root request
- Apps installing without prompt
What did you see instead?
- An error
How you can probably fix it
I had the same problem in one of my apps, and it turns out that the typical method of installing apps using root is:
- Download APK somewhere
- pm install -r /path/to/apk
Apparently, now pm install only works it if the APK is located in /data/local/tmp. I don't know if this behavior was introduced by Google or Lineage (IMHO it's deliberate sabotage of apps like F-Droid)
I've informed the lineage devs of this too. Here's the post: https://www.reddit.com/r/LineageOS/comments/aynywq/fdroid_privileged_extension_aurora_store_yalp/
Edited by Federico Dossena