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

    Can't install UT on OnePlus 3T

    Scheduled Pinned Locked Moved Support
    16 Posts 5 Posters 1.8k Views 1 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.
      • P Offline
        Pschit
        last edited by

        I have dual boot on my laptop but tried on both OS: Ubuntu20 and Win10

        1 Reply Last reply Reply Quote 0
        • N Offline
          NoelFlantier
          last edited by

          Have you rooted your phone with superSU?
          I had some trouble installing UT on my oneplus3t too at first, then I followed these instructions and it worked for me :
          https://forum.xda-developers.com/oneplus-3/oneplus-3--3t-cross-device-development/recovery-official-twrp-oneplus-3-3t-t3543391

          P 2 Replies Last reply Reply Quote 0
          • LakotaubpL Offline
            Lakotaubp
            last edited by

            The main reason for your error is that all the partitions and cache need to be cleared and formated with TWRP as in this thread https://forums.ubports.com/topic/3253/oneplus-3-3t/420

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Pschit @NoelFlantier
              last edited by

              @NoelFlantier , Thank you, but I'm stuck at stage 7.

              Terminal tells me: error: cannot load 'twrp.img': No such file or directory
              I've name my file twrp.img but don't know where to put it so the system will find it...
              Any clue ?

              1 Reply Last reply Reply Quote 0
              • P Offline
                Pschit @Lakotaubp
                last edited by

                @Lakotaubp
                Thanks for helping, however I'm new to this and I'm not sure to understand all the meaning of this thread.

                I'm using TWRP App (see screen shot) and it looks quite different from what I've seen online
                WHen I open it, it says: "device not rooted"
                Then I still have the same screen as described before (see screenshot 2)

                Screenshot_20200507-103858.jpg Screenshot_20200507-103840.jpg

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

                  @Pschit No not that one you need to download the twrp recovery for your device use fastboot to install it then clear cache format partitions. I know that sounds complicated.
                  What I would do is read through that thread. You will see where join in and the full explanation is. Take your time, read, then try. I have only done this once and it does appear more complicated than it is. All the links to twrp recovery are in the thread. I'm on mobile so bit awkward to find them just now. Give it a try and just pop back with any questions.

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pschit @NoelFlantier
                    last edited by

                    Hi @NoelFlantier

                    I've manage to go through all steps.
                    What am I supposed to do after that ?
                    Root the phone ? Not sure what/how to do that

                    Thx

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pschit @Lakotaubp
                      last edited by

                      Hi @Lakotaubp ,

                      I managed to install TWRP recovery but don't understand the next step about clearing cache format partition to ext4...
                      I'm stuck there for now, digging,
                      any clue is welcome

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

                        @Pschit Reboot to the now TWRP recovery (vol down and power buttons held together). Use the twrp menu options there to fix system and data and cache. Data and cache should be ext4. Not sure exactly where to find them as only done this once. Then rerun the installer.
                        The other option was to boot to fastboot then when connected to a pc with fastboot type

                        fastboot format :ext4 cache && fastboot format :ext4 data
                        But don't think that worked for me but twrp did. All this is about 6/7 Nov in the OP3/3T thread.

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          Pschit @Lakotaubp
                          last edited by

                          Success !! Thanks @Lakotaubp and @NoelFlantier

                          Here is a short summary of the actions I made:

                          • On PC: - Install "UBPorts" and "Minimal ADB and Fastboot"
                            - Download TWRP recovery image and put it in "ADB and fastboot" folder (in program files for Windows)

                          • On phone: - Change to developer settings, activate debugging USB and OEM unlock
                            - Download SuperSU zip file from chainfire

                          • On PC: in a terminal enter:

                          fastboot flash recovery twrp.img
                          

                          Then

                          fastboot boot twrp.img
                          
                          • On phone: When on bootloader plug your phone to PC's USB so TWRP Recovery will start
                            Click on Install
                            Look for superSU.zip file on your phone
                            Slide the arrow to the right
                            Phone will reboot at least 2 times

                          • On PC ; use again the fastboot boot twrp.img to restart TWRP
                            *On Phone: Click wipe
                            Then Repair and change format to ext4 for "System" "data" and "cache" folders
                            Then back to wipe menu select the 3 folders and slide the arrow to the right

                          • On PC: Launch UBPorts and install Ubuntu Touch

                          • On Phone: When you reach the Android recovery screen, go to Android data> android actions > Full factory reset

                          • On PC: launch installation again if needed

                          Then your done !

                          Helpful pages with download links:
                          https://forum.xda-developers.com/oneplus-3/oneplus-3--3t-cross-device-development/recovery-official-twrp-oneplus-3-3t-t3543391
                          https://forums.ubports.com/topic/3253/oneplus-3-3t/391

                          N LakotaubpL 2 Replies Last reply Reply Quote 1
                          • N Offline
                            NoelFlantier @Pschit
                            last edited by

                            @Pschit congratulations! enjoy UT on your onePlus 3t 🙂

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

                              @Pschit Great☺welldone done now enjoy.

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                CAnoop
                                last edited by

                                @Pschit Congrats on getting this to work. I have been breaking my head on this for sometime . I tried all your steps . After the Android actions-> Full Factory Reset -> Wipe data , it is loads one plus screen and loads to fastboot mode.
                                Also i did small change in your steps i sideloaded supersu.zip through adb and twrp installed directly. Any advice will be helpful.

                                P 1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Pschit @CAnoop
                                  last edited by

                                  Hi @CAnoop,

                                  The only thing I think about regarding your question is that one of your folder has not been properly converted in ext4
                                  Make sure you try them 1 by 1 using "Repair" or "Change" functions
                                  If you have an error message saying you can't convert, then try using other functions of TWRP, you should be able to convert them all 3.

                                  Also, According to what I read in this forum, the "Android actions-> Full Factory Reset -> Wipe data" action is not always necessary.

                                  Good luck !

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