From 0d4bb284b5f9b00bca202a0bd463ac128e357400 Mon Sep 17 00:00:00 2001 From: Davigamer987 Date: Tue, 9 Jan 2024 18:39:27 -0300 Subject: [PATCH] manifest: Amog-ify Android 14 Manifest --- README.mkdn | 44 +++++++++++++++++++++++++++---- snippets/amogos.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 5 deletions(-) create mode 100644 snippets/amogos.xml diff --git a/README.mkdn b/README.mkdn index d2fe14be..9e480135 100644 --- a/README.mkdn +++ b/README.mkdn @@ -1,17 +1,51 @@ -LMODroid +AmogOS Rom =========== Getting started --------------- -To get started with Android/LMODroid, you'll need to get +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 staging/fourteen --git-lfs ``` -repo init -u https://git.libremobileos.com/LMODroid/manifest.git -b staging/fourteen --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 and set the maintainer. +```bash +# include gapps in the build +export GAPPS=true + +# include microg +export GAPPS=false + +# unset env variables for vanilla, if previously set +unset GAPPS + +# maintainer flag, replace $yourName with your name +export AMOGOS_MAINTAINER=$yourName +``` + +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 lmodroid_$codename-userdebug + +m bacon +``` + +Credits +=========== + +- LmoDroid +- LeafOS +- Radek Błędowski +- Игорь Ч (Igor121) diff --git a/snippets/amogos.xml b/snippets/amogos.xml new file mode 100644 index 00000000..362243b2 --- /dev/null +++ b/snippets/amogos.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +