-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gapps-config
425 lines (307 loc) · 24 KB
/
.gapps-config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
# OPENGAPPS - GAPPS-CONFIG
############################
ADVANCED FEATURES AND OPTIONS
###############################
# All variants of the Open GApps installer (except Aroma*) will look for and take extra configuation options from a gapps-config file. This file is completely optional; without it, the installers will function exactly as described in the Package Comparison chart [01]. The gapps-config file allows for these kinds of customizations and more:
# - You can limit which GApps are installed.
# (example use case: "I don't want Google Play Books to be installed.")
# - You can limit which stock apps the installer removes.
# (example use case: "I want to install Google Camera but I don't want the stock camera removed.")
# - You can make the installer remove stock apps apps of your choice.
# (example use case: "I want to remove the stock Spare Parts app.")
# * The Aroma Package [02] includes the Super package and a GUI that provides roughly the same set of customizations as the gapps-config file. It can load and save configurations, but it uses its own format and will not read the gapps-config file.
# GAPPS-CONFIG FILE LOCATION
##############################
# You can place the gapps-config file in /sdcard/Open-GApps/gapps-config.txt, or in 11 other locations as follows. The gapps-config file must be named one of the following:
# - .gapps-config (takes precedence)
# - gapps-config.txt
# The gapps-config file must be placed in one of the following folders:
# - the folder containing the Open GApps installer (takes precedence)
# - /sdcard/Open-GApps
# - /persist
# You can have a device-specific gapps-config file. You will need your device name, which you can find in open_apps_log.txt or in the name of your ROM download. The gapps-config file must be named one of the following:
# - .gapps-config-DEVICENAME
# - gapps-config-DEVICENAME.txt
# Device-specific config files will take precedence over the non-device-specific ones.
# WRITING AND TESTING THE GAPPS-CONFIG FILE
#############################################
# The gapps-config file consists of one keyword per line. The available keywords are categorized in the sections below. If you want to use different settings per device, you can create a text file named .gapps-config-devicename or gapps-config-devicename.txt replacing devicename with your device's codename (which is also shown in open_gapps_log.txt) and put it in the same locations described above. (You can usually find it in the name of your ROM download). If you don't provide one, the normal gapps-config file will be used.
# COMMENTS AND WHITESPACE
###########################
# You can add notes or comments to your gapps-config using a #. Anything following a # will be ignored until the end of that line. For example, # Exclude Search would be completely ignored, while Search # Exclude Search would process the first Search keyword (since it appeared BEFORE the #). Case, order, spaces, and empty lines are ignored in the gapps-config file.
# TESTING
###########
# To perform a test installation that will only simulate an install, add the keyword Test to your gapps-config. The installer will perform all system space calculations and generate a detailed open_apps_log.txt file (in the same folder as your gapps-config), but WILL NOT MAKE ANY CHANGES to your device. This should be helpful for trying to find just the right combination of apps that will work with your particular device.
## Un-comment to activate the selection(s):
#Test
# DEBUG LOGS
##############
# By default, the installer will generate Debug Logs that can help the devs troubleshoot any problems you might experience with the install. The logs are compressed and stored in a file named open_gapps_debug_logs.tar.gz in the same folder as the open_apps_log.txt file. This file can be easily attached to any bugreport on GitHub or post on XDA, making it easy for you to provide the devs important information to help troubleshoot any issues you're having. You may disable this feature by adding the keyword NoDebug to your gapps-config.
## Un-comment to activate the selection(s):
#NoDebug
# CONFIGURING YOUR INSTALLATION
#################################
# DOWNSIZING
##############
# You can transform any GApps package into one of its "little brothers" by adding one of the following keywords to your gapps-config. This will transform ALL INSTALLER BEHAVIOR (including default removals AND applications available for install) -- effectively turning it into the smaller GApps package. Valid keyword options are:
## Un-comment to activate the selection(s):
# StockGApps # [Super+]
# FullGApps # [Stock+]
# MiniGApps # [Full+]
# MicroGApps # [Mini+]
# NanoGApps # [Micro+]
# PicoGApps # [Nano+]
# INCLUDE OR EXCLUDE GAPPS
############################
# You can choose either the apps you WANT installed or the apps you DON'T WANT installed.
# - "Include" install: To select ONLY the apps you WANT installed, add the keyword Include to your gapps-config file. The installer will now install ONLY THOSE APPS you have listed in your gapps-config.
# - "Exclude" install: To select ONLY the apps you DON'T want installed, no keyword is necessary, because the default behavior is an Exclude install.
# To use this feature, add the the keyword for each app you want to Include/Exclude inside your gapps-config file. The following is a sample "Include" gapps-config that contains all available app keywords -- using this gapps-config without modifications will install all apps the installer has available. You start with this file and comment out the apps you do not want installed.
########## EXAMPLE INCLUDE INSTALL START ###########
# Un-comment to activate the selection(s):
# Include
## Pico+ # [03]
# Un-comment to activate the selection(s):
# DialerFramework # Install Dialer Framework
# CalSync # Install Google Calendar Sync (except if Google Calendar is being installed)
# GoogleTTS # Install Google Text-to-Speech (Micro+ on 5.0-, Pico+ on 6.0+)
# PackageInstallerGoogle # Install Google Package Installer [04]
## Nano+ # [05]
# Un-comment to activate the selection(s):
# FaceDetect # Install FaceUnlock
# FaceUnlock # Install FaceUnlock
# Search # Install Google Search (including includes Hotword, excluding excludes GoogleNow and PixelLauncher)
# Speech # Install Offline Speech Files
# Hotword # Install OK Google Hotword Enrollment
## Micro+ # [06]
# Un-comment to activate the selection(s):
# Gmail # Install Gmail
# CalendarGoogle # Install Google Calendar
# ExchangeGoogle # Install Google Exchange Services
# GoogleNow # Install Google Now Launcher (requires Search)
# GoogleTTS # Install Google Text-to-Speech (Micro+ on 5.0-, Pico+ on 6.0+)
## Mini+ # [07]
# Un-comment to activate the selection(s):
# CalculatorGoogle # Install Google Calculator
# ClockGoogle # Install Google Clock
# Maps # Install Google Maps
# TagGoogle # Install Google NFC Tags
# Photos # Install Google Photos
# GooglePlus # Install Google+
# Hangouts # Install Hangouts
# YouTube # Install YouTube
## Full+ # [08]
## Un-comment to activate the selection(s):
# Chrome # Install Google Chrome Browser
# CloudPrint # Install Google Cloud Print
# Docs # Install Google Docs
# Drive # Install Google Drive
# Fitness # Install Google Fit
# Keep # Install Google Keep
# NewsWidget # Install Google News & Weather
# Books # Install Google Play Books
# PlayGames # Install Google Play Games
# Movies # Install Google Play Movies & TV
# Music # Install Google Play Music
# NewsStand # Install Google Play Newsstand
# Sheets # Install Google Sheets
# Slides # Install Google Slides
# Talkback # Install Google TalkBack
## Stock+ # [09]
## Un-comment to activate the selection(s):
# CameraGoogle # Install Google Camera
# ContactsGoogle # Install Google Contacts
# DialerGoogle # Install Google Dialer
# KeyboardGoogle # Install Google Keyboard
# Messenger # Install Google Messenger (except on tablet devices)
# PixelIcons # Install Google Pixel Icons
# StorageManagerGoogle # Install Google Storage Manager
# VRService # Install Google VR Services
# WebViewGoogle # Install Google Webview
# PixelLauncher # Install Pixel Launcher (requires Search and Wallpapers)
# PrintServiceGoogle # Install Print Service Recommendation Service
# Wallpapers # Install Wallpapers
## Super+ # [10]
## Un-comment to activate the selection(s):
# AndroidPay # Install Android Pay
# DMAgent # Install Google Apps Device Policy
# GCS # Install Google Connectivity Services (excluding also excludes ProjectFi)
# Earth # Install Google Earth
# Indic # Install Google Indic Keyboard
# Japanese # Install Google Japanese Input
# Korean # Install Google Korean Input
# Pinyin # Install Google Pinyin Input
# Street # Install Google Street View
# Translate # Install Google Translate
# Zhuyin # Install Google Zhuyin Input
# ProjectFi # Install Project Fi by Google
########## EXAMPLE INCLUDE INSTALL FINISH ##########
# PREVENT AUTOMATIC STOCK REMOVALS
####################################
# When installing a Google app that can replace a stock app, the stock app is automatically removed. For example, if you are installing Hangouts or Messenger, then the Stock SMS app will automatically be removed.
# To prevent the automatic removal of the stock apps when using the Open GApps Super/Stock package, type the keyword option preceded by a '+' as shown below:
## Un-comment to activate the selection(s):
# +Browser # Don't remove Stock Browser, even if Google Chrome is being installed
# +CalendarStock # Don't remove Stock Calendar, even if Google Calendar is being installed
# +CameraStock # Don't remove Stock Camera, even if Google Camera is being installed
# +Email # Don't remove Stock Email, even if Gmail is being installed
# +ExchangeStock # Don't remove Stock Exchange services, even if Google Exchange Services is being installed
# +Gallery # Don't remove Stock Gallery, even if Google Photos is being installed
# +KeyboardStock # Don't remove Stock Keyboard, even if Google Keyboard is being installed
# +Launcher # Don't remove Stock Launchers, even if Google Now Launcher is being installed
# +MMS # Don't remove Stock SMS app, even if Hangouts or Messenger is being installed
# +PicoTTS # Don't remove PicoTTS, even if GoogleTTS is being installed
# REMOVE STOCK APPS
#####################
# You can specify built-in (stock) apps you want removed. Stock removals function the same regardless of whether you're doing an "Include" or "Exclude" install. Here are the vendors we support. Since different vendors use different names for their stock apps, some apps might remain unremoved if you are using another vendor.
# - AOSP
# - BLU
# - CyanogenMod
# - Flux
# - FlymeOS (BrowserIntl, Browser, CustomizeCenter, EasyLauncher, FileManager, FlymeLauncherIntl, FlymeLauncher, MzMPay, MzPay, MzInput, MzSetupWizard, MzUpdate, SystemUpdate, SystemUpdateAssistant, Weather)
# - Lenovo (packageinstaller)
# - Miui
# - MoKee (Nox launcher, YuBrowser)
# - Motorola
# - Omni (Apollo, Omni Deskclock2, OmniSwitch)
# - Paranoid Android
# To use this feature, add the the keyword for each stock app you want removed, inside your gapps-config file. The following is a sample gapps-config that contains all available stock removal keywords -- using this gapps-config without modifications won't remove anything (that is not automatically removed, see below). You can start with this file and uncomment the apps you want removed:
########## EXAMPLE INCLUDE INSTALL START ###########
## Un-comment to activate the selection(s):
# BasicDreams # Remove Basic Dreams Wallpaper
# CMAccount # Remove CM Account Application
# CMBugReport # Remove CM Bug Report Application
# CMAudioFX # Remove CM AudioFX
# CMFileManager # Remove CM File Manager
# CMMusic # Remove CM Music
# CMScreenCast # Remove CM ScreenCast app
# CMSetupWizard # Remove CM Setup Wizard (see Notes for CMSetupWizard) [11]
# CMUpdater # Remove CM Updater
# CMWallpapers # Remove CM Wallpapers
# CMWeatherProvider # Remove CM Weather Underground
# DashClock # Remove DashClock Widget (found in certain ROMs)
# Galaxy # Remove Galaxy (also known as BlackHole) Wallpaper
# Hexo # Remove Hexo Libre Theme
# HoloSpiral # Remove Holo Spiral Wallpaper
# NoiseField # Remove Noise Field Wallpaper
# OmniSwitch # Remove OmniSwitch recent apps switcher replacement
# Phasebeam # Remove Phasebeam Wallpaper
# PhotoPhase # Remove Photo Phase Wallpaper
# PhotoTable # Remove Photo Table Wallpaper
# Browser # Remove Stock Browser
# CalculatorStock # Remove Stock Calculator (automatically removed when Google Calculator is installed)
# CalendarStock # Remove Stock Calendar (automatically removed when Google Calendar is installed)
# CameraStock # Remove Stock Camera
# ClockStock # Remove Stock Desk Clock (automatically removed when Google Clock is installed)
# Email # Remove Stock Email Client
# ExchangeStock # Remove Stock Exchange Services (automatically removed when Google Exchange Services is installed)
# MzFileManager # Remove Stock FlymeOS File Manager
# MzPay # Remove Stock FlymeOS Pay system (because MzPay services works only in China)
# MzSetupWizard # Remove Stock FlymeOS SetupWizard
# MzUpdater # Remove Stock FlymeOS Updaters
# MzWeather # Remove Stock FlymeOS Weather (because MzWeather service work only in China)
# FMRadio # Remove Stock FM Radio (not found on all devices or ROMs)
# Gallery # Remove Stock Gallery
# KeyboardStock # Remove Stock Keyboard (automatically removed when Google Keyboard is installed)
# Launcher # Remove Stock Launcher(s)
# LiveWallpapers # Remove Stock Live Wallpapers
# LockClock # Remove Stock Lockscreen Clock Widget
# Studio # Remove Stock Movie Studio
# TagStock # Remove Stock NFC Tags (automatically removed when Google NFC Tags is installed)
# PicoTTS # Remove Stock PicoTTS
# PrintServiceStock # Remove Stock Print Service Recommendation Service (automatically removed when Google Print Service Recommendation Service is installed)
# SimToolKit # Remove Stock SimToolKit
# SoundRecorder # Remove Stock Sound Recorder
# MMS # Remove Stock SMS (automatically removed if Google Messenger and/or Hangouts is installed)
# StorageManagerStock # Remove Stock Storage Manager (automatically removed when Google Storage Manager is installed)
# Terminal # Remove Stock Terminal
# Themes # Remove Stock Theme Engine (will break the Settings Entry and can cause unexpected reboots on some ROMs)
# VisualizationWallpapers # Remove Stock Visualization Wallpapers
# WhisperPush # Remove Stock WhisperPush support
########## EXAMPLE INCLUDE INSTALL FINISH ###########
# In addition to the Stock Removals above, you can remove ANY system app on your device or ROM, with the EXCEPTION of (core) apps that are part of Open GApps itself. To use this feature, enclose the name of the apk in parentheses inside your gapps-config file. For example, to remove the Spare Parts app found in many ROMs, simply add (SpareParts) to your gapps-config. When using this feature, keep the following in mind:
# Adding the .apk extension is not required (but will work).
# Works for all apps in any system/app or system/priv-app subfolder.
# Removes the entire contents of the folder containing the apk (including subfolders).
# Removal is also added to the addon.d backup script so the removals will also be applied if you update your ROM.
# Gives you the ability to do some really bad things to your device, so DO A BACKUP before trying.
# WARNING: Because this feature gives you the ability to remove files that may be important to the proper function of your device, it is only recommended for very experienced users who know what they are doing.
# ENABLE GOOGLE ASSISTANT
###########################
Open GApps can add ro.opa.eligible_device=true to the build.prop file, to enable Google Assistant. By default this feature is not enabled, but it can be activated by adding the GoogleAssistant keyword. If there is any line with ro.opa.eligible_device already in the build.prop it will NOT be overwritten.
## Un-comment to activate the selection(s):
#GoogleAssistant
# FORCE DPI SETTING
#####################
# Open GApps normally selects the correct DPI-optimized app that suits your device [12], based on the information that is supplied by recovery and otherwise found in default.prop or build.prop. Sometimes one might want to override this DPI setting, e.g. for testing, in those situations the keyword forcedpiXXX can be used, where XXX is replaced with one of the valid default DPIs including: 120, 160, 213, 240, 260, 280, 300, 320, 340, 360, 400, 420, 480, 560, 640 or nodpi
## Un-comment to activate the selection(s):
# forcedpi120
# forcedpi160
# forcedpi213
# forcedpi240
# forcedpi260
# forcedpi280
# forcedpi300
# forcedpi320
# forcedpi340
# forcedpi360
# forcedpi400
# forcedpi420
# forcedpi480
# forcedpi560
# forcedpi640
# forcedpinodpi
# FORCE NEW CAMERA
####################
# Open GApps normally detects if the device is deemed compatible with the New Camera API based on fields specified in build.prop and a whitelist. If not deemed compatible, the newest Google Camera (version 3 and higher) will not be installed but the older version 2 instead (googlecameralegacy). To override this detection the forcenewcamera keyword can be used. Note: Google Camera version 3 does not work correctly on most non-Nexus devices.
## Un-comment to activate the selection(s):
#forcenewcamera
# SKIP GOOGLE'S SWYPE LIBRARY SETTING
#######################################
# The Stock keyboard does normally not support gesture typing. If Google Keyboard is not being installed, Open GApps installs by default Google's swype gesture libraries to the Stock keyboard. The libraries are installed in addition to the AOSP libraries. In some cases adding these libraries is unwanted behavior (there are few reports that recent these can conflict with certain ROMs). In those situations use the skipswypelibs keyword to skip the installation of these libraries (or remove them if previously installed).
## Un-comment to activate the selection(s):
#skipswypelibs
# SUBSTITUTE AOSP LIBRARY WITH GOOGLE'S SWYPE LIBRARY SETTING
###############################################################
# The Stock keyboard does normally not support gesture typing. If Google Keyboard is not being installed, Open GApps installs by default Google's swype gesture libraries to the Stock keyboard. The libraries are installed in addition to the AOSP libraries. In some cases these gesture libraries only work if they are installed as a replacement of the AOSP libraries (there are few reports that this is necessary with certain ROMs). In those situations use the substituteswypelibs keyword to replace the Stock libraries. (If you re-run the installation without the keyword, the AOSP libraries are restored to their original configuration).
## Un-comment to activate the selection(s):
#substituteswypelibs
# SKIP UPDATING VENDOR LIBRARIES
##################################
# Open GApps by default updates certain libraries that are depended on by certain GApps (especially Face Unlock) that are stored in /system/vendor (or a /vendor partition via a symlink). To prevent GApps from touching (removing, adding or replacing) these vendor files use the skipvendorlibs keyword.
## Un-comment to activate the selection(s):
#skipvendorlibs
# SKIP SMART PRE-ODEXING OF APKS
##################################
# On Marshmallow some ROMs are set to be extremely strict when verifying the APK. This can lead to de-odexed APKs to fail verification; because the included classes.dex is not present in the APK's MANIFEST. To avoid this potential issue, Open GApps by default pre-ODEXes these APKs on 6.0+. As positive side-effect this setting also improves the performance of these applications. A downside is that it occupies more disk-space on /system, because a copy of the classes.dex has to be kept for regenerating the ODEX when updating the ROM. To disable this feature use the keyword NoPreODEX. THE PRE-ODEX FEATURE IS TEMPORARILY DISABLED BY DEFAULT; SEE BELOW HOW TO ENABLE
## Un-comment to activate the selection(s):
#NoPreODEX
# ENABLE SMART PRE-ODEXING OF APKS
####################################
# To enable Pre-ODEXing on ROMs the PreODEX can be used.
## Un-comment to activate the selection(s):
#PreODEX
# FORCE CLEAN INSTALL SETTING
###############################
# Open GApps normally detects if it's a clean install or an upgrade. This affects how installation of Google Camera is treated, it won't install those unless this is a clean install to avoid problems during upgrades. To ignore the detection and enforce clean install use forceclean keyword. Note: this setting is untested widely and may cause problems.
## Un-comment to activate the selection(s):
#forceclean
# PROTECTION FROM STUPIDITY
#############################
# To prevent you from accidentally leaving yourself with no keyboard, Launcher, or MMS app when you start your device, the installer WILL NOT ALLOW you to remove the Stock Keyboard, Launcher, or MMS app if you are not also installing a Google version of these apps. You can, however, override this protection by adding the keyword Override to your gapps-config. Be very careful when using this option and make certain you have a replacement app already installed on your device before using this option. This keyword can also be used to override the automatic selection of WebViewStub over WebViewGoogle if Chrome is being installed.
## Un-comment to activate the selection(s):
#Override
# REFERENCES
##############
# [01] - https://github.com/opengapps/opengapps/wiki/Package-Comparison
# [02] - https://github.com/opengapps/opengapps/wiki/Aroma-Package
# [03] - https://github.com/opengapps/opengapps/wiki/Pico-Package
# [04] - https://github.com/opengapps/opengapps/wiki/PackageInstallerGoogle
# [05] - https://github.com/opengapps/opengapps/wiki/Nano-Package
# [06] - https://github.com/opengapps/opengapps/wiki/Micro-Package
# [07] - https://github.com/opengapps/opengapps/wiki/Mini-Package
# [08] - https://github.com/opengapps/opengapps/wiki/Full-Package
# [09] - https://github.com/opengapps/opengapps/wiki/Stock-Package
# [10] - https://github.com/opengapps/opengapps/wiki/Super-Package
# [11] - https://github.com/opengapps/opengapps/wiki/Notes-for-CMSetupWizard
# [12] - http://developer.android.com/reference/android/util/DisplayMetrics.html