Skip to content

Commit

Permalink
Document 'WITH_MICROG'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanchon committed Aug 2, 2023
1 parent 9b02a92 commit d38860e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@ the list of devices for each specific branch (see [the examples](#examples)).

### GMS / microG

To include microG (or possibly the actual Google Mobile Services) in your build,
LineageOS expects certain Makefiles in `vendor/partner_gms` and variable
`WITH_GMS` set to `true`.
To include microG's components in your build, you must provide the components
in `vendor/partner_gms` and set variable `WITH_MICROG` to `true`.

[This][android_vendor_partner_gms] repo contains the common packages included for
official lineageos4microg builds. To include it in your build, create an XML
(the name is irrelevant, as long as it ends with `.xml`) in the
official lineageos4microg builds. To include it in your build, create a `microg.xml`
file (the name is irrelevant as long as it ends with `.xml`) in the
`/home/user/manifests` folder with this content:

```xml
Expand All @@ -70,6 +69,9 @@ official lineageos4microg builds. To include it in your build, create an XML
</manifest>
```

To include the actual Google Mobile Services in your build instead, provide
those components in `vendor/partner_gms` and set variable `WITH_GMS` to `true`.

### Additional custom apps

If you wish to add other apps to your ROM, you can include a repository with
Expand Down Expand Up @@ -231,7 +233,7 @@ docker run \
-e "DEVICE_LIST=bacon" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "WITH_GMS=true" \
-e "WITH_MICROG=true" \
-v "/home/user/lineage:/srv/src" \
-v "/home/user/zips:/srv/zips" \
-v "/home/user/logs:/srv/logs" \
Expand All @@ -258,7 +260,7 @@ docker run \
-e "DEVICE_LIST_LINEAGE_18_1=river,lake" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "WITH_GMS=true" \
-e "WITH_MICROG=true" \
-e "OTA_URL=https://api.myserver.com/" \
-v "/home/user/lineage:/srv/src" \
-v "/home/user/zips:/srv/zips" \
Expand Down Expand Up @@ -319,7 +321,7 @@ docker run \
-e "DEVICE_LIST=a6000" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "WITH_GMS=true" \
-e "WITH_MICROG=true" \
-e "INCLUDE_PROPRIETARY=false" \
-v "/home/user/lineage:/srv/src" \
-v "/home/user/zips:/srv/zips" \
Expand Down

0 comments on commit d38860e

Please sign in to comment.