Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ca3db0e8d | ||
|
|
46bdb796df | ||
|
|
3607aa24da | ||
|
|
ba4c12059c | ||
|
|
ee955e2724 | ||
|
|
2f51a1451d | ||
|
|
785994b861 | ||
|
|
a913b1edd4 | ||
|
|
3ef25d44fa |
@@ -24,7 +24,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_ven
|
||||
LOCAL_PATH := device/google/redfin
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
device/google/redfin
|
||||
device/google/redfin \
|
||||
hardware/qcom/wlan/legacy
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += device/google/redfin/redfin/overlay
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
{
|
||||
"repository": "device_google_redbull",
|
||||
"target_path": "device/google/redbull",
|
||||
"branch": "bka"
|
||||
"branch": "vic"
|
||||
},
|
||||
{
|
||||
"repository": "apelete/proprietary_vendor_google_redfin",
|
||||
"target_path": "vendor/google/redfin",
|
||||
"remote" : "github-non-los",
|
||||
"branch": "lineage-23.0"
|
||||
"branch": "lineage-22.2"
|
||||
},
|
||||
{
|
||||
"repository": "kernel_google_redbull",
|
||||
|
||||
@@ -27,15 +27,10 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
BuildFingerprint=google/redfin/redfin:14/UP1A.231105.001.B2/11260668:user/release-keys \
|
||||
DeviceProduct=redfin
|
||||
|
||||
ifeq ($(WITH_GMS),false)
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/priv-app/OmniStyle/OmniStyle.apk
|
||||
|
||||
else
|
||||
ifeq ($(WITH_GMS),true)
|
||||
TARGET_USES_MINI_GAPPS := true
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/priv-app/OmniStyle/OmniStyle.apk \
|
||||
system/app/GoogleExtShared/GoogleExtShared.apk \
|
||||
system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk \
|
||||
system/etc/permissions/privapp-permissions-google.xml \
|
||||
@@ -43,4 +38,7 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/priv-app/TagGoogle/TagGoogle.apk
|
||||
endif
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/priv-app/OmniStyle/OmniStyle.apk
|
||||
|
||||
$(call inherit-product, vendor/google/redfin/redfin-vendor.mk)
|
||||
|
||||
@@ -51,8 +51,6 @@ blob_fixups: blob_fixups_user_type = {
|
||||
.patch_file('osaifu-keitai.patch'),
|
||||
'product/etc/sysconfig/nexus.xml': blob_fixup()
|
||||
.regex_replace('qulacomm', 'qualcomm'),
|
||||
'system_ext/lib64/libsecureuisvc_jni.so': blob_fixup()
|
||||
.add_needed('libgui_shim.so'),
|
||||
'system_ext/priv-app/HbmSVManager/HbmSVManager.apk': blob_fixup()
|
||||
.apktool_patch('HbmSVManager.patch'),
|
||||
(
|
||||
@@ -60,13 +58,6 @@ blob_fixups: blob_fixups_user_type = {
|
||||
'vendor/lib64/android.hardware.keymaster@4.1-impl.nos.so',
|
||||
): blob_fixup()
|
||||
.add_needed('libcrypto_shim.so'),
|
||||
(
|
||||
'vendor/bin/hw/citadeld',
|
||||
'vendor/lib/libmedia_ecoservice.so',
|
||||
'vendor/lib64/libmedia_ecoservice.so',
|
||||
'vendor/lib64/libnos_citadeld_proxy.so',
|
||||
): blob_fixup()
|
||||
.add_needed('libbinder_shim.so'),
|
||||
'vendor/lib/libmmcamera_faceproc.so': blob_fixup()
|
||||
.clear_symbol_version('__aeabi_memcpy')
|
||||
.clear_symbol_version('__aeabi_memset')
|
||||
|
||||
22
sepolicy/vendor/google/pixelstats_vendor.te
vendored
Normal file
22
sepolicy/vendor/google/pixelstats_vendor.te
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
r_dir_file(pixelstats_vendor, sysfs_pixelstats)
|
||||
|
||||
unix_socket_connect(pixelstats_vendor, chre, chre)
|
||||
|
||||
get_prop(pixelstats_vendor, hwservicemanager_prop)
|
||||
hwbinder_use(pixelstats_vendor)
|
||||
allow pixelstats_vendor hal_pixelstats_hwservice:hwservice_manager find;
|
||||
|
||||
allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
|
||||
binder_call(pixelstats_vendor, statsd)
|
||||
|
||||
binder_use(pixelstats_vendor)
|
||||
allow pixelstats_vendor fwk_stats_service:service_manager find;
|
||||
|
||||
allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
|
||||
|
||||
# OrientationCollector
|
||||
# HIDL sensorservice
|
||||
allow pixelstats_vendor fwk_sensor_hwservice:hwservice_manager find;
|
||||
# AIDL sensorservice
|
||||
allow pixelstats_vendor fwk_sensor_service:service_manager find;
|
||||
binder_call(pixelstats_vendor, system_server)
|
||||
2
sepolicy/vendor/google/system_server.te
vendored
Normal file
2
sepolicy/vendor/google/system_server.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# pixelstats_vendor/OrientationCollector
|
||||
binder_call(system_server, pixelstats_vendor)
|
||||
3
sepolicy/wireless_charger/pixelstats_vendor.te
Normal file
3
sepolicy/wireless_charger/pixelstats_vendor.te
Normal file
@@ -0,0 +1,3 @@
|
||||
# Wireless charge
|
||||
allow pixelstats_vendor sysfs_wlc:dir search;
|
||||
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
||||
Reference in New Issue
Block a user