From dae790c1930f38857d480972730211c4e8f870b0 Mon Sep 17 00:00:00 2001 From: The-ProGrammer66 <121656436+The-ProGrammer66@users.noreply.github.com> Date: Sun, 1 Mar 2026 13:18:10 -0800 Subject: [PATCH 1/2] WAKE UP, IT'S THE FIRST OF THE MONTH "Spring" cleaning. Depending on who you talk to. --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 19a343b..0845eab 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,15 @@ Preparing a Build Environment For installing dependencies, refer to the article ["Initializing a Build Environment"](https://web.archive.org/web/20140208084633/http://source.android.com/source/initializing.html) from the AOSP documentation. -It is recommended to use an older Linux distribution. All builds have been tested on Ubuntu 12.04 ("Precise Pangolin"), which can be downloaded from [here](https://old-releases.ubuntu.com/releases/12.04/ubuntu-12.04.5-desktop-amd64.iso), although for Cupcake especially, it is is recommended to install 10.04 instead. The repo script will however not work by default on 10.04. +It is recommended to use an older Linux distribution. All builds have been tested on Ubuntu 12.04 ("Precise Pangolin"), which can be downloaded from [here](https://old-releases.ubuntu.com/releases/12.04/ubuntu-12.04.5-desktop-amd64.iso), although for Eclair especially, it is is recommended to install 10.04 instead. The repo script will however not work by default on 10.04. -For the repositories to work, it is needed to replace any `archive.ubuntu.com` and `security.ubuntu.com` mentions in your repository list (which is under /etc/apt/sources.list) with `old-releases.ubuntu.com`. Then, it will be possible to install required dependencies. +To prepare a build environment, you can use our own Bash script, which you can obtain [here](https://raw.githubusercontent.com/froyocomb/tools/refs/heads/main/envsetup.sh). Download it in your compiling environment and use chmod (or GUI interface) to give it executing permissions. -Ubuntu 12.04 usually bundles newer GCC version, like 4.6. However, for those builds, GCC 4.4 is more recommended. To download older GCC, execute: +After you execute the script, select the first option by typing in 1 and pressing Enter. It should automatically update the system and install required dependencies, including the repo script. After the option is done, restart the computer. - sudo apt-get install gcc-4.4 g++-4.4 gcc-4.4-multilib g++-4.4-multilib +After the machine restarts, run the script again to install Java - select the 2nd option in the main menu and then select option 1. The script can also change the default Java version, which can be useful if compiling different Android versions. -For 10.04: - - sudo apt-get install gcc-4.2 g++-4.2 gcc-4.2-multilib g++-4.2-multilib - -Android 2.0-2.1 Eclair also requires Java 1.5 for building. It is recommended to install it and run the update-alternatives command for both `java` and `javac` to set it as default. +After the script is finished, create a folder in which the build files will be kept in, such as "android", then move on to the next step. Downloading Source ------------------ From e50698d23a9ea252b5297f5d4fd9a06bdea8c590 Mon Sep 17 00:00:00 2001 From: The-ProGrammer66 <121656436+The-ProGrammer66@users.noreply.github.com> Date: Sun, 1 Mar 2026 13:20:13 -0800 Subject: [PATCH 2/2] Update README.md Forgot to fix that typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0845eab..e97fa85 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Preparing a Build Environment For installing dependencies, refer to the article ["Initializing a Build Environment"](https://web.archive.org/web/20140208084633/http://source.android.com/source/initializing.html) from the AOSP documentation. -It is recommended to use an older Linux distribution. All builds have been tested on Ubuntu 12.04 ("Precise Pangolin"), which can be downloaded from [here](https://old-releases.ubuntu.com/releases/12.04/ubuntu-12.04.5-desktop-amd64.iso), although for Eclair especially, it is is recommended to install 10.04 instead. The repo script will however not work by default on 10.04. +It is recommended to use an older Linux distribution. All builds have been tested on Ubuntu 12.04 ("Precise Pangolin"), which can be downloaded from [here](https://old-releases.ubuntu.com/releases/12.04/ubuntu-12.04.5-desktop-amd64.iso), although for Eclair especially, it is recommended to install 10.04 instead. The repo script will however not work by default on 10.04. To prepare a build environment, you can use our own Bash script, which you can obtain [here](https://raw.githubusercontent.com/froyocomb/tools/refs/heads/main/envsetup.sh). Download it in your compiling environment and use chmod (or GUI interface) to give it executing permissions.