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

    UBPorts Installer and stock unlocked Nexus 5 - can't install

    Scheduled Pinned Locked Moved Support
    26 Posts 4 Posters 4.3k Views 1 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.
      • advocatuxA Offline
        advocatux @touchyfeely
        last edited by advocatux

        @touchyfeely when the installer calls fastboot, does it work properly? If it fails, is there anything relevant in the installer log?

        I can only add that when all the necessary software is in place, it could be a problem with the usb cable. I can't count how many installation have failed for that reason (sometimes using another usb port also helps)

        touchyfeelyT 1 Reply Last reply Reply Quote 0
        • touchyfeelyT Offline
          touchyfeely @advocatux
          last edited by

          @advocatux I've used this same cable to reimage/flash the Nexus 5. The cable works, AFAICT. 🙂 The installer recognizes the Nexus 5. I select my install options, and then the phone reboots to the bootloader. I think that's from calling fastboot to reboot the phone to the bootloader, correct?

          Where would I find the UBPorts Installer log for Mac? I'll pull that and see if that explains why it's not working.

          advocatuxA 1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @touchyfeely
            last edited by

            @touchyfeely I don't know where the installer puts the log in a Mac, sorry. Can you look for "ubports" or "ubports-installer"?

            To give you a general idea, deb log is in ~/.cache/ubports, snap log is in ~/snap/ubports-installer/current/.cache/ubports and in Windows is some place in %APPDATA%

            1 Reply Last reply Reply Quote 0
            • touchyfeelyT Offline
              touchyfeely
              last edited by

              @advocatux I'm not in front of the Macbook right now, but I'll see what the logs say when I am, and I'll post here.

              advocatuxA 1 Reply Last reply Reply Quote 1
              • advocatuxA Offline
                advocatux @touchyfeely
                last edited by

                @touchyfeely look, only 21 minutes ago https://forums.ubports.com/post/13338 XD

                1 Reply Last reply Reply Quote 0
                • touchyfeelyT Offline
                  touchyfeely
                  last edited by

                  @advocatux Well, I'll certainly try another USB cable - just in case - but, as I pointed out earlier, if it really was the cable, I would think it would've given me grief when I reflashed the Nexus 5 back to the stock Android 6.0.1 from Google, right? Or, for instance, when I flashed LineageOS on it yesterday, right?

                  advocatuxA 1 Reply Last reply Reply Quote 0
                  • advocatuxA Offline
                    advocatux @touchyfeely
                    last edited by

                    @touchyfeely from my experience helping in the Install group, I can tell you that ubports-installer is a lot more picky with usb cables than any other installer 🙂

                    1 Reply Last reply Reply Quote 0
                    • touchyfeelyT Offline
                      touchyfeely
                      last edited by

                      @advocatux Here's the output from a terminal from macOS 10.13 (High Sierra):

                      gondor:~ wls$ which adb
                      /usr/local/bin/adb
                      gondor:~ wls$ which fastboot
                      /usr/local/bin/fastboot

                      gondor:~ wls$ adb devices
                      List of devices attached

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

                      The UBPorts log is under /Users/<username>/Library/Caches/ubports/ubports-installer.log

                      From the log:

                      {"level":"debug","message":"adb shell: echo 1","timestamp":"2018-10-13T01:03:08.934Z"}
                      {"message":"Command failed: /var/folders/lj/hr4c1zyx4hq5g3hxkhv3vm6m0000gn/T/.com.ubports.installer.K7e0Ud -P 5038 shell echo 1\nerror: no devices/emulators found\n","stack":"Error: Command failed: /var/folders/lj/hr4c1zyx4hq5g3hxkhv3vm6m0000gn/T/.com.ubports.installer.K7e0Ud -P 5038 shell echo 1\nerror: no devices/emulators found\n\n at ChildProcess.exithandler (child_process.js:282:12)\n at emitTwo (events.js:125:13)\n at ChildProcess.emit (events.js:213:7)\n at maybeClose (internal/child_process.js:921:16)\n at Socket.stream.socket.on (internal/child_process.js:348:11)\n at emitOne (events.js:115:13)\n at Socket.emit (events.js:210:7)\n at Pipe._handle.close [as _onclose] (net.js:549:12)","killed":false,"code":1,"signal":null,"cmd":"/var/folders/lj/hr4c1zyx4hq5g3hxkhv3vm6m0000gn/T/.com.ubports.installer.K7e0Ud -P 5038 shell echo 1","level":"debug","timestamp":"2018-10-13T01:03:09.051Z"}
                      {"level":"debug","message":"adb shell: echo 1","timestamp":"2018-10-13T01:03:10.064Z"}
                      {"level":"debug","message":"","timestamp":"2018-10-13T01:03:10.223Z"}
                      {"level":"debug","message":"adb shell: getprop ro.product.device","timestamp":"2018-10-13T01:03:10.226Z"}
                      {"level":"debug","message":"","timestamp":"2018-10-13T01:03:10.406Z"}
                      {"level":"debug","message":"getprop: hammerhead","timestamp":"2018-10-13T01:03:10.408Z"}
                      {"level":"debug","message":"adb shell: cat /etc/system-image/channel.ini","timestamp":"2018-10-13T01:03:12.095Z"}
                      {"level":"debug","message":"","timestamp":"2018-10-13T01:03:12.298Z"}
                      {"level":"debug","message":"adb shell: echo 1","timestamp":"2018-10-13T01:03:28.076Z"}
                      {"level":"debug","message":"","timestamp":"2018-10-13T01:03:28.264Z"}
                      {"level":"debug","message":"reboot to bootloader","timestamp":"2018-10-13T01:03:28.277Z"}
                      {"level":"debug","message":"","timestamp":"2018-10-13T01:03:28.867Z"}
                      {"level":"debug","message":"reboot to bootloader [DONE] err:null","timestamp":"2018-10-13T01:03:28.868Z"}
                      {"level":"debug","message":"checking password","timestamp":"2018-10-13T01:03:33.845Z"}
                      {"level":"debug","message":"correct password","timestamp":"2018-10-13T01:03:34.969Z"}
                      {"level":"debug","message":"fastboot: wait for device","timestamp":"2018-10-13T01:03:34.971Z"}

                      1 Reply Last reply Reply Quote 0
                      • touchyfeelyT Offline
                        touchyfeely
                        last edited by

                        It's also worth noting that the "Report a Bug" button on the installer, at least on my Macbook, doesn't do anything you'd expect - like, open a webpage to report a bug.

                        1 Reply Last reply Reply Quote 0
                        • touchyfeelyT Offline
                          touchyfeely
                          last edited by

                          Also, to note, while UBPorts Installer is waiting, I can fire up a terminal and run the following:

                          gondor:~ wls$ fastboot devices
                          093f6271006d0ccd fastboot

                          1 Reply Last reply Reply Quote 0
                          • touchyfeelyT Offline
                            touchyfeely
                            last edited by

                            So, the work-around I mentioned above actually works. After trying the SNAP UBPorts Installer on my Debian Sid box, and essentially getting the same results as the macOS counterpart, I decided to try this:

                            wls@rivendell:~/Downloads$ sudo /usr/bin/ubuntu-device-flash --server=http://system-image.ubports.com touch --device=hammerhead --channel=ubports-touch/16.04/stable --bootstrap --wipe
                            2018/10/12 20:24:03 Device is |hammerhead|
                            2018/10/12 20:24:04 Flashing version 3 from ubports-touch/16.04/stable channel and server http://system-image.ubports.com to device hammerhead
                            56.60 MB / 56.60 MB [====================================================================================================================================================] 100.00 % 8.42 MB/s
                            378.89 MB / 378.89 MB [==================================================================================================================================================] 100.00 % 7.45 MB/s
                            /root/.cache/ubuntuimages/ubports-touch/16.04/stable/hammerhead/version-3.tar.xz
                            /root/.cache/ubuntuimages/gpg/image-master.tar.xz
                            /root/.cache/ubuntuimages/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz
                            /root/.cache/ubuntuimages/gpg/image-signing.tar.xz
                            /root/.cache/ubuntuimages/pool/device-964a84f55b03eca87dacd34dffc9c61c4b50ae471c6b675eafdc2a2eacfad29c.tar.xz
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/ubports-touch/16.04/stable/hammerhead/version-3.tar.xz to device
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/gpg/image-master.tar.xz to device
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz to device
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/pool/device-964a84f55b03eca87dacd34dffc9c61c4b50ae471c6b675eafdc2a2eacfad29c.tar.xz to device
                            2018/10/12 20:25:15 Start pushing /root/.cache/ubuntuimages/pool/ubports-1e002fd7e685421651a9b8dc15b0147c4460993169acd0519183533f17331c84.tar.xz to device
                            2018/10/12 20:25:15 Done pushing /root/.cache/ubuntuimages/gpg/image-master.tar.xz to device
                            2018/10/12 20:25:15 Done pushing /root/.cache/ubuntuimages/ubports-touch/16.04/stable/hammerhead/version-3.tar.xz to device
                            2018/10/12 20:25:15 Done pushing /root/.cache/ubuntuimages/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz to device
                            2018/10/12 20:25:15 Done pushing /root/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
                            2018/10/12 20:25:32 Done pushing /root/.cache/ubuntuimages/pool/device-964a84f55b03eca87dacd34dffc9c61c4b50ae471c6b675eafdc2a2eacfad29c.tar.xz to device
                            2018/10/12 20:26:22 Done pushing /root/.cache/ubuntuimages/pool/ubports-1e002fd7e685421651a9b8dc15b0147c4460993169acd0519183533f17331c84.tar.xz to device
                            2018/10/12 20:26:22 Created ubuntu_command: /root/.cache/ubuntuimages/ubuntu_commands901896083
                            2018/10/12 20:26:22 Rebooting into recovery to flash

                            And Success! I was able to successfully install 16.04/stable onto my old Nexus 5.

                            LakotaubpL advocatuxA 2 Replies Last reply Reply Quote 0
                            • LakotaubpL Offline
                              Lakotaubp @touchyfeely
                              last edited by

                              @touchyfeely Congratulations and welcome to UBports Ubuntu Touch.

                              1 Reply Last reply Reply Quote 0
                              • advocatuxA Offline
                                advocatux @touchyfeely
                                last edited by advocatux

                                @touchyfeely I'm glad you finally did it. Enjoy your new UT device!

                                PS If you need to paste any log output it's better to pastebin it and put the link here. You can use https://paste.ubuntu.com/ or any other similar service for that 🙂

                                1 Reply Last reply Reply Quote 0
                                • touchyfeelyT Offline
                                  touchyfeely
                                  last edited by

                                  @advocatux Sure. But, since the output wasn't too egregious and - if some poor soul runs into the same kind of issues I have encountered - then the resulting index in DuckDuckGo or Google can help them in a single thread.

                                  Next up: Libertine containers and running Firefox and a terminal. Bluetooth keyboard and mouse are ordered.

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

                                    @touchyfeely Don't forget to try the libertine set up in system settings. I think only older versions of firefox work in libertine but maybe wrong by now its been awhile

                                    1 Reply Last reply Reply Quote 0
                                    • touchyfeelyT Offline
                                      touchyfeely
                                      last edited by

                                      @Lakotaubp Bluetooth mouse and keyboard work without incident. Using the Logitech M535 mouse and the Anker A7721 keyboard. The monitor I have at work is DVI only. I have a DVI to HDMI adapter and I'm using the "MyDP Slimport to HDMI Adapter", but not having much luck. I'll try with my monitor at home, which does have native HDMI and DisplayPort.

                                      As far as Libertine goes, I've installed gnome-calculator as a test; that works. Firefox and Thunderbird, though, don't work. From looking at the Github issues, this seems like it's a known issue.

                                      @advocatux Any thoughts on getting Firefox to work in Libertine?

                                      advocatuxA 1 Reply Last reply Reply Quote 0
                                      • advocatuxA Offline
                                        advocatux @touchyfeely
                                        last edited by

                                        @touchyfeely someone [*] got to run an old version of Firefox in a 15.04 Libertine container, but it seems there's an upstream bug for Firefox in armhf still if you want to do it in a 16.04 Libertine container.

                                        [*] Maybe @UniSuperBox?

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