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.7k 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.
      • LuksusL Offline
        Luksus @Resonus
        last edited by

        @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

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

          LuksusL 1 Reply Last reply Reply Quote 0
          • LuksusL Offline
            Luksus @muskist
            last edited by

            @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 Reply Quote 0
            • M Offline
              muskist @Luksus
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                muskist @Luksus
                last edited by muskist

                @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
                

                ?

                LuksusL 1 Reply Last reply Reply Quote 0
                • LuksusL Offline
                  Luksus @muskist
                  last edited by

                  @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 Reply Quote 0
                  • M Offline
                    muskist @Luksus
                    last edited by

                    @luksus
                    Thx!

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      muskist @Luksus
                      last edited by

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

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

                      LuksusL 1 Reply Last reply Reply Quote 0
                      • LuksusL Offline
                        Luksus @muskist
                        last edited by

                        @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 Reply Quote 0
                        • M Offline
                          muskist @Luksus
                          last edited by muskist

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

                          LuksusL 1 Reply Last reply Reply Quote 0
                          • LuksusL Offline
                            Luksus @muskist
                            last edited by

                            @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 Reply Quote 0
                            • M Offline
                              muskist @Luksus
                              last edited by

                              @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 Reply Quote 0
                              • M Offline
                                muskist @muskist
                                last edited by

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

                                LuksusL 1 Reply Last reply Reply Quote 0
                                • LuksusL Offline
                                  Luksus @muskist
                                  last edited by

                                  @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

                                    @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. 🙂

                                    LuksusL 1 Reply Last reply Reply Quote 0
                                    • LuksusL Offline
                                      Luksus @muskist
                                      last edited by

                                      @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 Reply Quote 0
                                      • M Offline
                                        muskist @Luksus
                                        last edited by

                                        @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

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

                                          LuksusL 1 Reply Last reply Reply Quote 1
                                          • LuksusL Offline
                                            Luksus @gzagatti
                                            last edited by

                                            @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 Reply Quote 1
                                            • G Offline
                                              gzagatti @Luksus
                                              last edited by

                                              @Luksus thanks for your response.

                                              I hope I can start helping once I get to know more about Ubuntu Touch. This is my first time using it, but I have some experience with Ubuntu.

                                              I would like to report on my experience so far. After installing Focal, I spun a Libertine container up. First installation didn't complete successfully. I spun a second time successfully. To avoid the system from hibernating while spinning a new container you want to turn off the Lock when idle settings in the Settings > Battery.

                                              However, I still had issues with the Libertine container as my X11 apps were not working (such as Firefox). I described the issue here.

                                              I also experimented with Waydroid. Apps that require Waydroid take a while to launch. They do work, but the experience is a bit off because it is running from inside a container emulating an Android System.

                                              I noted that everything is a bit slow in my Ubuntu Touch. For instance, when searching for updates the first time. It took about a good 10 minutes for the check to complete. Similarly, building a Libertine container and common apt commands inside of the container takes time as compared to my laptop. Do you think this is due to the limited Hardware or is it a Software issue?

                                              I also had issues with apps suddenly quitting which is something that I don't experience on my regular Ubuntu. Again, I wonder whether this is a Hardware or Software issue?

                                              Apart from the limitations above, I was having a very pleasant experience with Ubuntu Touch. That is, until yesterday when the tablet ran out of battery. I re-charged, but the tablet refused to reboot. I was left with re-formatting the disk by issuing the following commands using fastboot:

                                              fastboot format:ext4 userdata
                                              fastboot flash boot out/boot.img
                                              fastboot reboot
                                              

                                              I managed to reboot the tablet but it was reset to factory settings. I lost all my data (which was Ok because I am only using the tablet for entertainment). Do you have any idea what could have caused that? This kind of experience could be devastating for some users. It is also a pain in the ass to re-install everything.

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