Re: OTA Updates not working
-
@flohack I think kenedas answer was at least as ironic as yours.
-
-
@keneda oh, ok
-
@keneda No unfortunately not, an unlocked bootloader allows to flash any open recovery, from which you can just pull all data. Note also that stock Android bootlaoders will wipe the data partition when unlocking to preven this to be too easy.
But for UT locking the bootloader would make it impossible to rescue your data off your device, since we do not use a huge cloud service like Android devices, and people would be very worried if they cannot get access to their data.
Also, in case UT fails for you, the open bootloader is the only way to reinstall without data loss with the installer. its a delicate question. Last, on some devices a locked bootloader will not boot an unsigned OS like UT, comparing that to a builtin certificate, and thats basically a good thing since it would provide a guard against tampering with the OS. But we cannot use that since we cannot sign our images as the vendor does
-
@flohack
What would be the solution? Encrypted partition/device like talked in this thread https://forums.ubports.com/topic/1012/one-method-to-encrypt-home-phablet/33 ? -
@keneda Basically we only need to encrypt 2 folders, not whole partitions, that makes booting easier. Yes, that would help, but with a bit of a different concept to make it "UT-compatible".
-
@flohack
Ok, thanks for the whole explaination, i'll stick with my wide opened phone untill you (devs) have not better to do than implement encryption ^^
Not a big deal for me. -
Thank you very much for bringing UT to FP3. I have been long awaiting for this.
I have downloaded the latest image and successfully flashed to UT.
As soon as I boot to UT, the OTA update starts to download. I tried a few version and the results are as follows:Version 207: when the phone started to reboot, it showed the failed message and could never be boot to UT again.
Version 208: when the phone started to reboot, it showed that the OTA update was successful. However, it then kept rebooting to fastboot.
Version 211: same result as Version 208
All these sizes were >500MB. Hope these information can help. Thank you.
-
@pan Yes, after ~4 days, the update is not incremental anymore and full updates do still not work.
I just triggered a new build in the Gitlab CI.
To solve your boot issue please:- flash android 9 system image to system partition again
- then download latest build artifacts and also flash it over the system partition
Latest build:
https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3/-/jobs/artifacts/master/download?job=flashableTo keep OTA updates working, you should update at least every 3 days, I think.
If the OTA-Update size is bigger than 500MB, do not update and look for a newer build in the Gitlab CI. -
Thank you very much! Everything works now
And I am able to OTA update to Version 212 successfully!