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 28.0k 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.
      • 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
        🇲🇫🇬🇧

        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
                                      • E Offline
                                        Edward Wilhelm @Rondarius
                                        last edited by

                                        @Rondarius
                                        It returns:
                                        < waiting for any device >

                                        and then waits for a response

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

                                          @Lakotaubp
                                          I have now tried two different cables in two different ports

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

                                            @Edward-Wilhelm What needs sorting is the udev rules. That link that came up after your error message shows you how. It's something I have never done I must admit.

                                            http://developer.android.com/tools/device.html

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

                                              @Lakotaubp
                                              Okay. My brother let me use his computer that is running pop os. I installed snap, fastboot, the ubuntu installer from within snap etc. I ran the installation on the phone and everything appeared to be working. It prompted me in the gui to run unblock oem which I did. The phone went through several different screens including loading 142 of something, and an android graphic that said erasing. It rebooted itself a couple times. The phone screen is now black, but a light on the front of the phone is flashing various colours. The installer says "flashing firmware...". It has been stuck like this for a while now. Do you think the installation process is working? How long should it stay like this?

                                              1 Reply Last reply Reply Quote 0

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better 💗

                                              Register Login
                                              • First post
                                                Last post