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

Focal and Waydroid news for Lenovo X605

Scheduled Pinned Locked Moved Lenovo Tab M10 X605F/L
58 Posts 6 Posters 11.6k Views 4 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.
    • R Offline
      Resonus @Luksus
      last edited by 5 Mar 2023, 17:10

      @luksus
      Tried a couple of things, got the same error using the compiled qdl utility.
      So I thought I'd try a different machine entirely. I have a spare Pi hanging around, gave it a fresh install and installed qdl and curiously got the exact same error.
      Waiting for EDL device
      *** buffer overflow detected ***: terminated
      Aborted
      At least I'm consistent! 🙂
      L.

      L 1 Reply Last reply 7 Mar 2023, 09:22 Reply Quote 0
      • L Offline
        Luksus @Resonus
        last edited by 7 Mar 2023, 09:22

        @resonus I tried to write down my step on flashing the X605 here:
        https://forums.ubports.com/post/71223

        Please lets move the discussion there, if you have further questions regarding qdl.

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

        1 Reply Last reply Reply Quote 0
        • M Offline
          muskist @Luksus
          last edited by 21 Mar 2023, 19:00

          @luksus
          Thanks for the instructions!
          Is it possible to do this on a 2GB-device? The device can't be booted to recovery if it's a UT-recovery. But is that even necessary?

          L 1 Reply Last reply 21 Mar 2023, 19:12 Reply Quote 0
          • L Offline
            Luksus @muskist
            last edited by 21 Mar 2023, 19:12

            @muskist No, recovery is not necessary.
            You can flash boot and system partitions on the 2GB version too.
            You just won't get ever OTA updates for it.

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

            M 2 Replies Last reply 21 Mar 2023, 19:22 Reply Quote 0
            • M Offline
              muskist @Luksus
              last edited by 21 Mar 2023, 19:22

              @luksus
              Thanks! I'll give it a try.

              1 Reply Last reply Reply Quote 0
              • M Offline
                muskist @Luksus
                last edited by muskist 22 Mar 2023, 14:58

                @luksus
                Installed it and it booted!

                How did you install waydroid? The old way:

                sudo -s
                mount -o remount,rw /
                apt update
                apt install waydroid -y
                waydroid init
                

                ?

                L 1 Reply Last reply 22 Mar 2023, 15:05 Reply Quote 0
                • L Offline
                  Luksus @muskist
                  last edited by 22 Mar 2023, 15:05

                  @muskist no, waydroid is already installed.

                  just do sudo waydroid init or use the waydroid helper app.

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

                  M 2 Replies Last reply 22 Mar 2023, 15:26 Reply Quote 0
                  • M Offline
                    muskist @Luksus
                    last edited by 22 Mar 2023, 15:26

                    @luksus
                    Thx!

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      muskist @Luksus
                      last edited by 22 Mar 2023, 21:48

                      @luksus
                      Sadly I get command not found when doing sudo waydroid init

                      Sure Waydroid is installed? Or is it not in $PATH?

                      L 1 Reply Last reply 23 Mar 2023, 07:58 Reply Quote 0
                      • L Offline
                        Luksus @muskist
                        last edited by 23 Mar 2023, 07:58

                        @muskist thats strange, are you sure you downloaded and installed the Focal build and not Xenial?
                        I am sure, that waydroid should be installed as default and accessible from the terminal.

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

                        M 1 Reply Last reply 23 Mar 2023, 09:02 Reply Quote 0
                        • M Offline
                          muskist @Luksus
                          last edited by muskist 23 Mar 2023, 09:02

                          @luksus said in Focal and Waydroid news for Lenovo X605:

                          @muskist thats strange, are you sure you downloaded and installed the Focal build and not Xenial?

                          Good question! I was able to install TELEports for 20.04 (v1.17.1) so I thought it's 20.04.

                          But UT Tweak Tool told me it's 16.04.7 LTS. And Waydroid didn't show up.

                          So I downloaded the artifacts.zip again from the link you gave above. I chose the latest one saying "passed" and "devel-flashable: archive". Maybe that's the wrong one?

                          EDIT: Just saw it: "devel-flashable:archive" != "devel-flashable-focal:archive" - sorry for the fuss! I'll try again.

                          Still wondering about TELEports v1.17.1 ...

                          L 1 Reply Last reply 23 Mar 2023, 09:52 Reply Quote 0
                          • L Offline
                            Luksus @muskist
                            last edited by 23 Mar 2023, 09:52

                            @muskist yes, the latest build is marked as canceled, but I just canceled the xenial build, you can still download the flashable-focal zip.

                            I know it is a little bit confusing.

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

                            M 1 Reply Last reply 24 Mar 2023, 10:03 Reply Quote 0
                            • M Offline
                              muskist @Luksus
                              last edited by 24 Mar 2023, 10:03

                              @luksus
                              Unfortunately it doesn't work.

                              After flashing boot.img and ubuntu.img and doing fastboot reboot
                              the device gets stuck in a loop:

                              • starting with vibration
                              • showing the "Lenovo" screen for about 40 seconds
                              • screen goes dark
                              • starting with vibration
                              • showing the "Lenovo" screen for about 40 seconds
                              • ...

                              I suppose you did it on a 3GB/32GB device?
                              Maybe it's the known unsuitability of the 2GB/16GB device.

                              I will stop trying unless you have another tip. But please don't waste your time on this! You're doing great work on the 3GB/32GB device (and I have one of those, too 🙂 )!

                              M 1 Reply Last reply 25 Mar 2023, 11:05 Reply Quote 0
                              • M Offline
                                muskist @muskist
                                last edited by 25 Mar 2023, 11:05

                                @muskist said in Focal and Waydroid news for Lenovo X605:

                                @luksus
                                Unfortunately it doesn't work.
                                [...]

                                Success!
                                I flashed boot.img from artifacts.zip for 16.04 and ubuntu.img for 20.04. Device booted, starting 20.04 afterwards.
                                "Ein blindes Huhn findet auch mal ein Korn" - German saying, meaning "A blind hen also finds a grain of corn once in a while" (according to deepl.com).

                                Made my weekend.

                                L 1 Reply Last reply 25 Mar 2023, 12:00 Reply Quote 0
                                • L Offline
                                  Luksus @muskist
                                  last edited by 25 Mar 2023, 12:00

                                  @muskist said in Focal and Waydroid news for Lenovo X605:

                                  I flashed boot.img from artifacts.zip for 16.04 and ubuntu.img for 20.04. Device booted, starting 20.04 afterwards.

                                  Interesting, since boot.img should be be the same for both...

                                  @muskist said in Focal and Waydroid news for Lenovo X605:

                                  "Ein blindes Huhn findet auch mal ein Korn"

                                  Der war mir neu 😉

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

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    muskist @Luksus
                                    last edited by 13 Aug 2023, 17:38

                                    @Luksus said in Focal and Waydroid news for Lenovo X605:

                                    there are first working focal-builds for the X605.
                                    Who want's to try it, needs to download the devel-flashable-focal:archive of the latest focal branch build, from this site:
                                    https://gitlab.com/ubports/porting/community-ports/android9/lenovo-tab-m10-fhd/lenovo-x605/-/pipelines

                                    Is it possible to try and flash the latest devel-flashable-focal:archive, e.g. #860314125 from "three months ago"?

                                    Does it even make sense? You are constantly improving, I suppose. 🙂

                                    L 1 Reply Last reply 13 Aug 2023, 19:14 Reply Quote 0
                                    • L Offline
                                      Luksus @muskist
                                      last edited by 13 Aug 2023, 19:14

                                      @muskist I just started a new build, so that you can try the latest devel focal build.

                                      But I am currently not working on it, because I need the tablet in a usable state (with android).
                                      So the only missing feature (I know of) is still the camera.

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

                                      M 1 Reply Last reply 23 Aug 2023, 09:55 Reply Quote 0
                                      • M Offline
                                        muskist @Luksus
                                        last edited by 23 Aug 2023, 09:55

                                        @Luksus Thanks, got it installed (after the usual boot problems). Everything seems to work fine (except camera).

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          gzagatti
                                          last edited by 6 Sept 2023, 09:34

                                          @Luksus Thanks for putting this port together! What a tremendous effort!

                                          First, I installed Ubuntu Touch with UBPorts installer. After installation, I realized that it came with Ubuntu Touch xenial which was slightly disappointing. Apart from this, the UBPorts installer was really helpful in showing me the ropes.

                                          Next, I found your Git repo with the source code. I saw that there was a branch to build Ubuntu Touch focal. I managed to build the whole thing after a few issues. However, when it came to flashing the image to my device it didn't work. I managed to get past the Lenovo boot screen but my installation got stuck forever on the Ubuntu Touch loading screen.

                                          Finally, I found this thread which saved my day. Thanks for sharing the link with the pre-built versions of Ubuntu Touch focal. I was then finally able to successfully install the OS on my device.

                                          The last step of the installation is the trickiest one. Like @muskist, everything seems to work fine, except for the camera which was expected.

                                          One last thing, I also faced the usual boot problems. I would like to understand the flashing steps on the README file better. The main branch includes the following line.

                                          fastboot format:ext4 userdata
                                          

                                          But the focal branch doesn't. Could you clarify whether this line should be added to focal.

                                          After I followed the flash instruction of the focal README file, I couldn't boot. So, I restarted the device in bootmode and issued the following additional commands.

                                          fastboot format:ext4 userdata
                                          fastboot -w
                                          fastboot flash boot out/boot.img
                                          

                                          Then, there was a lot of turning on and off --- including in bootmode --- until it magically booted to Ubuntu Touch. I wish I could say what the right incantation of flash commands was, but I can't.

                                          L 1 Reply Last reply 8 Sept 2023, 17:58 Reply Quote 1
                                          • L Offline
                                            Luksus @gzagatti
                                            last edited by 8 Sept 2023, 17:58

                                            @gzagatti thanks for your report.

                                            I am not sure, why the format:ext4 command is not included in the focal branch, maybe I just forgot it.
                                            At least, for UT to work, userdata should be formatted with ext4.
                                            Beside this, I found that doing a wipe of userdata sometimes fixes the unreliable boot issue, at least for the first boot, thats why I included it in the readme.

                                            It seems you have some development skills, if you managed to build it yourself.
                                            It would be great to have somone who could help in resolving the remaining issues. :grimacing_face:

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

                                            G 1 Reply Last reply 14 Sept 2023, 03:56 Reply Quote 1
                                            • First post
                                              Last post