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

    How long should an install take?

    Scheduled Pinned Locked Moved Support
    15 Posts 5 Posters 4.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.
    • B Offline
      BarryT
      last edited by BarryT

      Hi Guys,

      Thanks for all the help. I have done all that you suggest but, unfortunately, I'm still no further forward: the installer still stops at the 'Flashing firmware...' screen. I have tried two different computers and two different USB cables. I am clearly missing something that you guys consider obvious, so could we go back to first principles; could some one please answer the following in detail:-

      • How do I set up the computer for the installer?
      • How do I set up the phone ready for installation?
      • What are the steps for using the installer software, and in what order? (The video on the web site is out of date).
      • What should I see on the computer and phone screens?

      It is a shame that the UBPorts team have removed the link to manual install steps, as using the terminal may have given some clues as to what is going wrong. The simple installer gives no feedback.

      Thanks again,
      Barry T

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @BarryT
        last edited by

        @BarryT It shouldn't take long to flash, 5-15 mins overall maybe. I've no Nexus 5 experience but there are plenty of others here who I'm sure will help you. Try starting the installer from terminal to get a bit of feedback. Command: ubports-installer

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

          Hi @BarryT
          I have flashed a couple of Nexus 5, but only on Ubuntu distros, I have no experience with Linux Mint though. But lets give it a try.

          Computer:
          Install adb, fastboot and Ubports installer.
          Reboot your computer. Make sure that only one version of adb and fastboot is installed, there could be some very strange behavior during installation if you have two or more versions installed.

          Phone:
          Activate Developer Mode.
          Allow Usb debug

          Edit Connect your phone to the computer.

          Terminal:
          adb reboot bootloader

          Or

          Turn off your phone.
          Press both Volume Down and Power buttons simultaneous until the green android figure appears.

          Terminal:

          fastboot oem unlock
          fastboot reboot bootloader

          Check if the computer detects the phone:

          Terminal:

          fastboot devices

          It should output something like this:

          0923db4e021ffb19 fastboot

          Start the ubports installer and follow the steps.

          If this doesn’t install UT on the device run a live image of Ubuntu and install UT through it instead.

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

          1 Reply Last reply Reply Quote 0
          • B Offline
            BarryT
            last edited by

            Hi @Rondarius

            The terminal command

            fastboot devices

            gave

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

            It looks like the installation of the installer software did not set up the udev rules correctly; it said it would do this automatically during the installation of the software. How do I set up udev rules manually?

            Thanks,
            Barry T

            LakotaubpL ? stanwoodS 3 Replies Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @BarryT
              last edited by

              @BarryT Remove and reinstall adb and fastboot and reinstall should help

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @BarryT
                last edited by

                @BarryT In the past this info always sorted udev rules problems for me. Clear and easy to understand!

                https://gist.github.com/smac89/251368c8df2ccd645baedc3e1238fdb4

                1 Reply Last reply Reply Quote 0
                • stanwoodS Offline
                  stanwood @BarryT
                  last edited by stanwood

                  @BarryT Maybe a permission issue (?) Have you tried « sudo fastboot devices»?

                  Redmi Note 9S Stable
                  If God has a computer, it must be a GNU/Linux

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BarryT
                    last edited by

                    Success! I have a working phone!

                    The problem was caused by the file
                    /etc/udev/rules.d/51-android.rules
                    being missing; it was not created during the installation of the UBPorts Installer software. I followed this link to manually create the missing file, and then manually add the udev rules. After that everything worked as expected.

                    http://docs.ubports.com/en/latest/userguide/install.html

                    I would expect the UBPorts Installer to check and throw an error if the udev rules are missing. I will register a bug against the installer.

                    Thanks to everyone for all your help.
                    Regards,
                    Barry T

                    ? stanwoodS 2 Replies Last reply Reply Quote 2
                    • ? Offline
                      A Former User @BarryT
                      last edited by

                      @BarryT Congratulations!! Well done !!

                      1 Reply Last reply Reply Quote 0
                      • stanwoodS Offline
                        stanwood @BarryT
                        last edited by

                        @BarryT Great! 🙂 Indeed, I suppose that UT Installer should be able to detect any missing rules as it's designed to be used by ordinary users & newbies.

                        Redmi Note 9S Stable
                        If God has a computer, it must be a GNU/Linux

                        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