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

Cannot install UT on my One plus one

Scheduled Pinned Locked Moved Oneplus One
60 Posts 6 Posters 9.8k Views 2 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.
    • R Offline
      regular_guy
      last edited by regular_guy 17 Feb 2023, 12:55

      Hello guys, i am new to the forum. I need your help.
      I was very enthusiastic about using Ubuntu Touch, but i have to admit the installation is challenging to me.

      Here is what i tried so far:
      I installed Minimal ADB Fastboot on my Windows PC
      I have enabled Developer mode, along with ABD over network everytime i reboot

      I had trouble with using UBports installer, sometimes it asked for ffmpeg.dll
      I've downloaded it and put it in the same folder with ubports-installer.
      Didnt have trouble with that since then.

      I have a quality usb cable connected to my phone from my pc. I dont think that is an issue.
      5147348c-fffb-47f2-8542-160d05a6f164-image.png

      Once i start up the UBport installer it automatically recognizes my phone
      (Note: I havent flashed my OS, or reset it to fabric settings/wiped Would that be an issue?)

      56dc8591-3c6d-4ab9-93dd-45d9a209f901-image.png
      I tried different options on this this step including: trying different channels, starting and install without either "Wipe Userdata" or without "Bootstrap"

      When i go to the option without Bootstrap, it automatically gets me into recovery mode on my phone...

      9cf03bf2-633f-4bc5-864f-afd12fb96cd0-image.png
      Ubport Installer is searching for device continuously, while on my Phone i have in recovery mode a few options now:

      • Reboot system now
      • Apply update
      • Factory reset
      • Advanced

      I usually go with "Apply update" option > "Apply from ADB" Then it gives me the ADB Sideload screen
      924df72c-6b5a-490e-9037-a605485c5bbf-image.png
      This is what i get as a result of trying to install, i will copy paste the error message

      Error: adb:preparesystemimage:  Error :  {"error":{"code":1, "cmd" : "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2ESF6YwUwSZQEc14I55fIb1nr2x\\resources\\app.asar.unpacked\\node_modules\\android-tools-bin\\dist\\win32\\x86\\adb.exe - P 5037 shell 
       mkdir -p /cache/recovery"}, "stderr":"error: closed"}
      

      All i can do from there is cancel the sideload and reboot my phone.

      If i go with Boostrap, it just gets me to the window with name "Fast Bootloader" or something like that and its stuck forever on that screen while on UBport loader is updating firmware...

      I must have missed something or havent installed it... hope what i shared with you can help you help me.

      Thanks in advance

      Edit: I also recieved this error just now, on this step:

      a5edd44e-8c5a-46a2-a6a1-0dc5e1d48f9f-image.png

      I L 2 Replies Last reply 17 Feb 2023, 13:13 Reply Quote 0
      • I Offline
        ikoz @regular_guy
        last edited by 17 Feb 2023, 13:13

        @regular_guy I had this issue with Windows too. Try on Ubuntu or on a VM with shared USB ports.

        May the source be with you

        R 1 Reply Last reply 17 Feb 2023, 13:44 Reply Quote 0
        • R Offline
          regular_guy @ikoz
          last edited by 17 Feb 2023, 13:44

          @ikoz said in Cannot install UT on my One plus one:

          @regular_guy I had this issue with Windows too. Try on Ubuntu or on a VM with shared USB ports.

          So you think Windows may be the culprit? Thank you. I will try that solution rn with some VM/usb Ubuntu

          M 1 Reply Last reply 17 Feb 2023, 14:02 Reply Quote 0
          • M Offline
            MrT10001 @regular_guy
            last edited by 17 Feb 2023, 14:02

            @regular_guy It will install on Windows. The mistake most people make is installing old or wrong drivers. Download and install Android Studio. This will put the latest Fastboot and ADB drivers on your system. Then navigate to the Platform-Tools folder (which is usually hidden in Windows) and run anything you need to use ADB and Fastboot from there in terminal (but NOT the UT installer).

            If this is your first time installing UT, don't get involved with the command line as it will tie you in knots.

            The OnePlus ONE is a legacy device and is really easy to install too (I have had an issue once). Go into recovery and advanced. Clear Cache and Data. Reboot to the boot loader. Disconnect the device, start the UT installer, plug the device back in and in the Choose Your Device box choose the Oneplus One and follow the instructions.

            Unless it goes badly wrong and you have to wipe and reinstall Android you don't need the command line with this device.

            Don't run the UT installer from the command line as it cause permissions issues. Tick the boxes for the Fastboot bootstrap and wipe data on the installer, this is important on the first install and the fastboot bootstrap is important on all installs.

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

            1 Reply Last reply Reply Quote 0
            • L Offline
              Lakotaubp @regular_guy
              last edited by 17 Feb 2023, 15:08

              @regular_guy As you haven't mentioned it just double checking the bootloader is unlocked and that is was on the original OS before you started.

              R 1 Reply Last reply 17 Feb 2023, 16:36 Reply Quote 0
              • R Offline
                regular_guy @Lakotaubp
                last edited by regular_guy 17 Feb 2023, 16:36

                @lakotaubp Yes exactly. But since i am doubting everything might be good to double check

                Edit: I checked everything, bootloader was on. The OS is Cyanogen OS version 13.1.2
                Android Version: 6.0.1

                L 1 Reply Last reply 17 Feb 2023, 17:05 Reply Quote 0
                • L Offline
                  Lakotaubp @regular_guy
                  last edited by 17 Feb 2023, 17:05

                  @regular_guy By on do you mean unlocked? which is what is needed.

                  R 1 Reply Last reply 17 Feb 2023, 17:33 Reply Quote 0
                  • R Offline
                    regular_guy @Lakotaubp
                    last edited by regular_guy 17 Feb 2023, 17:33

                    @lakotaubp Yes.
                    @MrT10001 Does Android studio install the drivers by default or do i have to install them?
                    When i go into Recovery mode > Advanced i dont have the option to Clear Cache and Data

                    M 1 Reply Last reply 17 Feb 2023, 17:40 Reply Quote 0
                    • M Offline
                      MrT10001 @regular_guy
                      last edited by 17 Feb 2023, 17:40

                      @regular_guy It might be Factory reset . Android Studio gives you the drivers by default. However, install Android Studio and try again.

                      For the nay sayers, since I have installed Android Studio, I have had very few if any issues with Fastboot and ADB. I messed around at the start of my road with phones and tablets and installed many different drivers and had loads of issues. Installing Android Studio has been a boon for me.

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

                      R 1 Reply Last reply 17 Feb 2023, 18:08 Reply Quote 0
                      • R Offline
                        regular_guy @MrT10001
                        last edited by 17 Feb 2023, 18:08

                        @mrt10001 In Factory Reset theres two options
                        -Full factory reset
                        -Wipe cache partition

                        I went with the second option just few minutes ago, rebooted and started the process all over again, still : Fastboot Mode stuck screen, UBports still looking for the device...

                        M L 2 Replies Last reply 17 Feb 2023, 18:33 Reply Quote 0
                        • M Offline
                          MrT10001 @regular_guy
                          last edited by 17 Feb 2023, 18:33

                          @regular_guy unplug the device and plug it back in again at that point.

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

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            Lakotaubp @regular_guy
                            last edited by 17 Feb 2023, 18:47

                            @regular_guy and or try another usb cable.

                            MoemM 1 Reply Last reply 17 Feb 2023, 18:53 Reply Quote 0
                            • MoemM Offline
                              Moem @Lakotaubp
                              last edited by 17 Feb 2023, 18:53

                              @lakotaubp said in Cannot install UT on my One plus one:

                              try another usb cable

                              and/or a different USB port.

                              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.

                              C 1 Reply Last reply 17 Feb 2023, 20:07 Reply Quote 0
                              • C Offline
                                chris_bavaria @Moem
                                last edited by 17 Feb 2023, 20:07

                                @moem
                                Or try plugging in a USB 2.0 hub. It may be due to usb 3.0.

                                Redmi Note 9 pro (UT 20.04 OTA-5) with Legion5 (Ubuntu 23.10)

                                R 1 Reply Last reply 17 Feb 2023, 20:26 Reply Quote 0
                                • R Offline
                                  regular_guy @chris_bavaria
                                  last edited by 17 Feb 2023, 20:26

                                  @chris_bavaria I've tried all the different solutions you guys suggested with usb ports previously.
                                  Got the same errors, i am going to try to boot it from Ubuntu in Virtual Box.

                                  On another note i didnt update Win 10 with the latest update, so that possibly might be an issue...

                                  M 1 Reply Last reply 17 Feb 2023, 20:33 Reply Quote 0
                                  • M Offline
                                    MrT10001 @regular_guy
                                    last edited by 17 Feb 2023, 20:33

                                    @regular_guy Try it, but it shouldn't make a difference.

                                    I would be tempted to start from scratch. Re-install Android, then try again. That way you can go back and see at which point causes the issue (done this a few times, esp on the Xiaomi phones).

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

                                    R 1 Reply Last reply 18 Feb 2023, 10:39 Reply Quote 0
                                    • R Offline
                                      regular_guy @MrT10001
                                      last edited by 18 Feb 2023, 10:39

                                      @mrt10001 Flashed the OS and its still stuck on both UBports and Fastboot mode...
                                      I am clueless on how to do this at this point to be honest, such a shame i really wanted a Linux distro phone...

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        regular_guy
                                        last edited by 18 Feb 2023, 11:44

                                        I think the problem is with ADB and Fastboot, drivers probably simply dont work.

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          regular_guy
                                          last edited by regular_guy 18 Feb 2023, 12:18

                                          I tried another solution on my different PC. When i try to run "fastboot devices" from PowerShell it gives me a response of unrecognized commands. So both of my PCs dont seem to recognize the drivers. One of the drivers i tried to install manually onto my OnePlus said that these drivers are too new for this phone
                                          Edit: I was almost successful, it started flashing my phone before getting another error.

                                          Would downloading older versions of UBports might help perhaps?

                                          M 1 Reply Last reply 18 Feb 2023, 13:12 Reply Quote 0
                                          • M Offline
                                            MrT10001 @regular_guy
                                            last edited by MrT10001 18 Feb 2023, 13:12

                                            @regular_guy Not really. What is your PC running, Windows or Linux (or MacOS)? I have used all three with very few issues. If it is Windows 7, ditch it and upgrade to Windows 10 (you can do this with your windows 7 license key as windows 7 is way past it's use by date).

                                            The UT installer 0.9.7 is working fine with all devices I have flashed.

                                            The OnePlus One should install pretty much straightforwardly. So... Take steps back.

                                            Install Android Studio (on Windows or Linux) that will give you the latest drivers for ADB and fastboot. They rarely cause problems with old devices (I have absolutely none with my Moto G's etc.)

                                            Ensure the boot loader is unlocked (which it is as you are getting so far).

                                            Install TWRP: download from here.

                                            Install TWRP from the bootloader using :

                                            fastboot flash recovery <location of your TWRP img.>
                                            

                                            Then at the bootloader select recovery.

                                            In TWRP go to WIPE and format the data partition.

                                            Go back to home screen and WIPE and choose Advanced wipe. Select DATA and choose to repair or change file system. MAKE SURE IT IS ON EXT4. If it is on something else UT will fail to install with odd errors.

                                            GO back to the TWRP HOME page and and WIPE, Advanced wipe and tick the Cache, System and DALVIK/CACHE boxes and wipe them.

                                            Reboot to the bootloader and try the UT installer again.

                                            If it fails you need to reinstall Android CM 13.1.2 on the device and start again.

                                            If you have had a custom ROM on the device in its past history, this can alter the partition size and UT won't install. Reverting to stock Android for that device usually resolves.

                                            EDIT:

                                            You must run terminal from the folder where the fastboot and ADB drivers are, so if you have installed Android Studio and you are on Windows, unhide your hidden folders and navigate to:

                                            C:\Users\<user name>\AppData\Local\Android\Sdk\platform-tools
                                            

                                            Read here to go back to Stock:

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

                                            R 2 Replies Last reply 21 Feb 2023, 19:10 Reply Quote 0
                                            1 out of 60
                                            • First post
                                              1/60
                                              Last post