[Android Software Development] Deltadroid:
This thread is created to provide modular gapps packages for CM11, CM12, CM12.1, CM13, CM14, CM14.1 and Lineage 15.1/AOSP based custom Android ROMs.

The base gapps packages install the latest available DPI specific version of Google Play Services, depending on the actual DPI of the device which is defined within /system/build.prop (ro.sf.lcd_density).

These packages are for arm/arm64 devices (see file description for more information).

Devices with A/B partition are currently not supported.

All packages include backup scripts to automatically restore gapps after applying rom updates.

The base gapps packages will not replace any stock applications or libraries. Some of the provided addons will replace their equivalent stock application (see links below for more information). The installation policy of the addons is to replace if there is a stock equivalent so that there is no duplicate functionality with applications.

These gapps packages are compatible with all resolution devices and will automatically install the proper DPI version, depending on the devices DPI defined in build.prop.

The base gapps packages contain only the required core Google applications, framework and libraries (Google Play Services, Calendar Sync, Contacts Sync, Facelock, and Google Play Store). All other Google apps can be installed from Play Store after installing the base gapps package. The base gapps packages can be used with any combination of the add-ons below to save space on the data partition by installing the applications to the system partition.

A factory reset is recommended when installing the following addons for the first time: calculator, camera, clock, keyboard. Although, updating these addons, after they have already been successfully installed, does not require a factory reset. These applications share the same process name as their stock equivalent which is why they require a clean initial install (or factory reset) in order to show up in the list of installed applications in Google Play Store.

Installation procedure for switching gapps distributions:

1) Reboot to recovery

2) Factory Reset

3) Format system partition

4) Install ROM

5) Install gapps packages (base + addons)

6) Reboot to system

Installation notes:

Note #1: Notice how manually formatting the /system partition removes all of the currently installed gapps backup scripts in /system/addon.d/ and prevents them from executing. Preventing the currently installed gapps backup scripts in /system/addon.d/ from executing stops them from interfering with the installation of the new gapps distribution. This procedure is only necessary if the currently installed version of gapps contains backup scripts that don't match the backup scripts of the new version of gapps. If unsure, it is recommended to initially follow this procedure to ensure a clean installation.

Note #2: When flashing the base gapps packages, Google Facelock will not be installed if the following file /sdcard/.removefacelock exists. Google FaceLock will always be installed if the following file /sdcard/.forcefacelock exists.

Note #3: When flashing the base gapps packages, Google's Setup Wizard (SetupWizard.apk) will not be installed and the stock Provision Setup Wizard (Provision.apk) will not be removed if the following file /sdcard/.removesetupwizard exists. Some ROM's require only their stock provisional Setup Wizard (Provision.apk), instead of Google's Setup Wizard (SetupWizard.apk).

Note #4: Starting with the Marshmallow Base Gapps package and above, ConfigUpdater can be optionally included in the installation when the following file /sdcard/.addconfigupdater exists. ConfigUpdater is not installed by default because it does not appear to provide any extra functionality. Although, it is still available for test purposes.

##################################

##################################

Kitkat Changelog:

1) Fix cleanup during install

2) Fix file permissions for /system/etc/permissions, /system/etc/preferred-apps, and /system/etc/g.prop. These directories contain xml files which should all be non-executable.

3) Add post-restore commands to fix permissions on newly restored directories that are not part of the original rom file system structure. For example, when the gapps and facelock backup scripts restore directories, the new directories are given full read/write/execute (777) permissions. These newly restored directories are now given write access only to root (755).

4) Merged with official 20140606 cyanogen gapps package and fixed missing entries from backup script.

5) Updated to 4.4.4 google apps.

6) Removed ConfigUpdater.apk from base package.

7) Modified script to consecutively copy and test files, to prevent using up too much space on tmpfs during the install process.

8) Install proper version of SetupWizard.apk, depending on if the target device is a phone or a tablet.

Kitkat Base Gapps Package:

Kitkat Base Gapps package for 4.4.4 (arm): gapps-base-arm-4.4.4-20170902-1-signed.zip

Kitkat gapps addons from latest Kitkat factory image:

Google Sound Search addon for 4.4.4: gapps-k-google-ears-20151013-1-signed.zip

See below for Standard and Additional Kitkat addons from Play Store

##################################

##################################

Lollipop Changelog:

1) Android 5.0.1 gapps

2) Fixed backup scripts to properly restore gapps upon ROM updates

3) Update core to Android 5.0.2 Gapps (using razor-lrx22g-factory-bff2093e image)

4) Update core to Android 5.1.0 (LMY47D) Gapps (using mantaray-lmy47d-factory-63eade7f image)

5) Create patches for 5.0.2 and 5.1.0 base gapps to compensate for the NOP deodex bug

6) Update core to Android 5.1.0 (LMY47O) Gapps (using razor-lmy47o-factory-ae3d97f9 image)

7) Modified script to consecutively copy and test files, to prevent using up too much space on tmpfs during the install process.

8) Update core to Android 5.1.1 (LMY47V) Gapps (using razor-lmy47v-factory-a58e6175 image)

9) Enable gesture typing in stock lollipop AOSP keyboard

10) Update core to Android 5.1.1 (LMY48G) Gapps (using razor-lmy48g-factory-9f37ae5f image)

11) Include sysconfig from stock Nexus Lollipop image

12) Update core to Android 5.1.1 (LMY48I) Gapps (using razor-lmy48i-factory-d0f2266b and shamu-lmy48i-factory-230e50fe images)

13) Update core to Android 5.1.1 (LMY48M) Gapps (using razor-lmy48m-factory-7c77e178 and shamu-lmy48m-factory-336efdae images)

14) Update core to Android 5.1.1 (LMY48T) Gapps (using razor-lmy48t-factory-b6a844f2 and shamu-lmy48t-factory-640cb302 images)

15) Updated installation to only install the dialer framework and permissions to GSM/CDMA devices. The dialer framework and permissions will now only be installed to devices with telephony capabilities.

Lollipop Base Gapps Package:

Lollipop Base Gapps package for 5.0.2 (arm): gapps-base-arm-5.0.2-20170902-1-signed.zip

Lollipop Base Gapps package for 5.1.1 (arm): gapps-base-arm-5.1.1-20170902-1-signed.zip

Lollipop gapps addons from latest Lollipop factory image:

Google Sound Search addon for 5.0.2+: gapps-l-google-ears-20151013-1-signed.zip

Google Tags addon for 5.0.2+: gapps-l-google-tags-20151019-1-signed.zip (replaces stock nfc tag)

See below for Standard and Additional Lollipop addons from Play Store

##################################

##################################

Marshmallow Changelog:

1) Update core to Android 6.0.0 (MRA58K) Gapps (using razor-mra58k and shamu-mra58k images).

2) Update core to Android 6.0.0 (MRA58V) Gapps (using razor-mra58v-factory-45d0421b and shamu-mra58n-factory-bffc99bb images).

3) Update core to Android 6.0.0 (MRA58R) Gapps (using shamu-mra58r-factory-1b87b77e image).

4) Update core to Android 6.0.1 (MMB29K) Gapps (using razor-mmb29k-factory-a39e7047 and shamu-mmb29k-factory-9a76896b images)

5) Update core to Android 6.0.1 (MMB29O/MMB29S) Gapps (using razor-mmb29o-factory-dfe7fcb2 and shamu-mmb29s-factory-fc7b590e images)

6) Removed "shell" group permissions from subdirectories of /system/etc (following new marshmallow directory structure)

7) Added "shell" group permissions to /system/vendor

8) Added facial recognition support library from nexus factory image (/system/vendor/lib/libfrsdk.so).

9) Added a new detection method for determining if the target device has telephony capabilities by checking for the existence of telephony permissions in /system/etc/permissions/.

10) Fixed installation to only install the dialer framework and permissions to GSM/CDMA devices. The dialer framework and permissions will now only be installed to devices with telephony capabilities.

11) If FaceLock is removed from the Marshmallow Base Gapps install by using the switch (/sdcard/.removefacelock), libfrsdk.so (facial recognition support library) will now also be removed from the system partition.

12) Installing Google SetupWizard will not remove the stock provisional setup wizard (Provision.apk) when using the /sdcard/.addsetupwizard switch.

13) Google ConfigUpdater will be optionally installed with a switch (/sdcard/.addconfigupdater)

14) Update core to Android 6.0.1 (MMB29Q) Gapps (using razor-mmb29q-factory-0fe7279d and shamu-mmb29q-factory-3bbc7e8b factory images)

15) Update core to Android 6.0.1 (MMB29V) Gapps (using razor-mmb29v-factory-80cca7f5 and shamu-mmb29v-factory-0b4a53f0 factory images)

16) Update core to Android 6.0.1 (MMB29X) Gapps (using razorg-mmb29x-factory-b10126ce and shamu-mmb29x-factory-ef4cbb75 factory images)

17) Update core to Android 6.0.1 (MOB30D) Gapps (using razor-mob30d-factory-15169856 and shamu-mob30d-factory-033f2c53 factory images)

18) Update core to Android 6.0.1 (MOB30J) Gapps (using razor-mob30j-factory-a2878e21 and shamu-mob30i-factory-21357b09 factory images)

19) Update core to Android 6.0.1 (MOB30M) Gapps (using razor-mob30m-factory-3885fd11 and shamu-mob30m-factory-55e10749 factory images)

20) Update core to Android 6.0.1 (MOB30P) Gapps (using razor-mob30p-factory-bc5c29a7 and shamu-mob30o-factory-e90fd025 factory images)

21) Update core to Android 6.0.1 (MOB30X) Gapps (using razor-mob30x-factory-a2a73e87 and shamu-mob30w-factory-df0677d3 factory images)

22) Update core to Android 6.0.1 Gapps for am64 (using OnePlus2Oxygen_14_OTA_019_all_1606041303_bd42fc5cc5cc4ab2 and angler-mtc20l-factory-b7864fdb factory images.)

Marshmallow Base Gapps Package:

Marshmallow Base Gapps package for 6.0.1 (arm): gapps-base-arm-6.0.1-20170902-1-signed.zip

Marshmallow Base Gapps package for 6.0.1 (arm64): gapps-base-arm64-6.0.1-20170902-1-signed.zip

Marshmallow gapps addons from latest Marshmallow factory image:

Google Sound Search addon for 6.0.0+: gapps-m-google-ears-20151208-1-signed.zip

Google Tags addon for 6.0.0+: gapps-m-google-tags-20151208-1-signed.zip (replaces stock nfc tag)

See below for Standard and Additional Marshmallow addons from Play Store

##################################

##################################

Nougat Changelog:

1) Update core to Android 7.0.0 (NPD90G) Gapps (using seed_l8150-npd90g-factory-48f59c99 factory image)

2) Update core to Android 7.0.0 (NRD90M) Gapps (using seed_l8150-nrd90m-factory)

3) Update core to Android 7.1.0 (NDE63P) Gapps (using marlin-nde63p-factory-dcdaaa51 factory image)

4) Port swipe library from Marshmallow to Nougat.

5) Update core to Android 7.1.1 (NMF26Q) Gapps (using sailfish-nmf26q-factory-a84e0e4b factory image)

6) Update core to Android 7.1.1 (NMF26V) Gapps (using sailfish-nmf26v-factory-8ba1f89e and shamu-n6f26q-factory-460b565b factory images)

7) Update core to Android 7.1.2 (N2G47E) Gapps (using sailfish-n2g47e-factory-00a46e7e factory image)

Nougat Base Gapps Package:

Nougat Base Gapps package for 7.1.2 (arm): gapps-base-arm-7.1.2-20180730-1-signed.zip

Nougat Base Gapps package for 7.1.2 (arm64): gapps-base-arm64-7.1.2-20180730-1-signed.zip

See below for Standard and Additional Nougat addons from Play Store

##################################

##################################

Oreo Changelog:

1) Update core to Android 8.0.0 (OPR6) Gapps (using sailfish-opr6.170623.011-factory-0d712594 factory image)

2) Update core to Android 8.1.0 (OPM1) Gapps (using sailfish-opm1.171019.011-factory-56d15350 factory image)

3) Update core to Android 8.1.0 (OPM1) Gapps (using sailfish-opm1.171019.016-factory-8a6591cc factory image)

Oreo Base Gapps Package:

Oreo Base Gapps package for 8.1.0 (arm): gapps-base-arm-8.1.0-20180304-1-signed.zip

Oreo Base Gapps package for 8.1.0 (arm64): gapps-base-arm64-8.1.0-20180730-1-signed.zip

See below for Standard and Additional Oreo addons from Play Store

##################################

##################################

Pie Changelog:

1) Update core to Android 9.0.0 (PPR1) Gapps (using sailfish-ppr1.180610.010-factory-94ca0106 factory image)

Pie Base Gapps Package:

Pie Base Gapps package for 9.0.0 (arm): gapps-base-arm-9.0.0-20180918-1-signed.zip

Pie Base Gapps package for 9.0.0 (arm64): gapps-base-arm64-9.0.0-20180918-1-signed.zip

##################################

##################################

Filename legend:

k = kitkat support

l = lollipop support

m = marshmallow support

n = nougat support

Standard Kitkat, Lollipop, Marshmallow, Nougat and Oreo gapps addons from Google Play Store:

Google Cloud Print add-on for 4.4.4+ (arm/arm64): gapps-cloudprint-arm-arm64-klmn-20170706-1-signed.zip

Google Gmail add-on for 4.4.4+ (arm/arm64): gapps-gmail-arm-arm64-klmn-20180928-1-signed.zip (replaces stock email client)

Google Hangouts add-on for 5.0.2+ (arm): gapps-hangouts-arm-lmn-20170731-1-signed.zip

Google Hangouts add-on for 5.0.2+ (arm64): gapps-hangouts-arm64-lmn-20170731-1-signed.zip

Google News & Weather addon for 4.4.4+ (arm/arm64): gapps-news-arm-arm64-klmn-20170410-1-signed.zip

Google Search add-on for 4.4.4 (arm): gapps-search-arm-k-20170527-1-signed.zip (replaces stock quicksearchbox)

Google Search add-on for 5.0.2+ (arm): gapps-search-arm-lmn-20180928-1-signed.zip (replaces stock quicksearchbox)

Google Search add-on for 5.0.2+ (arm64): gapps-search-arm64-lmn-20180928-1-signed.zip (replaces stock quicksearchbox)

Google Talkback add-on for 4.4.4+ (arm/arm64): gapps-talkback-arm-arm64-klmn-20170622-1-signed.zip

Google Text-to-Speech add-on for 4.4.4+ (arm): gapps-tts-arm-klmn-20180615-1-signed.zip (replaces stock text-to-speech)

Additional Kitkat, Lollipop, Marshmallow, Nougat and Oreo gapps addons from Google Play Store:

Google Calculator add-on for 5.0.2+ (arm/arm64): gapps-calculator-arm-arm64-lmn-20170615-1-signed.zip (replaces stock calculator)

Google Calendar add-on for 4.4.4+ (arm/arm64): gapps-calendar-arm-arm64-klmn-20180615-1-signed.zip (replaces stock calendar)

Google Calendar Sync addon for 6.0.0+ (arm/arm64): gapps-mn-google-calendarsync-20160326-1-signed.zip

Google Camera addon for 5.0.2+ (arm): gapps-lmn-google-camera-20161012-2-signed.zip (replaces stock camera)

Google Camera addon for 6.0.0+ (arm): gapps-mn-google-camera-20161023-3-signed.zip (replaces stock camera) *This version of Google Camera requires a camera module that supports Google's latest video API. If video recording is not working, use the "lmn" version of Google Camera instead*

Google Camera add-on for 7.1.0+ (arm): gapps-camera-arm-n-20170725-1-signed.zip (replaces stock camera) *This version of Google Camera requires a camera module that supports Google's latest video API. If this version is not working properly, use the "lmn" version of Google Camera instead*

Google Camera add-on for 7.1.0+ (arm64): gapps-camera-arm64-n-20170725-1-signed.zip (replaces stock camera) *This version of Google Camera requires a camera module that supports Google's latest video API. If this version is not working properly, use the "lmn" version of Google Camera instead*

Google Cast addon for 4.4.4+ (arm): gapps-klmn-google-chromecast-20170108-1-signed.zip

Google Chrome add-on for 4.4.4 (arm): gapps-chrome-arm-k-20180615-1-signed.zip (replaces stock web browser)

Google Chrome add-on for 5.0.2+ (arm): gapps-chrome-arm-lm-20180615-1-signed.zip (replaces stock web browser)

Google Chrome add-on for 7.0.0+ (arm): gapps-chrome-arm-n-20180615-1-signed.zip (replaces stock web browser) *includes Google Webview*

Google Chrome add-on for 7.0.0+ (arm/arm64): gapps-chrome-arm-arm64-n-20180615-1-signed.zip (replaces stock web browser) *includes Google Webview*

Google Clock add-on for 4.4.4+ (arm/arm64): gapps-deskclock-arm-arm64-klmn-20180319-1-signed.zip (replaces stock deskclock)

Google Connectivity Services add-on for 5.0.2+ (arm/arm64): gapps-connectivity-arm-arm64-lmn-20170523-1-signed.zip

Google Contacts add-on for 5.0.2+ (arm/arm64): gapps-contacts-arm-arm64-lmn-20171225-1-signed.zip (replaces stock contacts)

Google Device Manager (Find My Device) add-on for 4.4.4+ (arm/arm64): gapps-device-arm-arm64-klmn-20180528-1-signed.zip

Google Docs addon for 5.0.2+ (arm): gapps-lmn-google-docs-20160804-1-signed.zip

Google Drive add-on for 4.4.4+ (arm): gapps-drive-arm-klmn-20171027-1-signed.zip

Google Drive add-on for 4.4.4+ (arm64): gapps-drive-arm64-klmn-20171027-1-signed.zip

Google Earth add-on for 4.4.4+ (arm): gapps-earth-arm-klmn-20170810-1-signed.zip

Google Earth add-on for 4.4.4+ (arm64): gapps-earth-arm64-klmn-20170429-1-signed.zip

Google Fit addon for 4.4.4+ (arm): gapps-klmn-google-fitness-20161113-1-signed.zip

Google Handwriting Input addon for 4.4.4+ (arm): gapps-klmn-google-handwriting-20160915-1-signed.zip

Google Hangouts Dialer addon for 5.0.2+ (arm/arm64): gapps-lmn-google-hangoutsdialer-20150902-2-signed.zip

Google Inbox add-on for 5.0.2+ (arm): gapps-inbox-arm-lmn-20171216-1-signed.zip (replaces stock email client)

Google Inbox add-on for 5.0.2+ (arm64): gapps-inbox-arm64-lmn-20171216-1-signed.zip (replaces stock email client)

Google Indic IME add-on for 4.4.4+ (arm): gapps-indic-arm-klmn-20170510-1-signed.zip

Google Indic IME add-on for 4.4.4+ (arm64): gapps-indic-arm64-klmn-20170510-1-signed.zip

Google Japanese IME add-on for 4.4.4+ (arm): gapps-japanese-arm-klmn-20170510-1-signed.zip

Google Japanese IME add-on for 4.4.4+ (arm64): gapps-japanese-arm64-klmn-20170510-1-signed.zip

Google Keep add-on for 4.4.4+ (arm): gapps-keep-arm-klmn-20170920-1-signed.zip

Google Keep add-on for 4.4.4+ (arm64): gapps-keep-arm64-klmn-20170920-1-signed.zip

Google Keyboard add-on for 4.4.4+ (arm): gapps-keyboard-arm-klmn-20180122-1-signed.zip (replaces stock keyboard)

Google Keyboard add-on for 4.4.4+ (arm64): gapps-keyboard-arm64-klmn-20180122-1-signed.zip (replaces stock keyboard)

Google Maps add-on for 5.0.2+ (arm): gapps-maps-arm-lmn-20171101-1-signed.zip

Google Maps add-on for 5.0.2+ (arm64): gapps-maps-arm64-lmn-20170831-1-signed.zip

Google Messenger add-on for 5.0.2+ (arm): gapps-messenger-arm-lmn-20170831-1-signed.zip (replaces stock sms/mms application)

Google Messenger add-on for 5.0.2+ (arm64): gapps-messenger-arm64-lmn-20170831-1-signed.zip (replaces stock sms/mms application)

Google Now Launcher addon for 4.4.4+ (arm/arm64): gapps-home-arm-arm64-klmn-20171212-1-signed.zip

Google PDF Viewer addon for 5.0.2+ (arm): gapps-lmn-google-pdf-20160908-1-signed.zip

Google Phone add-on for 6.0.0+ (arm) gapps-phone-arm-mn-20180514-1-signed.zip (replaces stock dialer) *must be set as default dialer*

Google Phone add-on for 6.0.0+ (arm64) gapps-phone-arm64-mn-20180514-1-signed.zip (replaces stock dialer) *must be set as default dialer*

Google Photos add-on for 5.0.2+ (arm): gapps-photos-arm-lmn-20180605-1-signed.zip (replaces stock gallery)

Google Photos add-on for 5.0.2+ (arm64): gapps-photos-arm64-lmn-20180605-1-signed.zip (replaces stock gallery)

Google Pinyin IME add-on for 4.4.4+ (arm): gapps-pinyin-arm-lmn-20170510-1-signed.zip

Google Pinyin IME add-on for 4.4.4+ (arm64): gapps-pinyin-arm64-lmn-20170510-1-signed.zip

Google Pixel Launcher add-on for 5.0.2+ (arm/arm64): gapps-pixellauncher-arm-arm64-lmn-20171021-1-signed.zip (includes Gooogle Wallpapers)

Google Play Books add-on for 4.4.4+ (arm/arm64): gapps-books-arm-arm64-klmn-20170424-1-signed.zip

Google Play Games add-on for 4.4.4+ (arm): gapps-games-arm-klmn-20170730-1-signed.zip

Google Play Games add-on for 4.4.4+ (arm64): gapps-games-arm64-klmn-20170730-1-signed.zip

Google Play Movies & TV addon for 4.4.4+ (arm): gapps-klmn-google-movies-20161217-1-signed.zip

Google Play Music add-on for 4.4.4+ (arm/arm64): gapps-music-arm-arm64-klmn-20171225-1-signed.zip (replaces stock music player)

Google Play Newsstand add-on for 4.4.4+ (arm/arm64): gapps-magazine-arm-arm64-klmn-20170512-1-signed.zip

Google Play Services for Instant Apps add-on for 6.0.0+ (arm): gapps-instantapps-arm-mn-20170914-1-signed.zip

Google Plus add-on for 5.0.2+ (arm): gapps-plus-arm-lmn-20171216-1-signed.zip

Google Sheets addon for 5.0.2+ (arm): gapps-lmn-google-sheets-20160804-1-signed.zip

Google Slides addon for 5.0.2+ (arm): gapps-lmn-google-slides-20160804-1-signed.zip

Google Snapseed add-on for 5.0.2+ (arm): gapps-snapseed-arm-lmn-20170603-1-signed.zip

Google Street View add-on for 5.0.2+ (arm): gapps-street-arm-lmn-20170609-1-signed.zip

Google Translate add-on for 4.4.4+ (arm): gapps-translate-arm-klmn-20180615-1-signed.zip

Google Webview add-on for 5.0.2+ (arm): gapps-webview-arm-lmn-20180130-1-signed.zip (replaces stock webview)

Google Webview add-on for 5.0.2+ (arm/arm64): gapps-webview-arm-arm64-lmn-20180130-1-signed.zip (replaces stock webview)

Google Youtube add-on for 5.0.2+ (arm): gapps-youtube-arm-lmn-20180615-1-signed.zip

##################################

##################################