UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Re: OTA Updates not working

    Scheduled Pinned Locked Moved Fairphone 3
    31 Posts 6 Posters 11.1k Views 2 Watching
    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.
    • LuksusL Offline
      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 X605F, Pinephone, Moto Z2 Force, OnePlus5T

      KenedaK 1 Reply Last reply Reply Quote 0
      • KenedaK Offline
        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-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5
        πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

        LuksusL flohackF 2 Replies Last reply Reply Quote 0
        • LuksusL Offline
          Luksus @Keneda
          last edited by

          @keneda oh, ok πŸ˜„

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

          1 Reply Last reply Reply Quote 0
          • flohackF Offline
            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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            KenedaK 1 Reply Last reply Reply Quote 1
            • KenedaK Offline
              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-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5
              πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

              flohackF 1 Reply Last reply Reply Quote 0
              • flohackF Offline
                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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                KenedaK 1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  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-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5
                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    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.

                    LuksusL 1 Reply Last reply Reply Quote 0
                    • LuksusL Offline
                      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 X605F, Pinephone, Moto Z2 Force, OnePlus5T

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        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

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better πŸ’—

                        Register Login
                        • First post
                          Last post