• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 406 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 15 Feb 2024, 13:02

      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

      A 1 Reply Last reply 15 Feb 2024, 20:55 Reply Quote 0
      • A Offline
        astromehazu @AppLee
        last edited by 23 Feb 2024, 10:56

        @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
        • A Offline
          AppLee @astromehazu
          last edited by 15 Feb 2024, 20:55

          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 16 Feb 2024, 07:55

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

            A 1 Reply Last reply 16 Feb 2024, 09:44 Reply Quote 0
            • A Offline
              AppLee @astromehazu
              last edited by 16 Feb 2024, 09:44

              @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 23 Feb 2024, 10:56 Reply Quote 0
              • A Offline
                astromehazu @AppLee
                last edited by 23 Feb 2024, 10:56

                @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
                • A arubislander marked this topic as a question on 23 Feb 2024, 16:30
                • A arubislander has marked this topic as solved on 23 Feb 2024, 16:30
                • First post
                  Last post