This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tesla-android/next
2022.25.1
- Loading branch information
Showing
106 changed files
with
720 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2018 The Android Open Source Project | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
soong_namespace {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := AuroraServices | ||
LOCAL_SRC_FILES := AuroraServices.apk | ||
LOCAL_MODULE_CLASS := APPS | ||
LOCAL_CERTIFICATE := PRESIGNED | ||
LOCAL_PRIVILEGED_MODULE := true | ||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) | ||
|
||
include $(BUILD_PREBUILT) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := AuroraStore | ||
LOCAL_SRC_FILES := AuroraStore.apk | ||
LOCAL_MODULE_CLASS := APPS | ||
LOCAL_CERTIFICATE := PRESIGNED | ||
LOCAL_PRIVILEGED_MODULE := true | ||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) | ||
|
||
include $(BUILD_PREBUILT) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<permissions> | ||
<privapp-permissions package="com.aurora.services"> | ||
<permission name="android.permission.DELETE_PACKAGES" /> | ||
<permission name="android.permission.INSTALL_PACKAGES" /> | ||
</privapp-permissions> | ||
</permissions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,13 +45,6 @@ endif | |
|
||
PRODUCT_SHIPPING_API_LEVEL := 31 | ||
|
||
# Set custom settings | ||
DEVICE_PACKAGE_OVERLAYS := device/linaro/hikey/overlay | ||
ifneq (,$(filter $(DEVICE_TYPE),tv)) | ||
# Set TV Custom Settings | ||
DEVICE_PACKAGE_OVERLAYS += device/google/atv/overlay | ||
endif | ||
|
||
# Add wifi-related packages | ||
PRODUCT_PACKAGES += libwpa_client wpa_supplicant hostapd wificond | ||
PRODUCT_PROPERTY_OVERRIDES += wifi.interface=wlan0 \ | ||
|
@@ -97,8 +90,8 @@ PRODUCT_PACKAGES += \ | |
|
||
# Boot control | ||
PRODUCT_PACKAGES += \ | ||
bootctrl.default \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
|
||
# Thermal HAL | ||
|
@@ -121,20 +114,7 @@ PRODUCT_PACKAGES += \ | |
[email protected] \ | ||
[email protected] \ | ||
|
||
## Composer HAL for minigbm + minigbm gralloc0: | ||
#PRODUCT_PACKAGES += \ | ||
# [email protected] \ | ||
# [email protected] \ | ||
# [email protected] \ | ||
# hwcomposer.drm_minigbm \ | ||
# gralloc.minigbm \ | ||
# | ||
#PRODUCT_PROPERTY_OVERRIDES += \ | ||
# ro.hardware.gralloc=minigbm \ | ||
# ro.hardware.hwcomposer=drm_minigbm \ | ||
## | ||
|
||
## Composer HAL for gralloc4 + minigbm gralloc4: (Require changes in manifest) | ||
## Composer HAL for gralloc4 + minigbm gralloc4 | ||
PRODUCT_PACKAGES += \ | ||
[email protected]_gbm_mesa \ | ||
[email protected]_gbm_mesa \ | ||
|
@@ -144,38 +124,25 @@ PRODUCT_PROPERTY_OVERRIDES += \ | |
ro.hardware.hwcomposer=drm \ | ||
## | ||
|
||
## Composer HAL for libdrm_gralloc + gbm_gralloc (gralloc0): | ||
#PRODUCT_PACKAGES += \ | ||
# [email protected] \ | ||
# [email protected] \ | ||
# [email protected] \ | ||
# hwcomposer.drm \ | ||
# gralloc.gbm \ | ||
# | ||
#PRODUCT_PROPERTY_OVERRIDES += \ | ||
# ro.hardware.gralloc=gbm \ | ||
# ro.hardware.hwcomposer=drm \ | ||
## | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
ro.sf.lcd_density=240 \ | ||
ro.sf.lcd_density=180 \ | ||
|
||
# Gatekeeper HAL | ||
PRODUCT_PACKAGES += \ | ||
[email protected] \ | ||
|
||
# Keymaster HAL | ||
# Keymint HAL | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.[email protected]-service | ||
android.hardware.security.keymint-service | ||
|
||
# PowerHAL | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.power-service.example \ | ||
|
||
# Health HAL | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.health-service.example \ | ||
android.hardware.health-service.example_recovery \ | ||
android.hardware.health@2.1-service \ | ||
android.hardware.health@2.1-impl \ | ||
|
||
ifneq (,$(filter $(DEVICE_TYPE),tv)) | ||
# TV Specific Packages | ||
|
@@ -196,33 +163,31 @@ else | |
|
||
# Use Launcher3QuickStep | ||
PRODUCT_PACKAGES += Launcher3QuickStep | ||
PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=240 | ||
endif | ||
|
||
#External USB Camera HAL | ||
PRODUCT_PACKAGES += \ | ||
[email protected] \ | ||
|
||
PRODUCT_COPY_FILES += \ | ||
device/glodroid/common/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml | ||
|
||
#Camera HAL | ||
PRODUCT_PACKAGES += \ | ||
camera.libcamera \ | ||
[email protected]_64 \ | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += ro.hardware.camera=libcamera | ||
|
||
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/android.hardware.camera.concurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.concurrent.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ | ||
# PRODUCT_PACKAGES += \ | ||
# [email protected] \ | ||
# | ||
# PRODUCT_COPY_FILES += \ | ||
# device/glodroid/common/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml | ||
# | ||
# #Camera HAL | ||
# PRODUCT_PACKAGES += \ | ||
# camera.libcamera \ | ||
# [email protected]_64 \ | ||
# | ||
# PRODUCT_PROPERTY_OVERRIDES += ro.hardware.camera=libcamera | ||
|
||
# PRODUCT_COPY_FILES += \ | ||
# frameworks/native/data/etc/android.hardware.camera.concurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.concurrent.xml \ | ||
# frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ | ||
# frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ | ||
# frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ | ||
# frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ | ||
# Copy hardware config file(s) | ||
PRODUCT_COPY_FILES += \ | ||
device/linaro/hikey/etc/permissions/android.hardware.screen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.xml \ | ||
device/linaro/hikey/etc/permissions/android.software.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.xml \ | ||
frameworks/native/data/etc/android.software.cts.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.cts.xml \ | ||
frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \ | ||
|
@@ -298,10 +263,6 @@ PRODUCT_COPY_FILES += \ | |
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/init.recovery.glodroid.rc:recovery/root/init.recovery.$(TARGET_PRODUCT).rc \ | ||
|
||
# Tools | ||
PRODUCT_COPY_FILES += \ | ||
device/glodroid/platform/tools/flash-all.sh:flash-all.sh \ | ||
|
||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false | ||
|
||
PRODUCT_USE_DYNAMIC_PARTITIONS := true | ||
|
@@ -313,25 +274,60 @@ PRODUCT_COPY_FILES += \ | |
################################################################################ | ||
|
||
# Screen orientation lock | ||
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.screen.landscape.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.landscape.xml \ | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
config.override_forced_orient=false \ | ||
ro.sf.hwrotation=0 \ | ||
persist.demo.hdmirotation=landscape \ | ||
persist.demo.rotationlock=true \ | ||
persist.demo.remoterotation=landscape \ | ||
|
||
################################################################################ | ||
|
||
# Google Apps | ||
$(call inherit-product, vendor/opengapps/build/opengapps-packages.mk) | ||
|
||
GAPPS_VARIANT := nano | ||
# Aurora Store and microG | ||
|
||
GAPPS_FORCE_PACKAGE_OVERRIDES := true | ||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/aurora/permissions_com.aurora.services.xml:system/etc/permissions/permissions_com.aurora.services.xml \ | ||
|
||
PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true | ||
PRODUCT_PACKAGES += \ | ||
AuroraServices \ | ||
AuroraStore \ | ||
|
||
$(call inherit-product, vendor/partner_gms/products/gms.mk) | ||
|
||
################################################################################ | ||
|
||
# LineageOS browser | ||
|
||
PRODUCT_PACKAGES += \ | ||
Jelly \ | ||
|
||
################################################################################ | ||
|
||
# usb_modeswitch | ||
|
||
PRODUCT_PACKAGES += \ | ||
usb_modeswitch \ | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/usb_modeswitch.conf:$(TARGET_COPY_OUT_VENDOR)/etc/usb_modeswitch.conf \ | ||
|
||
################################################################################ | ||
|
||
# v4l2 | ||
|
||
PRODUCT_PACKAGES += \ | ||
v4l2-dbg \ | ||
v4l2-compliance \ | ||
v4l2-ctl \ | ||
|
||
################################################################################ | ||
|
||
PRODUCT_PACKAGES += \ | ||
glodroid_overlay_frameworks_base_core \ | ||
glodroid_overlay_settings_provider \ | ||
glodroid_overlay_systemui \ | ||
glodroid_overlay_service_wifi_resources \ | ||
|
||
PRODUCT_SOONG_NAMESPACES += device/glodroid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.