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.



  • @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)



  • 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.



  • 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!


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.