--- /dev/null
+#
+# Copyright (C) 2018 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.
+#
+
+LOCAL_PATH := device/samsung/a7xelte
+
+ifneq ($(filter a7xelte,$(TARGET_DEVICE)),)
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
+
+endif
--- /dev/null
+#
+# Copyright (C) 2018 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.
+#
+
+LOCAL_PATH := device/samsung/a7xelte
+
+PRODUCT_MAKEFILES := \
+ $(LOCAL_PATH)/full_a7xelte.mk
--- /dev/null
+#
+# Copyright (C) 2018 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 from universal7580-common
+include device/samsung/universal7580-common/BoardConfigCommon.mk
+
+LOCAL_PATH := device/samsung/a7xelte
--- /dev/null
+#
+# Copyright (C) 2018 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.
+#
+
+LOCAL_PATH := device/samsung/a7xelte
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
+
+# Ramdisk
+PRODUCT_PACKAGES += \
+ init.target.rc
+
+# Inherit from universal7580-common
+$(call inherit-product, device/samsung/universal7580-common/device-common.mk)
--- /dev/null
+#
+# Copyright (C) 2018 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.
+#
+
+LOCAL_PATH := device/samsung/a7xelte
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(LOCAL_PATH)/device.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_a7xelte
+PRODUCT_DEVICE := a7xelte
+PRODUCT_MODEL := SM-A710F
+PRODUCT_BRAND := Samsung
+PRODUCT_MANUFACTURER := samsung
--- /dev/null
+#
+# Copyright (C) 2018 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.
+#
+
+LOCAL_PATH := device/samsung/a7xelte
+
+$(call inherit-product, $(LOCAL_PATH)/full_a7xelte.mk)
+
+# Inherit some common Lineage stuff.
+$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := lineage_a7xelte
+PRODUCT_DEVICE := a7xelte
+PRODUCT_MODEL := SM-a710F
+PRODUCT_BRAND := Samsung
+PRODUCT_MANUFACTURER := samsung
--- /dev/null
+LOCAL_PATH := $(call my-dir)
+
+# Init scripts
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := init.target.rc
+LOCAL_MODULE_TAGS := optional eng
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := etc/init.target.rc
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+include $(BUILD_PREBUILT)
+
--- /dev/null
+on boot
+ # Assign TCP buffer thresholds to be ceiling value of technology maximums
+ # Increased technology maximums should be reflected here.
+ write /proc/sys/net/core/rmem_max 2097152
+ write /proc/sys/net/core/wmem_max 2097152
+
+on fs
+ # Permissions for LCD
+ chown system system /sys/class/lcd/panel/ldu_correction
+ chown system system /sys/class/lcd/panel/lux
+ chown system media_rw /sys/class/lcd/panel/adaptive_control
+
+ # Permissions for Touchkey
+ chown system radio /sys/class/sec/sec_touchkey/sar_enable
+ chown system radio /sys/class/sec/sec_touchkey/sw_reset
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_earjack
+
+ # Accelerometer_sensor
+ chown system radio /sys/class/sensors/accelerometer_sensor/mcu_rev
+ chown system radio /sys/class/sensors/accelerometer_sensor/mcu_name
+
+ # Fingerprint_sensor
+ chown system radio /sys/class/fingerprint/fingerprint/type_check
+ chown system radio /sys/class/fingerprint/fingerprint/name
+ chown system radio /sys/class/fingerprint/fingerprint/vendor
+
+ # BHY
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/event_shealth_int
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/pedometer_steps
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_cadence
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_cadence_enable
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_enable
+ chown system radio /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_flush_cadence
+ chmod 660 /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/event_shealth_int
+ chmod 660 /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/pedometer_steps
+ chmod 660 /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_cadence_enable
+ chmod 660 /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_enable
+ chmod 660 /sys/devices/13870000.hsi2c/i2c-0/0-0028/iio:device0/shealth_flush_cadence
+
+on property:sys.boot_completed=1
+ write /proc/sys/vm/dirty_bytes 41943040
+ write /proc/sys/vm/dirty_background_bytes 20971520
+
+ # Set best cache size for internal and external storages
+ write /sys/block/mmcblk0/bdi/read_ahead_kb 128
+ write /sys/block/mmcblk1/bdi/read_ahead_kb 2048
+