marmistrz 93 Posted June 17, 2020 Share Posted June 17, 2020 (edited) Hi, It took me a while to figure it out, so I'm writing it down in case I need it in the future. 🙂 The OTA zip doesn't work with the Pro1's system-as-root, so one has to install it manually. So here's the guide. The procedure was tested on LineageOS. WARNING: following this guide on stock will break OTA updates. See post #4. 1. Download the zip from https://f-droid.org/en/packages/org.fdroid.fdroid.privileged.ota/ and unpack it. 2. Execute the following commands: adb root adb remount mv permissions_org.fdroid.fdroid.privileged.xml org.fdroid.fdroid.privileged.xml adb push org.fdroid.fdroid.privileged.xml /etc/permissions/ adb push F-DroidPrivilegedExtension.apk /system/priv-app/ adb shell chmod 644 /system/priv-app/F-DroidPrivilegedExtension.apk adb push 80-fdroid.sh /system/addon.d/ Enjoy! Note: there's also said to be some Magisk module you can use if you don't like this approach Edited July 21, 2020 by marmistrz fixed a typo in the instruction, push the addon.d file for OTAs 1 Quote Link to post Share on other sites
daniel.schaaaf 177 Posted June 18, 2020 Share Posted June 18, 2020 You forgot to warn people: This is a tutorial to prevent OTAs from installing! 2 Quote Link to post Share on other sites
marmistrz 93 Posted June 18, 2020 Author Share Posted June 18, 2020 @daniel.schaaaf, you mean the OTA updates of the official Fxtec ROM? Why would this happen? Disclaimer: I'm using LineageOS, so I can't even test OTAs. Quote Link to post Share on other sites
daniel.schaaaf 177 Posted June 18, 2020 Share Posted June 18, 2020 52 minutes ago, marmistrz said: @daniel.schaaaf, you mean the OTA updates of the official Fxtec ROM? Why would this happen? Disclaimer: I'm using LineageOS, so I can't even test OTAs. Official OTAs won't install when the checksum of the system partition does not match the expected value. Even remounting /system as rw, without further modifications, will change its checksum. Magisk prevents this by linking files to /system during boot without altering the system partition itself. This should also benefit LineageOS, because Magisk modules and settings survive /system updates. 1 Quote Link to post Share on other sites
marmistrz 93 Posted June 18, 2020 Author Share Posted June 18, 2020 Thanks a lot. I'm going to mention it in the OP. 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.