[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Aghhhh lost my first attempt and all the typing!! Gone!

This post should help anyone with a little know-how to duplicate my build ie buil for themselves, maybe vanilla or adb sideload if they prefer

Environment:

Windows 11

Oracle VirtualBox running an instance of Ubuntu 23.04.4 LTS

First follow crDroid instructions to get the source. https://github.com/crdroidandroid/android

Local Manifest:

<manifest>
<remote name="alpha-gitlab"
fetch="https://gitlab.com/alphadroid-project"
sync-c="true"
sync-j="4"
revision="refs/heads/alpha-14" />

<project path="device/google/sunfish" remote="github" name="LineageOS/android_device_google_sunfish" revision="lineage-21"/>
<project path="kernel/google/msm-4.14" remote="github" name="LineageOS/android_kernel_google_msm-4.14" revision="lineage-21"/>
<project path="vendor/google/sunfish" remote="github" name="TheMuppets/proprietary_vendor_google_sunfish" revision="lineage-21"/>
<project path="vendor/gms" name="vendor_gms" remote="alpha-gitlab" clone-depth="1" />
</manifest>

Source Code Changes:

================================= REPO STATUS ====================================
project device/google/sunfish/ (*** NO BRANCH ***)
-m aosp_sunfish.mk
project vendor/gms/ (*** NO BRANCH ***)
-m products/gms.mk
project vendor/google/sunfish/ (*** NO BRANCH ***)
-m Android.bp
project vendor/lineage/ (*** NO BRANCH ***)
-m config/partner_gms.mk
================================= REPO DIFF ====================================

project device/google/sunfish/
diff --git a/aosp_sunfish.mk b/aosp_sunfish.mk
index 87e25024..3c4772ee 100644
--- a/aosp_sunfish.mk
+++ b/aosp_sunfish.mk
@@ -21,7 +21,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)

# Enable mainline checking
-PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
+PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := false

#
# All components inherited here go to system_ext image

project vendor/gms/
diff --git a/products/gms.mk b/products/gms.mk
index 35873cb..6ca760f 100644
--- a/products/gms.mk
+++ b/products/gms.mk
@@ -60,8 +60,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
setupwizard.feature.show_pai_screen_in_main_flow.carrier1839=false \
setupwizard.feature.show_pixel_tos=true \
setupwizard.feature.show_support_link_in_deferred_setup=false \
- setupwizard.feature.skip_button_use_mobile_data.carrier1839=true \
- setupwizard.theme=glif_v3_light
+ setupwizard.feature.skip_button_use_mobile_data.carrier1839=true

# OPA configuration
PRODUCT_PRODUCT_PROPERTIES += \

project vendor/google/sunfish/
diff --git a/Android.bp b/Android.bp
index 0f34230..3e8d761 100644
--- a/Android.bp
+++ b/Android.bp
@@ -147,17 +147,17 @@ android_app_import {
product_specific: true,
}

-android_app_import {
- name: "DeviceIntelligenceNetworkPrebuilt",
- owner: "google",
- apk: "proprietary/product/priv-app/DeviceIntelligenceNetworkPrebuilt/DeviceIntelligenceNetworkPrebuilt.apk",
- presigned: true,
- dex_preopt: {
- enabled: false,
- },
- privileged: true,
- product_specific: true,
-}
+//android_app_import {
+// name: "DeviceIntelligenceNetworkPrebuilt",
+// owner: "google",
+// apk: "proprietary/product/priv-app/DeviceIntelligenceNetworkPrebuilt/DeviceIntelligenceNetworkPrebuilt.apk",
+// presigned: true,
+// dex_preopt: {
+// enabled: false,
+// },
+// privileged: true,
+// product_specific: true,
+//}

android_app_import {
name: "DevicePersonalizationPrebuiltPixel4",

project vendor/lineage/
diff --git a/config/partner_gms.mk b/config/partner_gms.mk
index e754da30..b76f9410 100644
--- a/config/partner_gms.mk
+++ b/config/partner_gms.mk
@@ -48,4 +48,5 @@ ifeq ($(WITH_GMS),true)
endif
endif
endif
+ $(call inherit-product, vendor/gms/products/gms.mk)
endif