forked from TADSG/aosp-study
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Prepare] | ||
|
||
```shell | ||
sudo apt-get update | ||
|
||
sudo apt-get install vim less gcc g++ make build-essential binutils wget ssh openssh-server openssh-client zip unzip perl python rsync git openssl | ||
|
||
sudo apt-get install git 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 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 | ||
|
||
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so | ||
|
||
sudo apt-get install python-software-properties | ||
sudo add-apt-repository ppa:webupd8team/java | ||
sudo apt-get update | ||
|
||
sudo apt-get install oracle-java6-installer | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[Download] | ||
|
||
```shell | ||
cd ~ | ||
mkdir aosp | ||
mkdir aosp/src | ||
mkdir aosp/bin | ||
|
||
PATH=~/aosp/bin:$PATH | ||
|
||
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/aosp/bin/repo | ||
chmod a+x ~/aosp/bin/repo | ||
|
||
git config --global user.email "user@USER" | ||
git config --global user.name "user" | ||
|
||
cd ~/aosp/src | ||
|
||
repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1 | ||
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.4_r2.1 | ||
repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.2_r2.1 | ||
repo init -u https://android.googlesource.com/platform/manifest -b android-4.2.2_r1.2 | ||
repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r3.1 | ||
[v] repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r2 | ||
|
||
sudo sysctl -w net.ipv4.tcp_window_scaling=0 | ||
repo sync -j1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Build] | ||
|
||
```shell | ||
cd ~/aosp/src | ||
|
||
source build/envsetup.sh | ||
lunch | ||
make -j4 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Flash Image] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Build for Device] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Java Library] |