Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 2 KB

README.mkdn

File metadata and controls

96 lines (64 loc) · 2 KB

Aim Rom Android 10

Getting Started

To get started with the building process, you'll need to get familiar with Git and Repo.

To initialize your local repository, use a command like this:

Make directory for the repo binary

$ mkdir ~/bin

Add directory for the repo binary to its path

$ PATH=~/bin:$PATH

Downloading repo binary and placing it in the proper directory

  $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

Giving the repo binary the proper permissions

  $ chmod a+x ~/bin/repo

Creating directory for where the aimrom repo will be stored and synced

   $ mkdir aim
   $ cd aim

Now init repo

    repo init -u git://github.com/AIMROM/manifest.git -b 10.0

Then to sync up:

    repo sync  -f --force-sync --no-clone-bundle --no-tags -j$(nproc --all)

Additionally, you can define the number of parallel download repo should do:

    repo sync -jX -f --force-sync --no-clone-bundle --no-tags

While X being the number of parallel downloads

Building The Project

From root directory of AIM type following commands in terminal

	. build/envsetup.sh
   
    lunch aim_$devicecodename-$BuildType
   
	brunch $devicecodename

Example

If your device code name is "goldfish", then:

	. build/envsetup.sh

    lunch aim_goldfish-userdebug

	brunch goldfish

Obtaining the compiled zip

From the root directory of AIM type following commands in the terminal

	cd $OUT/target/product/$devicecodename/$AIM*.zip