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 @RapidRotator
        last edited by Moem

        @rapidrotator said in Installing - connection to device lost:

        I had the same problem and decided to try and solve it by formatting both /data and /system. TWRP provides buttons to change the filesystem type for any partition, but afaik not to format any partition except /data.

        This is the problem I seem to be running into today. The installer said something about needing to format both of these partitions, but I could not find where to do it in TWRP so I skipped it. This appears to have been a mistake. The phone can now not boot into any OS. (Not a drama as it was very cheap)

        Is there any way to fix this without terminal use? If not, is there any link or information that explains how precisely this is done through the terminal? The instructions as given here make my head spin, I'm afraid.
        Any sentence that starts with 'You can use the shell...' makes my inner technophobe shout 'No I &%$ well cannot'. 😵

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

          @moem you can just boot back to twrp and you need to look under advanced wipe otptions. Clear format to ext4 cache and data. Then try again. You might need to do system as well.

          MoemM M 3 Replies Last reply Reply Quote 0
          • MoemM Offline
            Moem @Lakotaubp
            last edited by Moem

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • MoemM Offline
              Moem @Lakotaubp
              last edited by Moem

              @lakotaubp said in Installing - connection to device lost:

              under advanced wipe otptions. Clear format to ext4 cache and data. Then try again. You might need to do system as well.

              Okay, I managed to do this. But I'm still getting the same error:
              Installing - connection to device lost

              And it also pops up a notification about not being able to mount something. Here's an example, but the numbers differ a bit:

              mtpdevice.png

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

                The installer offered to reinstall OxygenOS, and that worked! So at least the thing boots again. More experiments to follow soon.

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

                  @moem Original thread https://forums.ubports.com/topic/3253/oneplus-3-3t/616 very long and a bit of a ramble. Start at about 5th Nov.

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

                    @lakotaubp I don't see anything relevant in that thread... maybe I'm missing something?

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

                      @moem https://forums.ubports.com/topic/3253/oneplus-3-3t/59 fromm the 5th Nov 2019 is where the first mention of using TWRP starts down to about 19th it might give some hints on how to sort it.

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

                        @lakotaubp Ah, THAT fifth of November! Will check, thank you.

                        Edit: I see a lot of mentions of using TWRP for wiping cache/data/system partitions... which I have done at least five times today in different ways. šŸ˜•
                        No success yet.

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

                          @moem Just found this
                          libremax Just trying to think what I did with twrp. Wipe option, format data-select yes, then in advanced wipe repair change system and data to ext4 then reboot. Then just ran the installer with wipe and bootstrap, booted to fastboot then recovery for the rest. I do remember it took ages for the spinning circles to appear to say it was flashing the device. Remember thinking it had not worked at first. Maybe leave it a little longer rather than force reboot but bit confused I must admit.

                          But that's about all. Will keep looking

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

                            @lakotaubp said in Installing - connection to device lost:

                            Then just ran the installer with wipe and bootstrap,

                            I know about the wipe, but what is the bootstrap?
                            It does not take long at all to tell me it's flashing. It always fails during the 'pushing files to the device' phase. And I never try to reboot at all... there is, after all, nothing to reboot.

                            Thank you for your time!

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

                              @moem It was an option given in the installer is it not there now? Also found this from Flohack

                              FlohackFlohack 31 Jan 2021, 08:34
                              @sven Also delete system partition to be sure šŸ˜‰ - If there was encryption used for data before, it needs to be formatted, a simple wipe wont work.

                              Might not help but explains why.

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

                                @lakotaubp said in Installing - connection to device lost:

                                It was an option given in the installer is it not there now?

                                I see two options: First Install (tick if the device was running Android before) and Wipe Data. Dalton advised me to tick them both.

                                I've wiped all the things.... so many times. And done a factory reset, and reinstalled Oxygen. All partitions show up as Ext4.
                                I don't by now even remember what I've tried. šŸ˜•

                                LakotaubpL C 2 Replies Last reply Reply Quote 0
                                • LakotaubpL Offline
                                  Lakotaubp @Moem
                                  last edited by

                                  @moem Sounds like time for a break and come back fresh. Packing in for today soon myself . Good luck and will keep thinking.

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

                                    @lakotaubp said in Installing - connection to device lost:

                                    Sounds like time for a break and come back fresh.

                                    You are most likely right. Thank you, again, for your time!

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cela @Moem
                                      last edited by cela

                                      @moem I found that it is better to tick "First Install" regardless, then the installer guides you through what you need to do in TWRP recovery to prep the partitions, I also found that if you untick "Wipe Data" the install completes to 100%, otherwise I get the connection lost dialog at around 75% if I tick "Wipe Data".

                                      I can 100% complete the install every time now but my device freezes on the 2nd reboot after install.

                                      I am using UBports installer version 0.8.6 beta on Endeavour OS. It might help if anyone has success to let everyone know which installer version they are using and on what OS.

                                      I am thinking of getting access to a Windows machine to see if it makes a difference, I have tried different usb cables in both front and rear USB ports.

                                      2x UBported Nexus 5 LG-D821

                                      MoemM LakotaubpL 2 Replies Last reply Reply Quote 1
                                      • 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.

                                        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
                                              • First post
                                                Last post