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

    Update to 20.04 failed, HASH ERROR

    Scheduled Pinned Locked Moved Solved 20.04 Focal Fossa
    5 Posts 2 Posters 827 Views 1 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.
    • A Offline
      astromehazu
      last edited by

      Hi,

      I tried to upgrade my Xiaomi Remi Note 9 Pro to 20.04. Downloading part went fine but then I got following error:

      Updates failed

      FileNotFoundError: http://system-image.ubports.com/pool/ubports-415279e61546762c23b21cd658a0ad0054ca52cf738684128dff675a5b991061.tar.xz:HASH ERROR

      I checked if file that URL points to exists and it does, I was able do download it.
      Is there something I could do to troubleshoot the issue? If not is there an alternative way to install UBports 20.04 on my phone that already has 16.04 installed?

      Best Regards,
      astromehazu

      AppLeeA 1 Reply Last reply Reply Quote 0
      • A Offline
        astromehazu @AppLee
        last edited by

        @AppLee
        Thanks for your help. Setting phone in fastboot mode was the missing link, after enabling it instalation went fine. I had to enable repartitioning of internal storage otherwise I ended up in boot loop.

        1 Reply Last reply Reply Quote 1
        • AppLeeA Offline
          AppLee @astromehazu
          last edited by

          Hi @astromehazu

          The dumb thing to do is try again, maybe with another cable.
          The file might have been somehow corrupted.

          If you run the installer from a console you should be able to see the log traces (but maybe that's where your found the error).

          But the dumb method works more often than not.
          Also trying with a different cable might help if you have a faulty cable.

          And a last piece of advice would be to back everything up and use the wipe option.
          It's better to start clean then to keep old config files that can mess with your new install.

          1 Reply Last reply Reply Quote 0
          • A Offline
            astromehazu
            last edited by

            @AppLee said in Update to 20.04 failed, HASH ERROR:

            The dumb thing to do is try again, maybe with another cable.

            I did OTA update there were no cables involved.

            The file might have been somehow corrupted.

            If you run the installer from a console you should be able to see the log traces (but maybe that's where your found the error).

            How do I run updater (installer) from console? Is it computer or phone console?

            But the dumb method works more often than not.
            Also trying with a different cable might help if you have a faulty cable.

            And a last piece of advice would be to back everything up and use the wipe option.
            It's better to start clean then to keep old config files that can mess with your new install.

            One option is to clean install new version but ubports-installer did not recognize my phone (my guess is because it does not have Andoid on it but UBports). Is there a way to reinstall UBports on a device that's already installed with UBports?

            AppLeeA 1 Reply Last reply Reply Quote 0
            • AppLeeA Offline
              AppLee @astromehazu
              last edited by

              @astromehazu
              Sorry my message wasn't clear.
              Yes I thought you did the install with the ubports-installer.

              You can try again OTA, but it is easy enough to use the ubports installer.
              You just have to manually select your device.

              Mine is a Pixel 3a and wasn't recognize as well. But the install process worked pretty well when I was told how to boot in fastboot mode :beaming_face_with_smiling_eyes:

              You can also refer to this documentation if you have some problems:
              https://docs.ubports.com/en/latest/userguide/install.html#

              I wish you good luck.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                astromehazu @AppLee
                last edited by

                @AppLee
                Thanks for your help. Setting phone in fastboot mode was the missing link, after enabling it instalation went fine. I had to enable repartitioning of internal storage otherwise I ended up in boot loop.

                1 Reply Last reply Reply Quote 1
                • arubislanderA arubislander marked this topic as a question on
                • arubislanderA arubislander has marked this topic as solved on

                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