• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 603 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 19 Sept 2019, 19:43

      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!

      L A 2 Replies Last reply 20 Sept 2019, 04:16 Reply Quote 0
      • L Offline
        Lakotaubp @toschio
        last edited by 20 Sept 2019, 04:16

        @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 20 Sept 2019, 08:54 Reply Quote 0
        • T Offline
          toschio @Lakotaubp
          last edited by 20 Sept 2019, 08:54

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

          L 1 Reply Last reply 20 Sept 2019, 10:55 Reply Quote 0
          • L Offline
            Lakotaubp @toschio
            last edited by Lakotaubp 20 Sept 2019, 10:55

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

            1 Reply Last reply Reply Quote 0
            • A Offline
              advocatux @toschio
              last edited by advocatux 20 Sept 2019, 11:21

              @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 20 Sept 2019, 19:35 Reply Quote 0
              • T Offline
                toschio @advocatux
                last edited by 20 Sept 2019, 19:35

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

                A 1 Reply Last reply 20 Sept 2019, 19:48 Reply Quote 1
                • A Offline
                  advocatux @toschio
                  last edited by 20 Sept 2019, 19:48

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

                  1 Reply Last reply Reply Quote 0
                  7 out of 7
                  • First post
                    7/7
                    Last post