OTA Zip: support all Android 8+ devices
Installing the Aurora Services at LineageOS 18.1 on FP3 (Android 11) using adb sideload does not work automatically due to A/B not implemented yet in update-binary. This issue is being addressed at fdroid/privileged-extension!69 (closed)
The current work-around I found is to manually install the Aurora Services using:
PS D:\android\platform-tools> adb.exe push 'D:\Lineage-FP3\AuroraServices-v1.1.1-ota.zip' /tmp
D:\Lineage-FP3\AuroraServices-v1.1.1-ota.zip: 1 file pushed, 0 skipped. 86.1 MB/s (1414704 bytes in 0.016s)
# (cd /tmp; unzip AuroraServices-v1.1.1-ota.zip)
# mount /dev/block/by-name/system_$(getprop ro.boot.slot_suffix) /mnt/system
# mkdir /mnt/system/system/priv-app/AuroraServices
# cp /tmp/AuroraServices.apk /mnt/system/system/priv-app/AuroraServices/
# cp /tmp/com.aurora.services.xml /mnt/system/system/etc/permissions/
# cp /tmp/69-AuroraServices.sh /mnt/system/system/addon.d/
# chmod 755 /mnt/system/system/addon.d/69-AuroraServices.sh
# umount /mnt/system
How-ever when the phone is upgraded Aurora Services is removed since the 69-AuroraServices.sh is not updated to match A/B support. The F-Droid Privileged extension has included fixes for adding OTA Zip: support all Android 8+ devices:
fdroid/privileged-extension!29 (merged)
Edited by Rick van der Zwet