Está en la página 1de 4

Instalar Ubuntu en Nexus 4

Published 06/23/2015 Linux , Tips , Varios 4 Comments


Etiquetas:bootloader, nexus, Ubuntu touch

En la entrada de hoy vamos a ver cmo instalar Ubuntu en un smartphone y tener la oportunidad de
probar las posibilidades que nos ofrece Ubuntu en dispositivos mviles. Para el tutorial he utilizado
un Nexus 4 que est oficialmente soportado para la instalacin de Ubuntu. Podis consultar la lista
de dispositivos soportados aqui.
Los pasos a seguir para instalar Ubuntu son los siguientes:

Instalar los paquetes necesarios:


1. Agregamos el siguiente repositorio:
alberto@Ubuntu-Salon:~$sudo add-apt-repository ppa:ubuntu-sdk-team/ppa

2. Actualizamos indices:
alberto@Ubuntu-Salon:~$sudo apt-get update

3. Instalamos el paquete ubuntu-device-flash:


alberto@Ubuntu-Salon:~$sudo apt-get install ubuntu-device-flash

4. Instalamos el paquete phablet-tools:


alberto@Ubuntu-Salon:~$sudo apt-get install phablet-tools

Desbloquear bootloader:
5. Ahora antes de instalar Ubuntu tenemos que desbloquear el bootloader(si ya lo tienes abierto
puedes saltarte estos pasos):
Ponemos el telfono en modo depuracin USB, para ello vamos a opciones de desarrollo y
activamos la depuracin USB. Si no encuentras las opciones de desarrollo, para que te
aparezcan, tendrs que pulsar varias veces en el nmero de compilacin que se encuentra en

las seccin acerca del telfono. Una vez activado el modo depuracin USB conectamos el
cable al PC y podemos comprobar si nos reconoce el dispositivo:
alberto@Ubuntu-Salon:~$ adb devices
List of devices attached
01b0ec4293538a1c
device

Con el siguiente comando reiniciamos el dispositivo para que arranque en modo


bootloader/fastboot:
alberto@Ubuntu-Salon:~$ adb reboot bootloader

Al reiniciarse aparecer una pantalla negra con un androide tumbado y unas letras.
Comprobamos que la conexin con el dispositivo es correcta:
alberto@Ubuntu-Salon:~$ fastboot devices
01b0ec4293538a1c
fastboot

Y desbloqueamos el bootloader con el siguiente comando:


alberto@Ubuntu-Salon:~$ sudo fastboot oem unlock
[sudo] password for alberto:
...
OKAY [ 58.655s]
finished. total time: 58.655s

Y reiniciamos:
alberto@Ubuntu-Salon:~$ fastboot reboot
rebooting...
finished. total time: 0.001s

Instalar Ubuntu en el dispositivo:


6. En este punto tenemos que apagar el dispositivo android. Una vez apagado, tenemos que
arrancarlo en modo bootloader/fastboot mediante una combinacin de teclas. En el caso del
Nexus 4, mantenemos pulsado Vol y sin soltar, pulsamos y mantenemos el botn de
encendido. De esta forma el telefono arrancara en el bootloader y podremos comenzar la
instalacin.
Una vez en el modo bootloader volvemos a comprobar que la conexin con el dispositivo es
correcta:
alberto@Ubuntu-Salon:~$ fastboot devices
01b0ec4293538a1c
fastboot

Instalamos Ubuntu:
alberto@Ubuntu-Salon:~$ ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu
--bootstrap
2015/06/22 23:02:53 Expecting the device to be in the bootloader... waiting
2015/06/22 23:02:53 Device is |mako|
2015/06/22 23:02:54 Flashing version 20 from ubuntu-touch/stable/ubuntu channel and
server https://system-image.ubuntu.com to device mako
2.51 MB / 2.51 MB [====================================>_] 100.00 % 172.07 KB/s
44.79 MB / 44.79 MB [====================================] 100.00 % 286.97 KB/s
297.83 MB / 297.83 MB [==================================] 100.00 % 514.53 KB/s
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/gpg/imagemaster.tar.xz to device
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/gpg/imagesigning.tar.xz to device
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/ubuntu-

touch/stable/ubuntu/mako/version-20.tar.xz to device
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/pool/custom2bf62b639e2b3d4f8456d146db027796a96c05a64b07cc72b04413339563bbb1.tar.xz to device
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/pool/device62e6cb43ab375213838c613fa66c73224920700ff1b2887b617a0c2b53ce00f2.tar.xz to device
2015/06/22 23:13:02 Start pushing /home/alberto/.cache/ubuntuimages/pool/ubuntu8f4b0295d39ba4998bc391ae3b202887767f24f2164a6f82642a9c7aa6baeae3.tar.xz to device
2015/06/22 23:13:03 Done pushing /home/alberto/.cache/ubuntuimages/gpg/imagemaster.tar.xz to device
2015/06/22 23:13:03 Done pushing /home/alberto/.cache/ubuntuimages/gpg/imagesigning.tar.xz to device
2015/06/22 23:13:03 Done pushing /home/alberto/.cache/ubuntuimages/ubuntutouch/stable/ubuntu/mako/version-20.tar.xz to device
2015/06/22 23:13:04 Done pushing /home/alberto/.cache/ubuntuimages/pool/custom2bf62b639e2b3d4f8456d146db027796a96c05a64b07cc72b04413339563bbb1.tar.xz to device
2015/06/22 23:13:15 Done pushing /home/alberto/.cache/ubuntuimages/pool/device62e6cb43ab375213838c613fa66c73224920700ff1b2887b617a0c2b53ce00f2.tar.xz to device
2015/06/22 23:14:01 Done pushing /home/alberto/.cache/ubuntuimages/pool/ubuntu8f4b0295d39ba4998bc391ae3b202887767f24f2164a6f82642a9c7aa6baeae3.tar.xz to device
2015/06/22 23:14:01 Created ubuntu_command:
/home/alberto/.cache/ubuntuimages/ubuntu_commands428328175
2015/06/22 23:14:01 Rebooting into recovery to flash

En el ejemplo anterior he seleccionado el canal estable, a la hora de elegir la imagen a instalar.


Podis encontrar los canales disponibles en el siguiente enlace:
https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/
Una vez finalizada la instalacin el telfono se reiniciar y tras unos minutos (le cuesta un ratito),
arrancar con Ubuntu:

También podría gustarte