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

    Failing to flash on Aquaris M10 FHD

    Scheduled Pinned Locked Moved Support
    7 Posts 3 Posters 605 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.
      • T Offline
        toschio
        last edited by

        Hi together,

        today I tried to revive my old M10 by upgrading from canonical ubuntu touch to the current one. I first tried to install via the ubports-installer (appimage on manjaro) which fails, for unclear reasons:

        info: Flashing images...
        error: Devices: Error: undefined
        

        Then I tried the manual way as suggested on the ubports website:

        I formated cache, system and userdata, and tried then to flash the recovery.img:

        fastboot flash recovery recovery.img
        fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.
        [1]    411 abort (core dumped)  fastboot flash recovery recovery.img
        

        That looks erroneous to me, and rebooting into recover mode was not possible. So, can anyone help me and suggest a way to go?

        Could it be that the recover partition is too small for the image? If so, can someone point me to how to change that?

        fastboot getvar all
        ...
        (bootloader) 	partition-size:cache: 40000000
        (bootloader) 	partition-type:cache: ext4
        ...
        (bootloader) 	partition-size:recovery: 1000000
        (bootloader) 	partition-type:recovery: raw data
        (bootloader) 	partition-size:boot: 1000000
        (bootloader) 	partition-type:boot: raw data
        ...
        (bootloader) 	warranty: no
        (bootloader) 	unlocked: yes
        (bootloader) 	secure: no
        (bootloader) 	kernel: lk
        (bootloader) 	product: frieza
        (bootloader) 	version: 0.5
        all: Done!!
        

        I appreciate every help! Thank you in advance!

        LakotaubpL advocatuxA 2 Replies Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @toschio
          last edited by

          @toschio Try the method mentioned here https://github.com/ubports/ubports-installer/issues/593 you need to scroll down a bit to find it

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            toschio @Lakotaubp
            last edited by

            @Lakotaubp Thanks for the really fast reply!

            Sadly, this seems not to work. You mean the suggested solution by running the installer with su, right? It still shows the meaningless error message as above.

            Or do you mean the solution that suggests to install Lineage OS first and then install ubuntu touch?

            LakotaubpL 1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @toschio
              last edited by Lakotaubp

              @toschio I ment the first. Haven't tried the other.

              1 Reply Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @toschio
                last edited by advocatux

                @toschio which android-tools version are you using? Some people reported issues with some versions in Arch. See for example https://bugs.archlinux.org/task/63370

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  toschio @advocatux
                  last edited by

                  @advocatux Wonderful! I wouldn't have thought of it. Downgrading android-tools did the trick, and the ubports-installer worked. Thank you very much!

                  advocatuxA 1 Reply Last reply Reply Quote 1
                  • advocatuxA Offline
                    advocatux @toschio
                    last edited by

                    @toschio I'm glad to hear that. Kudos!

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