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 2.6k 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

        Hi All,

        I am trying to install on to a Nexus 5. The installer is stuck on the "Flashing firmware..." screen for over half an hour. Is this normal? How long should it take? The install guide gives no indication if I have to wait for a minute, or an hour, or a week!

        The phone has the green android screen showing, with the word 'Start' at the top of the screen.

        I am using Linux Mint 19.3 Cinnamon desktop. The installer is version 0.4.18 - beta.

        Thanks

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

          It should last about 10 minutes, no more.
          Did you install ADB and Fastboot on your computer? If not, open a terminal and type:

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

          Did you activate developer mode as well as enable Android debug bridge?

          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

            I did enable USB Debug and Developer Mode on the phone.

            I only installed the UBPorts installer on my computer, nothing else; I assumed that the installer would have everything, and do everything, that was needed. The web site made no mention of needing to do anything else.
            Sorry if I am sounding stupid.

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

              @BarryT If you run those commands in a terminal as @stanwood said then restart your pc you should be fine.

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

                @BarryT No don't say that ;-). I've got the same experience when I first tried to install UT on my Nexus 5.

                Just install ADB and Fastboot (just as easy as I described above), reboot your N5 in recovery mode, plug it to your computer and run UBports Installer. If your PC is not able to connect to your N5, type in a terminal: sudo fastboot oem unlock. Than start the installation.

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

                1 Reply Last reply Reply Quote 1
                • 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
                                    • First post
                                      Last post