Thanks Meter 36
Join Date: Oct 2012
Location: San Vito Chietino
[Q]How To Build Ubuntu Touch For S2vep?
Hello mate i am trying to build an image of Ubuntu Touch by following their official guide with the following steps:
Install Required Packages
Installing required packages between 12.04 and 13.10.
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
Then install packages:
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 ubuntu-dev-tools tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool bsdiff
Install JDK 6
Type in the terminal the following command to install JDK 6.
sudo apt-get install openjdk-6-jdk
Install PPA Tools
OK we need to install Android PPA Tools and Phablet Tools
To install PPA Tools type in the terminal:
sudo add-apt-repository ppahablet-team/tools
Then add the following command line if you are using 12.04:
sudo add-apt-repository ppa : ubuntu-sdk-team/ppa
To install PPA Tools type:
sudo apt-get update
sudo apt-get install ubuntu-device-flash
To install Phablet Tools:
sudo apt-get install phablet-tools
Now we need to make a directory that should be used to download Ubuntu Touch sources, type in the terminal:
Now it's time to get Ubuntu Touch source code that's will take from
1 hour to 3 hours depends from your internet connection's speed
(I have a 8mb dsl and take about 1 hours and 30 minutes so type:
ubuntu-dev-bootstrap -c /root/WORKING_DIRECTORY
Our device doesn't has official support to port, so we should create it manually by following this steps:
1-Cd to WORKING_DIRECTORY.
2-Type mkdir .repo/local_manifests/ .
3-create a file called roomservice.xml so type: gedit .repo/local_manifests/roomservice.xml and insert the following elements:
4-Type repo sync to download s2vep's source.
<?xml version="1.0" encoding="UTF-8"?>
<remote fetch="git://github.com/" name="gh" />
<project name="KINGbabasula/android_kernel_samsung_i9105P" path="kernel/samsung/i9105P" remote="gh" revision="cm-10.1" />
<project name="KINGbabasula/android_device_samsung_s2vep" path="device/samsung/s2vep" remote="gh" revision="cm-10.1" />
Extracting Blobs Files
I can't find extract-files.sh on KINGbabasula's btw you can do it if having one:
1-Type cd device/samsung/s2vep .
2-Run ./extract-files.sh .
P.S. :make sure to have enable debug and accept the connection that appear on your phone.
Brunch and Build
When you are ready type the following command:
make -# otapackage (change # with the numbers of your cores).
P.S: i use this and not brunch because i don't have vendor files.
I got this error during compilation by attacched image and my questions are for devs and expert users:
1-Can i use original stock android 4.2.2 vendor?
2-Are my steps is correct to compile Ubuntu Touch?
3-Which sources is recommend to use?
thanks for any idea or answer or suggestions that can help me