From 804b8b67c164745a684a677f12b407c7da17bfcc Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 31 Jul 2022 17:16:41 +0200 Subject: [PATCH] Shishufy the build. Signed-off-by: Jens Lody --- AndroidProducts.mk | 8 +++---- bootleg_a52q.mk | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 bootleg_a52q.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk index d6b263a..420550f 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -14,9 +14,9 @@ # limitations under the License. PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_a52q.mk + $(LOCAL_DIR)/bootleg_a52q.mk COMMON_LUNCH_CHOICES := \ - aosp_a52q-userdebug \ - aosp_a52q-user \ - aosp_a52q-eng + bootleg_a52q-userdebug \ + bootleg_a52q-user \ + bootleg_a52q-eng diff --git a/bootleg_a52q.mk b/bootleg_a52q.mk new file mode 100644 index 0000000..f248570 --- /dev/null +++ b/bootleg_a52q.mk @@ -0,0 +1,52 @@ +# +# Copyright (C) 2021 The LineageOS 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. +# + +# Inherit device configuration +$(call inherit-product, device/samsung/a52q/device.mk) + +# Inherit from the 64 bit configuration +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) + +# Inherit from the common Open Source product configuration +$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) + +# Inherit some common Lineage stuff +$(call inherit-product, vendor/bootleggers/config/common_full_phone.mk) + +# Enable updating of APEXes +$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) + +# Boot animation +TARGET_SCREEN_HEIGHT := 2400 +TARGET_SCREEN_WIDTH := 1080 +TARGET_BOOT_ANIMATION_RES := 1080 + +## Device identifier. This must come after all inclusions +PRODUCT_NAME := bootleg_a52q +PRODUCT_DEVICE := a52q +PRODUCT_BRAND := samsung +PRODUCT_MODEL := SM-A525F +PRODUCT_MANUFACTURER := samsung +PRODUCT_GMS_CLIENTID_BASE := android-samsung + +# Recovery +TARGET_USES_AOSP_RECOVERY := true + +PRODUCT_SHIPPING_API_LEVEL := 30 + +# Fingerprint +BUILD_FINGERPRINT := "samsung/a52qnsxx/qssi:12/SP1A.210812.016/A525FXXU4BVG1:user/release-keys" +PRIVATE_BUILD_DESC := "a52qnsxx-user 12 SP1A.210812.016 A525FXXU4BVG1 release-keys"