Ubuntu – How to get Ubuntu Touch recovery to boot into Ubuntu Touch on Nexus 4

nexus-4ubuntu-touch

The device is a Nexus 4, currently running Android 4.4.4, though I have tried with 5.0.1.
I am using the instructions at http://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/ to install Ubuntu Touch (devel channel) on a Nexus 4, single-boot. Everything works as expected up to the point where I run

$ ubuntu-device-flash --channel=devel --bootstrap
DEPRECATED: Implicit 'touch' subcommand assumed  
2015/02/06 15:14:06 Expecting the device to be in the bootloader... waiting  
2015/02/06 15:14:06 Device is |mako|  
2015/02/06 15:14:06 Flashing version 1 from devel channel and server https://system-image.ubuntu.com to device mako  
3.67 MB / 3.67 MB [=======================================================] 100.00 % 1.34 MB/s   
44.77 MB / 44.77 MB [=====================================================] 100.00 % 1.83 MB/s  
321.82 MB / 321.82 MB [===================================================] 100.00 % 1.15 MB/s 
/home/scottwh2/.cache/ubuntuimages/gpg/image-master.tar.xz  
/home/scottwh2/.cache/ubuntuimages/ubuntu-touch/devel/mako/version-1.tar.xz  
/home/scottwh2/.cache/ubuntuimages/gpg/image-signing.tar.xz  
/home/scottwh2/.cache/ubuntuimages/pool/custom-0cd62f8fd0eeb9e14b0e8196976713c9412aaec7681983c0026b03fb22634427.tar.xz  
/home/scottwh2/.cache/ubuntuimages/pool/device-ebfaafbb87bfe818c544d95293182a10a0c33c89794e74ccbfd66c8168e8a7ff.tar.xz  
Failed to enter Recovery  

Rather than rebooting as the instructions say it should, the device stays on a Recovery screen. At the top of the screen I have:

Ubuntu Touch (CWM-based) Recovery v6.0.4.6

  • reboot system now
  • wipe date/factory reset
  • wipe cache partition
  • backup and restore
  • advanced

The "advanced" menu option leads to:

Advanced Menu

  • reboot recovery
  • reboot to bootloader
  • power off
  • +++++Go Back+++++

It's not frozen – the up and down volume keys and the power button work to select from the menu. The problem is that no menu item leads it to boot in to Ubuntu. It will boot back in to Android, to the bootloader screen or to this recovery screen, but there's nothing I can select to load Ubuntu.

Any hints as to how to get around this blocker?

Best Answer

I had the same problem (not reading the instructions carefully).

Answer via information on https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/

After a first initial run with the --bootstrap parameter, you need to run again without that parameter.

(using the option reboot recovery may do the same, the ubuntu partition is flashed to the device by booting into the recovery that is created with the first run of the command)

Related Question