beyondx: clean up this mess

Change-Id: Id47eedfaeed354b48c519156b83ca78a0708d9be
This commit is contained in:
Tim Zimmermann
2021-06-14 09:03:12 +02:00
parent bd47742f52
commit 432f7a3868
6 changed files with 65 additions and 71 deletions

View File

@@ -13,23 +13,24 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
include device/samsung/exynos9820-common/BoardConfigPlatform.mk ## Inherit from the common tree
include device/samsung/exynos9820-common/BoardConfigCommon.mk
## Inherit from the proprietary configuration
include vendor/samsung/beyondx/BoardConfigVendor.mk include vendor/samsung/beyondx/BoardConfigVendor.mk
DEVICE_PATH := device/samsung/beyondx DEVICE_PATH := device/samsung/beyondx
PRODUCT_PLATFORM := exynos9820
# APEX image # APEX image
DEXPREOPT_GENERATE_APEX_IMAGE := true DEXPREOPT_GENERATE_APEX_IMAGE := true
TARGET_SPECIFIC_HEADER_PATH += $(DEVICE_PATH)/hardware/include TARGET_SPECIFIC_HEADER_PATH += $(DEVICE_PATH)/include
### DISPLAY ## Display
TARGET_SCREEN_DENSITY := 420 TARGET_SCREEN_DENSITY := 420
### KERNEL ## Kernel
TARGET_KERNEL_CONFIG := exynos9820-beyondx_defconfig TARGET_KERNEL_CONFIG := exynos9820-beyondx_defconfig
### VENDOR PROPS ## Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

View File

@@ -14,18 +14,14 @@
# limitations under the License. # limitations under the License.
# #
### PLATFORM # Inherit from the common tree
$(call inherit-product, device/samsung/exynos9820-common/platform.mk) $(call inherit-product, device/samsung/exynos9820-common/common.mk)
### PROPRIETARY VENDOR FILES
# Inherit proprietary files
$(call inherit-product, vendor/samsung/beyondx/beyondx-vendor.mk) $(call inherit-product, vendor/samsung/beyondx/beyondx-vendor.mk)
### DALVIK # Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
DEVICE_PATH := device/samsung/beyondx # Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay \
$(DEVICE_PATH)/overlay-lineage
#include $(DEVICE_PATH)/device/*.mk

View File

@@ -14,31 +14,30 @@
# limitations under the License. # limitations under the License.
# #
## Inherit from generic products, most specific first
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# Product API level ## Product API level
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
# Inscreen Fingerprint HAL ## Inscreen Fingerprint HAL
TARGET_HAVE_FOD := true TARGET_HAVE_FOD := true
# Inherit device configuration ## Inherit from beyondx device
$(call inherit-product, device/samsung/beyondx/device.mk) $(call inherit-product, device/samsung/beyondx/device.mk)
### BOOTANIMATION ## Boot Animation
# vendor/lineage/config/common_full_phone.mk
TARGET_SCREEN_HEIGHT := 3040 TARGET_SCREEN_HEIGHT := 3040
TARGET_SCREEN_WIDTH := 1440 TARGET_SCREEN_WIDTH := 1440
# vendor/lineage/config/common.mk
### LINEAGE ## Inherit some common Lineage stuff
$(call inherit-product, vendor/lineage/config/common_full_phone.mk) $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Enable updating of APEXes ## Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
## Device identifier. This must come after all inclusions ## Device identifier, this must come after all inclusions
PRODUCT_NAME := lineage_beyondx PRODUCT_NAME := lineage_beyondx
PRODUCT_DEVICE := beyondx PRODUCT_DEVICE := beyondx
PRODUCT_BRAND := samsung PRODUCT_BRAND := samsung
@@ -47,11 +46,8 @@ PRODUCT_MANUFACTURER := samsung
PRODUCT_PDA_MODEL := G977B PRODUCT_PDA_MODEL := G977B
PRODUCT_PDA_MODEL_VERSION := XXS8FUE5 PRODUCT_PDA_MODEL_VERSION := XXS8FUE5
PRODUCT_PDA_VERSION := $(PRODUCT_PDA_MODEL)$(PRODUCT_PDA_MODEL_VERSION) PRODUCT_PDA_VERSION := $(PRODUCT_PDA_MODEL)$(PRODUCT_PDA_MODEL_VERSION)
PRODUCT_GMS_CLIENTID_BASE := android-samsung PRODUCT_GMS_CLIENTID_BASE := android-samsung
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
ro.build.PDA=$(PRODUCT_PDA_VERSION) ro.build.PDA=$(PRODUCT_PDA_VERSION)
ifneq ($(LINEAGE_DEV_CERTIFICATE),)
PRODUCT_DEFAULT_DEV_CERTIFICATE := $(LINEAGE_DEV_CERTIFICATE)
endif

View File

