• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.1k 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.
    • M Offline
      mikeglover
      last edited by 12 Apr 2021, 20:38

      Hi,
      This is the first time trying to install UBPorts on my old Oneplus 3T.
      It had the stock OxygenOS 9 and not rooted.
      I first tried the Windows installer. That seems to be completely broken as it says it can't talk to UBPort servers.
      I then moved to linux and tried both Snap, deb and appimage and get further but get the same result.
      When it says its pushing the files to my phone. On the phone itself I have a yellow text Android Recovery screen.
      But I get the following message just over half way through. I've tried 2 USB cables I'm almost certain that it is not loosing connection due to a bad cable or port.
      alt text
      Can any please help?
      What log files do i need to be looking for to get more info?

      ? K 2 Replies Last reply 12 Apr 2021, 20:58 Reply Quote -1
      • ? Offline
        A Former User @mikeglover
        last edited by A Former User 4 Dec 2021, 21:13 12 Apr 2021, 20:58

        @mikeglover first flash twrp and format data to EXT4 and wipe cache and system.

        Edit: or first wipe and then format...?

        M G 2 Replies Last reply 12 Apr 2021, 22:46 Reply Quote 0
        • K Offline
          Keneda @mikeglover
          last edited by 12 Apr 2021, 21:38

          @mikeglover said in Installing - connection to device lost:

          I first tried the Windows installer. That seems to be completely broken as it says it can't talk to UBPort servers.

          Known issue, under watching, see : https://github.com/ubports/ubports-installer/issues/1847

          You can try with last working version : https://github.com/ubports/ubports-installer/releases/tag/0.8.6-beta

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          1 Reply Last reply Reply Quote 0
          • M Offline
            mikeglover @Guest
            last edited by 12 Apr 2021, 22:46

            @thilov Thank you. That did the trick.
            Needs a step in the installer to say to install TWRP then as I didn't know about that.
            Phone is now setup and working good so far. 🙂

            E 1 Reply Last reply 16 Jul 2021, 20:48 Reply Quote 0
            • E Offline
              En Ragegit @mikeglover
              last edited by En Ragegit 16 Jul 2021, 20:48

              @mikeglover Hi, I am currently facing the same issue. I formatted, wiped, formatted again, wiped in whatever order you can imagine, but the result is the same. "Connection lost to device".
              The cable is OK, the USB port is OK, I have used them both to install a number of custom ROMs on a number of devices.

              Could you specify the exact order in which you proceeded with the UT install? (i.e., first format to ext4, then wipe everything eight times, then format as ext4 twice)
              Thanks in advance.

              I have seen a number of posts about this issue. Someone said that the install failed because the only ext4 partition was "cache", and it fills up quickly. However, I reformatted data, system and cache to ext4, countless times, so this suggestion did not work.

              Somewhere else I read something about the data partition being named "userdata", and that you have to format it directly with fastboot [ fastboot format:ext4 userdata ]. Tried this with "data" and "userdata", to no avail.

              The install goes as far as leaving the UT recovery on the phone, but it does not progress from there.

              L 1 Reply Last reply 16 Jul 2021, 21:20 Reply Quote 0
              • L Offline
                Lakotaubp @En Ragegit
                last edited by 16 Jul 2021, 21:20

                @en-ragegit It should all be avilable in the advanced wipe section of twrp. Wipe data and cache format to ext4. Some even wipe system .

                E 1 Reply Last reply 16 Jul 2021, 21:40 Reply Quote 0
                • E Offline
                  En Ragegit @Lakotaubp
                  last edited by En Ragegit 16 Jul 2021, 21:40

                  @lakotaubp
                  Thanks for the reply. Yes, I am familiar with TWRP, I have applied the wipe and reformat functions. My inquiry was about any potential specific order to apply each step, and even if you have to repeat a few, reboot TWRP in between, because I have tried plenty of times, interchanging the order, repeating steps, all to no avail.

                  Tried the .deb installer as well as the appimage.

                  L 1 Reply Last reply 17 Jul 2021, 04:47 Reply Quote 0
                  • L Offline
                    Lakotaubp @En Ragegit
                    last edited by 17 Jul 2021, 04:47

                    @en-ragegit from what I remember in that order wipe everything then format. Then I used wipe and bbotstrap option on the installer with the devel option. Then there is the normal advice on trying another cable or two. Good luck.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      geekyneo @Guest
                      last edited by 19 Jul 2021, 04:50

                      Hi @thilov, @mikeglover

                      Would request you to kindly the steps and the sequence in which the Format/Advance Wipe should be used to successfully install UT on OnePlus 3T.

                      I've tried every sequence possible and those mentioned on the page.

                      I have the same observation as @En-Ragegit .

                      Also do mention the installer version, TWRP version etc.

                      The installer is able to successfully install the Oxygen OS but not UT using the same cable. On installing UT the process ends up saying "Connection to device lost".

                      Also if there is any manual step to perform the installation ?

                      Best Regards

                      ? 1 Reply Last reply 19 Jul 2021, 05:43 Reply Quote 0
                      • ? Offline
                        A Former User @geekyneo
                        last edited by 19 Jul 2021, 05:43

                        @geekyneo
                        No matter what version of twrp I used, this workd for me:

                        1. format Data to ext4
                        2. wipe System, Dalvick, Cache and Internal Storage.
                        G 4 Replies Last reply 19 Jul 2021, 05:49 Reply Quote 0
                        • G Offline
                          geekyneo @Guest
                          last edited by 19 Jul 2021, 05:49

                          Thanks @thilov

                          Trying it now.

                          ? 1 Reply Last reply 19 Jul 2021, 06:56 Reply Quote 0
                          • G Offline
                            geekyneo @Guest
                            last edited by 19 Jul 2021, 06:23

                            @thilov what about the OS ?
                            I mean if a previous installation failed, do I need to install Oxygen OS and then follow your steps or can continue directly after failure ?

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              geekyneo @Guest
                              last edited by 19 Jul 2021, 06:40

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                geekyneo @Guest
                                last edited by 19 Jul 2021, 06:55

                                @thilov

                                Request you to please check logs : https://pastebin.com/E7DXEktC

                                ? 1 Reply Last reply 19 Jul 2021, 06:58 Reply Quote 0
                                • ? Offline
                                  A Former User @geekyneo
                                  last edited by 19 Jul 2021, 06:56

                                  @geekyneo You don't need to install Oxygen OS. Just try it again.
                                  From which distribution are you installing? Some failed with Linux Mint.

                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @geekyneo
                                    last edited by 19 Jul 2021, 06:58

                                    @geekyneo Oh, you are using Windows.... Please try Ubuntu. No installation is necessary. A live system is enough.

                                    G 1 Reply Last reply 19 Jul 2021, 07:51 Reply Quote 0
                                    • G Offline
                                      geekyneo @Guest
                                      last edited by 19 Jul 2021, 07:51

                                      @thilov It's linux Mint(based on Ubuntu). It's not windows...

                                      ? 1 Reply Last reply 19 Jul 2021, 09:02 Reply Quote 0
                                      • ? Offline
                                        A Former User @geekyneo
                                        last edited by A Former User 19 Jul 2021, 09:02

                                        @geekyneo yeah, as I wrote before - some failed with Mint. Try Ubuntu. There is an open issue on Github.

                                        G 3 Replies Last reply 19 Jul 2021, 15:46 Reply Quote 0
                                        • G Offline
                                          geekyneo @Guest
                                          last edited by 19 Jul 2021, 15:46

                                          @thilov , I can confirm that it's failing for UBports snap installer 8.8.0 on Ubuntu 20.04 live machine, with device on Oxygen OS 9.0.6.
                                          I've followed all the wipe/format step as instructed by you.

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            Lakotaubp
                                            last edited by 19 Jul 2021, 16:33

                                            Just as a thought is that version of Oxygen ok for the OP3/3T or would an older version be better. Can't think why but are the partions off in some way? Probably nothing to do with it and the answer is easy but lost for now on this.

                                            G 1 Reply Last reply 20 Jul 2021, 05:51 Reply Quote 0
                                            • First post
                                              Last post