Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    flash Nexus 4 - device mako not found

    Support
    3
    4
    1296
    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.
    • J
      jrt last edited by

      Hi, I am trying to flash to a Nexus 4 when I run the device flash command I get a device not found error:

      sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=mako
      --channel=15.04/devel --bootstrap

      "Device mako not found on server http://system-image.ubports.com channel ubuntu-touch/stable"

      However, it starts starts downloading running it with device bacon or manta. I see the mako directory and files on the website. Also tried other directories for mako but all return same error.

      D 1 Reply Last reply Reply Quote 0
      • D
        doniks @jrt last edited by

        @jrt said in flash Nexus 4 - device mako not found:

        Hi, I am trying to flash to a Nexus 4 when I run the device flash command I get a device not found error:

        sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=mako
        --channel=15.04/devel --bootstrap

        "Device mako not found on server http://system-image.ubports.com channel ubuntu-touch/stable"

        However, it starts starts downloading running it with device bacon or manta. I see the mako directory and files on the website. Also tried other directories for mako but all return same error.

        Try

        ubuntu-device-flash --server=http://system-image.ubports.com touch --device=mako --list-channels

        (note: there's --help as well)

        1 Reply Last reply Reply Quote 0
        • chrisc
          chrisc last edited by

          I've a Nexus 4, mako, which is running the last version of Ubuntu Touch from Ubuntu and was looking at upgrading it to a UBPorts version and I get:

          ubuntu-device-flash --server=http://system-image.ubports.com touch --device=mako --list-channels
          unknown flag `list-channels'
          
          ubuntu-device-flash --server=http://system-image.ubports.com touch --device=mako 
          2018/02/26 21:14:13 Device is |mako|
          Device mako not found on server http://system-image.ubports.com channel ubuntu-touch/stable
          

          I'm doing this on Debian Stretch with ubuntu-device-flash manually installed like this:

          wget "https://mirrors.kernel.org/ubuntu/pool/universe/g/goget-ubuntu-touch/ubuntu-device-flash_0.34-0ubuntu1_amd64.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/universe/p/phablet-tools/phablet-tools_1.2%2B16.04.20160317-0ubuntu1_all.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/universe/c/click-ubuntu-policy/click-ubuntu-policy_0.2_all.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/main/c/click/click_0.4.43%2B16.04.20170613-0ubuntu1_amd64.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/main/c/click/python3-click-package_0.4.43%2B16.04.20170613-0ubuntu1_amd64.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/main/c/click/gir1.2-click-0.4_0.4.43%2B16.04.20170613-0ubuntu1_amd64.deb"
          wget "https://mirrors.kernel.org/ubuntu/pool/main/c/click/libclick-0.4-0_0.4.43%2B16.04.20170613-0ubuntu1_amd64.deb"
          apt install kpartx qemu-user-static android-tools-adb android-tools-fastboot bzr python-bzrlib python-configobj python-gpgme \
                      python-keyring python-keyrings.alt python-launchpadlib python-lazr.restfulclient python-lazr.uri python-lzma \
                      python-oauth python-secretstorage python-wadllib python-zope.interface
          gdebi libclick-0.4-0_0.4.43+16.04.20170613-0ubuntu1_amd64.deb 
          gdebi gir1.2-click-0.4_0.4.43+16.04.20170613-0ubuntu1_amd64.deb 
          gdebi python3-click-package_0.4.43+16.04.20170613-0ubuntu1_amd64.deb 
          gdebi click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb 
          gdebi click-ubuntu-policy_0.2_all.deb
          gdebi ubuntu-device-flash_0.34-0ubuntu1_amd64.deb 
          gdebi phablet-tools_1.2+16.04.20160317-0ubuntu1_all.deb
          

          Do I need a different version of ubuntu-device-flash?

          I can see the device with adb devices and can boot it into fastboot.

          1 Reply Last reply Reply Quote 0
          • chrisc
            chrisc last edited by chrisc

            Found the solution:

            adb reboot bootloader
            

            Then boot it into recovery and then:

            ubuntu-device-flash touch --device=mako --server=http://system-image.ubports.com --channel=15.04/stable
            

            This ends with:

            2018/02/26 21:42:20 error pushing: adb: error: connect failed: no devices/emulators found
            

            But after rebooting it it is up and running 15.04 without any problems 🙂

            Sorry for not trying harder before posting above!

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