adevtool/config/pixel/snippets/common.yml
2021-12-18 16:54:19 -08:00

295 lines
14 KiB
YAML

device:
vendor: google_devices
platform:
sepolicy_dirs:
- hardware/google/pixel-sepolicy
includes:
- ../../snippets/mainline_system.yml
- ../../snippets/gms.yml
# Irrelevant stock feature: silent factory OTAs
- factoryota.yml
# Apps that don't really need to be privileged
- gcam.yml
# Pixel-exclusive features that need additional support
- dreamliner.yml
- turbo.yml
filters:
props:
prefix:
# Debug
- log.tag.
match:
# Debug
- ro.llkd.enable
# APEX
- ro.apex.updatable
# Misc
- keyguard.no_require_sim
- ro.com.android.prov_mobiledata
- ro.control_privapp_permissions
- ro.boot.vendor.overlay.theme
- ro.surface_flinger.supports_background_blur
presigned:
match:
# Needs same signature as EuiccSupportPixel
- product/priv-app/EuiccGoogle/EuiccGoogle.apk
# TODO: is this really necessary?
- system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk
# Apps updated by Play Store on stock
# (most of these aren't bundled, but it doesn't hurt to keep a full list)
- product/app/arcore/arcore.apk
- product/app/CalculatorGooglePrebuilt/CalculatorGooglePrebuilt.apk
- product/app/CalendarGooglePrebuilt/CalendarGooglePrebuilt.apk
- product/app/Chrome-Stub/Chrome-Stub.apk
- product/app/DevicePolicyPrebuilt/DevicePolicyPrebuilt.apk
- product/app/Drive/Drive.apk
- product/app/GoogleContacts/GoogleContacts.apk
- product/app/GoogleTTS/GoogleTTS.apk
- product/app/LatinIMEGooglePrebuilt/LatinIMEGooglePrebuilt.apk
- product/app/Maps/Maps.apk
- product/app/Photos/Photos.apk
- product/app/PrebuiltDeskClockGoogle/PrebuiltDeskClockGoogle.apk
- product/app/PrebuiltGmail/PrebuiltGmail.apk
- product/app/SoundPickerPrebuilt/SoundPickerPrebuilt.apk
- product/app/talkback/talkback.apk
- product/app/Videos/Videos.apk
- product/app/VoiceAccessPrebuilt/VoiceAccessPrebuilt.apk
- product/app/WebViewGoogle-Stub/WebViewGoogle-Stub.apk
- product/app/YouTube/YouTube.apk
- product/app/YouTubeMusicPrebuilt/YouTubeMusicPrebuilt.apk
- product/priv-app/AndroidAutoStubPrebuilt/AndroidAutoStubPrebuilt.apk
- product/priv-app/CarrierServices/CarrierServices.apk
- product/priv-app/DeviceIntelligenceNetworkPrebuilt/DeviceIntelligenceNetworkPrebuilt.apk
- product/priv-app/DreamlinerPrebuilt/DreamlinerPrebuilt.apk
- product/priv-app/EuiccGoogle/EuiccGoogle.apk
- product/priv-app/FilesPrebuilt/FilesPrebuilt.apk
- product/priv-app/GCS/GCS.apk
- product/priv-app/GoogleCamera/GoogleCamera.apk
- product/priv-app/GoogleDialer/GoogleDialer.apk
- product/priv-app/GoogleRestorePrebuilt/GoogleRestorePrebuilt.apk
- product/priv-app/HelpRtcPrebuilt/HelpRtcPrebuilt.apk
- product/priv-app/MaestroPrebuilt/MaestroPrebuilt.apk
- product/priv-app/OdadPrebuilt/OdadPrebuilt.apk
- product/priv-app/Phonesky/Phonesky.apk
- product/priv-app/PixelLiveWallpaperPrebuilt/PixelLiveWallpaperPrebuilt.apk
- product/priv-app/PrebuiltBugle/PrebuiltBugle.apk
- product/priv-app/PrebuiltGmsCore/PrebuiltGmsCoreSc.apk
- product/priv-app/RecorderPrebuilt/RecorderPrebuilt.apk
- product/priv-app/SafetyHubPrebuilt/SafetyHubPrebuilt.apk
- product/priv-app/SCONE/SCONE.apk
- product/priv-app/ScribePrebuilt/ScribePrebuilt.apk
- product/priv-app/SecurityHubPrebuilt/SecurityHubPrebuilt.apk
- product/priv-app/SettingsIntelligenceGooglePrebuilt/SettingsIntelligenceGooglePrebuilt.apk
- product/priv-app/TipsPrebuilt/TipsPrebuilt.apk
- product/priv-app/TurboPrebuilt/TurboPrebuilt.apk
- product/priv-app/Velvet/Velvet.apk
- product/priv-app/WellbeingPrebuilt/WellbeingPrebuilt.apk
- system/app/CaptivePortalLoginGoogle/CaptivePortalLoginGoogle.apk
- system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk
- system/priv-app/NetworkStackGoogle/NetworkStackGoogle.apk
prefix:
# Another app updated by Play Store on stock
- product/priv-app/DevicePersonalizationPrebuiltPixel
sepolicy_dirs:
match:
# ramdump debugging
- hardware/google/pixel-sepolicy/ramdump
files:
match:
# Pixel 2020
- product/app/DevicePolicyPrebuilt/DevicePolicyPrebuilt.apk
- product/app/DeviceStatisticsService/DeviceStatisticsService.apk
- product/app/DiagnosticsToolPrebuilt/DiagnosticsToolPrebuilt.apk
- product/app/MarkupGoogle/MarkupGoogle.apk
- product/app/MicropaperPrebuilt/MicropaperPrebuilt.apk
- product/app/NgaResources/NgaResources.apk
- product/app/PixelThemesStub/PixelThemesStub.apk
- product/app/PrebuiltGoogleTelemetryTvp/PrebuiltGoogleTelemetryTvp.apk
- product/app/SafetyRegulatoryInfo/SafetyRegulatoryInfo.apk
- product/app/SoundAmplifierPrebuilt/SoundAmplifierPrebuilt.apk
- product/app/SoundPickerPrebuilt/SoundPickerPrebuilt.apk
- product/etc/permissions/com.google.android.hardwareinfo.xml
- product/framework/libhwinfo.jar
- product/priv-app/AmbientSensePrebuilt/AmbientSensePrebuilt.apk
- product/priv-app/BetterBug/BetterBug.apk
- product/priv-app/CarrierMetrics/CarrierMetrics.apk
- product/priv-app/HardwareInfo/HardwareInfo.apk
- product/priv-app/HelpRtcPrebuilt/HelpRtcPrebuilt.apk
- product/priv-app/MaestroPrebuilt/MaestroPrebuilt.apk
- product/priv-app/OdadPrebuilt/OdadPrebuilt.apk
- product/priv-app/OTAConfigNoZeroTouchPrebuilt/OTAConfigNoZeroTouchPrebuilt.apk
- product/priv-app/PixelLiveWallpaperPrebuilt/PixelLiveWallpaperPrebuilt.apk
- product/priv-app/SafetyHubPrebuilt/SafetyHubPrebuilt.apk
- product/priv-app/SCONE/SCONE.apk
- product/priv-app/ScribePrebuilt/ScribePrebuilt.apk
- product/priv-app/SecurityHubPrebuilt/SecurityHubPrebuilt.apk
- product/priv-app/SettingsIntelligenceGooglePrebuilt/SettingsIntelligenceGooglePrebuilt.apk
- product/priv-app/Showcase/Showcase.apk
- product/priv-app/TipsPrebuilt/TipsPrebuilt.apk
- system_ext/app/EmergencyInfoGoogleNoUi/EmergencyInfoGoogleNoUi.apk
- system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk
- system_ext/priv-app/NexusLauncherRelease/NexusLauncherRelease.apk
- system_ext/priv-app/PixelSetupWizard/PixelSetupWizard.apk
- system_ext/priv-app/QuickAccessWallet/QuickAccessWallet.apk
- system_ext/priv-app/SettingsGoogle/SettingsGoogle.apk
- system_ext/priv-app/StorageManagerGoogle/StorageManagerGoogle.apk
- system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk
- system_ext/priv-app/UvExposureReporter/UvExposureReporter.apk
- system_ext/priv-app/WallpaperPickerGoogleRelease/WallpaperPickerGoogleRelease.apk
# Pixel 2019: Soli radar
- system_ext/priv-app/OsloFeedback/OsloFeedback.apk
# Pixel 2021
- product/app/VoiceAccessPrebuilt/VoiceAccessPrebuilt.apk
- product/etc/permissions/com.google.android.odad.xml
prefix:
# (Live) wallpapers
- product/app/WallpapersBReel
- product/app/PixelWallpapers
# Pixel 2020
- product/etc/security/
# Pixel 2021
- product/tts/google/
- product/wallpaper/
overlay_keys:
match:
# Pixel 2019-2020: use peak refresh rate when possible
- android:string-array/config_highRefreshRateBlacklist
# Misc
- android:bool/config_enableGeolocationTimeZoneDetection
- android:bool/config_enablePrimaryLocationTimeZoneProvider
- android:bool/config_enableSecondaryLocationTimeZoneProvider
- android:string-array/config_accessibility_allowed_install_source
- android:string-array/config_allowedSecureInstantAppSettings
- android:string-array/config_disabledUntilUsedPreinstalledImes
- com.android.providers.contacts:string/metadata_sync_pacakge
- android:string/harmful_app_warning_title
- com.google.android.permissioncontroller/PermissionControllerStyles:string/help_app_permissions
- com.google.android.networkstack/NetworkStackConfig:bool/config_dhcp_client_hostname
- android:string/config_secondaryLocationTimeZoneProviderPackageName
- android:string/config_servicesExtensionPackage
- android:bool/config_swipe_up_gesture_setting_available
- android:bool/config_showGesturalNavigationHints
- android:bool/config_volumeHushGestureEnabled
- android:integer/config_defaultNightMode
- android:string-array/config_batteryPackageTypeService
- android:array/config_notificationMsgPkgsAllowedAsConvos
- android:bool/config_bugReportHandlerEnabled
- android:bool/config_defaultRingtonePickerEnabled
- android:bool/config_profcollectReportUploaderEnabled
- android:bool/config_sendPackageName
- android:bool/config_smart_battery_available
- android:bool/config_volumeShowRemoteSessions
- android:dimen/config_highResTaskSnapshotScale
- android:integer/config_storageManagerDaystoRetainDefault
- android:string/android_start_title
- android:string/android_upgrading_title
- android:string/config_batterySaverScheduleProvider
- android:string/config_emergency_dialer_package
- android:string/config_incidentReportApproverPackage
- android:string/config_powerSaveModeChangedListenerPackage
- android:string/config_recentsComponentName
- android:string/config_retailDemoPackage
- android:string/config_retailDemoPackageSignature
- android:string/config_secondaryHomePackage
- com.android.settings:string-array/config_settings_slices_accessibility_components
- com.android.settings:string/setup_fingerprint_enroll_finish_message
- com.android.settings:string/suggested_fingerprint_lock_settings_summary
- com.android.systemui:string-array/config_controlsPreferredPackages
- com.android.systemui:bool/config_hspa_data_distinguishable
- com.android.systemui:bool/config_touch_context_enabled
- com.android.systemui:bool/config_wlc_support_enabled
- com.android.systemui:drawable/ic_qs_branded_vpn
- com.android.systemui:drawable/stat_sys_branded_vpn
- com.android.systemui:string/config_dockComponent
- com.android.systemui:string/config_screenshotEditor
- com.android.phone:string-array/config_countries_to_enable_shortcut_view
- com.android.phone:string/dialer_default_class
- com.android.server.telecom:bool/config_hspa_data_distinguishable
- com.android.server.telecom:string/call_diagnostic_service_package_name
- com.android.server.telecom:string/dialer_default_class
- com.android.traceur:bool/config_hspa_data_distinguishable
- android:string-array/config_defaultFirstUserRestrictions
- android:string-array/config_keep_warming_services
- android:bool/config_enableFusedLocationOverlay
- android:bool/config_enableGeocoderOverlay
- android:bool/config_enableGeofenceOverlay
- android:bool/config_enableNetworkLocationOverlay
- android:string/config_deviceProvisioningPackage
- android:string/default_wallpaper_component
- android:bool/config_pinnerHomeApp
- com.android.settings:string-array/slice_allowlist_package_names
# Intentionally included: attention, speech recognition, search UI, smartspace, translation
- android:string/config_defaultAccessibilityService
- android:string/config_defaultAppPredictionService
- android:string/config_defaultAssistantAccessComponent
- android:string/config_defaultAutofillService
- android:string/config_defaultDialer
- android:string/config_defaultGallery
- android:string/config_defaultListenerAccessPackages
- android:string/config_defaultMusic
- android:string/config_defaultSms
- android:string/config_defaultAugmentedAutofillService
- android:string/config_defaultBugReportHandlerApp
- android:string/config_defaultContentCaptureService
- android:string/config_defaultModuleMetadataProvider
- android:string/config_defaultMusicRecognitionService
- android:string/config_defaultProfcollectReportUploaderAction
- android:string/config_defaultProfcollectReportUploaderApp
- android:string/config_defaultTextClassifierPackage
prefix:
# Packages
- com.android.managedprovisioning
- com.android.providers.settings
- com.android.simappdialog
- com.google.android.cellbroadcastreceiver
- com.google.android.cellbroadcastservice
- com.google.android.documentsui
- com.google.android.pixel.setupwizard
# Misc keys
- android:bool/config_assist
- android:drawable/ic_doc_
- android:string-array/config_companionDevice
- android:string/biometric_
- android:string/config_system
- android:string/widget_
- com.android.settings:bool/config_
- com.android.settings:string/display_white_balance_
- com.android.settings:string/fingerprint_
- com.android.settings:string/lock_settings_
- com.android.settings:string/security_settings_
- com.android.settings:string/security_settings_
- com.android.settings:string/unlock_disable_frp_
- com.android.systemui:string/branded_
# Some ROMs remove these keys from the device tree
- com.android.wifi.resources/WifiCustomization:integer/config_wifi_framework_wifi_score_
# Fonts, feedback, help
- android:string/config_bodyFont
- android:string/config_feedbackIntent
- android:string/config_headlineFont
- android:string/config_helpIntent
- android:string/config_helpPackage