Skip to content

Commit

Permalink
readme: document gapps/microg flags and add build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
SirRGB committed Sep 8, 2023
1 parent 06e1eb7 commit dd68402
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,41 @@ To get started with Android/AmogOS, you'll need to get
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).

To initialize your local repository using the LMODroid trees, use a command like this:
```
```bash
repo init -u https://github.com/AmogOS-Rom/android_manifest/ -b thirteen --git-lfs
```

Then to sync up:
```
```bash
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
```

Before building you can set environment variables to include gapps or microg.
```bash
# include gapps in the build
export GAPPS=true

# include microg
export GAPPS=false

# unset env variables for vanilla, if previously set
unset GAPPS
```

To start the build you should run the following commands.
```bash
source build/envsetup.sh

# replace $codename with the actual codename of your device
lunch lmo_$codename-userdebug

m bacon
```

Credits
===========

- LmoDroid
- LeafOS
- Radek Błędowski
- Игорь Ч (Igor121)

0 comments on commit dd68402

Please sign in to comment.