ubuntu-touch-for-oneplus-one
Use this if you want to build Ubuntu touch for oneplus one
Work In Progres
This is not yet a working project, some parts works...
For Deveopers
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/u...tu-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) Then you need to install phablet-tools:
sudo apt-get install phablet-tools
Downloads repositories
mkdir -p /path/to/phablet; cd /path/to/phablet
repo init -u
https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git -b phablet-4.4.2_r1
repo sync -j 8
Adding roomservice.yml to .repo/local_manifests
https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/tree/master/local_manifests
Build
work in progres
source build/envsetup.sh
lunch aosp_bacon-userdebug
make otapackage
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. wipe data/factory reset (Make backup first)
2. flash saucy-preinstalled-armel-bacon.zip (Under Testing)
3. flash saucy-preinstalled-phablet-armhf.zip
4. reboot
Using MultiRom:
Coming WIP Click to expand...