PDA

Ver la Versión Completa : ROM [PORT] [ALFA] Ubuntu touch para ONEPLUS One


lozo2010
02/03/15, 11:48:53
Bueno os dejo por aqui el port de la ROM de Ubuntu touch (Basado en 4.4.2) para nuestro dispositivo

http://forums.oneplus.net/threads/wip-ubuntu-touch-for-oneplus-one.266170/

De momento el desarrollador ha conseguido que funciones lo siguiente, pero esta trabajando para hacerla funcional.

Changelog:


12-4-2015: WIFI FUNCIONA!





Funciona
No Funciona
Not Tested

Graphics
Boot process
Rotation
Cellular Radio
BT
Wireless network
Sound
Touch
Camera
Video Decode
Suspend/Resume


Ncesario Bootloader abierto y recomendable recovery TWRP

Como instalar la Rom: NECESARIO UBUNTU O OTRA DISTRIBUCION DE LINUX

Realizar backup con el recovery. En el tutorial pone que hay que hacer full wipe, de la memoria interna tambien, Pero no es necesario, con hacer todos los WIPES menos el de memoria interna tambien funciona.

Flashea bajo tu propia responsabilidad.

Ingles:
Test Build (Not Stable at all!, build by me)

Flash on you device, THIS MAY BRICK YOUR DEVICE!!!!! DON'T DO THIS IF YOU DON'T KNOW WHAT YOU ARE DOING!!!!!

FIRST DO A BACKUP! YES, DO IT!

1. Download UbuntuTouch-opo-installer.zip (https://dl.dropboxusercontent.com/u/56653875/ubuntu/UbuntuTouch-opo-installer.zip), boot.img (https://dl.dropboxusercontent.com/u/56653875/ubuntu/t1/boot.img), system.img (https://www.androidfilehost.com/?fid=95916177934534413) and vivid-preinstalled-touch-armhf.tar.gz (http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/vivid-preinstalled-touch-armhf.tar.gz)

2. Reboot the device into fastboot mode

3. Flash boot.img using fastboot

fastboot flash boot boot.img

4. Boot the device back to recovery (I recommend twrp, but anything should work!)

5. Wait until adb has started (use "adb devices" to check if it has started)

6. Extract UbuntuTouch-opo-installer.zip, remember to have the configs folder in the same folder as the script.

7. Flash ubuntu root system and system.img using rootstock installer

./OnePlusOne-rootstock-installer vivid-preinstalled-touch-armhf.tar.gz system.img

8. After that it should boot ubuntu :)



Español: (Google Translate)
Test Build (No ESTABLE)

Flash en su dispositivo, esto puede BRICKEAR SU DISPOSITIVO !!!!! NO HACER ESTO SI USTED NO SABE LO QUE ESTÁ HACIENDO !!!!!

PRIMERO HAGA UNA COPIA DE SEGURIDAD!

1. Descargar UbuntuTouch-opo-installer.zip (https://dl.dropboxusercontent.com/u/56653875/ubuntu/UbuntuTouch-opo-installer.zip), boot.img (https://dl.dropboxusercontent.com/u/56653875/ubuntu/t1/boot.img), system.img (https://www.androidfilehost.com/?fid=95916177934534413) y vivid-preinstalled-touch-armhf.tar.gz (http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/vivid-preinstalled-touch-armhf.tar.gz)

2. Reiniciar el dispositivo en modo fastboot.

3. Flash boot.img usando fastboot

fastboot flash boot boot.img

4. Encender el dispositivo en Recovery (Recomendable TWRP, pero todo debería funcionar!)

5. Esperar a que inicie ADB (usar "adb devices" para saber si ha empezado)

6. Extraer UbuntuTouch-opo-installer.zip, El contenido(carpeta config y el scrip deben de estar en la misma carpeta que todo lo demas)

7. Flashear ubuntu_root_system y system.img usando rootstock_installer

./OnePlusOne-rootstock-installer vivid-preinstalled-touch-armhf.tar.gz system.img

8. Despues ya podras arrancar con Ubuntu :)

Se puede probar en multirom, en el post original viene, no lo pongo porque yo no lo he probado


IMPORTANTE: Fix si hay Bootloop

