Remove All Ads from XDA

[Q]How To Build Ubuntu Touch For S2vep?

1,737 posts
Thanks Meter: 4,013
Post Reply Email Thread
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

Making Working_Directory


Now we need to make a directory that should be used to download Ubuntu Touch sources, type in the terminal:


Download Sources


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

Enable S2vep


Our device doesn't has official support to port, so we should create it manually by following this steps:

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:

<?xml version="1.0" encoding="UTF-8"?>
  <remote fetch="git://" 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" />
4-Type repo sync to download s2vep's source.

Extracting Blobs Files


I can't find on KINGbabasula's btw you can do it if having one:

1-Type cd device/samsung/s2vep .
2-Run ./ .

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
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-04-24 16:06:41.jpg
Views:	42
Size:	70.0 KB
ID:	2708130  
Post Reply Subscribe to Thread

android, phone, port, touch, ubuntu

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes