Compare commits

9 Commits
bka ... vic

Author SHA1 Message Date
Apelete Seketeli
23d3c60420 bramble: 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_bramble.git'

Fetching vendor tree from personal repo as a work-around.
2025-10-07 00:52:13 +02:00
Apelete Seketeli
67949b9943 bramble: 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 14:04:59 +02:00
Apelete Seketeli
b3ff4db1fc bramble: Allow files to live in specified root path
Accoridng to
https://codeberg.org/petefoths-projects/unofficial-l4m-builds/wiki/Build-errors,-fixes-and-work-arounds,
this seems the correct way to address following errors:

FAILED:
build/make/core/artifact_path_requirements.mk:31: warning: device/google/bramble/lineage_bramble.mk includes redundant artifact path requirement allowed list entries.
Offending entries:
system/app/GoogleExtShared/GoogleExtShared.apk
system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk
system/etc/permissions/privapp-permissions-google.xml
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk
system/priv-app/TagGoogle/TagGoogle.apk
In file included from build/make/core/main.mk:1173:
build/make/core/artifact_path_requirements.mk:31: error: Build failed.
2025-10-05 14:04:52 +02:00
Apelete Seketeli
e1243b599d bramble: Select mini gapps package instead of default gapps
This select mini gapps to save space and optimize device boot time.
2025-10-05 14:04:47 +02:00
Apelete Seketeli
f567d66e2f bramble: Initialise Evolution X 10.x 2025-10-05 14:04:41 +02:00
Alexander Koskovich
bf59900366 bramble: 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:00 +03:00
Michael Bestas
e9e405786a bramble: Remove userdebug/eng configuration
Change-Id: Ia50c9d143f3b59f02a73c2dc89837afe63bbf6fb
2025-09-14 18:14:09 +03:00
Michael Bestas
e80ea2ef2d bramble: Drop unused AndroidBoard.mk
Change-Id: I6149ebbec9ebb3687819d8c72c31ebf124056644
2025-09-14 17:36:30 +03:00
Michael Bestas
0b27f8792d bramble: Migrate mount point creation out of AndroidBoard.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-09-14 17:36:25 +03:00
7 changed files with 36 additions and 45 deletions

View File

@@ -56,9 +56,6 @@ ifneq (REL,$(PLATFORM_VERSION_CODENAME))
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
endif
# Don't build super.img.
PRODUCT_BUILD_SUPER_PARTITION := false
# b/113232673 STOPSHIP deal with Qualcomm stuff later
# PRODUCT_RESTRICT_VENDOR_FILES := all

Binary file not shown.

View File

@@ -1,26 +0,0 @@
LOCAL_PATH := $(call my-dir)
#A/B builds require us to create the mount points at compile time.
#Just creating it for all cases since it does not hurt.
FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT)
$(FIRMWARE_MOUNT_POINT):
@echo "Creating $(FIRMWARE_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt
# copy kernel headers to the build tree
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr: $(wildcard $(PRODUCT_VENDOR_KERNEL_HEADERS)/*)
rm -rf $@
mkdir -p $@/include
cp -a $(PRODUCT_VENDOR_KERNEL_HEADERS)/. $@/include
#----------------------------------------------------------------------
# build and sign the final stage of bootloader
#----------------------------------------------------------------------
.PHONY: aboot
ifeq ($(USESECIMAGETOOL), true)
aboot: gensecimage_target gensecimage_install
else
aboot: $(INSTALLED_BOOTLOADER_MODULE)
endif

View File

@@ -59,12 +59,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/acdbdata/Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Headset_cal.acdb \
$(LOCAL_PATH)/audio/acdbdata/Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Speaker_cal.acdb \
$(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb
# Audio ACDB workspace files for QACT
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/acdbdata/workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/workspaceFile.qwsp
endif
endif
# B5 CS35L41 SPEAKER AMP
@@ -91,10 +85,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/cs35l41/B5mmW/cs35l41-mmW-dsp1-spk-diag.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-mmW-dsp1-spk-diag.wmfw \
$(LOCAL_PATH)/audio/cs35l41/B5mmW/R-cs35l41-mmW-dsp1-spk-diag.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/R-cs35l41-mmW-dsp1-spk-diag.bin
# Audio CS35L41 speaker calibration tool
PRODUCT_PACKAGES_DEBUG += \
crus_sp_cal
# USB HAL
PRODUCT_PACKAGES += \
android.hardware.usb-service.bramble

21
evolution.dependencies Normal file
View File

@@ -0,0 +1,21 @@
[
{
"repository": "device_google_gs-common",
"target_path": "device/google/gs-common"
},
{
"repository": "device_google_redbull",
"target_path": "device/google/redbull",
"branch": "vic"
},
{
"repository": "apelete/proprietary_vendor_google_bramble",
"target_path": "vendor/google/bramble",
"remote" : "github-non-los",
"branch": "lineage-22.2"
},
{
"repository": "kernel_google_redbull",
"target_path": "kernel/google/redbull"
}
]

View File

@@ -1,6 +0,0 @@
[
{
"repository": "android_device_google_redbull",
"target_path": "device/google/redbull"
}
]

View File

@@ -27,4 +27,19 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
BuildFingerprint=google/bramble/bramble:14/UP1A.231105.001.B2/11260668:user/release-keys \
DeviceProduct=bramble
ifeq ($(WITH_GMS),false)
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/OmniStyle/OmniStyle.apk
else
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 \
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk \
system/priv-app/TagGoogle/TagGoogle.apk
endif
$(call inherit-product, vendor/google/bramble/bramble-vendor.mk)