Switch to naap

Jenna 4 months ago
parent d9b0fbf5f9
commit 2ab282999b
  1. 8
      AndroidProducts.mk
  2. 2
      BoardConfig.mk
  3. 52
      naap_a52q.mk

@ -14,9 +14,9 @@
# limitations under the License.
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_a52q.mk
$(LOCAL_DIR)/naap_a52q.mk
COMMON_LUNCH_CHOICES := \
lineage_a52q-userdebug \
lineage_a52q-user \
lineage_a52q-eng
naap_a52q-userdebug \
naap_a52q-user \
naap_a52q-eng

@ -19,7 +19,7 @@ DEVICE_PATH := device/samsung/a52q
include device/samsung/sm7125-common/BoardConfigCommon.mk
# Kernel
TARGET_KERNEL_CONFIG := vendor/lineage-a52q_defconfig
TARGET_KERNEL_CONFIG := vendor/pixel_experience-a52q_defconfig
BOARD_NAME := SRPTH31C002
# Camera

@ -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/naap/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 := naap_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
# Vendor fingerprint
BUILD_FINGERPRINT := "samsung/a52qnsxx/a52q:11/RP1A.200720.012/A525FXXU6DWH2:user/release-keys"
PRIVATE_BUILD_DESC := "a52qnsxx-user 11 RP1A.200720.012 A525FXXU6DWH2 release-keys"
Loading…
Cancel
Save