Skip to content

Commit

Permalink
manifest: Amog-ify Android 14 Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
davigamer987 committed Jan 9, 2024
1 parent 308dfcb commit 0d4bb28
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 5 deletions.
44 changes: 39 additions & 5 deletions README.mkdn
Original file line number Diff line number Diff line change
@@ -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)
63 changes: 63 additions & 0 deletions snippets/amogos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- remotes -->
<remote name="amogos"
fetch="https://github.com/AmogOS-Rom"
revision="fourteen" />
<remote name="github"
fetch="https://github.com"
revision="fourteen" />
<remote name="gitlab"
fetch="https://gitlab.com" />

<!-- build -->
<remove-project name="LMODroid/platform_build" />
<project path="build/make" name="android_build" remote="amogos">
<copyfile src="core/root.mk" dest="Makefile" />
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
<linkfile src="core" dest="build/core" />
<linkfile src="envsetup.sh" dest="build/envsetup.sh" />
<linkfile src="target" dest="build/target" />
<linkfile src="tools" dest="build/tools" />
</project>
<remove-project name="LMODroid/platform_build_soong" />
<project path="build/soong" name="android_build_soong" remote="amogos" >
<linkfile src="root.bp" dest="Android.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" />
</project>

<!-- frameworks -->
<remove-project name="LMODroid/platform_frameworks_base" />
<project path="frameworks/base" name="android_frameworks_base" remote="amogos" />
<remove-project name="LMODroid/platform_frameworks_native" />
<project path="frameworks/native" name="android_frameworks_native" remote="amogos" />

<!-- packages -->
<remove-project name="LMODroid/platform_packages_apps_Settings" />
<project path="packages/apps/Settings" name="android_packages_apps_Settings" remote="amogos" />
<remove-project name="LMODroid/platform_packages_apps_Launcher3" />
<project path="packages/apps/Launcher3" name="android_packages_apps_Launcher3" remote="amogos" />
<remove-project name="LMODroid/platform_packages_apps_SetupWizard" />
<project path="packages/apps/SetupWizard" name="android_packages_apps_SetupWizard" remote="amogos" />

<!-- recovery -->
<remove-project name="LMODroid/platform_bootable_recovery" />
<project path="bootable/recovery" name="android_bootable_recovery" remote="amogos" />

<!-- selinux -->
<remove-project name="LMODroid/platform_device_lmodroid_sepolicy" />
<project path="device/lmodroid/sepolicy" name="android_device_lmodroid_sepolicy" remote="amogos" />

<!-- vendor -->
<remove-project name="LMODroid/platform_vendor_lmodroid" />
<project path="vendor/lmodroid" name="android_vendor_lmodroid" remote="amogos" />
<!-- MindTheGapps -->
<project name="MindTheGapps/vendor_gapps" path="vendor/gapps" remote="gitlab" revision="upsilon" />
<!-- MicroG -->
<project name="android_vendor_partner_gms" path="vendor/partner_gms" remote="amogos" revision="master" />
<!-- Updater -->
<remove-project name="LMODroid/platform_packages_apps_Updater" />
<project name="android_packages_apps_Updater" path="packages_apps_Updater" remote="amogos" />
<project name="ota_config" path="vendor/ota_config" remote="amogos" />
</manifest>

0 comments on commit 0d4bb28

Please sign in to comment.