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

    Trouble Installing on Oneplus One (Solved)

    Scheduled Pinned Locked Moved Support
    71 Posts 5 Posters 18.9k 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.
      • LakotaubpL Offline
        Lakotaubp @Edward Wilhelm
        last edited by

        @Edward-Wilhelm You ne3ed to install adb and fastboot on your laptop/pc run these commands in a terminal

        sudo apt update
        sudo apt-get install android-tools-adb android-tools-fastboot

        Then you type

        adb devices

        and the daemon should start and your device be listed. look out for the grant permissions box on the device it is quite small and that should be it. Then just run the installer.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Edward Wilhelm @Lakotaubp
          last edited by

          @Lakotaubp said in Trouble Installing on Oneplus One:

          @Edward-Wilhelm You ne3ed to install adb and fastboot on your laptop/pc run these commands in a terminal

          sudo apt update
          sudo apt-get install android-tools-adb android-tools-fastboot

          Then you type

          adb devices

          and the daemon should start and your device be listed. look out for the grant permissions box on the device it is quite small and that should be it. Then just run the installer.

          I ran what you said successfully in the shell.
          I got this message when finished.

          "List of devices attached

          • daemon not running; starting now at tcp:5037
          • daemon started successfully"

          I retried the installation. It is still stuck.
          The phone says "0_0 Fastboot Mode"
          The Installer says

          "flashing firmware.."
          "flashing firmware partitions using fastboot"

          I do not know what you mean when you say this.
          "look out for the grant permissions box on the device it is quite small and that should be it"

          When I first plug in the phone it gives me the option to swipe to revoke permissions. Is this what you mean?

          KenedaK LakotaubpL 2 Replies Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @Edward Wilhelm
            last edited by Keneda

            @Edward-Wilhelm said in Trouble Installing on Oneplus One:

            I got this message when finished.

            "List of devices attached

            • daemon not running; starting now at tcp:5037
            • daemon started successfully"

            That mean adb server is started and running, but no device is listed here.
            You should see something like that :
            text alternatif

            You must run "ADB device" command after phone is booted and running with dev mod on (+ MTP and debugging also on like said before), and plugged in usb (2.0) to PC.

            If doing this, and still no listed devices, then you have an adb driver problem or a USB cable issue.

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

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Edward Wilhelm @Keneda
              last edited by

              @Keneda said in Trouble Installing on Oneplus One:

              @Edward-Wilhelm said in Trouble Installing on Oneplus One:

              I got this message when finished.

              "List of devices attached

              • daemon not running; starting now at tcp:5037
              • daemon started successfully"

              That mean adb server is started and running, but no device is listed here.
              You should see something like that :
              text alternatif

              You must run "ADB device" command after phone is booted and running with dev mod on (+ MTP and debugging also on like said before), and plugged in usb (2.0) to PC.

              If doing this, and still no listed devices, then you have an adb driver problem or a USB cable issue.

              Okay I re-did it with phone plugged in and in dev mod with adb and MTP.
              The shell replied with this.
              "
              List of devices attached
              adb server version (41) doesn't match this client (39); killing...

              • daemon started successfully
                ******** device
                "
                It is still hung where it says:
                "
                "flashing firmware.."
                "flashing firmware partitions using fastboot"
                "
              KenedaK 1 Reply Last reply Reply Quote 0
              • KenedaK Offline
                Keneda @Edward Wilhelm
                last edited by Keneda

                @Edward-Wilhelm said in Trouble Installing on Oneplus One:

                • daemon started successfully
                  ******** device
                  "
                  It is still hung where it says:
                  "
                  "flashing firmware.."
                  "flashing firmware partitions using fastboot"
                  "

                It's a step forward ^^

                Now try to do the ADB devices command after booting phone in recovery and plugged to PC.

                It should return a ********* recovery like in my image.

                TIP : right after doing an "adb devices" command, whatever result it gives, when you're finished, phone unplugged, type "adb kill-server" so the next time you try an "adb devices" command, adb starts a fresh server and daemon.

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

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  Edward Wilhelm @Keneda
                  last edited by

                  @Keneda

                  Rebooted into recovery mode. The phone screen gives the options to:
                  *reboot system now
                  *apply update
                  *factory reset
                  *advanced

                  Running the kill command gave this:
                  cannot connect to daemon at tcp:5037: Connection refused

                  Running "adb devices" command gave this:

                  List of devices attached
                  adb server version (41) doesn't match this client (39); killing...
                  ADB server didn't ACK
                  Full server startup log: /tmp/adb.1000.log
                  Server had pid: 5661
                  --- adb starting (pid 5661) ---
                  adb I 04-12 10:32:30 5661 5661 main.cpp:57] Android Debug Bridge version 1.0.39
                  adb I 04-12 10:32:30 5661 5661 main.cpp:57] Version 1:8.1.0+r23-5~18.04
                  adb I 04-12 10:32:30 5661 5661 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
                  adb I 04-12 10:32:30 5661 5661 main.cpp:57]
                  adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:416] adb_auth_init...
                  adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:174] read_key_file '/home/wisian/.android/adbkey'...
                  adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:391] adb_auth_inotify_init...
                  adb server killed by remote request

                  • failed to start daemon
                    error: cannot connect to daemon
                  1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @Edward Wilhelm
                    last edited by

                    @Edward-Wilhelm You need to give permission for the adb connection to work with the device. You could revoke all other connections and try again. I would just boot the phone into normal mode, connect it to pc/laptop and start the installer. Watch both installer and device closely. Accept the connection on the device when it asks then just follow the installer instructions.

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      Edward Wilhelm @Lakotaubp
                      last edited by

                      @Lakotaubp said in Trouble Installing on Oneplus One:

                      @Edward-Wilhelm You need to give permission for the adb connection to work with the device. You could revoke all other connections and try again. I would just boot the phone into normal mode, connect it to pc/laptop and start the installer. Watch both installer and device closely. Accept the connection on the device when it asks then just follow the installer instructions.

                      I do not understand what you mean. I enabled the MTP and ADB and dev mode. I installed the fast boot. I run the installer. The phone says
                      "fastboot mode"
                      the installer says it is flashing the device. It stays like that and nothing changes.
                      I have followed all the instructions I could find.

                      The website says this
                      " Installing Ubuntu Touch is Easy

                      With the UBports installer, you can get Ubuntu Touch on your device without breaking a sweat. You can use any computer to run the installer. Simply plug in your device and follow the on-screen instructions. Then sit back and let your computer do all the work. "

                      I do not know what to do now. I have done everything the installer said to do.

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

                        @Edward-Wilhelm Can you try a few other usb cables. It seems the connection between you pc/laptop and device is not working somehow.
                        Before you do that. Stop the installer and with the device in fastboot mode type in a terminal

                        Fastboot devices

                        Is your device listed? If yes we need to look elsewhere if not that is the issue.

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

                          Also have a look here it was very similar to your issue https://forums.ubports.com/topic/4033/oneplus-one-installation-trouble/2
                          Are you using the snap version of the installer? AS you can see the progress of installing in the terminal as it runs. Might give you another clue.

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            Edward Wilhelm @Lakotaubp
                            last edited by

                            @Lakotaubp said in Trouble Installing on Oneplus One:

                            @Edward-Wilhelm Can you try a few other usb cables. It seems the connection between you pc/laptop and device is not working somehow.
                            Before you do that. Stop the installer and with the device in fastboot mode type in a terminal

                            Fastboot devices

                            Is your device listed? If yes we need to look elsewhere if not that is the issue.

                            running "fastboot devices" gives:

                            no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] fastboot

                            I could not get the snap version to run. It installed, but when I tried to run it, it said there was an error and that something must have gone wrong during the installation. I have since removed the snap version. I am now running the debian package version.

                            LakotaubpL 2 Replies Last reply Reply Quote 0
                            • LakotaubpL Offline
                              Lakotaubp @Edward Wilhelm
                              last edited by

                              @Edward-Wilhelm Right, that's what needs fixing, fastboot has not the permission to access the device. Give me a minute to re-read through.

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

                                @Edward-Wilhelm Open a terminal and rerun the sudo apt update and sudo apt-get install commands from above again. When that's done in a terminal type sudo fastboot OEM unlock
                                Then try again.

                                E 1 Reply Last reply Reply Quote 0
                                • E Offline
                                  Edward Wilhelm @Lakotaubp
                                  last edited by Edward Wilhelm

                                  @Lakotaubp

                                  okay ran:

                                  sudo apt update and sudo apt-get install commands from above again

                                  then:

                                  adb devices
                                  List of devices attached

                                  • daemon not running; starting now at tcp:5037
                                  • daemon started successfully
                                    ******** device

                                  next ran sudo fastboot OEM unlock
                                  it returned that it was waiting for any device

                                  then I ran the installer and it returned:
                                  fastboot: usage: unknown command OEM

                                  LakotaubpL 1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Edward Wilhelm
                                    last edited by

                                    Does anyone have a liveboot OS that has everything needed to run install out of the box?

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

                                      @Edward-Wilhelm Sorry. Put your device in fastboot then run in terminal sudo fastboot oem unlock

                                      E 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Edward Wilhelm @Lakotaubp
                                        last edited by

                                        @Lakotaubp
                                        It still returned:
                                        fastboot: usage: unknown command OEM

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

                                          @Edward-Wilhelm Have you tried a few usb cables and ports

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

                                            And I guess fastboot devices still returns the same error as before.

                                            E 1 Reply Last reply Reply Quote 0
                                            • R Offline
                                              Rondarius
                                              last edited by

                                              what happens if you write oem instead of OEM?

                                              4 Google Pixel 3A
                                              1 Google Nexus 6P
                                              2 Google Nexus 5
                                              2 Pinephones
                                              2 Sony Xperia X

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