Hay que usar otro boot.img
boot2.img (https://dl.dropboxusercontent.com/u/56653875/ubuntu/t2/boot2.img)


Servidores de descargas:
Servidor de Descarga: http://download.mariogrip.com/
Nigtly: http://download.mariogrip.com/Ubuntu-Touch/OnePlus-One/nightly/

Seguimiento Nigtly:
Build server: http://ci.mariogrip.com/

Video Tutorail para flashear la ROM:

7AMABPveX-c


Archivos necesarios:


Tools (https://dl.dropboxusercontent.com/u/56653875/ubuntu/UbuntuTouch-opo-installer.zip)
System.img (https://www.androidfilehost.com/?fid=95916177934534413)
Boot.img
(https://dl.dropboxusercontent.com/u/56653875/ubuntu/t1/boot.img)
Folder System (http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/vivid-preinstalled-touch-armhf.tar.gz)
Fix Bootloop (https://dl.dropboxusercontent.com/u/56653875/ubuntu/t2/boot2.img)






Para desarolladores:

Before Starting
You will need a Ubuntu!

You will need to install packages which are used to build and download all repositories (This will take a while! Getting 15Gb via the network is quite slow even if you have a good connection.) :

Automatic setup of development environment (remember do this will install in you curent directory:
bash <(curl -s https://raw.githubusercontent.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/master/auto-setup.sh) -s



Manual setup of development environment
sudo apt-get install git gnupg flex bison gperf build-essential \
zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool

On Utopic (and maybe other) the 4.8 version of g++ is needed:
sudo apt-get install g++-4.8-multilib


Before 14.04 Trusty you'll also need to set up the tools PPA. (https://wiki.ubuntu.com/Touch/Install#Step_1_-_Desktop_Setup)

You also need to install phablet-tools:
sudo apt-get install phablet-tools

Downloads repositories
mkdir phablet
phablet-dev-bootstrap phablet
repo sync

Adding roomservice.yml to .repo/local_manifests
https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/tree/master/local_manifests

Replace manifest.xml in .repo (Do not REPLACE the file because the manifest.xml file in .repo is a link file, better to just copy paste.)
https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/blob/master/manifest.xml

After adding roomservice and edited manifest.xml do

repo sync


Build
work in progres

source build/envsetup.sh
lunch aosp_bacon-userdebug
make


Mas Informacion

Post Original : https://forums.oneplus.net/threads/wip-ubuntu-touch-for-oneplus-one.266170/
Developer: mariogrip Usuario del Foro de oneplus

dnfuentes
02/03/15, 13:36:25
Pillo sitio por aqui!!

jhony251
02/03/15, 13:50:32
Me apunto...

Algo333
02/03/15, 14:12:31
Ubuntu touch (Basado en 4.4.2)

esto que quiere decir???
no se supone que ubuntu touch era otro sistema operativo a parte de android??

lozo2010
02/03/15, 14:33:20
esto que quiere decir???
no se supone que ubuntu touch era otro sistema operativo a parte de android??

Para portar la rom son necesarias algunas cosas que se deben coger del codigo de android. En la pagina de Ubuntu donde explica como portarlo lo dice.

"Set up your development environment
Whether you want to build Ubuntu for the currently supported Nexus devices or want to port it to a new target, you need to set up your working environment to build Android from source. This setup is more or less the same whether you are building AOSP or a project using a part of its sources.

You can find all the needed Android specific git repositories at https://code-review.phablet.ubuntu.com. This is a working gerrit server with everything needed to build the Android images used by Ubuntu Touch. The reference tree in there is based on AOSP (4.4.2 specifically), so make sure your device specific repositories are compatible with AOSP at least."

moludo
02/03/15, 15:53:14
Pillo ,sitio por aquí, a ver si consiguen que funcionen las cosas, he instalado en varios teléfonos anteriormente ubuntu , y en ninguno lo he visto funcional. Eso si el bq que lo lleva de serie debe de ir de fabula.

zadock
02/03/15, 16:00:00
Está bien, veremos a ver cómo evoluciona :ok:

inses
02/03/15, 16:47:44
me interesa, en el meizu ubuntu edition se ve super bien el sistema operativo este...
a ver si lo hacen totalmente funcional para el oneplus

pascual s
02/03/15, 16:55:26
Yo lo probé hace unos días en el N4(completamente funcional) y no me gustó. Puede que todo sea acostumbrarse, pero.....

Enviado desde mi A0001 usando Tapatalk 2

Algo333
02/03/15, 19:10:26
Para portar la rom son necesarias algunas cosas que se deben coger del codigo de android. En la pagina de Ubuntu donde explica como portarlo lo dice.

"Set up your development environment
Whether you want to build Ubuntu for the currently supported Nexus devices or want to port it to a new target, you need to set up your working environment to build Android from source. This setup is more or less the same whether you are building AOSP or a project using a part of its sources.

You can find all the needed Android specific git repositories at https://code-review.phablet.ubuntu.com. This is a working gerrit server with everything needed to build the Android images used by Ubuntu Touch. The reference tree in there is based on AOSP (4.4.2 specifically), so make sure your device specific repositories are compatible with AOSP at least."

muchas gracias por la aclaración y por el post ;-)

lozo2010
06/03/15, 09:11:31
Añadido el servidor de descarga y de las nigtly. Este fin de semana es posible que el wifi este funcionando!!

pjsp92
06/03/15, 15:57:05
A ver cuando esta operativa...

Bundy
06/03/15, 17:02:50
Está más verde que un campo en plena cosecha...

TRANG
07/03/15, 02:26:14
Muy verde, pero estaremos atentos a ver como va evolucionando.

lozo2010
13/04/15, 17:04:13
wIFI FUNCIONANDO!!!!!! El dev vuelve a seguir con la rom