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

    Installing - connection to device lost

    Scheduled Pinned Locked Moved Oneplus 3/3T
    69 Posts 16 Posters 18.2k Views 3 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.
      • MoemM Offline
        Moem @cela
        last edited by

        @cela said in Installing - connection to device lost:

        I also found that if you untick "Wipe Data" the install completes to 100%

        Holy macaroni. 😳 You, kind sir/madam/other, are the hero of the day. This was the winning tip. My Op3 is now proudly running UT!

        my device freezes on the 2nd reboot after install.

        I will report back once I know whether mine does that too. I used the 0.8.9 .deb on Linux Mint.

        Is currently using an Op5t
        Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

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

          @moem Now that is something to remeber, and well done on sorting it.

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

            @cela That no wipe thing is one to remember. Thanks.

            KenedaK 1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @Lakotaubp
              last edited by Keneda

              @lakotaubp
              That no wipe thing is one to report šŸ˜‰

              2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
              2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
              2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
              šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

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

                @keneda @Moem has already done that and it will be looked into. If anyone else has a similar issue please let us know device and installer version.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mpararols @Lakotaubp
                  last edited by

                  @lakotaubp Hi! Another one with the same problem. Can you explain how to do that using TWRP? Or share some place I can found the information?

                  I suppose first I have to go no Mount and mount both partitions, then go to Wipe -> Advanced Wipe (but there's nothing about file system (ext4))

                  And when it's done I will be able to install using UBports Installer or I will need to do it manually

                  Thanks!

                  MoemM LakotaubpL 2 Replies Last reply Reply Quote 0
                  • MoemM Offline
                    Moem @mpararols
                    last edited by

                    @mpararols Here is what I would try, knowing what I know now:
                    Run the installer. Tick 'first install', untick 'wipe data'. Follow the guidance about TWRP that the installer gives you.

                    If that doesn't do it, you can reflash OxygenOS from the installer (yes you can!), install TWRP on that again, and run it; first do the wipe as described above:

                    Wipe option, format data- select yes

                    And after that, the following:

                    then in advanced wipe repair change system and data to ext4 then reboot.

                    That repair/change system section is easy to overlook. But you may not need to do all that since TWRP is also invoked by the installer during installation, and the messages that I saw on the screen as it was doing its thing led me to believe it does in fact take care of the partitions and their file systems.

                    So I'd first try the Installer again.

                    Is currently using an Op5t
                    Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                    M 1 Reply Last reply Reply Quote 0
                    • stanwoodS Offline
                      stanwood
                      last edited by

                      Maybe half related to this topic, but just to share my experience with UBports installer 0.9.1 Beta (Ubuntu 20.04 snap)

                      I just test a re installation (no wipe) on Vollaphone and Redmi Note 7. Note that both devices were already equipped with Ubuntu Touch OTA-19 Stable.

                      If we follow carefully the instructions of the installer, we first have to connect the device to the computer, and Installer should detect it at first attempt.

                      Vollaphone: recognized without problem
                      Redmi Note 7: recognized as "Halium device arm64" not compatible.

                      First on Vollaphone, I continue the installation, uncheck "Bootstrap partition", select "Ubuntu Touch", then "NEXT".
                      The installer displays "Download 12..13...14 on 14 files", then "Pushing files to device", then "Yikless, something wrong... Try again".
                      At this point, the device is still powered on.
                      So I turn off the device, turn it back on in recovery mode, and select "Try again".
                      The installer repeats the "Pushing files to device" operation, then "Succeed". The Vollaphone displays "Applying update", then restarts. Everything went well. I validate "Pass" in the installer to validate the success of the operation.

                      I then do the same operation with the Redmi Note 7, and the result is identical. I have to restart it in recovery mode for the installation to be successful.(+ select manually the device)

                      I would suggest to add an instruction in the installer asking the user to restart it manually in recovery mode for the installation to continue. (or maybe there was and I didn't see it) Or enable the installer to reboot automatically the device in recovery (?)

                      I hope those clarifications would help users who fail to re-install Ubuntu Touch on their devices....

                      Redmi Note 9S Stable
                      If God has a computer, it must be a GNU/Linux

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

                        @mpararols Appologise for the late reply but @Moem has given you all the info you should need and @stanwood has added a few more hints if needed. Give them a go and if you have any issues just pop back and we will do our very best to get it sorted.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mpararols @Moem
                          last edited by

                          @moem Thank you very much. I have to do it twice, installing Android 9 but finally I get my Ubuntu Touch working!

                          Thanks

                          LakotaubpL MoemM 2 Replies Last reply Reply Quote 1
                          • LakotaubpL Offline
                            Lakotaubp @mpararols
                            last edited by

                            @mpararols Good news and well done.Enjoy

                            1 Reply Last reply Reply Quote 0
                            • MoemM Offline
                              Moem @mpararols
                              last edited by

                              @mpararols Hurray! That is very nice to hear! Congratulations. šŸ„‚

                              Is currently using an Op5t
                              Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                wusa
                                last edited by

                                Hello,
                                I was on a custom ROM and tried to install UT according to instructions.
                                It is an OP3 in my case.

                                First I installed Oxygen OS, booted and enabled USB debugging, etc..
                                Ubports recognizes the phone when plugged in and also through the whole tutorial the phone was always recognized. Also Fastboot or then in TWRP no problems. but it does not go on pushing files. It always comes up with the message connection lost.

                                I tested it with Ubports-installer 0.9.5 on Ubuntu, also with xubuntu. Then also with an older version 0.8.6.

                                I have really tried a lot with the Telegram group, but unfortunately it did not work so far.

                                I have already tried Repair System. Then formatted to EXT4.
                                Device is unlocked.
                                Can someone maybe give me a hint how it could work?

                                Thank you

                                LakotaubpL MrT10001M 2 Replies Last reply Reply Quote 0
                                • LakotaubpL Offline
                                  Lakotaubp @wusa
                                  last edited by

                                  @wusa Have you read through all the thread above including about the not ticking wipe data and what to wipe in TWRP.

                                  W 1 Reply Last reply Reply Quote 0
                                  • MrT10001M Offline
                                    MrT10001 @wusa
                                    last edited by

                                    @wusa When you unlocked the device did you boot back into Android and set it up again?

                                    Xiaomi Redmi Note 7.... And more...
                                    I have too many devices...

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      wusa @Lakotaubp
                                      last edited by wusa

                                      @lakotaubp said in Installing - connection to device lost:

                                      @wusa Have you read through all the thread above including about the not ticking wipe data and what to wipe in TWRP.

                                      If you mean the installer, yes i tried both versions.
                                      First install and wipe data and
                                      First install without wipe data.
                                      Both runs into the same error.

                                      @mrt10001 said in Installing - connection to device lost:

                                      @wusa When you unlocked the device did you boot back into Android and set it up again?

                                      No, first i installed OOS and set everything up.
                                      Than i tried to flash UT. In Fastboot the message tells me the device is unlocked.
                                      I unlocked the device years ago.

                                      MrT10001M LakotaubpL 2 Replies Last reply Reply Quote 0
                                      • MrT10001M Offline
                                        MrT10001 @wusa
                                        last edited by

                                        @wusa I found that devices would lose connection if I did not boot back into Android directly after unlocking and went straight into the UT install (trial and error).

                                        I had an issue on a Oneplu3 where it would not load any ROM. I ended up re downloading the last ROM and installing it piece by piece in fastboot. This worked and then allowed UT to be installed.

                                        Xiaomi Redmi Note 7.... And more...
                                        I have too many devices...

                                        W 1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wusa @MrT10001
                                          last edited by wusa

                                          @mrt10001 said in Installing - connection to device lost:

                                          @wusa I found that devices would lose connection if I did not boot back into Android directly after unlocking and went straight into the UT install (trial and error).

                                          I had an issue on a Oneplu3 where it would not load any ROM. I ended up re downloading the last ROM and installing it piece by piece in fastboot. This worked and then allowed UT to be installed.

                                          I dont know which ROM was my last ROM i tried so many different custom ROMs my whole time i used the phone.
                                          But i also tried to install TWRP through fastboot and i installed OOS again through the console in ubuntu.
                                          Then i did the developer settings and connected my device.
                                          Than i tried the installer again. Everything failed.

                                          I dont know how to proceed now.

                                          Maybe someone can tell me an order how to proceed step by step again.
                                          What I should delete, how and where I should delete, etc.

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

                                            @wusa Not just that. You might have to install TWRP and wipe and format cache, data and system to ext4.

                                            W 1 Reply Last reply Reply Quote 0
                                            • W Offline
                                              wusa @Lakotaubp
                                              last edited by

                                              @lakotaubp said in Installing - connection to device lost:

                                              @wusa Not just that. You might have to install TWRP and wipe and format cache, data and system to ext4.

                                              Data and System are ext4.
                                              Cache i have to check

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