1

I have tried to follow this guide and flash Ubuntu Touch on my Nexus 4. After I run:

ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu --bootstrap

but the tool hangs like this:

2016/03/30 19:14:09 Expecting the device to expose an adb interface...
2016/03/30 19:14:09 Device is |mako|
2016/03/30 19:14:10 Flashing version 28 from ubuntu-touch/stable/ubuntu channel and server https://system-image.ubuntu.com to device mako
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/ubuntu-touch/stable/ubuntu/mako/version-28.tar.xz to device
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/pool/custom-e7bded45d0d16151d514bd048425082697ce175825afad15c0ec8c31d0d7ea98.tar.xz to device
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/pool/device-d9a1f38a50139f3bd81a94d5f223ede533c376220120d0d984e70db9718cbcb6.tar.xz to device
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/pool/ubuntu-5f4806a2d26af9d26279d1e66d217281dfa19219a85d2fd64999460f47d6efb9.tar.xz to device
2016/03/30 19:14:19 Done pushing ~/.cache/ubuntuimages/ubuntu-touch/stable/ubuntu/mako/version-28.tar.xz to device
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2016/03/30 19:14:19 Start pushing ~/.cache/ubuntuimages/gpg/image-master.tar.xz to device
2016/03/30 19:14:20 Done pushing ~/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2016/03/30 19:14:20 Done pushing ~/.cache/ubuntuimages/gpg/image-master.tar.xz to device

nothing else happens for hours. I have tried different recovery tools but nothing changed. Can I "manually" flash Ubuntu with install zip?

  • Having the exact same Problem. Did you solve it? – steffen Jul 26 '16 at 5:21
  • 2
    Yes, it doesn't work in a virtual machine... – patdex Jul 27 '16 at 15:28
0

Just do ubuntu-device-flash --clean-cache touch and then try it again.;)

This will clean the cache of the ubuntu-device-flash tool. This causes the tool to download the whole image again. For me this helped sometimes, when I had problems during flashing my device.

| improve this answer | |
  • And what is that command supposed to do exactly? You can give some more explanation of how it works and what it accomplishes. – Parto Apr 1 '16 at 8:55
  • See my answer, I edited it. Or look at the man page. – eDeviser Apr 1 '16 at 17:47
  • Dud you had success? – eDeviser Apr 7 '16 at 8:57
0

The --bootstrap option is normally only used when installing Ubuntu the first time. It requires that the device is booted to the bootloader. After Ubuntu is installed, one uses the ubuntu-device-flash command (without the --bootstrap option) while the device is booted to Ubuntu

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.