Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Re: OTA Updates not working

    Fairphone 3
    6
    31
    1954
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Flohack
      Flohack @Keneda last edited by

      @keneda if I can steal your phone I can get all the data off your device, thats why a wide-open bootloader is a problem. If you are fine with that, ok πŸ˜‰

      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

      L 1 Reply Last reply Reply Quote 0
      • L
        Luksus @Flohack last edited by

        @flohack I think kenedas answer was at least as ironic as yours. πŸ˜‰

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605, Pinephone, Moto Z2 Force

        Keneda 1 Reply Last reply Reply Quote 0
        • Keneda
          Keneda @Luksus last edited by Keneda

          @luksus
          lol not at all, MX4 with unlocked bootloader is so rare, that i would never think to lock it, i don't even know how to do that.

          @Flohack Thanks for clarifying, i though unlocked bootloader only allowed to install third party OS, and only "dev mode on" allowed to access all system data.

          2015-Now : Meizu MX4 (Stable) for daily use
          Spare : Nexus 5 (Stable)

          L Flohack 2 Replies Last reply Reply Quote 0
          • L
            Luksus @Keneda last edited by

            @keneda oh, ok πŸ˜ƒ

            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605, Pinephone, Moto Z2 Force

            1 Reply Last reply Reply Quote 0
            • Flohack
              Flohack @Keneda last edited by

              @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 πŸ˜‰

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              Keneda 1 Reply Last reply Reply Quote 1
              • Keneda
                Keneda @Flohack last edited by Keneda

                @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 ?

                2015-Now : Meizu MX4 (Stable) for daily use
                Spare : Nexus 5 (Stable)

                Flohack 1 Reply Last reply Reply Quote 0
                • Flohack
                  Flohack @Keneda last edited by

                  @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".

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  Keneda 1 Reply Last reply Reply Quote 0
                  • Keneda
                    Keneda @Flohack last edited by

                    @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.

                    2015-Now : Meizu MX4 (Stable) for daily use
                    Spare : Nexus 5 (Stable)

                    1 Reply Last reply Reply Quote 0
                    • P
                      pan last edited by

                      @Luksus

                      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.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Luksus @pan last edited by

                        @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:

                        1. flash android 9 system image to system partition again
                        2. 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=flashable

                        To 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.

                        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605, Pinephone, Moto Z2 Force

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pan @Luksus last edited by

                          @luksus

                          Thank you very much! Everything works now πŸ™‚
                          And I am able to OTA update to Version 212 successfully!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post