-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
94 lines (41 loc) · 2.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#####################Quick steps to syncing and build Evervolv#########################
Getting Started
####Install the Android SDK. #####
####Install the Build Packages####
Install using the package manager of your choice:
For 32-bit & 64-bit systems:
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
For 64-bit only systems:
g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
Note: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:
add-apt-repository "deb http://archive.canonical.com/ lucid partner"
Create the Directories
You will need to set up some directories in your build environment.
To create them:
mkdir -p ~/bin
mkdir -p ~/android/system
Install Repo
Enter the following to download make executable the "repo" binary:
curl curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
Add 'export PATH=~/bin:$PATH' to your .bashrc
You may need to reboot for these changes to take effect.
Now enter the following to initialize the repository:
cd ~/android/system/
repo init -u git://github.com/roalex/android.git -b ics
Then to start the Sync. (This is gonna take awhile)
repo sync
All proprietary files are kept in the repo, no need to pull them from your device (unless adding devices).
Configure Build
Now, your environment must be configured to build specifically for your device. To set up your build environment:
. build/envsetup.sh
lunch
Now choose the correct device, supersonic for the Evo 4g, inc for the Droid Incredible.
Next, we will build the actual ROM. You have a few build choices, described below.
First option will do a straight build. Do this if building on a single core machine.
make
Second option will specify the amount of jobs you want to run (replace # with number of cpu cores.)
make -j#
Third option will create an OTA zip file that can be flashed through recovery This can be used with '-j#' (the filename's are still buggy, working on this).
make otapackage
Completed! Your compiled Evervolv rom will be located in ~/android/system/out/target/product/INSERTPRODUCTHERE/ (the entire build is in /system if you did not use otapackage).