3
0
Fork 0
Go to file
ralph950412 158422be4b gms: Update from husky-ud1a.230803.041-factory-cca7e111 2023-12-09 15:56:34 +08:00
common
products
rro_overlay
Android.mk
README.md
exclude-tag.txt
extract-files.sh
overlay-template.txt
proprietary-files.txt
setup-makefiles.sh

README.md

vendor_gms

Basic usage

  • If you just wanna use this repository, then you just need to include products/gms.mk
  • This is as simple as: $(call inherit-product-if-exists, vendor/gms/products/gms.mk)

Advanced usage

Initial setup

  • Install xmlstarlet
    • sudo apt install xmlstarlet, sudo pacman -S xmlstarlet, etc. depending on your distribution.
  • Install apktool, make sure its available in PATH

Extracting / updating extracted overlays

Basically the same as regular extract-files

./extract-files.sh /path/to/a/dump

Removing certain overlays

  • If certain overlays are not required, you can simply add them to exclude-tag.txt, those will be removed from the extracted overlays.

Miscellaneous information

  • The main changes here are the addition of apktool and xmlstarlet, to allow us to extract the necessary overlays from some RROs.
  • Since the process does take a while, to speed it up, all extraction is done in the background. This might not be suitable for weaker systems if there is a very high number of overlays to be extracted.