[Guide] Compile 4.2 & 4.3 & 4.4 Roms for villec2 - HTC One S

This is a very simple guide, which could be followed to compile 4.2.2 roms for villec2.​
F.A.Q​
What will I need?
A computer (at least Dual Core CPU)
Ubuntu 64 bit recommended
VMware (if u want to work in a mix environment)
Common Sense
How will I start?
You will need to follow this guide from starting till this step "source ~/.bashrc".
What will I do next?
Choose the rom you'll going to build. If you are building for first time, I would recommend build Cyanogenmod, since it is one of the easiest rom to build. This guide will now be based on cm10.1.
Now follow this guide
In the step:
"Obtain the device build files and proprietary files"
you have to paste the following lines after issuing this command: "gedit ~/cm10.1/.repo/local_manifest.xml"
EDIT: For cm10.1, you will use this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="bilalliberty/android_device_htc_villec2" path="device/htc/villec2" remote="github" revision="jellybean" />
<project name="bilalliberty/android_kernel_htc_villec2" path="kernel/htc/villec2" remote="github" revision="jellybean" />
<project name="bilalliberty/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="jellybean" />
</manifest>
In the step "and build by running:"
you have to run the following command:
Code:
brunch villec2
and then follow rest of the guide as it is. If you receive any errors, don't paste errors directly here, paste them in a txt and attach txt files here, I'll try to solve them​.

How do I compile android 4.3?​
Everything is already done in my github, so you guys only need to compile. To compile follow the guide on OP as it is. The only change required is in the manifests stage:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="bilalliberty/android_device_htc_villec2" path="device/htc/villec2" remote="github" revision="cm10.2" />
<project name="bilalliberty/android_kernel_htc_villec2" path="kernel/htc/villec2" remote="github" revision="cm10.2" />
<project name="bilalliberty/proprietary_vendor_htc" path="vendor/htc-extra/villec2" remote="github" revision="cm10.2" />
</manifest>

How do I compile android 4.4?​
Everything is already done in my github, so you guys only need to compile. To compile follow the guide on OP as it is. The only change required is in the manifests stage:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="bilalliberty/android_device_htc_villec2" path="device/htc/villec2" remote="github" revision="cm-11.0_3.4" />
<project name="bilalliberty/android_kernel_htc_liberty-villec2" path="kernel/htc/villec2" remote="github" revision="cm-11.0" />
<project name="bilalliberty/proprietary_vendor_htc" path="vendor/htc-extra/villec2" remote="github" revision="cm-11.0_3.4" />
</manifest>

reserve3

reserved4

I would probably fail where it says that I need common sense! :'D

Datzi said:
I would probably fail where it says that I need common sense! :'D
Click to expand...
Click to collapse
I have made the process as easy as possible. Just give it a try and see how much u succeeds...

dominos_liberty said:
I have made the process as easy as possible. Just give it a try and see how much u succeeds...
Click to expand...
Click to collapse
I will try

Some corrections made in this guide in the manifests stage

CyanogenMod 10.1.2
This seems to work, it's at least compiling now
Next step question: is it possible to switch from 10.1 branch to 10.1.2? AFAIK it only has some specific (but really recommended) bug fixes, so i'd assume it should work without any modifications. How to try it and switch it over to 10.1.2?

Ok so I have a problem... I installed Ubuntu as recommended in VMWare, everything fine.
Then I followed this tutorial: http://forum.xda-developers.com/showthread.php?t=2043285, as you said. Until this:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
and got this error:
Code:
dpkg: Fehler beim Bearbeiten von linux-libc-dev (--configure):
Kein Paket namens »linux-libc-dev« installiert, kann nicht konfiguriert werden
E: Sub-process /usr/bin/dpkg returned an error code (1)
(1st line: dpkg: Error at editing of linux-libc-dev (--configure):
2nd line: No packet named »linux-libc-dev« installed, can not be configured)
Now if skipping this error, when initializing CM10.1 repo it says that 'git is not available'... so I cannot sync repo etc.
So, how can I solve the problem with that error?
Thanks in advance!
//edit: Attached .txt file of cmd window!

OK, so I managed to build it (10.1) and got the package - are there any risks installing it on my physical device, or is it possible to test it on android emulator? I know that one must have a emulator for testing, but is there any emulator config file ready which would confirm to our ville-c2 to test it with before flashing? I'm kinda hesitating to risk bricking my device if something is not so correct...