@@ -1,11 +1,11 @@
# Proprietary files - from Samsung package version G977BXXS8FUE5, unless pinned # Proprietary files - from Samsung package version G977BXXS8FUE5, unless pinned
### AUDIO ## Audio
vendor/etc/floating_feature.xml vendor/etc/floating_feature.xml
vendor/etc/mixer_gains.xml vendor/etc/mixer_gains.xml
vendor/lib/librecordalive.so vendor/lib/librecordalive.so
### AUDIO_FIRMWARE ## Audio Firmware
vendor/firmware/APBargeIn_AUDIO_SLSI.bin vendor/firmware/APBargeIn_AUDIO_SLSI.bin
vendor/firmware/APBiBF_AUDIO_SLSI.bin vendor/firmware/APBiBF_AUDIO_SLSI.bin
vendor/firmware/APDV_AUDIO_SLSI.bin vendor/firmware/APDV_AUDIO_SLSI.bin
@@ -13,43 +13,26 @@ vendor/firmware/APSV_AUDIO_SLSI.bin
vendor/firmware/AP_AUDIO_SLSI.bin vendor/firmware/AP_AUDIO_SLSI.bin
vendor/firmware/SoundBoosterParam.bin vendor/firmware/SoundBoosterParam.bin
### BIOMETRICS_FINGERPRINT ## Bluetooth Firmware
vendor/firmware/bcm4375B1_murata.hcd
vendor/firmware/bcm4375B1_semco.hcd
vendor/firmware/bcm4375B1_semco_sem.hcd
## Camera
vendor/lib/hw/camera.exynos9820.so
vendor/lib64/hw/camera.exynos9820.so
## Camera dependencies
vendor/lib/libexynoscamera3.so
vendor/lib64/libexynoscamera3.so
## Fingerprint
vendor/lib/libbauthserver.so vendor/lib/libbauthserver.so
vendor/lib/libbauthtzcommon.so vendor/lib/libbauthtzcommon.so
vendor/lib64/libbauthserver.so vendor/lib64/libbauthserver.so
vendor/lib64/libbauthtzcommon.so vendor/lib64/libbauthtzcommon.so
### BLUETOOTH_FIRMWARE ## Firmware
vendor/firmware/bcm4375B1_murata.hcd
vendor/firmware/bcm4375B1_semco.hcd
vendor/firmware/bcm4375B1_semco_sem.hcd
### CAMERA
vendor/lib/hw/camera.exynos9820.so
vendor/lib64/hw/camera.exynos9820.so
### CAMERA_DEPENDENCIES
vendor/lib/libexynoscamera3.so
vendor/lib64/libexynoscamera3.so
### GPS/GNSS
vendor/lib64/libwrappergps.so
### OMX_FIRMWARE
vendor/firmware/fimc_is_lib.bin
vendor/firmware/fimc_is_rta.bin
### RIL
vendor/bin/secril_config_svc
vendor/etc/init/init.baseband.rc
vendor/lib/libsec-ril.so
vendor/lib64/libsec-ril.so
### SAMSUNG_SLSI_HWC
vendor/lib/libexynosdisplay.so
vendor/lib64/libexynosdisplay.so
### SAMSUNG_SLSI_FIRMWARE
vendor/firmware/cs35l40-bot-dsp1-spk-prot-calib.bin vendor/firmware/cs35l40-bot-dsp1-spk-prot-calib.bin
vendor/firmware/cs35l40-bot-dsp1-spk-prot.bin vendor/firmware/cs35l40-bot-dsp1-spk-prot.bin
vendor/firmware/cs35l40-rcv-dsp1-spk-prot-calib.bin vendor/firmware/cs35l40-rcv-dsp1-spk-prot-calib.bin
@@ -59,13 +42,30 @@ vendor/firmware/setfile_2l4.bin
vendor/firmware/setfile_3m3.bin vendor/firmware/setfile_3m3.bin
vendor/firmware/setfile_3p9.bin vendor/firmware/setfile_3p9.bin
### SENSORS ## GPS
vendor/lib64/libwrappergps.so
## HWC
vendor/lib/libexynosdisplay.so
vendor/lib64/libexynosdisplay.so
## OMX Firmware
vendor/firmware/fimc_is_lib.bin
vendor/firmware/fimc_is_rta.bin
## RIL
vendor/bin/secril_config_svc
vendor/etc/init/init.baseband.rc
vendor/lib/libsec-ril.so
vendor/lib64/libsec-ril.so
## Sensors
vendor/lib/sensors.bio.so vendor/lib/sensors.bio.so
vendor/lib/sensors.sensorhub.so vendor/lib/sensors.sensorhub.so
vendor/lib64/sensors.bio.so vendor/lib64/sensors.bio.so
vendor/lib64/sensors.sensorhub.so vendor/lib64/sensors.sensorhub.so
### TEEGRIS_FIRMWARE ## TEEGRIS Firmware
vendor/tee/00000000-0000-0000-0000-00000000dead vendor/tee/00000000-0000-0000-0000-00000000dead
vendor/tee/00000000-0000-0000-0000-000000534b4d vendor/tee/00000000-0000-0000-0000-000000534b4d
vendor/tee/00000000-0000-0000-0000-0053545354ab vendor/tee/00000000-0000-0000-0000-0053545354ab
@@ -75,7 +75,7 @@ vendor/tee/00000000-0000-0000-0000-505256544545
vendor/tee/00000000-0000-0000-0000-657365447276 vendor/tee/00000000-0000-0000-0000-657365447276
vendor/tee/driver/00000000-0000-0000-0000-53626f786476 vendor/tee/driver/00000000-0000-0000-0000-53626f786476
### WIFI ## Wi-Fi
vendor/firmware/bcmdhd_clm.blob vendor/firmware/bcmdhd_clm.blob
vendor/firmware/nvram.txt_1rh_es43_b1 vendor/firmware/nvram.txt_1rh_es43_b1
vendor/firmware/nvram.txt_CS01_semco_b1 vendor/firmware/nvram.txt_CS01_semco_b1

View File

@@ -1,5 +1,6 @@
### RIL ## RIL
ro.telephony.default_network=26,9 persist.radio.multisim.config=ss
ro.multisim.simslotcount=1 ro.multisim.simslotcount=1
ro.telephony.default_network=26,9
ro.vendor.multisim.simslotcount=1 ro.vendor.multisim.simslotcount=1
persist.radio.multisim.config=ss persist.radio.multisim.config=ss