9 Commits
bka ... vic

Author SHA1 Message Date
Apelete Seketeli
8ca3db0e8d redfin: Fetch vendor from personal repo
Forking vendor tree into Evolution X org repositories requires
privileged rights, and pushing fails due to git lfs:

batch request: git@lfs.undocumented.software: Permission denied (publickey).: exit status 255
error: failed to push some refs to 'github.com:Evolution-X-Devices/vendor_google_redfin.git'

Fetching vendor tree from personal repo as a work-around.
2025-10-07 00:54:51 +02:00
Apelete Seketeli
46bdb796df redfin: Select apps based on WITH_GMS flag
Selectively build with or without GAPPS and allow files to live in
specified root path depending on WITH_GMS flag.
2025-10-05 00:44:12 +02:00
Apelete Seketeli
3607aa24da redfin: Allow files to live in specified root path 2025-10-05 00:44:10 +02:00
Apelete Seketeli
ba4c12059c redfin: Select mini gapps package instead of default gapps 2025-10-05 00:44:07 +02:00
Apelete Seketeli
ee955e2724 redfin: Initialise Evolution X 10.x 2025-10-05 00:44:04 +02:00
Alexander Koskovich
2f51a1451d redfin: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2025-09-14 18:19:12 +03:00
Michael Bestas
785994b861 redfin: Remove userdebug/eng configuration
Change-Id: Ia50c9d143f3b59f02a73c2dc89837afe63bbf6fb
2025-09-14 18:16:14 +03:00
Michael Bestas
a913b1edd4 redfin: Drop unused AndroidBoard.mk
Change-Id: I6149ebbec9ebb3687819d8c72c31ebf124056644
2025-09-14 17:36:12 +03:00
Michael Bestas
3ef25d44fa redfin: Migrate mount point creation out of AndroidBoard.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-09-14 17:36:07 +03:00
7 changed files with 35 additions and 18 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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)

View File

@@ -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')

View 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)

View File

@@ -0,0 +1,2 @@
# pixelstats_vendor/OrientationCollector
binder_call(system_server, pixelstats_vendor)

View File

@@ -0,0 +1,3 @@
# Wireless charge
allow pixelstats_vendor sysfs_wlc:dir search;
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;