Flashing Privileged Extension OTA doesn't install app to OS on stock Pie ROM
This may be the same basic issue as #47, but I'm getting different symptoms so I decided to open a separate report, unless and until it can be proved to be a duplicate. The major symptom in my case is that the Privileged Extension is apparently installed to /system/priv-app/F-DroidPrivilegedExtension/F-DroidPrivilegedExtension.apk but the OS and F-droid don't see it as installed at all. Using adb shell
, the file doesn't appear when running the OS, but is visible again when running TWRP.
- Device OS and version: stock Android Pie 9.0.0 (PQ3B.190705.003, Jul 2019)
- Device model/manufacturer: Google Pixel 3a (sargo)
- F-Droid version (in the About screen): 1.6
- F-Droid privileged extension version (if installed): Attempted to install version 33b8c8a (2090)
What did you do? (clear steps if possible)
I've tried this several times and messed with some system files to try to get things working, so before this most recent attempt, I flashed Google's factory image (flash-all.sh) to try to get everything back to stock to ensure the problem isn't due to something I messed up, then basically followed these steps again:
- Booted phone, installed all updates, and rebooted (also disabled Play Protect harmful app detection)
- Enabled developer options and OEM unlocking
- Powered off phone and booted to fastboot
- Unlocked bootloader (fastboot flashing unlock), then booted
- Copied FDroid.apk to phone and installed from Files
- Opened F-droid and enabled Expert mode; privileged extension option no present
- Powered off phone and booted to fastboot
- Booted to TWRP (fastboot boot /tmp/twrp/twrp-3.3.1-1-sargo.img)
- Pushed org.fdroid.fdroid.privileged.ota_2090.zip (using adb push) to device
- Installed org.fdroid.fdroid.privileged.ota_2090.zip using TWRP Install feature (no errors reported)
- Wiped Dalvik
- Used adb shell to confirm presence of (/system/system seems to be where the system partition is mounted in TWRP):
- /system/system/app/F-Droid/F-Droid.apk
- /system/system/priv-app/F-DroidPrivilegedExtension/F-DroidPrivilegedExtension.apk
- /system/system/etc/permissions/permissions_org.fdroid.fdroid.privileged.xml
- Rebooted
What did you expect to see?
- Privileged Extension option under F-droid Expert mode
- F-droid Privileged Extension app in listed in settings
- F-droid able to install packages without prompting for permissions
What did you see instead?
- No Privileged Extension option under F-droid Expert mode
- No F-droid Privileged Extension app listed in settings, including system apps
- "For your security, your phone is not allowed to install unknown apps from this source."
So, am I doing something wrong? Do you need more info from me? Thanks.