sir West said:
OK, so I managed to build it (10.1) and got the package - are there any risks installing it on my physical device, or is it possible to test it on android emulator? I know that one must have a emulator for testing, but is there any emulator config file ready which would confirm to our ville-c2 to test it with before flashing? I'm kinda hesitating to risk bricking my device if something is not so correct...
Click to expand...
Click to collapse
To make sure, you can check updater-script, it should be:
format("ext4", "EMMC", "/dev/block/mmcblk0p32", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p32", "/system");
and if it is, u can flash, if something would be wrong in ur build, u can reboot ur phone by long pressing power button and then volume down key....
If u r unsure then just delete ur build ....

Datzi said:
Ok so I have a problem... I installed Ubuntu as recommended in VMWare, everything fine.
Then I followed this tutorial: http://forum.xda-developers.com/showthread.php?t=2043285, as you said. Until this:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
and got this error:
Code:
dpkg: Fehler beim Bearbeiten von linux-libc-dev (--configure):
Kein Paket namens »linux-libc-dev« installiert, kann nicht konfiguriert werden
E: Sub-process /usr/bin/dpkg returned an error code (1)
(1st line: dpkg: Error at editing of linux-libc-dev (--configure):
2nd line: No packet named »linux-libc-dev« installed, can not be configured)
Now if skipping this error, when initializing CM10.1 repo it says that 'git is not available'... so I cannot sync repo etc.
So, how can I solve the problem with that error?
Thanks in advance!
//edit: Attached .txt file of cmd window!
Click to expand...
Click to collapse
Never experienced, though try this, its same without libc.:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

dominos_liberty said:
Never experienced, though try this, its same without libc.:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
Click to expand...
Click to collapse
Seems like the problem was that Ubuntu had to do some updates first. Reinstalled whole OS and right now I'm sycing repo!
Thanks anyway, issue is gone.
Btw, do you have the One S as a test device, or is it your primary device?

Datzi said:
Seems like the problem was that Ubuntu had to do some updates first. Reinstalled whole OS and right now I'm sycing repo!
Thanks anyway, issue is gone.
Btw, do you have the One S as a test device, or is it your primary device?
Click to expand...
Click to collapse
primary

It actually works I just flashed my own compiled package and it seems to be working flawlessly, at least the same as the "unofficial" version! Now how to update the codebase? is "repo sync" + same build commands enough to update everything from git?

sir West said:
It actually works I just flashed my own compiled package and it seems to be working flawlessly, at least the same as the "unofficial" version! Now how to update the codebase? is "repo sync" + same build commands enough to update everything from git?
Click to expand...
Click to collapse
yes, just goto cm10.1 folder, and repo sync.
and its cm10.1.2, there is no new branch for it. The latest update of mine (B5) is also cm10.1.2. cm community has not changed version in about phone.

sir West said:
It actually works I just flashed my own compiled package and it seems to be working flawlessly, at least the same as the "unofficial" version! Now how to update the codebase? is "repo sync" + same build commands enough to update everything from git?
Click to expand...
Click to collapse
now you can try teamBaked
here are the instructions:
Code:
mkdir -p ~/BAKED
cd ~/BAKED
repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb-4.2
repo sync
and then add manifests like u did for cm10.1, again repo sync,
and then
Code:
brunch villec2

@all
If you r at iinitial stage, see this link : http://forum.xda-developers.com/showthread.php?t=2368833 , it is automatic script which will install all the required packages...

Related

[CM7][MTD] CM7 EpicMTD Compile Script 12/22

Since there isn't any clear tutorial or guide on how to build CM7 EpicMTD from source, I put a simple to use script for anyone.
Either manually follow the script. Or copy and paste the code into a sh file. Execute.
Code:
#!/bin/sh
# EpicMTD CM7 Download and Compile script
# VERSION 1.1
# Install packages for Ubuntu/Debian
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
# 64 bit OS only (comment the next line if you are on 32 bit)
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
# Create directories
mkdir ~/bin
mkdir ~/android
mkdir ~/android/system
# Download CyanogenMod Repo
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j6
# Create EpicMTD local manifest
echo '# Install packages
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
# 64 bit OS only
#sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
# Create directories
mkdir ~/bin
mkdir ~/android
mkdir ~/android/system
# Download CyanogenMod Repo
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j6
# Create EpicMTD local manifest
echo '<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="EpicCM" fetch="https://github.com" />
<project
path="device/samsung/epicmtd"
name="EpicCM/android_device_samsung_epicmtd"
remote="EpicCM" revision="gingerbread"
/>
<project
path="vendor/cyanogen"
name="EpicCM/android_vendor_cyanogen"
remote="EpicCM"
revision="epiccm-rebase"
/>
</manifest>' > ~/android/system/.repo/local_manifest.xml
# Create local repo for EpicCM
repo start EpicCM --all
repo sync
# Get the RomManager
~/android/system/vendor/cyanogen/get-rommanager
# Plug in your Epic running CM to get the proprietary files
cd ~/android/system/device/samsung/epicmtd
./extract-files.sh
# Fix to allow successful compile
cd ~/android/system/vendor/cyanogen
git cherry-pick a4a5133
cd ~/android/system
# Update repos
repo sync
make clobber
# Compile
. build/envsetup.sh
brunch epicmtd
Thanks to hazridi for helping me start this.
Changelog
1.0: Initial release
1.1: Updated the local_manifest.xml to reflect new github
Good Work man.
I hope this will keep people busy hehe.
Rock on man, thanks for pulling it together and sharing with the community! Much appreciated!
Sent via Decadent Epic 4G CM7
Awesome.....just re-installed ubuntu today thinking i was gonna....now, no excuses.
Cheers!
You're welcome
(I wrote the info you used for this)
hazridi said:
You're welcome
(I wrote the info you used for this)
Click to expand...
Click to collapse
I forgot to add thanks for you. See the first post
It's cool, I wouldn't have figured it all out without deca, uber, noob, and rodd's input anyway.
awesome work ion. much appreciated. now, for a little light reading...

[How-To] Ubuntu Touch 1.0 on Asus TF700t

I write this, because instructions from wiki not working now, and too old.
First, do some steps from official guide:
Code:
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
Code:
sudo apt-get install openjdk-6-jdk
but better use sun jdk 6, i had problems with openjdk.
Create directory for build (e.g. tf700t), and run:
Code:
cd tf700t
phablet-dev-bootstrap .
. build/envsetup.sh
breakfast tf700t
repo sync
And wait about 1 hour (less or more).
Download patches and blobs and unpack it to tf700t dir: https://docs.google.com/uc?export=download&id=0BzFI4xYcj01sZ2pVZkJMSWhrc28
Apply it:
Code:
patch -p1 < patches/tf700t.patch
And build:
Code:
brunch tf700t
You can use -jN option to fast build. N is a cores count + 1.
Now, flash out/target/product/tf700t/cm-10.1-*-UNOFFICIAL-tf700t.zip and http://cdimage.ubuntu.com/ubuntu-to...d/current/trusty-preinstalled-touch-armhf.zip with TWRP or CWM.
If you don't want build, flash my image https://docs.google.com/uc?export=download&id=0BzFI4xYcj01sWjY4ZUVBTTdzU0k and http://cdimage.ubuntu.com/ubuntu-to...d/current/trusty-preinstalled-touch-armhf.zip
If you want to connect via ssh, do that:
Code:
adb shell
echo | sudo tee /etc/init/ssh.override
To set root password, type: "passwd"
Reboot or type "start ssh"
At that moment, wifi working, but no sound, video don't playing, keyboard works very bad, and system unstable.
I hope, somebody help me to fix that problems
Reserve
Update: fixed wifi, screen brightness, battery indicator, apparmor. Power button now working, lock/unlock is very fast.
Audio, bluetooth still not working, and keyboard has orientation problem. Video in browser (youtube, etc) not working.
can you make this for tf 201 too ??
rikusuicide said:
can you make this for tf 201 too ??
Click to expand...
Click to collapse
You can build it yourself. Just rename all strings and file names from "tf700t" to "tf201".
Update: now, we don't need to apply this patches:
Code:
adb push patches/usr/lib/lxc-android-config/70-tf700t.rules /usr/lib/lxc-android-config
adb push patches/usr/share/powerd/device_configs/config-tf700t.xml /usr/share/powerd/device_configs
adb push patches/etc/ubuntu-touch-session.d/tf700t.conf /etc/ubuntu-touch-session.d
adb push patches/data/ubuntu/usr/share/apparmor/hardware/audio.d/apparmor-easyprof-ubuntu_tf700t data/ubuntu/usr/share/apparmor/hardware/audio.d
adb push patches/data/ubuntu/usr/share/apparmor/hardware/graphics.d/apparmor-easyprof-ubuntu_tf700t data/ubuntu/usr/share/apparmor/hardware/graphics.d
because i send it to ubuntu team and it already added in new images.
Cool good job how are stuff looking in terms of HDMI HD output?
I know it's a bit of thread necromancy, but just curious if anyone is still using this.. Does this still work?
Sent from my TARDIS
Wow hope this goes somewhere I been wanting to check this out.

[Q] How can I download CyanogenMod Source?

Hello
I want to build unoffical CyanogenMod 12 rom for my phone...
I installed Ubuntu 14.04 LTS and download repo and installed jdk and git-core.
Now what should I do for getting CyanogenMod Source?
Would you please give me some help?
Sent from my SHW-M250S using XDA Free mobile app
Follow the below steps
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
Code:
sudo apt-get update
sudo apt-get install openjdk-7-jdk
java -version
you should see something like this
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Click to expand...
Click to collapse
Code:
sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Code:
mkdir ~/bin
curl h**ps://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
replace h**ps with https
Code:
sudo nano ~/.bashrc
now copy following in the last of bashrc
Code:
export PATH=~/bin:$PATH
reboot your pc
now
Code:
mkdir cm12
cd cm12
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync
Rich Village said:
Hello
I want to build unoffical CyanogenMod 12 rom for my phone...
I installed Ubuntu 14.04 LTS and download repo and installed jdk and git-core.
Now what should I do for getting CyanogenMod Source?
Would you please give me some help?
Sent from my SHW-M250S using XDA Free mobile app
Click to expand...
Click to collapse
k2wlxda said:
Follow the below steps
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
Code:
sudo apt-get update
sudo apt-get install openjdk-7-jdk
java -version
you should see something like this
Code:
sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Code:
mkdir ~/bin
curl h**ps://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
replace h**ps with https
Code:
sudo nano ~/.bashrc
now copy following in the last of bashrc
Code:
export PATH=~/bin:$PATH
reboot your pc
now
Code:
mkdir cm12
cd cm12
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync
Click to expand...
Click to collapse
Thank you so much!!

Need help build error 126:

Hi,
When I try to build cm13 for bacon,these errors happen:
Code:
/bin/bash: prebuilts/misc/linux-x86/bison/bison: cannot execute binary file: Exec format error
make: *** [/root/cm/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp] Error 126
OS:Ubuntu 14.04 x86_64
Packages:bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-7-jdk openjdk-7-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
Bison version is 2:3.0.2.dfsg-2.
Thanks.
I think you're missing some packages needed to build on 14.04. Have you followed this guide? http://source.android.com/source/initializing.html

[Completed] how do i get my hands on the s5 binaries for sm-g900t ofr klte , .sh files?

I'm trying my hand at compiling nougat /cm14 for klte but I need klte or sm-g900t (or sm-g900t1) samsung galaxy S5 (snapdragon) driver binaries. Where to find. Ps thank you again for the the help in the past.and all that you do.
I believe the files i need are .sh files for the S5, but i'm not able to locate them so far.
Ok So my builds failed yesterday.
Today I m starting over. I mean completely.
I deleted the VM and reinstalled
I've got my plan for the build environment and how to set up. I'm still stuck at how I'm going to add the cm14 klte repo that I have git cloned
To the android nougat source repo.
my plans are below************************
sudo -i
master111
add-apt-repository "deb http://archive.canonical.com/ lucid partner" **************** not sure
apt-get update
apt-get install sun-java6-jdk ************ use sun-java9-jdk
apt-get install python
apt-get install git-core
apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils
or
apt-get install git-core gnupg flex bison gperf build-essential zip 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 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
#The next step is optional, but can offer significant performance gains while compiling, by using ccache (a compiler
#cache tool), which caches the output of the compiler, to save time when compiling a file which has not been changed
#since the last compile.
#To enable ccache, edit your ~/.bashrc or ~/.profile file (or equivalent), and add the following line
export USE_CCACHE=1
#After you log out and back in again, this change will take effect.
#By default, the Android build process creates a subfolder named “out” within the root of your source tree. While for
#most users this is best, in some situations it can be advantageous to move the output directory to another file system.
#If, for example, you have a striped RAID array, it is beneficial to store the output directory on this array. All of the
#files within the out directory can be re-generated in the event of filesystem problems (if the sources were held on
#another filesystem).
#To change the output directory to another filesystem, use the command
export OUT_DIR_COMMON_BASE= "********"
#Within the defined output directory, a new folder will be created, named after your current source tree directory. For
#instance, if you have source trees as /source/master1 and /source/master2 and OUT_DIR_COMMON_BASE is set to /output, the
#output directories will be/output/master1 and /output/master2.
#It is therefore important to ensure you do not have multiple sources stored in directories with the same name, as they
#would end up sharing an output directory, with unpredictable results.
#This is only supported when building Jelly Bean (4.1) and newer.
mkdir ~/bin
PATH=~/bin:$PATH
curl $ http://commondatastorage.googleapis....downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
or
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
mkdir NOU_SOURCE
cd NOU_SOURCE
repo init -u https://android.googlesource.com/platform/manifest/ -b android-7.0.0_r6
?????????????????repo init -b master????????????????????
repo sync
https://github.com/TheMuppets/propri...or_samsung.git
or
https://github.com/CyanogenMod/andro...lte-common.git
***binaries
make clobber
*****BUILD TIME****
. build/envsetup.sh
lunch
*******SELECT device type*******to install
make -j1 otapackage
Greetings, assist is for new users to come and be guided to the correct forum to ask their question. You need to ask your question in the S5 forums, hopefully they can help you there.
Thread Closed
Sawdoctor

Categories

Resources