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

Flashing stock rom with QDL tool

Scheduled Pinned Locked Moved Lenovo Tab M10 X605F/L
4 Posts 2 Posters 5.3k 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.
    • L Offline
      Luksus
      last edited by 7 Mar 2023, 09:18

      This thread is meant to help regarding issues with flashing a lenovo stock rom with device in EDL-mode using the QDL-tool for Linux.

      I've made a short video, of how I flash the stock rom. Mabe it helps to understand the written steps. I am using a self compiled version, since it was the most reliable way to get the tool running without issues.

      Help for compiling and other helpful information regarding QDL is given here: https://github.com/96boards/documentation/blob/master/consumer/guides/qdl.md

      The video:
      https://drive.google.com/file/d/13YKJp5dUKnpD7KKy4_IfuAJCIVFq7_UT/view?usp=sharing

      The steps I made in the video in words:

      • My file-tree-structure looks like this:
        • something/lenovo-flash
          • qdl (qdl tool folder)
          • x605
            • TB-X605L_S210224_200910_ROW (stock rom folder)
      • I am in the stock rom folder and have to call qdl tool from two parentfolders above, thats why I do: ../../qdl/qdl
      • I have connected an USB-A to USB-C cable to the computer but NOT YET to the device
      • I enter following command in the terminal:
        ../../qdl/qdl prog_emmc_firehose_8953_ddr.mbn rawprogram_unsparse_upgrade.xml patch0.xml
      • The message Waiting for EDL device is displayed
      • I press both volume buttons of the device with my thumb at keep them pressed while I connect the USB-C end of the cable to my device
      • The device turns on and shows the Lenovo logo, I still keep the volume buttons pressed
      • The device display turns black
      • In the terminal, the qdl tool starts to do something -> I release the volume keys
      • Now I just need to wait until the tool finished

      If you get error messages from the qdl tool, it may be caused by the version of qdl you are using (snap or a specific distro package), thats why I strongly recommend to use a self compiled version.

      I fear, I can't provide more help than this^^.
      Good luck :smiling_face_with_smiling_eyes:

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

      L 1 Reply Last reply 7 Mar 2023, 10:12 Reply Quote 1
      • L Offline
        Luksus @Luksus
        last edited by 7 Mar 2023, 10:12

        @luksus ** Update, I made the video-link accessible to everyone.

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

        R 1 Reply Last reply 7 Mar 2023, 18:01 Reply Quote 0
        • R Offline
          Resonus @Luksus
          last edited by 7 Mar 2023, 18:01

          @luksus So the good news is I've successfully loaded the stock ROW and booted the tab to it, enabled developer options, OEM unlock. Amazing!

          The bad news is I've subsequently followed the Fastboot instructions and all looks good. The only error I get is......

          $ fastboot format:ext4 userdata
          /usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
          fastboot: error: Cannot generate image for userdata

          And subsequently will not boot.
          But definitely getting closer!

          Lee.

          R 1 Reply Last reply 8 Mar 2023, 17:17 Reply Quote 0
          • R Offline
            Resonus @Resonus
            last edited by 8 Mar 2023, 17:17

            @luksus after reflashing the boot.img it has indeed booted into ubports!
            I am up and running, thank you so much for your help.

            1 Reply Last reply Reply Quote 1
            3 out of 4
            • First post
              3/4
              Last post