diff --git a/a20/BoardConfig.mk b/BoardConfig.mk
similarity index 100%
rename from a20/BoardConfig.mk
rename to BoardConfig.mk
diff --git a/README.md b/README.md
deleted file mode 100644
index 3f3e7cd..0000000
--- a/README.md
+++ /dev/null
@@ -1,97 +0,0 @@
-# Device Trees for universal7885 unified
-The Samsung Galaxy A10,A20,A20e,A30,A30s,A40 are budget smartphones from Samsung. These are announced and released in the year 2019.
-
-# Device List
-- Galaxy A10 (exynos7884B)
-- Galaxy A20 (exynos7884B)
-- Galaxy A20e (exynos7884B)
-- Galaxy A30 (exynos7904)
-- Galaxy A30s (exynos7904)
-- Galaxy A40 (exynos7904)
-
-# Why universal7885? isn't that another SoC made by Samsung?
-- Yes it is, exynos7884B and exynos7904 are 2nd and 3rd revisions of exynos7885 with lower CPU and GPU clockspeed and have newer Mali GPU drivers
-- We restored the original clock and voltage tables of exynos7885 to these phones.
-
-## Device specifications (Galaxy A10)
-| Feature | Specification |
-| :---------------------- | :---------------------------------------------------------------|
-| Chipset | Samsung Exynos 7884B (14 nm) |
-| CPU | Octa-core (2x1.6 GHz Cortex-A73 & 6x1.35 GHz Cortex-A53) |
-| GPU | Mali G71 MP2 |
-| Memory | 2/4 GB |
-| Shipped Android Version | 9.0 |
-| Storage | 32 GB |
-| Battery | Li-Ion 3400 mAh, non-removable |
-| Display | 6.2 inches, 95.9 cm2 (~81.6% screen-to-body ratio) |
-| Rear Camera | 13 MP, f/1.9, 28mm (wide), AF |
-| Front Camera | 5 MP, f/2.0 |
-
-## Device specifications (Galaxy A20/A20e)
-| Feature | Specification |
-| :---------------------- | :---------------------------------------------------------------|
-| Chipset | Samsung Exynos 7884 (14 nm) |
-| CPU | Octa-core (2x1.6 GHz Cortex-A73 & 6x1.35 GHz Cortex-A53) |
-| GPU | Mali G71 MP2 |
-| Memory | 3 GB |
-| Shipped Android Version | 9.0 |
-| Storage | 32 GB |
-| Battery (A20) | Li-Ion 4000 mAh, non-removable |
-| Battery (A20e) | Li-Ion 3000 mAh, non-removable |
-| Display (A20) | 6.2 inches, 95.9 cm2 (~81.6% screen-to-body ratio) (sAMOLED) |
-| Display (A20e) | 5.8 inches, 82.6 cm2 (~80.4% screen-to-body ratio) (PLS IPS) |
-| Rear Camera 1 | 13 MP, f/1.9, 28mm (wide), AF |
-| Rear Camera 2 | 5 MP, f/2.2, 12mm (ultrawide) |
-| Front Camera | 8 MP, f/2.0 |
-| Fingerprint | Rear-mounted |
-
-
-## Device specifications (Galaxy A30)
-| Feature | Specification |
-| :---------------------- | :---------------------------------------------------------------|
-| Chipset | Samsung Exynos 7904 (14 nm) |
-| CPU | Octa-core (2x1.8 GHz Cortex-A73 & 6x1.7 GHz Cortex-A53) |
-| GPU | Mali G71 MP2 |
-| Memory | 3/4 GB |
-| Shipped Android Version | 9.0 |
-| Storage | 32/64 GB |
-| Battery | Li-Po 4000 mAh, non-removable |
-| Display | 6.4 inches, 100.5 cm2 (~84.2% screen-to-body ratio) |
-| Rear Camera 1 | 16 MP, f/1.7, 27mm (wide), PDAF |
-| Rear Camera 2 | 5 MP, f/2.2, 12mm (ultrawide) |
-| Front Camera | 16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm |
-| Fingerprint | Rear-mounted |
-
-
-## Device specifications (Galaxy A30)
-| Feature | Specification |
-| :---------------------- | :---------------------------------------------------------------|
-| Chipset | Samsung Exynos 7904 (14 nm) |
-| CPU | Octa-core (2x1.8 GHz Cortex-A73 & 6x1.7 GHz Cortex-A53) |
-| GPU | Mali G71 MP2 |
-| Memory | 3/4 GB |
-| Shipped Android Version | 9.0 |
-| Storage | 32/64 GB |
-| Battery | Li-Po 4000 mAh, non-removable |
-| Display | 6.4 inches, 100.5 cm2 (~84.2% screen-to-body ratio) |
-| Rear Camera 1 | 25 MP, f/1.7, 27mm (wide), PDAF |
-| Rear Camera 2 | 8 MP, f/2.2, 13mm (ultrawide) |
-| Rear Camera 3 | 5 MP, f/2.2, (depth)
-| Front Camera | 16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm |
-| Fingerprint | Under display, optical |
-
-## Device specifications (Galaxy A40)
-| Feature | Specification |
-| :---------------------- | :---------------------------------------------------------------|
-| Chipset | Samsung Exynos 7904 (14 nm) |
-| CPU | Octa-core (2x1.8 GHz Cortex-A73 & 6x1.7 GHz Cortex-A53) |
-| GPU | Mali G71 MP2 |
-| Memory | 4 GB |
-| Shipped Android Version | 9.0 |
-| Storage | 64/128 GB |
-| Battery | Li-Po 3100 mAh, non-removable |
-| Display | 5.9 inches, 85.5 cm2 (~85.5% screen-to-body ratio) |
-| Rear Camera 1 | 16 MP, f/1.7, 26mm (wide), PDAF |
-| Rear Camera 2 | 5 MP, f/2.2, 13mm (ultrawide) |
-| Front Camera | 25 MP, f/2.0, 25mm (wide), 1/2.8", 0.9µm |
-| Fingerprint | Rear-mounted |
diff --git a/a10/BoardConfig.mk b/a10/BoardConfig.mk
deleted file mode 100644
index b146f0c..0000000
--- a/a10/BoardConfig.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-DEVICE_PATH := device/samsung/a10
-
-# Asserts
-TARGET_OTA_ASSERT_DEVICE := a10,a10dd
-
-# Kernel
-TARGET_KERNEL_CONFIG := exynos7885-a10_defconfig
-
-# Display
-TARGET_SCREEN_DENSITY := 280
-
-# Partitions
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528 # 55MB
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3556769792 # 3.31GB
-BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
-BOARD_VENDORIMAGE_PARTITION_SIZE := 394264576
-
-# SPL
-VENDOR_SECURITY_PATCH := 2021-12-01
-
-# Inherit common board flags
-include device/samsung/universal7885-common/BoardConfigCommon.mk
-
-TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
diff --git a/a10/common.mk b/a10/common.mk
deleted file mode 100644
index 360aaff..0000000
--- a/a10/common.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-DEVICE_PACKAGE_OVERLAYS += device/samsung/a10/overlay
-
-TARGET_BOARD_CAMERA_COUNT := 2
-TARGET_BOARD_HAS_FP := false
-TARGET_SOC := exynos7884B
-
-# Inherit common device configuration
-$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
-
-$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
-
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb@1.0-service.a10
-
-TARGET_SCREEN_HEIGHT := 1520
-TARGET_SCREEN_WIDTH := 720
-
-BUILD_FINGERPRINT := "samsung/a10kx/a10:11/RP1A.200720.012/A105NKOU5CUL4:user/release-keys"
-
-PRODUCT_BUILD_PROP_OVERRIDES += \
- PRIVATE_BUILD_DESC="a10kx-user 11 RP1A.200720.012 A105NKOU5CUL4 release-keys"
diff --git a/a10/device.mk b/a10/device.mk
deleted file mode 100644
index 29f0567..0000000
--- a/a10/device.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-TARGET_LOCAL_ARCH := arm64
-
-$(call inherit-product, vendor/samsung/a10/a10-vendor.mk)
-
-# Sensors
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service_32
-
-include device/samsung/a10/common.mk
diff --git a/a10/extract-files.sh b/a10/extract-files.sh
deleted file mode 100644
index 55f49e6..0000000
--- a/a10/extract-files.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# If we're being sourced by the common script that we called,
-# stop right here. No need to go down the rabbit hole.
-if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
- return
-fi
-
-set -e
-
-export DEVICE=a10
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/a10/full_a10.mk b/a10/full_a10.mk
deleted file mode 100644
index 4e6f4b3..0000000
--- a/a10/full_a10.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a10/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a10
-PRODUCT_NAME := full_a10
-PRODUCT_MODEL := SM-A105F
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
diff --git a/a10/overlay/frameworks/base/core/res/res/values/config.xml b/a10/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index ea4683f..0000000
--- a/a10/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- M 0,0 H -32 V 31.42857142857143 H 32 V 0 H 0 Z @dp
- @*android:string/config_mainBuiltInDisplayCutout
-
diff --git a/a10/overlay/frameworks/base/core/res/res/values/dimens.xml b/a10/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100644
index 06570fa..0000000
--- a/a10/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 24.0dip
-
- 31.0dip
-
- 40px
-
diff --git a/a10/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/a10/overlay/frameworks/base/core/res/res/xml/power_profile.xml
deleted file mode 100644
index 818340f..0000000
--- a/a10/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
- - 0
- - 93
- - 313
- - 118
- - 0.98
- - 0.43
- - 488
- - 502
- - 45
- - 286
- - 124
- - 662
- - 32
- - 164
- - 115
-
- 7.3
- 7.3
-
-
- 6
- 2
-
-
- 1586000
- 1482000
- 1352000
- 1248000
- 1144000
- 1014000
- 902000
- 839000
- 757000
- 676000
- 546000
- 449000
-
-
- 50
- 43
- 34
- 28
- 24
- 18
- 15
- 13
- 11
- 10
- 7
- 6
-
-
- 1768000
- 1664000
- 1560000
- 1352000
- 1144000
- 936000
-
-
- 162
- 142
- 120
- 87
- 61
- 41
-
- - 3.79
- - 23
- - 3400
- - 3300
- - 1
- - 65
- - 265
-
- 0
-
- - 3600
-
- .0002
- .002
- .02
- .2
- 2
-
-
diff --git a/a10/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/a10/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index 7663c61..0000000
--- a/a10/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Samsung Galaxy A10
-
diff --git a/a10/proprietary-files.txt b/a10/proprietary-files.txt
deleted file mode 100644
index 44735da..0000000
--- a/a10/proprietary-files.txt
+++ /dev/null
@@ -1,152 +0,0 @@
-# Blobs not symlinked in vendor tree are from samsung/a10kx/a10:11/RP1A.200720.012/A105NKOU5CUL4:user/release-keys
-# Symlinked ones are from samsung/a20ektt/a20e:11/RP1A.200720.012/A202KKKU8CUL3:user/release-keys.
-
-# Audio
-vendor/lib/hw/audio.primary.exynos7884B.so
-vendor/lib/soundfx/libswdap.so
-vendor/lib/vndk/libaudioroute.so
-vendor/lib/libacryl.so
-vendor/lib/libaudio-ril.so
-vendor/lib/libaudio_soundtrigger.so
-vendor/lib/librecordalive.so
-vendor/lib/libsamsungDiamondVoice.so
-vendor/lib64/libacryl.so
-
-# Camera
-vendor/lib/hw/camera.exynos7884B.so
-vendor/lib/libOpenCv.camera.samsung.so
-vendor/lib/libSEF.quram.so
-vendor/lib/libexynosv4l2.so
-vendor/lib/libgiantmscl.so
-vendor/lib/libhwjpeg.so
-vendor/lib/libsaiv_BeautySolutionVideo.so
-vendor/lib/libuniapi.so
-vendor/lib/libuniplugin.so
-vendor/lib/libvideobeauty_interface.so
-vendor/lib64/libOpenCv.camera.samsung.so
-vendor/lib64/libSEF.quram.so
-vendor/lib/libexynoscamera3.so
-vendor/lib64/libexynosv4l2.so
-vendor/lib64/libgiantmscl.so
-vendor/lib64/libsaiv_BeautySolutionVideo.so
-vendor/lib64/libuniapi.so
-vendor/lib64/libuniplugin.so
-vendor/lib64/libvideobeauty_interface.so
-
-# Exynos HWC
-vendor/lib/hw/hwcomposer.exynos7884B.so
-vendor/lib/libExynosHWCService.so
-vendor/lib/libexynosdisplay.so
-vendor/lib/libexynosgraphicbuffer.so
-vendor/lib/libexynosgscaler.so
-vendor/lib/libexynosscaler.so
-vendor/lib/libexynosutils.so
-vendor/lib64/hw/hwcomposer.exynos7884B.so
-vendor/lib64/libExynosHWCService.so
-vendor/lib64/libexynosdisplay.so
-vendor/lib64/libexynosgraphicbuffer.so
-vendor/lib64/libexynosgscaler.so
-vendor/lib64/libexynosscaler.so
-vendor/lib64/libexynosutils.so
-
-# Fingerprint
-vendor/lib/libegis_fp_normal_sensor_test.so
-vendor/lib64/libegis_fp_normal_sensor_test.so
-
-# Sensors
-vendor/etc/yas_set.cfg
-vendor/lib/hw/sensors.universal7884B.so
-vendor/lib/libsensorlistener.so
-vendor/lib/libyasalgo.so
-vendor/lib64/libsensorlistener.so
-vendor/lib64/libyasalgo.so
-
-# GPS
-vendor/bin/hw/gpsd
-vendor/lib/libwrappergps.so
-vendor/lib64/libwrappergps.so
-
-# RIL
-vendor/lib64/libengmode_client.so
-vendor/lib64/libvkmanager_vendor.so
-
-# HW Modules for 7884B
-vendor/lib/hw/gatekeeper.exynos7884B.so
-vendor/lib/hw/gralloc.exynos7884B.so
-vendor/lib/hw/memtrack.exynos7884B.so
-vendor/lib/hw/thermal.universal7884B.so
-vendor/lib64/hw/gatekeeper.exynos7884B.so
-vendor/lib64/hw/gralloc.exynos7884B.so
-vendor/lib64/hw/memtrack.exynos7884B.so
-vendor/lib64/hw/thermal.universal7884B.so
-
-# Media
-vendor/etc/mixer_gains.xml
-vendor/etc/mixer_paths.xml
-
-# Firmware
-vendor/firmware/nfc/sec_s3nrn82_firmware.bin
-vendor/firmware/dax_param.bin
-vendor/firmware/fimc_is_lib.bin
-vendor/firmware/fimc_is_rta.bin
-vendor/firmware/mfc_fw.bin
-vendor/firmware/setfile_3l6.bin
-vendor/firmware/setfile_5e9.bin
-
-# Wifi
-vendor/etc/wifi/mx140/debug/common/log-strings.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140/debug/wlan/id.txt
-vendor/etc/wifi/mx140/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140_t/debug/common/log-strings.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140_t/debug/wlan/id.txt
-vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/hydra_config.sdb
-vendor/etc/wifi/indoorchannel.info
-vendor/etc/wifi/mx
-vendor/etc/wifi/mx140.bin
-vendor/etc/wifi/mx140_bt.hcf
-vendor/etc/wifi/mx140_t.bin
-vendor/etc/wifi/mx140_t_wlan.hcf
-vendor/etc/wifi/mx140_t_wlan_t.hcf
-vendor/etc/wifi/mx140_wlan.hcf
-vendor/etc/wifi/mx140_wlan_t.hcf
-vendor/etc/wifi/p2p_supplicant_overlay.conf
-vendor/etc/wifi/platform.txt
-vendor/etc/wifi/wpa_supplicant.conf
-vendor/etc/wifi/wpa_supplicant_overlay.conf
diff --git a/a10/sensor/Android.bp b/a10/sensor/Android.bp
deleted file mode 100644
index 36acaed..0000000
--- a/a10/sensor/Android.bp
+++ /dev/null
@@ -1,18 +0,0 @@
-cc_binary {
- name: "android.hardware.sensors@1.0-service_32",
- relative_install_path: "hw",
- vendor: true,
- init_rc: ["android.hardware.sensors@1.0-service_32.rc"],
- srcs: ["service.cpp"],
- compile_multilib: "32",
-
- shared_libs: [
- "liblog",
- "libcutils",
- "libdl",
- "libbase",
- "libutils",
- "libhidlbase",
- "android.hardware.sensors@1.0",
- ],
-}
diff --git a/a10/sensor/android.hardware.sensors@1.0-service_32.rc b/a10/sensor/android.hardware.sensors@1.0-service_32.rc
deleted file mode 100644
index c17a5a7..0000000
--- a/a10/sensor/android.hardware.sensors@1.0-service_32.rc
+++ /dev/null
@@ -1,7 +0,0 @@
-service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service_32
- interface android.hardware.sensors@1.0::ISensors default
- class hal
- user system
- group system wakelock uhid context_hub
- capabilities BLOCK_SUSPEND
- rlimit rtprio 10 10
diff --git a/a10/sensor/service.cpp b/a10/sensor/service.cpp
deleted file mode 100644
index 7ce9c34..0000000
--- a/a10/sensor/service.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source 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.
- */
-
-#define LOG_TAG "android.hardware.sensors@1.0-service_32"
-
-#include
-#include
-
-using android::hardware::sensors::V1_0::ISensors;
-using android::hardware::defaultPassthroughServiceImplementation;
-
-int main() {
- /* Sensors framework service needs at least two threads.
- * One thread blocks on a "poll"
- * The second thread is needed for all other HAL methods.
- */
- return defaultPassthroughServiceImplementation(2);
-}
diff --git a/a10/setup-makefiles.sh b/a10/setup-makefiles.sh
deleted file mode 100755
index af592f5..0000000
--- a/a10/setup-makefiles.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Required!
-export DEVICE=a10
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
diff --git a/a10/usb/Android.bp b/a10/usb/Android.bp
deleted file mode 100644
index 2f760e3..0000000
--- a/a10/usb/Android.bp
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// Copyright (C) 2017-2018,2020 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.
-
-cc_binary {
- name: "android.hardware.usb@1.0-service.a10",
- relative_install_path: "hw",
- init_rc: ["android.hardware.usb@1.0-service.a10.rc"],
- vintf_fragments: ["android.hardware.usb@1.0-service.a10.xml"],
- srcs: [
- "service.cpp",
- "Usb.cpp",
- ],
- shared_libs: [
- "libbase",
- "libcutils",
- "libhidlbase",
- "libutils",
- "libhardware",
- "android.hardware.usb@1.0",
- ],
- proprietary: true,
-}
diff --git a/a10/usb/Usb.cpp b/a10/usb/Usb.cpp
deleted file mode 100644
index f45f7e5..0000000
--- a/a10/usb/Usb.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (C) 2017-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.
- */
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include
-
-#include "Usb.h"
-
-namespace android {
-namespace hardware {
-namespace usb {
-namespace V1_0 {
-namespace implementation {
-
-Return Usb::switchRole(const hidl_string &portName __unused,
- const PortRole &newRole __unused) {
- LOG(ERROR) << __func__ << ": Not supported";
- return Void();
-}
-
-Return Usb::queryPortStatus() {
- hidl_vec currentPortStatus;
- currentPortStatus.resize(1);
-
- currentPortStatus[0].portName = "otg_default";
- currentPortStatus[0].currentDataRole = PortDataRole::DEVICE;
- currentPortStatus[0].currentPowerRole = PortPowerRole::SINK;
- currentPortStatus[0].currentMode = PortMode::UFP;
- currentPortStatus[0].canChangeMode = false;
- currentPortStatus[0].canChangeDataRole = false;
- currentPortStatus[0].canChangePowerRole = false;
- currentPortStatus[0].supportedModes = PortMode::UFP;
-
- pthread_mutex_lock(&mLock);
- if (mCallback != NULL) {
- Return ret =
- mCallback->notifyPortStatusChange(currentPortStatus, Status::SUCCESS);
- if (!ret.isOk()) {
- LOG(ERROR) << "queryPortStatus error " << ret.description();
- }
- } else {
- LOG(INFO) << "Notifying userspace skipped. Callback is NULL";
- }
- pthread_mutex_unlock(&mLock);
-
- return Void();
-}
-
-Return Usb::setCallback(const sp &callback) {
- pthread_mutex_lock(&mLock);
-
- mCallback = callback;
- LOG(INFO) << "registering callback";
-
- pthread_mutex_unlock(&mLock);
- return Void();
-}
-
-} // namespace implementation
-} // namespace V1_0
-} // namespace usb
-} // namespace hardware
-} // namespace android
diff --git a/a10/usb/Usb.h b/a10/usb/Usb.h
deleted file mode 100644
index 45abe9a..0000000
--- a/a10/usb/Usb.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2017-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.
- */
-
-#ifndef ANDROID_HARDWARE_USB_V1_0_USB_H
-#define ANDROID_HARDWARE_USB_V1_0_USB_H
-
-#include
-#include
-#include
-#include
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "android.hardware.usb@1.0-service-a10"
-#define UEVENT_MSG_LEN 2048
-
-namespace android {
-namespace hardware {
-namespace usb {
-namespace V1_0 {
-namespace implementation {
-
-using ::android::sp;
-using ::android::hardware::hidl_array;
-using ::android::hardware::hidl_memory;
-using ::android::hardware::hidl_string;
-using ::android::hardware::hidl_vec;
-using ::android::hardware::Return;
-using ::android::hardware::Void;
-using ::android::hardware::usb::V1_0::IUsb;
-using ::android::hardware::usb::V1_0::IUsbCallback;
-using ::android::hardware::usb::V1_0::PortRole;
-using ::android::hidl::base::V1_0::IBase;
-
-struct Usb : public IUsb {
- Return switchRole(const hidl_string &portName,
- const PortRole &role) override;
- Return setCallback(const sp &callback) override;
- Return queryPortStatus() override;
-
- sp mCallback;
- pthread_mutex_t mLock = PTHREAD_MUTEX_INITIALIZER;
-};
-
-} // namespace implementation
-} // namespace V1_0
-} // namespace usb
-} // namespace hardware
-} // namespace android
-
-#endif // ANDROID_HARDWARE_USB_V1_0_USB_H
diff --git a/a10/usb/android.hardware.usb@1.0-service.a10.rc b/a10/usb/android.hardware.usb@1.0-service.a10.rc
deleted file mode 100644
index 8bc1af8..0000000
--- a/a10/usb/android.hardware.usb@1.0-service.a10.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service.a10
- interface android.hardware.usb@1.0::IUsb default
- class hal
- user system
- group system
diff --git a/a10/usb/android.hardware.usb@1.0-service.a10.xml b/a10/usb/android.hardware.usb@1.0-service.a10.xml
deleted file mode 100644
index 6bfb402..0000000
--- a/a10/usb/android.hardware.usb@1.0-service.a10.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- android.hardware.usb
- hwbinder
- 1.0
-
- IUsb
- default
-
-
-
diff --git a/a10/usb/service.cpp b/a10/usb/service.cpp
deleted file mode 100644
index d10264c..0000000
--- a/a10/usb/service.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2017-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.
- */
-
-#include "Usb.h"
-#include
-#include
-
-using android::sp;
-
-// libhwbinder:
-using android::hardware::configureRpcThreadpool;
-using android::hardware::joinRpcThreadpool;
-
-// Generated HIDL files
-using android::hardware::usb::V1_0::IUsb;
-using android::hardware::usb::V1_0::implementation::Usb;
-
-int main() {
- android::sp service = new Usb();
-
- configureRpcThreadpool(1, true /*callerWillJoin*/);
- android::status_t status = service->registerAsService();
-
- if (status != android::OK) {
- LOG(ERROR) << "Cannot register USB HAL service";
- return 1;
- }
-
- LOG(INFO) << "USB HAL Ready.";
- joinRpcThreadpool();
- // Under normal cases, execution will not reach this line.
- LOG(ERROR) << "USB HAL failed to join thread pool.";
- return 1;
-}
diff --git a/a10/vendor.prop b/a10/vendor.prop
deleted file mode 100644
index d0e7709..0000000
--- a/a10/vendor.prop
+++ /dev/null
@@ -1,2 +0,0 @@
-## Bluetooth
-bluetooth.device.default_name=Galaxy A10
diff --git a/a10dd/BoardConfig.mk b/a10dd/BoardConfig.mk
deleted file mode 100644
index 6ed5497..0000000
--- a/a10dd/BoardConfig.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# Inherit A10 ARM64 board flags
-include device/samsung/a10/BoardConfig.mk
diff --git a/a10dd/device.mk b/a10dd/device.mk
deleted file mode 100644
index 216b24a..0000000
--- a/a10dd/device.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-TARGET_LOCAL_ARCH := arm
-
-$(call inherit-product, vendor/samsung/a10-arm/a10-vendor.mk)
-
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service
-
-include device/samsung/a10/common.mk
diff --git a/a10dd/full_a10dd.mk b/a10dd/full_a10dd.mk
deleted file mode 100644
index 24f3318..0000000
--- a/a10dd/full_a10dd.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a10dd/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a10dd
-PRODUCT_NAME := full_a10dd
-PRODUCT_MODEL := SM-A105F
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
diff --git a/a20e/BoardConfig.mk b/a20e/BoardConfig.mk
deleted file mode 100644
index 9483b0d..0000000
--- a/a20e/BoardConfig.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-DEVICE_PATH := device/samsung/a20e
-
-# Asserts
-TARGET_OTA_ASSERT_DEVICE := a20e,a20edd
-
-# Kernel
-TARGET_KERNEL_CONFIG := exynos7885-a20e_defconfig
-
-# Display
-TARGET_SCREEN_DENSITY := 280
-
-# Partitions
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528 # 55MB
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4320133120 #4.02GB
-BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
-BOARD_VENDORIMAGE_PARTITION_SIZE := 452984832
-
-# Inherit common board flags
-include device/samsung/universal7885-common/BoardConfigCommon.mk
-
-# SPL
-VENDOR_SECURITY_PATCH := 2022-01-01
-
-TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
diff --git a/a20e/device.mk b/a20e/device.mk
deleted file mode 100644
index 6ce2996..0000000
--- a/a20e/device.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
-
-TARGET_SOC := exynos7884B
-TARGET_LOCAL_ARCH := arm64
-
-# Inherit common device configuration
-$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
-
-$(call inherit-product, vendor/samsung/a20e/a20e-vendor.mk)
-
-$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
-
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb-service.samsung
-
-TARGET_SCREEN_HEIGHT := 1560
-TARGET_SCREEN_WIDTH := 720
-
-# Fingerprint
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
-
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service
diff --git a/a20e/extract-files.sh b/a20e/extract-files.sh
deleted file mode 100644
index a71483d..0000000
--- a/a20e/extract-files.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# If we're being sourced by the common script that we called,
-# stop right here. No need to go down the rabbit hole.
-if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
- return
-fi
-
-set -e
-
-export DEVICE=a20e
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/a20e/full_a20e.mk b/a20e/full_a20e.mk
deleted file mode 100644
index 7286ff1..0000000
--- a/a20e/full_a20e.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a20e/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a20e
-PRODUCT_NAME := full_a20e
-PRODUCT_MODEL := SM-A202K
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
-
diff --git a/a20e/overlay/frameworks/base/core/res/res/values/config.xml b/a20e/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index bdd86d1..0000000
--- a/a20e/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- true
- M 0,0 H -22.42857142857143 V 30.85714285714286 H 22.42857142857143 V 0 H 0 Z @dp
- @*android:string/config_mainBuiltInDisplayCutout
-
diff --git a/a20e/overlay/frameworks/base/core/res/res/values/dimens.xml b/a20e/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100644
index 955bf57..0000000
--- a/a20e/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
- 31.0dip
- 31.0dip
- 31.0dip
- 48.0dip
- 0.0dip
- 0.0px
- 0.0dip
- 0.0px
- 29.0dip
- 29.0px
-
diff --git a/a20e/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/a20e/overlay/frameworks/base/core/res/res/xml/power_profile.xml
deleted file mode 100644
index bd35d29..0000000
--- a/a20e/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
- - 0
- - 93
- - 313
- - 118
- - 0.98
- - 0.43
- - 488
- - 502
- - 45
- - 286
- - 124
- - 662
- - 32
- - 164
- - 115
-
- 7.3
- 7.3
-
-
- 6
- 2
-
-
- 1586000
- 1482000
- 1352000
- 1248000
- 1144000
- 1014000
- 902000
- 839000
- 757000
- 676000
- 546000
- 449000
-
-
- 50
- 43
- 34
- 28
- 24
- 18
- 15
- 13
- 11
- 10
- 7
- 6
-
-
- 1768000
- 1664000
- 1560000
- 1352000
- 1144000
- 936000
-
-
- 162
- 142
- 120
- 87
- 61
- 41
-
- - 3.79
- - 23
- - 2900
- - 1
- - 65
- - 265
-
- 0
-
- - 3600
-
- .0002
- .002
- .02
- .2
- 2
-
-
diff --git a/a20e/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/a20e/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index 9d7738a..0000000
--- a/a20e/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Samsung Galaxy A20e
-
diff --git a/a20e/proprietary-files.txt b/a20e/proprietary-files.txt
deleted file mode 100644
index cf7edce..0000000
--- a/a20e/proprietary-files.txt
+++ /dev/null
@@ -1,156 +0,0 @@
-# All blobs below are extracted from samsung/a20ektt/a20e:11/RP1A.200720.012/A202KKKU8CUL3:user/release-keys, unless otherwise stated.
-
-# Audio
-vendor/lib/hw/audio.primary.exynos7884B.so
-vendor/lib/soundfx/libswdap.so
-vendor/lib/vndk/libaudioroute.so
-vendor/lib/libacryl.so
-vendor/lib/libaudio-ril.so
-vendor/lib/libaudio_soundtrigger.so
-vendor/lib/librecordalive.so
-vendor/lib/libsamsungDiamondVoice.so
-vendor/lib64/libacryl.so
-
-# Camera
-vendor/lib/hw/camera.exynos7884B.so
-vendor/lib/libOpenCv.camera.samsung.so
-vendor/lib/libSEF.quram.so
-vendor/lib/libexynoscamera3.so
-vendor/lib/libexynosv4l2.so
-vendor/lib/libgiantmscl.so
-vendor/lib/libhwjpeg.so
-vendor/lib/libsaiv_BeautySolutionVideo.so
-vendor/lib/libuniapi.so
-vendor/lib/libuniplugin.so
-vendor/lib/libvideobeauty_interface.so
-vendor/lib64/hw/camera.exynos7884B.so
-vendor/lib64/libOpenCv.camera.samsung.so
-vendor/lib64/libSEF.quram.so
-vendor/lib64/libexynoscamera3.so
-vendor/lib64/libexynosv4l2.so
-vendor/lib64/libgiantmscl.so
-vendor/lib64/libhwjpeg.so
-vendor/lib64/libsaiv_BeautySolutionVideo.so
-vendor/lib64/libuniapi.so
-vendor/lib64/libuniplugin.so
-vendor/lib64/libvideobeauty_interface.so
-
-# Exynos HWC
-vendor/lib/hw/hwcomposer.exynos7884B.so
-vendor/lib/libExynosHWCService.so
-vendor/lib/libexynosdisplay.so
-vendor/lib/libexynosgraphicbuffer.so
-vendor/lib/libexynosgscaler.so
-vendor/lib/libexynosscaler.so
-vendor/lib/libexynosutils.so
-vendor/lib64/hw/hwcomposer.exynos7884B.so
-vendor/lib64/libExynosHWCService.so
-vendor/lib64/libexynosdisplay.so
-vendor/lib64/libexynosgraphicbuffer.so
-vendor/lib64/libexynosgscaler.so
-vendor/lib64/libexynosscaler.so
-vendor/lib64/libexynosutils.so
-
-# Fingerprint
-vendor/lib/libegis_fp_normal_sensor_test.so
-vendor/lib64/libegis_fp_normal_sensor_test.so
-
-# Sensors
-vendor/etc/yas_set.cfg
-vendor/lib/hw/sensors.universal7884B.so
-vendor/lib/libsensorlistener.so
-vendor/lib/libyasalgo.so
-vendor/lib64/hw/sensors.universal7884B.so
-vendor/lib64/libsensorlistener.so
-vendor/lib64/libyasalgo.so
-
-# GPS
-vendor/bin/hw/gpsd
-vendor/lib/libwrappergps.so
-vendor/lib64/libwrappergps.so
-
-# RIL
-vendor/lib64/libengmode_client.so
-vendor/lib64/libvkmanager_vendor.so
-
-# HW Modules for 7884B
-vendor/lib/hw/gatekeeper.exynos7884B.so
-vendor/lib/hw/gralloc.exynos7884B.so
-vendor/lib/hw/memtrack.exynos7884B.so
-vendor/lib/hw/thermal.universal7884B.so
-vendor/lib64/hw/gatekeeper.exynos7884B.so
-vendor/lib64/hw/gralloc.exynos7884B.so
-vendor/lib64/hw/memtrack.exynos7884B.so
-vendor/lib64/hw/thermal.universal7884B.so
-
-# Media
-vendor/etc/mixer_gains.xml
-vendor/etc/mixer_paths.xml
-
-# Firmware
-vendor/firmware/nfc/sec_s3nrn82_firmware.bin
-vendor/firmware/dax_param.bin
-vendor/firmware/fimc_is_lib.bin
-vendor/firmware/fimc_is_rta.bin
-vendor/firmware/mfc_fw.bin
-vendor/firmware/setfile_3l6.bin
-vendor/firmware/setfile_4ha_front.bin
-vendor/firmware/setfile_sr556.bin
-
-# Wifi
-vendor/etc/wifi/mx140/debug/common/log-strings.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140/debug/wlan/id.txt
-vendor/etc/wifi/mx140/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140_t/debug/common/log-strings.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140_t/debug/wlan/id.txt
-vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/hydra_config.sdb
-vendor/etc/wifi/indoorchannel.info
-vendor/etc/wifi/mx
-vendor/etc/wifi/mx140.bin
-vendor/etc/wifi/mx140_bt.hcf
-vendor/etc/wifi/mx140_t.bin
-vendor/etc/wifi/mx140_t_wlan.hcf
-vendor/etc/wifi/mx140_t_wlan_t.hcf
-vendor/etc/wifi/mx140_wlan.hcf
-vendor/etc/wifi/mx140_wlan_t.hcf
-vendor/etc/wifi/p2p_supplicant_overlay.conf
-vendor/etc/wifi/platform.txt
-vendor/etc/wifi/wpa_supplicant.conf
-vendor/etc/wifi/wpa_supplicant_overlay.conf
diff --git a/a20e/setup-makefiles.sh b/a20e/setup-makefiles.sh
deleted file mode 100755
index 5080173..0000000
--- a/a20e/setup-makefiles.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Required!
-export DEVICE=a20e
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
diff --git a/a20e/vendor.prop b/a20e/vendor.prop
deleted file mode 100644
index 5ce5091..0000000
--- a/a20e/vendor.prop
+++ /dev/null
@@ -1,2 +0,0 @@
-## Bluetooth
-bluetooth.device.default_name=Galaxy A20e
diff --git a/a30/BoardConfig.mk b/a30/BoardConfig.mk
deleted file mode 100644
index 689e0f9..0000000
--- a/a30/BoardConfig.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-DEVICE_PATH := device/samsung/a30
-
-# Asserts
-TARGET_OTA_ASSERT_DEVICE := a30,a30dd
-
-# Kernel
-TARGET_KERNEL_CONFIG := exynos7885-a30_defconfig
-
-# Display
-TARGET_SCREEN_DENSITY := 420
-
-# Partitions# Partitions
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5007998976
-BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
-BOARD_VENDORIMAGE_PARTITION_SIZE := 452984832
-
-# Inherit common board flags
-include device/samsung/universal7885-common/BoardConfigCommon.mk
-
-# SPL
-VENDOR_SECURITY_PATCH := 2022-10-01
-
-TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
diff --git a/a30/device.mk b/a30/device.mk
deleted file mode 100644
index 9d8eea9..0000000
--- a/a30/device.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
-
-TARGET_LOCAL_ARCH := arm64
-TARGET_SOC := exynos7904
-
-# Inherit common device configuration
-$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
-
-$(call inherit-product, vendor/samsung/a30/a30-vendor.mk)
-
-$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
-
-TARGET_SCREEN_HEIGHT := 2280
-TARGET_SCREEN_WIDTH := 1080
-
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb-service.samsung
-
-# Feature Permissions
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
- frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
-
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service
-
-BUILD_FINGERPRINT := "samsung/a30cis/a30:11/RP1A.200720.012/A305FNXXU6CUI2:user/release-keys"
-
-PRODUCT_BUILD_PROP_OVERRIDES += \
- PRIVATE_BUILD_DESC="a30cis-user 11 RP1A.200720.012 A305FNXXU6CUI2 release-keys"
diff --git a/a30/extract-files.sh b/a30/extract-files.sh
deleted file mode 100644
index 69778dc..0000000
--- a/a30/extract-files.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# If we're being sourced by the common script that we called,
-# stop right here. No need to go down the rabbit hole.
-if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
- return
-fi
-
-set -e
-
-export DEVICE=a30
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/a30/full_a30.mk b/a30/full_a30.mk
deleted file mode 100644
index 024a084..0000000
--- a/a30/full_a30.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a30/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a30
-PRODUCT_NAME := full_a30
-PRODUCT_MODEL := SM-A305F
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
diff --git a/a30/overlay/frameworks/base/core/res/res/values/config.xml b/a30/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index 5d041dd..0000000
--- a/a30/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp
- @*android:string/config_mainBuiltInDisplayCutout
-
- true
- true
- true
-
- 200
-
- com.samsung.sensor.physical_light
- true
-
diff --git a/a30/overlay/frameworks/base/core/res/res/values/dimens.xml b/a30/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100644
index 06570fa..0000000
--- a/a30/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 24.0dip
-
- 31.0dip
-
- 40px
-
diff --git a/a30/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/a30/overlay/frameworks/base/core/res/res/xml/power_profile.xml
deleted file mode 100644
index 10d4c40..0000000
--- a/a30/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
- - 0
- - 93
- - 313
- - 118
- - 0.98
- - 0.43
- - 488
- - 502
- - 45
- - 286
- - 124
- - 662
- - 32
- - 164
- - 115
-
- 7.3
- 7.3
-
-
- 6
- 2
-
-
- 1586000
- 1482000
- 1352000
- 1248000
- 1144000
- 1014000
- 902000
- 839000
- 757000
- 676000
- 546000
- 449000
-
-
- 50
- 43
- 34
- 28
- 24
- 18
- 15
- 13
- 11
- 10
- 7
- 6
-
-
- 1768000
- 1664000
- 1560000
- 1352000
- 1144000
- 936000
-
-
- 162
- 142
- 120
- 87
- 61
- 41
-
- - 3.79
- - 23
- - 4000
- - 4000
- - 1
- - 65
- - 265
-
- 0
-
- - 3600
-
- .0002
- .002
- .02
- .2
- 2
-
-
diff --git a/a30/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/a30/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index 1ff256f..0000000
--- a/a30/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Samsung Galaxy A30
-
diff --git a/a30/proprietary-files.txt b/a30/proprietary-files.txt
deleted file mode 100644
index 739f657..0000000
--- a/a30/proprietary-files.txt
+++ /dev/null
@@ -1,161 +0,0 @@
-# All blobs below are extracted from samsung/a30cis/a30:11/RP1A.200720.012/A305FNXXU6CUI2:user/release-keys, unless otherwise stated.
-
-# Audio
-vendor/lib/hw/audio.primary.exynos7904.so
-vendor/lib/soundfx/libswdap.so
-vendor/lib/vndk/libaudioroute.so
-vendor/lib/lib_SamsungRec_07001.so
-vendor/lib/libaudio-ril.so
-vendor/lib/libaudio_soundtrigger.so
-vendor/lib/librecordalive.so
-vendor/lib/libsamsungDiamondVoice.so
-vendor/lib/libwebrtc_audio_preprocessing.so
-vendor/lib/libyasalgo.so
-vendor/lib64/soundfx/libswdap.so
-vendor/lib64/libengmode_client.so
-vendor/lib64/libwebrtc_audio_preprocessing.so
-
-# Camera
-vendor/lib/hw/camera.exynos7904.so
-vendor/lib/libOpenCv.camera.samsung.so
-vendor/lib/libSEF.quram.so
-vendor/lib/libSonyIMX471RmscLibrary.so
-vendor/lib/libexynoscamera3.so
-vendor/lib/libgiantmscl.so
-vendor/lib/libhwjpeg.so
-vendor/lib/libremosaic_daemon.so
-vendor/lib/libsaiv_BeautySolutionVideo.so
-vendor/lib/libuniapi.so
-vendor/lib/libuniplugin.so
-vendor/lib/libvideobeauty_interface.so
-vendor/lib64/hw/camera.exynos7904.so
-vendor/lib64/libOpenCv.camera.samsung.so
-vendor/lib64/libSEF.quram.so
-vendor/lib64/libSonyIMX471RmscLibrary.so
-vendor/lib64/libacryl.so
-vendor/lib64/libexynoscamera3.so
-vendor/lib64/libgiantmscl.so
-vendor/lib64/libhwjpeg.so
-vendor/lib64/libremosaic_daemon.so
-vendor/lib64/libsaiv_BeautySolutionVideo.so
-vendor/lib64/libuniapi.so
-vendor/lib64/libuniplugin.so
-vendor/lib64/libvideobeauty_interface.so
-
-# Firmware
-vendor/firmware/dax_param.bin
-vendor/firmware/fimc_is_lib.bin
-vendor/firmware/fimc_is_rta.bin
-vendor/firmware/mfc_fw.bin
-vendor/firmware/setfile_2p6.bin
-vendor/firmware/setfile_3p8sp.bin
-vendor/firmware/setfile_5e9.bin
-vendor/firmware/setfile_imx471.bin
-
-# Fingerprint
-vendor/lib/libegis_fp_normal_sensor_test.so
-vendor/lib64/libegis_fp_normal_sensor_test.so
-
-# HWC
-vendor/lib/libExynosHWCService.so
-vendor/lib/libexynosdisplay.so
-vendor/lib/libexynosgraphicbuffer.so
-vendor/lib/libexynosgscaler.so
-vendor/lib/libexynosscaler.so
-vendor/lib/libexynosutils.so
-vendor/lib/libexynosv4l2.so
-vendor/lib64/hw/hwcomposer.exynos7904.so
-vendor/lib64/libExynosHWCService.so
-vendor/lib64/libexynosdisplay.so
-vendor/lib64/libexynosgraphicbuffer.so
-vendor/lib64/libexynosgscaler.so
-vendor/lib64/libexynosscaler.so
-vendor/lib64/libexynosutils.so
-vendor/lib64/libexynosv4l2.so
-
-# Sensors
-vendor/etc/yas_set.cfg
-vendor/lib/hw/sensors.universal7904.so
-vendor/lib/libsensorlistener.so
-vendor/lib64/hw/sensors.universal7904.so
-vendor/lib64/libiwt.so
-vendor/lib64/libsensorlistener.so
-vendor/lib64/libyasalgo.so
-
-# HW Modules
-vendor/lib/hw/gatekeeper.exynos7904.so
-vendor/lib/hw/gralloc.exynos7904.so
-vendor/lib/hw/hwcomposer.exynos7904.so
-vendor/lib/hw/memtrack.exynos7904.so
-vendor/lib/hw/thermal.universal7904.so
-vendor/lib64/hw/gatekeeper.exynos7904.so
-vendor/lib64/hw/gralloc.exynos7904.so
-vendor/lib64/hw/memtrack.exynos7904.so
-vendor/lib64/hw/thermal.universal7904.so
-
-# GPS
-vendor/bin/hw/gpsd
-vendor/lib/libwrappergps.so
-vendor/lib64/libwrappergps.so
-
-# Media
-vendor/etc/mixer_gains.xml
-vendor/etc/mixer_paths.xml
-
-# Wifi
-vendor/etc/wifi/mx140/debug/common/log-strings.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140/debug/wlan/id.txt
-vendor/etc/wifi/mx140/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140_t/debug/common/log-strings.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140_t/debug/wlan/id.txt
-vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/hydra_config.sdb
-vendor/etc/wifi/indoorchannel.info
-vendor/etc/wifi/mx
-vendor/etc/wifi/mx140.bin
-vendor/etc/wifi/mx140_bt.hcf
-vendor/etc/wifi/mx140_t.bin
-vendor/etc/wifi/mx140_t_wlan.hcf
-vendor/etc/wifi/mx140_t_wlan_t.hcf
-vendor/etc/wifi/mx140_wlan.hcf
-vendor/etc/wifi/mx140_wlan_t.hcf
-vendor/etc/wifi/platform.txt
-
-# TEE firmware
-vendor/tee/00000000-0000-0000-0000-46494e474502
diff --git a/a30/setup-makefiles.sh b/a30/setup-makefiles.sh
deleted file mode 100755
index f9d79c7..0000000
--- a/a30/setup-makefiles.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Required!
-export DEVICE=a30
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
diff --git a/a30/vendor.prop b/a30/vendor.prop
deleted file mode 100644
index 02f5694..0000000
--- a/a30/vendor.prop
+++ /dev/null
@@ -1,2 +0,0 @@
-## Bluetooth
-bluetooth.device.default_name=Galaxy A30
diff --git a/a30s/BoardConfig.mk b/a30s/BoardConfig.mk
deleted file mode 100644
index 3767edb..0000000
--- a/a30s/BoardConfig.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-DEVICE_PATH := device/samsung/a30s
-
-# Asserts
-TARGET_OTA_ASSERT_DEVICE := a30s,a30sdd
-
-# Kernel
-TARGET_KERNEL_CONFIG := exynos7885-a30s_defconfig
-
-# Display
-TARGET_SCREEN_DENSITY := 280
-
-# Partitions
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5033164800
-BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
-BOARD_VENDORIMAGE_PARTITION_SIZE := 645922816
-
-# FOD
-TARGET_SEC_FP_REQUEST_TOUCH_EVENT := true
-TARGET_SEC_FP_REQUEST_FORCE_CALIBRATE := true
-TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x2000U | 0x400000000LL
-TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.a30s
-
-# Inherit common board flags
-include device/samsung/universal7885-common/BoardConfigCommon.mk
-
-# SPL
-VENDOR_SECURITY_PATCH := 2021-11-01
-
-TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
diff --git a/a30s/device.mk b/a30s/device.mk
deleted file mode 100644
index d67a5d0..0000000
--- a/a30s/device.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
-
-TARGET_LOCAL_ARCH := arm64
-TARGET_SOC := exynos7904
-TARGET_HAS_UDFPS := true
-
-# Inherit common device configuration
-$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
-
-$(call inherit-product, vendor/samsung/a30s/a30s-vendor.mk)
-
-$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
-
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb-service.samsung
-
-TARGET_SCREEN_HEIGHT := 2280
-TARGET_SCREEN_WIDTH := 1080
-
-# Feature Permissions
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
- frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
-
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service
-
-BUILD_FINGERPRINT := "samsung/a30sub/a30s:11/RP1A.200720.012/A307GUBS4CUJ1:user/release-keys"
-
-PRODUCT_BUILD_PROP_OVERRIDES += \
- PRIVATE_BUILD_DESC="a30sub-user 11 RP1A.200720.012 A307GUBS4CUJ1 release-keys"
diff --git a/a30s/extract-files.sh b/a30s/extract-files.sh
deleted file mode 100644
index db24d0a..0000000
--- a/a30s/extract-files.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# If we're being sourced by the common script that we called,
-# stop right here. No need to go down the rabbit hole.
-if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
- return
-fi
-
-set -e
-
-export DEVICE=a30s
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/a30s/fingerprint/Android.bp b/a30s/fingerprint/Android.bp
deleted file mode 100644
index a6b8618..0000000
--- a/a30s/fingerprint/Android.bp
+++ /dev/null
@@ -1,7 +0,0 @@
-cc_library_static {
- name: "libudfps_extension.a30s",
- srcs: ["UdfpsExtension.cpp"],
- include_dirs: [
- "frameworks/native/services/surfaceflinger/CompositionEngine/include"
- ],
-}
diff --git a/a30s/fingerprint/UdfpsExtension.cpp b/a30s/fingerprint/UdfpsExtension.cpp
deleted file mode 100644
index 964eca5..0000000
--- a/a30s/fingerprint/UdfpsExtension.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2022 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.
- */
-
-#include
-
-uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
- (void)z;
-
- return z;
-}
-
-uint64_t getUdfpsUsageBits(uint64_t usageBits, bool touched) {
- if (touched) {
- usageBits |= 0x400000000LL;
- }
- return usageBits;
-}
diff --git a/a30s/full_a30s.mk b/a30s/full_a30s.mk
deleted file mode 100644
index 15b1507..0000000
--- a/a30s/full_a30s.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a30s/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a30s
-PRODUCT_NAME := full_a30s
-PRODUCT_MODEL := SM-A307F
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
diff --git a/a30s/overlay/frameworks/base/core/res/res/values/config.xml b/a30s/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index 98bc3ed..0000000
--- a/a30s/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp
- @*android:string/config_mainBuiltInDisplayCutout
- true
- true
- true
-
- 200
-
- com.samsung.sensor.physical_light
- true
-
diff --git a/a30s/overlay/frameworks/base/core/res/res/values/dimens.xml b/a30s/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100644
index b09b6f3..0000000
--- a/a30s/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- 24.0dip
-
- 40px
-
diff --git a/a30s/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/a30s/overlay/frameworks/base/core/res/res/xml/power_profile.xml
deleted file mode 100644
index 10d4c40..0000000
--- a/a30s/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
- - 0
- - 93
- - 313
- - 118
- - 0.98
- - 0.43
- - 488
- - 502
- - 45
- - 286
- - 124
- - 662
- - 32
- - 164
- - 115
-
- 7.3
- 7.3
-
-
- 6
- 2
-
-
- 1586000
- 1482000
- 1352000
- 1248000
- 1144000
- 1014000
- 902000
- 839000
- 757000
- 676000
- 546000
- 449000
-
-
- 50
- 43
- 34
- 28
- 24
- 18
- 15
- 13
- 11
- 10
- 7
- 6
-
-
- 1768000
- 1664000
- 1560000
- 1352000
- 1144000
- 936000
-
-
- 162
- 142
- 120
- 87
- 61
- 41
-
- - 3.79
- - 23
- - 4000
- - 4000
- - 1
- - 65
- - 265
-
- 0
-
- - 3600
-
- .0002
- .002
- .02
- .2
- 2
-
-
diff --git a/a30s/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/a30s/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index a5f5a71..0000000
--- a/a30s/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Samsung Galaxy A30s
-
diff --git a/a30s/proprietary-files.txt b/a30s/proprietary-files.txt
deleted file mode 100644
index b08906b..0000000
--- a/a30s/proprietary-files.txt
+++ /dev/null
@@ -1,139 +0,0 @@
-vendor/bin/hw/gpsd
-vendor/etc/mixer_gains.xml
-vendor/etc/mixer_paths.xml
-vendor/etc/wifi/hydra_config.sdb
-vendor/etc/wifi/indoorchannel.info
-vendor/etc/wifi/mx
-vendor/etc/wifi/mx140/debug/common/log-strings.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140/debug/wlan/id.txt
-vendor/etc/wifi/mx140/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140.bin
-vendor/etc/wifi/mx140_bt.hcf
-vendor/etc/wifi/mx140_t/debug/common/log-strings.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140_t/debug/wlan/id.txt
-vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140_t.bin
-vendor/etc/wifi/mx140_t_wlan.hcf
-vendor/etc/wifi/mx140_t_wlan_t.hcf
-vendor/etc/wifi/mx140_wlan.hcf
-vendor/etc/wifi/mx140_wlan_t.hcf
-vendor/etc/wifi/p2p_supplicant_overlay.conf
-vendor/etc/wifi/platform.txt
-vendor/etc/wifi/wpa_supplicant.conf
-vendor/etc/wifi/wpa_supplicant_overlay.conf
-vendor/etc/yas_set.cfg
-vendor/firmware/dax_param.bin
-vendor/firmware/dual_cal_wide_sub.bin
-vendor/firmware/fimc_is_lib.bin
-vendor/firmware/fimc_is_rta.bin
-vendor/firmware/mfc_fw.bin
-vendor/firmware/setfile_4ha.bin
-vendor/firmware/setfile_gc5035.bin
-vendor/firmware/setfile_hi1631.bin
-vendor/firmware/setfile_imx576.bin
-vendor/lib/hw/gralloc.exynos7904.so
-vendor/lib/libexynosgscaler.so
-vendor/lib/libsaiv_BeautySolutionVideo.so
-vendor/lib/libwebrtc_audio_preprocessing.so
-vendor/lib/hw/audio.primary.exynos7904.so
-vendor/lib/hw/camera.exynos7904.so
-vendor/lib/hw/gatekeeper.exynos7904.so
-vendor/lib/hw/hwcomposer.exynos7904.so
-vendor/lib/hw/memtrack.exynos7904.so
-vendor/lib/hw/sensors.universal7904.so
-vendor/lib/hw/thermal.universal7904.so
-vendor/lib/libaudio-ril.so
-vendor/lib/libaudio_soundtrigger.so
-vendor/lib/libegis_fp_normal_sensor_test.so
-vendor/lib/libexynoscamera3.so
-vendor/lib/libexynosdisplay.so
-vendor/lib/libexynosgraphicbuffer.so
-vendor/lib/libexynosgraphicbuffer_public.so
-vendor/lib/libExynosHWCService.so
-vendor/lib/libexynosscaler.so
-vendor/lib/libexynosutils.so
-vendor/lib/libexynosv4l2.so
-vendor/lib/libgiantmscl.so
-vendor/lib/libhwjpeg.so
-vendor/lib/libmpbase.so
-vendor/lib/libOpenCv.camera.samsung.so
-vendor/lib/librecordalive.so
-vendor/lib/libsamsungDiamondVoice.so
-vendor/lib/libSEF.quram.so
-vendor/lib/libsensorlistener.so
-vendor/lib/libskhynix_q2b_shared.so
-vendor/lib/libuniapi.so
-vendor/lib/libuniplugin.so
-vendor/lib/libvideobeauty.arcsoft.so
-vendor/lib/libvideobeauty_interface.so
-vendor/lib/libwrappergps.so
-vendor/lib/libyasalgo.so
-vendor/lib/soundfx/libswdap.so
-vendor/lib/vndk/libaudioroute.so
-vendor/lib64/hw/camera.exynos7904.so
-vendor/lib64/hw/gatekeeper.exynos7904.so
-vendor/lib64/hw/gralloc.exynos7904.so
-vendor/lib64/hw/hwcomposer.exynos7904.so
-vendor/lib64/hw/memtrack.exynos7904.so
-vendor/lib64/hw/sensors.universal7904.so
-vendor/lib64/hw/thermal.universal7904.so
-vendor/lib64/libegis_fp_normal_sensor_test.so
-vendor/lib64/libengmode_client.so
-vendor/lib64/libexynoscamera3.so
-vendor/lib64/libexynosdisplay.so
-vendor/lib64/libexynosgraphicbuffer.so
-vendor/lib64/libexynosgscaler.so
-vendor/lib64/libExynosHWCService.so
-vendor/lib64/libexynosscaler.so
-vendor/lib64/libexynosutils.so
-vendor/lib64/libexynosv4l2.so
-vendor/lib64/libgiantmscl.so
-vendor/lib64/libhwjpeg.so
-vendor/lib64/libmpbase.so
-vendor/lib64/libSEF.quram.so
-vendor/lib64/libsensorlistener.so
-vendor/lib64/libskhynix_q2b_shared.so
-vendor/lib64/libuniapi.so
-vendor/lib64/libuniplugin.so
-vendor/lib64/libvideobeauty.arcsoft.so
-vendor/lib64/libvideobeauty_interface.so
-vendor/lib64/libwrappergps.so
-vendor/lib64/libyasalgo.so
-vendor/lib64/soundfx/libaudioroute.so
-vendor/lib64/soundfx/libswdap.so
diff --git a/a30s/setup-makefiles.sh b/a30s/setup-makefiles.sh
deleted file mode 100644
index f5eeae7..0000000
--- a/a30s/setup-makefiles.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Required!
-export DEVICE=a30s
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
diff --git a/a30s/vendor.prop b/a30s/vendor.prop
deleted file mode 100644
index 4220aa1..0000000
--- a/a30s/vendor.prop
+++ /dev/null
@@ -1,9 +0,0 @@
-## Bluetooth
-bluetooth.device.default_name=Galaxy A30s
-
-# Fingerprint
-ro.vendor.fingerprint.force_calibrate=true
-ro.vendor.fingerprint.supports_gestures=false
-ro.vendor.fingerprint.type=udfps
-ro.vendor.fingerprint.sensor_location=540|2145|114
-ro.vendor.fingerprint.request_touch_event=true
diff --git a/a40/BoardConfig.mk b/a40/BoardConfig.mk
deleted file mode 100644
index 3f6e1cc..0000000
--- a/a40/BoardConfig.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-DEVICE_PATH := device/samsung/a40
-
-# Asserts
-TARGET_OTA_ASSERT_DEVICE := a40,a40dd
-
-# Kernel
-TARGET_KERNEL_CONFIG := exynos7885-a40_defconfig
-
-# Display
-TARGET_SCREEN_DENSITY := 420
-
-# Partitions
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5158993920
-BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
-BOARD_VENDORIMAGE_PARTITION_SIZE := 452984832
-
-# Inherit common board flags
-include device/samsung/universal7885-common/BoardConfigCommon.mk
-
-# SPL
-VENDOR_SECURITY_PATCH := 2022-02-01
-
-TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
diff --git a/a40/device.mk b/a40/device.mk
deleted file mode 100644
index 7f70be6..0000000
--- a/a40/device.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
-
-TARGET_LOCAL_ARCH := arm64
-TARGET_SOC := exynos7904
-
-# Inherit common device configuration
-$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
-
-$(call inherit-product, vendor/samsung/a40/a40-vendor.mk)
-
-$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
-
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb-service.samsung
-
-TARGET_SCREEN_HEIGHT := 2280
-TARGET_SCREEN_WIDTH := 1080
-
-# Feature Permissions
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
- frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
-
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-service
-
-BUILD_FINGERPRINT := "samsung/a40skt/a40:11/RP1A.200720.012/A405SKSU5CVB1:user/release-keys"
-
-PRODUCT_BUILD_PROP_OVERRIDES += \
- PRIVATE_BUILD_DESC="a40skt-user 11 RP1A.200720.012 A405SKSU5CVB1 release-keys"
diff --git a/a40/extract-files.sh b/a40/extract-files.sh
deleted file mode 100644
index 1760583..0000000
--- a/a40/extract-files.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# If we're being sourced by the common script that we called,
-# stop right here. No need to go down the rabbit hole.
-if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
- return
-fi
-
-set -e
-
-export DEVICE=a40
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/a40/full_a40.mk b/a40/full_a40.mk
deleted file mode 100644
index 48f9b92..0000000
--- a/a40/full_a40.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright (C) 2018 The LineageOS Project
-# SPDX-License-Identifier: Apache-2.0
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-
-# Inherit device configuration
-$(call inherit-product, device/samsung/a40/device.mk)
-
-# Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := a40
-PRODUCT_NAME := full_a40
-PRODUCT_MODEL := SM-A405F
-PRODUCT_BRAND := samsung
-PRODUCT_MANUFACTURER := samsung
diff --git a/a40/overlay/frameworks/base/core/res/res/values/config.xml b/a40/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index 98bc3ed..0000000
--- a/a40/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp
- @*android:string/config_mainBuiltInDisplayCutout
- true
- true
- true
-
- 200
-
- com.samsung.sensor.physical_light
- true
-
diff --git a/a40/overlay/frameworks/base/core/res/res/values/dimens.xml b/a40/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100644
index 4ccec08..0000000
--- a/a40/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 24.0dip
-
- 86.0px
-
- 40px
-
diff --git a/a40/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/a40/overlay/frameworks/base/core/res/res/xml/power_profile.xml
deleted file mode 100644
index dd27681..0000000
--- a/a40/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
- - 0
- - 93
- - 313
- - 118
- - 0.98
- - 0.43
- - 488
- - 502
- - 45
- - 286
- - 124
- - 662
- - 32
- - 164
- - 115
-
- 7.3
- 7.3
-
-
- 6
- 2
-
-
- 1586000
- 1482000
- 1352000
- 1248000
- 1144000
- 1014000
- 902000
- 839000
- 757000
- 676000
- 546000
- 449000
-
-
- 50
- 43
- 34
- 28
- 24
- 18
- 15
- 13
- 11
- 10
- 7
- 6
-
-
- 1768000
- 1664000
- 1560000
- 1352000
- 1144000
- 936000
-
-
- 162
- 142
- 120
- 87
- 61
- 41
-
- - 3.79
- - 23
- - 3100
- - 3100
- - 1
- - 65
- - 265
-
- 0
-
- - 3600
-
- .0002
- .002
- .02
- .2
- 2
-
-
diff --git a/a40/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/a40/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index cf08c73..0000000
--- a/a40/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- Samsung Galaxy A40
-
diff --git a/a40/proprietary-files.txt b/a40/proprietary-files.txt
deleted file mode 100644
index c551d03..0000000
--- a/a40/proprietary-files.txt
+++ /dev/null
@@ -1,135 +0,0 @@
-vendor/bin/hw/gpsd
-vendor/etc/wifi/mx140/debug/common/log-strings.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140/debug/wlan/id.txt
-vendor/etc/wifi/mx140/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/mx140_t/debug/common/log-strings.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml
-vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml
-vendor/etc/wifi/mx140_t/debug/wlan/hydra_config.sdb
-vendor/etc/wifi/mx140_t/debug/wlan/id.txt
-vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml
-vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg
-vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg
-vendor/etc/wifi/hydra_config.sdb
-vendor/etc/wifi/indoorchannel.info
-vendor/etc/wifi/mx
-vendor/etc/wifi/mx140.bin
-vendor/etc/wifi/mx140_bt.hcf
-vendor/etc/wifi/mx140_t.bin
-vendor/etc/wifi/mx140_t_wlan.hcf
-vendor/etc/wifi/mx140_t_wlan_t.hcf
-vendor/etc/wifi/mx140_wlan.hcf
-vendor/etc/wifi/mx140_wlan_t.hcf
-vendor/etc/wifi/p2p_supplicant_overlay.conf
-vendor/etc/wifi/platform.txt
-vendor/etc/wifi/wpa_supplicant.conf
-vendor/etc/wifi/wpa_supplicant_overlay.conf
-vendor/etc/mixer_gains.xml
-vendor/etc/mixer_paths.xml
-vendor/etc/plmn_se13.bin
-vendor/etc/yas_set.cfg
-vendor/firmware/dax_param.bin
-vendor/firmware/fimc_is_lib.bin
-vendor/firmware/fimc_is_rta.bin
-vendor/firmware/mfc_fw.bin
-vendor/firmware/setfile_2p6.bin
-vendor/firmware/setfile_2x5.bin
-vendor/firmware/setfile_5e9.bin
-vendor/lib/hw/audio.primary.exynos7904.so
-vendor/lib/hw/camera.exynos7904.so
-vendor/lib/hw/gatekeeper.exynos7904.so
-vendor/lib/hw/gralloc.exynos7904.so
-vendor/lib/hw/hwcomposer.exynos7904.so
-vendor/lib/hw/memtrack.exynos7904.so
-vendor/lib/hw/sensors.universal7904.so
-vendor/lib/hw/thermal.universal7904.so
-vendor/lib/soundfx/libswdap.so
-vendor/lib/vndk/libaudioroute.so
-vendor/lib/libExynosHWCService.so
-vendor/lib/libOpenCv.camera.samsung.so
-vendor/lib/libSEF.quram.so
-vendor/lib/libaudio-ril.so
-vendor/lib/libaudio_soundtrigger.so
-vendor/lib/libegis_fp_normal_sensor_test.so
-vendor/lib/libexynoscamera3.so
-vendor/lib/libexynosdisplay.so
-vendor/lib/libexynosgraphicbuffer.so
-vendor/lib/libexynosgscaler.so
-vendor/lib/libexynosscaler.so
-vendor/lib/libexynosutils.so
-vendor/lib/libexynosv4l2.so
-vendor/lib/libgiantmscl.so
-vendor/lib/libhwjpeg.so
-vendor/lib/librecordalive.so
-vendor/lib/libsaiv_BeautySolutionVideo.so
-vendor/lib/libsamsungDiamondVoice.so
-vendor/lib/libsensorlistener.so
-vendor/lib/libuniapi.so
-vendor/lib/libuniplugin.so
-vendor/lib/libvideobeauty_interface.so
-vendor/lib/libwebrtc_audio_preprocessing.so
-vendor/lib/libwrappergps.so
-vendor/lib/libyasalgo.so
-vendor/lib64/hw/camera.exynos7904.so
-vendor/lib64/hw/gatekeeper.exynos7904.so
-vendor/lib64/hw/gralloc.exynos7904.so
-vendor/lib64/hw/hwcomposer.exynos7904.so
-vendor/lib64/hw/memtrack.exynos7904.so
-vendor/lib64/hw/sensors.universal7904.so
-vendor/lib64/hw/thermal.universal7904.so
-vendor/lib64/soundfx/libswdap.so
-vendor/lib64/libExynosHWCService.so
-vendor/lib64/libOpenCv.camera.samsung.so
-vendor/lib64/libSEF.quram.so
-vendor/lib64/libacryl.so
-vendor/lib64/libegis_fp_normal_sensor_test.so
-vendor/lib64/libengmode_client.so
-vendor/lib64/libexynoscamera3.so
-vendor/lib64/libexynosdisplay.so
-vendor/lib64/libexynosgraphicbuffer.so
-vendor/lib64/libexynosgscaler.so
-vendor/lib64/libexynosscaler.so
-vendor/lib64/libexynosutils.so
-vendor/lib64/libexynosv4l2.so
-vendor/lib64/libgiantmscl.so
-vendor/lib64/libhwjpeg.so
-vendor/lib64/libiwt.so
-vendor/lib64/libsaiv_BeautySolutionVideo.so
-vendor/lib64/libsensorlistener.so
-vendor/lib64/libuniapi.so
-vendor/lib64/libuniplugin.so
-vendor/lib64/libvideobeauty_interface.so
-vendor/lib64/libwrappergps.so
-vendor/lib64/libyasalgo.so
-vendor/tee/00000000-0000-0000-0000-46494e474502
diff --git a/a40/setup-makefiles.sh b/a40/setup-makefiles.sh
deleted file mode 100755
index 7edf150..0000000
--- a/a40/setup-makefiles.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Required!
-export DEVICE=a40
-export DEVICE_COMMON=universal7885-common
-export VENDOR=samsung
-
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
diff --git a/a40/vendor.prop b/a40/vendor.prop
deleted file mode 100644
index 64e6869..0000000
--- a/a40/vendor.prop
+++ /dev/null
@@ -1,2 +0,0 @@
-## Bluetooth
-bluetooth.device.default_name=Galaxy A40
diff --git a/a20/device.mk b/device.mk
similarity index 100%
rename from a20/device.mk
rename to device.mk
diff --git a/a20/extract-files.sh b/extract-files.sh
similarity index 100%
rename from a20/extract-files.sh
rename to extract-files.sh
diff --git a/a20/full_a20.mk b/full_a20.mk
similarity index 100%
rename from a20/full_a20.mk
rename to full_a20.mk
diff --git a/a20/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
similarity index 100%
rename from a20/overlay/frameworks/base/core/res/res/values/config.xml
rename to overlay/frameworks/base/core/res/res/values/config.xml
diff --git a/a20/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml
similarity index 100%
rename from a20/overlay/frameworks/base/core/res/res/values/dimens.xml
rename to overlay/frameworks/base/core/res/res/values/dimens.xml
diff --git a/a20/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
similarity index 100%
rename from a20/overlay/frameworks/base/core/res/res/xml/power_profile.xml
rename to overlay/frameworks/base/core/res/res/xml/power_profile.xml
diff --git a/a20/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
similarity index 100%
rename from a20/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
rename to overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
diff --git a/a20/proprietary-files.txt b/proprietary-files.txt
similarity index 100%
rename from a20/proprietary-files.txt
rename to proprietary-files.txt
diff --git a/a20/setup-makefiles.sh b/setup-makefiles.sh
old mode 100755
new mode 100644
similarity index 100%
rename from a20/setup-makefiles.sh
rename to setup-makefiles.sh
diff --git a/universal7885-common/Android.bp b/universal7885-common/Android.bp
deleted file mode 100644
index 74253c4..0000000
--- a/universal7885-common/Android.bp
+++ /dev/null
@@ -1,64 +0,0 @@
-soong_namespace {
- imports: [
- "hardware/samsung",
- "hardware/google/pixel",
- "hardware/google/interfaces",
- ],
-}
-
-
-install_symlink {
- name: "libOpenCL_symlink32",
- vendor: true,
- installed_location: "lib/libOpenCL.so",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "libOpenCL_symlink64",
- vendor: true,
- installed_location: "lib64/libOpenCL.so",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "libOpenCL.1_symlink32",
- vendor: true,
- installed_location: "lib/libOpenCL.so.1",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "libOpenCL.1_symlink64",
- vendor: true,
- installed_location: "lib64/libOpenCL.so.1",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "libOpenCL.1.1_symlink32",
- vendor: true,
- installed_location: "lib/libOpenCL.so.1.1",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "libOpenCL.1.1_symlink64",
- vendor: true,
- installed_location: "lib64/libOpenCL.so.1.1",
- symlink_target: "egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "vulkan_mali_symlink32",
- vendor: true,
- installed_location: "lib/hw/vulkan.mali.so",
- symlink_target: "../egl/libGLES_mali.so",
-}
-
-install_symlink {
- name: "vulkan_mali_symlink64",
- vendor: true,
- installed_location: "lib64/hw/vulkan.mali.so",
- symlink_target: "../egl/libGLES_mali.so",
-}
diff --git a/universal7885-common/Android.mk b/universal7885-common/Android.mk
deleted file mode 100644
index e8f3069..0000000
--- a/universal7885-common/Android.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-
-ifneq ($(filter a10dd a10 a20 a20e a30 a30s a40, $(TARGET_DEVICE)),)
-
- subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
- $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
-
-endif
diff --git a/universal7885-common/BoardConfigCommon.mk b/universal7885-common/BoardConfigCommon.mk
deleted file mode 100644
index a48d9bc..0000000
--- a/universal7885-common/BoardConfigCommon.mk
+++ /dev/null
@@ -1,141 +0,0 @@
-COMMON_PATH := device/samsung/universal7885-common
-
-BOARD_VENDOR := samsung
-
-# Platform
-TARGET_BOARD_PLATFORM := $(subst exynos,universal,$(TARGET_SOC))
-TARGET_BOOTLOADER_BOARD_NAME := $(TARGET_SOC)
-
-include hardware/samsung_slsi-linaro/config/BoardConfig7885.mk
-
-TARGET_NO_BOOTLOADER := true
-TARGET_NO_RADIOIMAGE := true
-
-# Architecture
-ifeq ($(TARGET_DEVICE),a10dd)
-TARGET_ARCH := arm
-TARGET_ARCH_VARIANT := armv8-a
-TARGET_CPU_ABI := armeabi-v7a
-TARGET_CPU_ABI2 := armeabi
-TARGET_CPU_VARIANT := cortex-a53
-TARGET_USES_64_BIT_BINDER := true
-else
-TARGET_ARCH := arm64
-TARGET_ARCH_VARIANT := armv8-a
-TARGET_CPU_ABI := arm64-v8a
-TARGET_CPU_VARIANT := cortex-a53
-TARGET_2ND_ARCH := arm
-TARGET_2ND_ARCH_VARIANT := armv8-a
-TARGET_2ND_CPU_ABI := armeabi-v7a
-TARGET_2ND_CPU_ABI2 := armeabi
-TARGET_2ND_CPU_VARIANT := cortex-a53
-endif
-
-# Bluetooth
-BOARD_HAVE_BLUETOOTH_SLSI := true
-
-# Build system
-BUILD_BROKEN_DUP_RULES := true
-BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES := true
-BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
-BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
-
-# Camera - libhwjpeg, unset it to enable guard
-TARGET_USES_UNIVERSAL_LIBHWJPEG :=
-
-# Display
-BOARD_MINIMUM_DISPLAY_BRIGHTNESS := 1
-
-# Filesystem
-TARGET_USERIMAGES_USE_EXT4 := true
-TARGET_USERIMAGES_USE_F2FS := true
-BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
-
-# Fingerprint
-ifneq ($(TARGET_HAS_UDFPS),true)
-TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
-endif
-
-# Init
-TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885
-
-# Kernel
-TARGET_KERNEL_ARCH := arm64
-BOARD_KERNEL_IMAGE_NAME := Image
-TARGET_KERNEL_ADDITIONAL_FLAGS += LD=ld.lld AR=llvm-ar NM=llvm-nm OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump STRIP=llvm-strip
-BOARD_KERNEL_BASE := 0x10000000
-BOARD_KERNEL_PAGESIZE := 2048
-BOARD_KERNEL_CMDLINE := androidboot.init_fatal_reboot_target=recovery
-BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100
-TARGET_KERNEL_SOURCE := kernel/samsung/exynos7885
-KERNEL_SUPPORTS_LLVM_TOOLS := true
-TARGET_KERNEL_OPTIONAL_LD := true
-TARGET_KERNEL_ADDITIONAL_FLAGS += HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
-
-BOARD_USES_METADATA_PARTITION := true
-
-# Keymaster
-TARGET_KEYMASTER_VARIANT := samsung
-
-# HIDL
-include device/samsung/universal7885-common/configs/vintf/manifest.mk
-
-# Partitions
-BOARD_BOOTIMAGE_PARTITION_SIZE := 37748736
-BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
-BOARD_FLASH_BLOCK_SIZE := 131072
-
-# Properties
-BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
-TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
-TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
-ifeq ($(TARGET_ARCH),arm64)
-TARGET_VENDOR_PROP += $(COMMON_PATH)/configs/vendor_64.prop
-else
-TARGET_VENDOR_PROP += $(COMMON_PATH)/configs/vendor_32.prop
-endif
-
-# Recovery
-BOARD_HAS_DOWNLOAD_MODE := true
-TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/recovery.fstab
-
-# Releasetools
-TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)/releasetools
-
-# RIL
-ENABLE_VENDOR_RIL_SERVICE := true
-
-BOARD_ROOT_EXTRA_FOLDERS := factory
-BOARD_ROOT_EXTRA_SYMLINKS := /factory:/efs
-
-BOARD_SEPOLICY_TEE_FLAVOR := teegris
-include device/samsung_slsi/sepolicy/sepolicy.mk
-include hardware/samsung-ext/interfaces/sepolicy/SEPolicy.mk
-
-# Sepolicy
-BOARD_VENDOR_SEPOLICY_DIRS += \
- $(COMMON_PATH)/sepolicy/vendor
-SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
- $(COMMON_PATH)/sepolicy/public
-SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
- $(COMMON_PATH)/sepolicy/private
-
-# Vendor
-TARGET_COPY_OUT_VENDOR := vendor
-
-# Wifi
-BOARD_WLAN_DEVICE := slsi
-WPA_SUPPLICANT_VERSION := VER_0_8_X
-BOARD_WPA_SUPPLICANT_DRIVER := NL80211
-BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
-BOARD_HOSTAPD_DRIVER := NL80211
-BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
-WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
-WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
-
-# wpa_supplicant feature flags
-CONFIG_ACS := true
-CONFIG_IEEE80211AC := true
-
-# Vibrator
-$(call soong_config_set,samsungVibratorVars,duration_amplitude,true)
diff --git a/universal7885-common/camera/provider/Android.bp b/universal7885-common/camera/provider/Android.bp
deleted file mode 100644
index e13eb92..0000000
--- a/universal7885-common/camera/provider/Android.bp
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// 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.
-
-cc_binary {
- name: "android.hardware.camera.provider@2.5-service.exynos7885",
- defaults: [
- "hidl_defaults",
- ],
- compile_multilib: "32",
- proprietary: true,
- relative_install_path: "hw",
- srcs: [
- "SamsungCameraProvider.cpp",
- "service.cpp",
- ],
- init_rc: ["android.hardware.camera.provider@2.5-service.exynos7885.rc"],
- shared_libs: [
- "android.hardware.camera.provider@2.4",
- "android.hardware.camera.provider@2.4-legacy",
- "android.hardware.camera.provider@2.5",
- "android.hardware.camera.provider@2.5-legacy",
- "libbinder",
- "libcamera_metadata",
- "libcutils",
- "libhardware",
- "libhidlbase",
- "liblog",
- "libutils",
- ],
- static_libs: [
- "android.hardware.camera.common@1.0-helper",
- ],
-}
diff --git a/universal7885-common/camera/provider/SamsungCameraProvider.cpp b/universal7885-common/camera/provider/SamsungCameraProvider.cpp
deleted file mode 100644
index e503af4..0000000
--- a/universal7885-common/camera/provider/SamsungCameraProvider.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * 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.
- */
-
-#define LOG_TAG "SamsungCameraProvider@2.5"
-
-#include "SamsungCameraProvider.h"
-
-#include
-
-using ::android::NO_ERROR;
-using ::android::OK;
-
-using ::android::hardware::hidl_string;
-using ::android::hardware::hidl_vec;
-using ::android::hardware::Void;
-
-const int kMaxCameraIdLen = 16;
-
-SamsungCameraProvider::SamsungCameraProvider()
- : LegacyCameraProviderImpl_2_5() {
- mExtraIDs.push_back(23);
- mExtraIDs.push_back(50);
- mExtraIDs.push_back(52);
- if (!mInitFailed) {
- for (int i : mExtraIDs) {
- struct camera_info info;
- auto rc = mModule->getCameraInfo(i, &info);
-
- if (rc != NO_ERROR) {
- continue;
- }
-
- if (checkCameraVersion(i, info) != OK) {
- ALOGE("Camera version check failed!");
- mModule.clear();
- mInitFailed = true;
- return;
- }
-
-#ifdef SAMSUNG_CAMERA_DEBUG
- ALOGI("ID=%d is at index %d", i, mNumberOfLegacyCameras);
-#endif
-
- char cameraId[kMaxCameraIdLen];
- snprintf(cameraId, sizeof(cameraId), "%d", i);
- std::string cameraIdStr(cameraId);
- mCameraStatusMap[cameraIdStr] = CAMERA_DEVICE_STATUS_PRESENT;
-
- addDeviceNames(i);
- mNumberOfLegacyCameras++;
- }
- }
-}
diff --git a/universal7885-common/camera/provider/SamsungCameraProvider.h b/universal7885-common/camera/provider/SamsungCameraProvider.h
deleted file mode 100644
index 790ef7d..0000000
--- a/universal7885-common/camera/provider/SamsungCameraProvider.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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.
- */
-
-#ifndef SAMSUNG_CAMERA_PROVIDER_H
-
-#include "LegacyCameraProviderImpl_2_5.h"
-
-#define SAMSUNG_CAMERA_DEBUG
-
-using ::android::hardware::Return;
-using ::android::hardware::camera::provider::V2_5::ICameraProvider;
-using ::android::hardware::camera::provider::V2_5::implementation::
- LegacyCameraProviderImpl_2_5;
-
-class SamsungCameraProvider : public LegacyCameraProviderImpl_2_5 {
-public:
- SamsungCameraProvider();
-
-private:
- std::vector mExtraIDs;
-};
-
-#endif // SAMSUNG_CAMERA_PROVIDER_H
diff --git a/universal7885-common/camera/provider/android.hardware.camera.provider@2.5-service.exynos7885.rc b/universal7885-common/camera/provider/android.hardware.camera.provider@2.5-service.exynos7885.rc
deleted file mode 100644
index ed5fd41..0000000
--- a/universal7885-common/camera/provider/android.hardware.camera.provider@2.5-service.exynos7885.rc
+++ /dev/null
@@ -1,9 +0,0 @@
-service vendor.camera-provider-2-5 /vendor/bin/hw/android.hardware.camera.provider@2.5-service.exynos7885
- interface android.hardware.camera.provider@2.5::ICameraProvider legacy/0
- interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
- class hal
- user cameraserver
- group audio camera input drmrpc
- ioprio rt 4
- capabilities SYS_NICE
- task_profiles CameraServiceCapacity MaxPerformance
diff --git a/universal7885-common/camera/provider/service.cpp b/universal7885-common/camera/provider/service.cpp
deleted file mode 100644
index 5f7641c..0000000
--- a/universal7885-common/camera/provider/service.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright 2019 The Android Open Source Project
- * Copyright 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.
- */
-
-#define LOG_TAG "android.hardware.camera.provider@2.5-service.samsung"
-
-#include
-#include
-#include
-#include
-
-#include "CameraProvider_2_5.h"
-#include "SamsungCameraProvider.h"
-
-using android::status_t;
-using android::hardware::camera::provider::V2_5::ICameraProvider;
-
-int main() {
- using namespace android::hardware::camera::provider::V2_5::implementation;
-
- ALOGI("CameraProvider@2.5 legacy service is starting.");
-
- ::android::hardware::configureRpcThreadpool(/*threads*/ HWBINDER_THREAD_COUNT,
- /*willJoin*/ true);
-
- ::android::sp provider =
- new CameraProvider();
-
- status_t status = provider->registerAsService("legacy/0");
- LOG_ALWAYS_FATAL_IF(status != android::OK,
- "Error while registering provider service: %d", status);
-
- ::android::hardware::joinRpcThreadpool();
-
- return 0;
-}
diff --git a/universal7885-common/configs/audio/audio_effects.xml b/universal7885-common/configs/audio/audio_effects.xml
deleted file mode 100644
index 66a776e..0000000
--- a/universal7885-common/configs/audio/audio_effects.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/universal7885-common/configs/audio/audio_policy_configuration.xml b/universal7885-common/configs/audio/audio_policy_configuration.xml
deleted file mode 100644
index 1e8cf7e..0000000
--- a/universal7885-common/configs/audio/audio_policy_configuration.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
- - Earpiece
- - Speaker
- - Built-In Mic
- - Built-In Back Mic
- - Voice Call Mic
-
- Speaker
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/universal7885-common/configs/audio/bluetooth_audio_policy_configuration.xml b/universal7885-common/configs/audio/bluetooth_audio_policy_configuration.xml
deleted file mode 100644
index 4ee241e..0000000
--- a/universal7885-common/configs/audio/bluetooth_audio_policy_configuration.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/universal7885-common/configs/keylayout/Codec3035_Headset_Events.kl b/universal7885-common/configs/keylayout/Codec3035_Headset_Events.kl
deleted file mode 100644
index fa13a40..0000000
--- a/universal7885-common/configs/keylayout/Codec3035_Headset_Events.kl
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright (c) 2014, The Linux Foundation. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-# * Neither the name of The Linux Foundation nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
-# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-key 114 VOLUME_DOWN
-key 115 VOLUME_UP
-key 226 HEADSETHOOK
-key 582 VOICE_ASSIST
diff --git a/universal7885-common/configs/keylayout/uinput-sec-fp.kl b/universal7885-common/configs/keylayout/uinput-sec-fp.kl
deleted file mode 100644
index b558ffc..0000000
--- a/universal7885-common/configs/keylayout/uinput-sec-fp.kl
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# 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.
-#
-
-key 108 SYSTEM_NAVIGATION_DOWN
-key 103 SYSTEM_NAVIGATION_UP
diff --git a/universal7885-common/configs/nfc/libnfc-sec-vendor.conf b/universal7885-common/configs/nfc/libnfc-sec-vendor.conf
deleted file mode 100644
index 94d6a56..0000000
--- a/universal7885-common/configs/nfc/libnfc-sec-vendor.conf
+++ /dev/null
@@ -1,123 +0,0 @@
-## --------------- Part-I : Configuration for Phone HW ----------------------------##
-####################################################################################
-# I-1) Clock Source Information (AP direct 26MHz)
-####################################################################################
-## Clock option for 26MHz PLL (0x12)
-## Clock option for 19.2MHz PLL (0x11)
-FW_CFG_CLK_SPEED=0x12
-####################################################################################
-
-
-## --------------- Part-II : Configuration for Chip / FW -------------------------##
-####################################################################################
-# II-1) FW base address :
-####################################################################################
-## FW Base Address for SEN82 (0x2000)
-FW_BASE_ADDRESS=0x2000
-####################################################################################
-# II-2) Timing parameter
-####################################################################################
-# WAKEUP_DELAY for eSE Model
-# (Old F/W) 20ms : UICC, 80ms : eSE
-# (After Star Model) 20ms : UICC, 20ms : eSE
-#WAKEUP_DELAY=20
-####################################################################################
-# II-3) Firmware path
-####################################################################################
-## F/W image for S3NRN82
-#FW_IMAGE="/vendor/firmware/nfc/sec_s3nrn82_firmware.bin"
-
-# for single SKU
-FW_DIR_PATH="/vendor/firmware/nfc/"
-FW_FILE_NAME="sec_s3nrn82_firmware.bin"
-
-####################################################################################
-# II-4) RF Register path
-####################################################################################
-## RF Register for S3NRN82
-#RFREG_FILE="/vendor/etc/nfc/sec_s3nrn82_rfreg.bin"
-
-RF_DIR_PATH="/vendor/etc/nfc/"
-RF_FILE_NAME="sec_s3nrn82_rfreg.bin"
-## --------------- Part-III : Configuration for MW --------------------------------##
-####################################################################################
-# III-1) Driver path
-####################################################################################
-## Power driver
-POWER_DRIVER="/dev/sec-nfc"
-## Transport driver
-TRANS_DRIVER="/dev/sec-nfc"
-
-
-####################################################################################
-# III-2) Trace Level
-####################################################################################
-## TRACE_LEVEL (0: only err, 1: and debug, 2: trace also)
-## DATA TRACE level (0: not display, 1: simply, 2: all of data trace)
-TRACE_LEVEL=2
-DATA_TRACE=2
-
-####################################################################################
-# III-3) NFC Sleep Timing
-####################################################################################
-# Set wait time to enter CLF sleep mode
-SLEEP_TIMEOUT=1000
-
-
-####################################################################################
-# III-4) F/W Update Option
-# F/W Update Option
-# 0 : Download for different version
-# 1 : Download for upper version
-# 2 : Force Download
-####################################################################################
-# 0 : Default value is "Download for different version"
-FW_UPDATE_MODE=0
-####################################################################################
-
-
-
-
-###############################################################################
-# Configure the default NfcA/IsoDep techology and protocol route. Can be
-# either a secure element (e.g. 0x02) or the host (0x00)
-DEFAULT_ROUTE=0x03
-###############################################################################
-# Configure the single default SE to use. The default is to use the first
-# SE that is detected by the stack. This value might be used when the phone
-# supports multiple SE but you want to force it to use one of them
-DEFAULT_OFFHOST_ROUTE=0x02
-
-###############################################################################
-# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
-# PRESENCE_CHECK_ALGORITHM=0 : [default] Automatic select for below 4 method.
-# PRESENCE_CHECK_ALGORITHM=1 : Read Empty I block.
-# PRESENCE_CHECK_ALGORITHM=2 : Sleep/Wakeup Command
-# PRESENCE_CHECK_ALGORITHM=3 : Read binary for CH0(K version method)
-# PRESENCE_CHECK_ALGORITHM=4 : Read binary for CH3
-# PRESENCE_CHECK_ALGORITHM=5 : ACK/NACK
-# Default : No use (AUTO)
-# For China Region : Use Method 3
-###############################################################################
-PRESENCE_CHECK_ALGORITHM=5
-
-###############################################################################
-# Vendor Specific Proprietary Protocol & Discovery Configuration
-# Set to 0xFF if unsupported
-# byte[0] NCI_PROTOCOL_18092_ACTIVE
-# byte[1] NCI_PROTOCOL_B_PRIME
-# byte[2] NCI_PROTOCOL_DUAL
-# byte[3] NCI_PROTOCOL_15693
-# byte[4] NCI_PROTOCOL_KOVIO
-# byte[5] NCI_PROTOCOL_MIFARE
-# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
-# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
-# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
-NFA_PROPRIETARY_CFG={00, 81, 82, 80, 8A, 81, 70, 74, F4}
-###############################################################################
-# Extended APDU length for ISO_DEP. If not supported default length is 261
-# CHECK in VTS Test case
-# ISO_DEP_MAX_TRANSCEIVE=0xFEFF
-ISO_DEP_MAX_TRANSCEIVE=261
-
-############### end of config ##############################
diff --git a/universal7885-common/configs/power/powerhint.json b/universal7885-common/configs/power/powerhint.json
deleted file mode 100644
index 77dfc46..0000000
--- a/universal7885-common/configs/power/powerhint.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "Nodes": [
- {
- "Name": "TouchscreenEnable",
- "Path": "/sys/class/sec/tsp/input/enabled",
- "Values": [
- "1",
- "0"
- ],
- "ResetOnInit": true
- },
- {
- "Name": "KernelBatterySaver",
- "Path": "/sys/module/battery_saver/parameters/enabled",
- "Values": [
- "1",
- "0"
- ],
- "ResetOnInit": true
- },
- {
- "Name": "DoubleTapToWakeEnable",
- "Path": "/sys/class/sec/tsp/cmd",
- "Values": [
- "aot_enable,0",
- "aot_enable,1"
- ],
- "DefaultIndex": 0,
- "ResetOnInit": false
- }
- ],
- "Actions": [
- {
- "PowerHint": "DOUBLE_TAP_TO_WAKE",
- "Node": "DoubleTapToWakeEnable",
- "Duration": 0,
- "Value": "aot_enable,1"
- },
- {
- "PowerHint": "INTERACTIVE",
- "Node": "TouchscreenEnable",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "LOW_POWER",
- "Node": "KernelBatterySaver",
- "Duration": 0,
- "Value": "1"
- }
- ]
-}
diff --git a/universal7885-common/configs/public.libraries.txt b/universal7885-common/configs/public.libraries.txt
deleted file mode 100644
index ac0fb67..0000000
--- a/universal7885-common/configs/public.libraries.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-libGLES_mali.so
-libOpenCL.so
-libOpenCL.so.1
-libOpenCL.so.1.1
diff --git a/universal7885-common/configs/tasks/task_profiles.json b/universal7885-common/configs/tasks/task_profiles.json
deleted file mode 100644
index 78debf0..0000000
--- a/universal7885-common/configs/tasks/task_profiles.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "Profiles": [
- {
- "Name": "HighPerformance",
- "Actions": [
- {
- "Name": "JoinCgroup",
- "Params": {
- "Controller": "cpuset",
- "Path": "foreground"
- }
- }
- ]
- },
- {
- "Name": "MaxPerformance",
- "Actions": [
- {
- "Name": "JoinCgroup",
- "Params": {
- "Controller": "cpuset",
- "Path": "top-app"
- }
- }
- ]
- }
- ]
-}
diff --git a/universal7885-common/configs/vendor_32.prop b/universal7885-common/configs/vendor_32.prop
deleted file mode 100644
index 96bd56c..0000000
--- a/universal7885-common/configs/vendor_32.prop
+++ /dev/null
@@ -1,3 +0,0 @@
-## RIL
-vendor.sec.rild.libpath=/vendor/lib/libsec-ril.so
-vendor.sec.rild.libpath2=/vendor/lib/libsec-ril-dsds.so
diff --git a/universal7885-common/configs/vendor_64.prop b/universal7885-common/configs/vendor_64.prop
deleted file mode 100644
index 0d319ff..0000000
--- a/universal7885-common/configs/vendor_64.prop
+++ /dev/null
@@ -1,3 +0,0 @@
-## RIL
-vendor.sec.rild.libpath=/vendor/lib64/libsec-ril.so
-vendor.sec.rild.libpath2=/vendor/lib64/libsec-ril-dsds.so
diff --git a/universal7885-common/configs/vintf/compatibility_matrix.xml b/universal7885-common/configs/vintf/compatibility_matrix.xml
deleted file mode 100644
index 69d04c8..0000000
--- a/universal7885-common/configs/vintf/compatibility_matrix.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
- android.frameworks.displayservice
- 1.0
-
- IDisplayService
- default
-
-
-
- android.frameworks.sensorservice
- 1.0
-
- ISensorManager
- default
-
-
-
- android.hardware.graphics.composer
- 2.1
-
- IComposer
- vr
-
-
-
- android.hidl.allocator
- 1.0
-
- IAllocator
- ashmem
-
-
-
- android.hidl.manager
- 1.0
-
- IServiceManager
- default
-
-
-
- android.hidl.memory
- 1.0
-
- IMapper
- ashmem
-
-
-
- android.hidl.token
- 1.0
-
- ITokenManager
- default
-
-
-
- android.system.wifi.keystore
- 1.0
-
- IKeystore
- default
-
-
-
diff --git a/universal7885-common/configs/vintf/device_framework_matrix.xml b/universal7885-common/configs/vintf/device_framework_matrix.xml
deleted file mode 100644
index 462a776..0000000
--- a/universal7885-common/configs/vintf/device_framework_matrix.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
- vendor.samsung.hardware.gnss
- 2.0
-
- ISehGnss
- default
-
-
-
- vendor.samsung.hardware.radio
- 2.1
-
- ISehRadio
- slot1
- slot2
-
-
-
- vendor.samsung.hardware.radio.bridge
- 2.0
-
- ISehBridge
- slot1
- slot2
-
-
-
- vendor.samsung.hardware.radio.channel
- 2.0
-
- ISehChannel
- epdgd
- epdgd2
- imsd
- imsd2
-
-
-
-
diff --git a/universal7885-common/configs/vintf/lineage_manifest.xml b/universal7885-common/configs/vintf/lineage_manifest.xml
deleted file mode 100644
index d86cbc6..0000000
--- a/universal7885-common/configs/vintf/lineage_manifest.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- vendor.lineage.touch
- hwbinder
- @1.0::IGloveMode/default
-
-
-
diff --git a/universal7885-common/configs/vintf/lineage_manifest_a30s.xml b/universal7885-common/configs/vintf/lineage_manifest_a30s.xml
deleted file mode 100644
index 2cdad37..0000000
--- a/universal7885-common/configs/vintf/lineage_manifest_a30s.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- vendor.lineage.touch
- hwbinder
- @1.0::IGloveMode/default
- @1.0::IStylusMode/default
-
-
-
diff --git a/universal7885-common/configs/vintf/manifest.mk b/universal7885-common/configs/vintf/manifest.mk
deleted file mode 100644
index 717c40e..0000000
--- a/universal7885-common/configs/vintf/manifest.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-MANIFEST_PATH := device/samsung/universal7885-common/configs/vintf
-
-DEVICE_MANIFEST_FILE := $(MANIFEST_PATH)/manifest.xml
-
-ifeq ($(TARGET_DEVICE),a30s)
-DEVICE_MANIFEST_FILE += $(MANIFEST_PATH)/lineage_manifest_a30s.xml
-else
-DEVICE_MANIFEST_FILE += $(MANIFEST_PATH)/lineage_manifest.xml
-endif
-DEVICE_MATRIX_FILE := $(MANIFEST_PATH)/compatibility_matrix.xml
-DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
- $(MANIFEST_PATH)/device_framework_matrix.xml \
- vendor/lineage/config/device_framework_matrix.xml
-
-ODM_MANIFEST_SKUS += NFC
-ODM_MANIFEST_NFC_FILES := $(MANIFEST_PATH)/manifest_nfc.xml
diff --git a/universal7885-common/configs/vintf/manifest.xml b/universal7885-common/configs/vintf/manifest.xml
deleted file mode 100644
index 96b1ae0..0000000
--- a/universal7885-common/configs/vintf/manifest.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
- android.hardware.audio
- hwbinder
- @7.0::IDevicesFactory/default
-
-
- android.hardware.audio.effect
- hwbinder
- @7.0::IEffectsFactory/default
-
-
- android.hardware.bluetooth
- hwbinder
- @1.1::IBluetoothHci/default
-
-
- android.hardware.camera.provider
- hwbinder
- @2.5::ICameraProvider/legacy/0
-
-
- android.hardware.drm
- hwbinder
- @1.3::ICryptoFactory/widevine
- @1.3::IDrmFactory/widevine
-
-
- android.hardware.gatekeeper
- hwbinder
- @1.0::IGatekeeper/default
-
-
- android.hardware.gnss
- hwbinder
- @1.1::IGnss/default
- @2.1::IGnss/default
-
-
- android.hardware.graphics.allocator
- hwbinder
- @2.0::IAllocator/default
-
-
- android.hardware.graphics.composer
- hwbinder
- @2.4::IComposer/default
-
-
- android.hardware.graphics.mapper
- passthrough
- @2.0::IMapper/default
- @3.0::IMapper/default
- @4.0::IMapper/default
-
-
- android.hardware.keymaster
- hwbinder
- @4.0::IKeymasterDevice/default
-
-
- android.hardware.media.omx
- hwbinder
- @1.0::IOmx/default
- @1.0::IOmxStore/default
-
-
- android.hardware.sensors
- hwbinder
- @1.0::ISensors/default
-
-
- android.hardware.radio
- hwbinder
- @1.2::ISap/slot1
- @1.2::ISap/slot2
- @1.4::IRadio/slot1
- @1.4::IRadio/slot2
-
-
- android.hardware.radio.config
- hwbinder
- @1.1::IRadioConfig/default
-
-
- android.hardware.thermal
- hwbinder
- @1.0::IThermal/default
-
-
- vendor.samsung.hardware.gnss
- hwbinder
- @2.0::ISehGnss/default
-
-
- vendor.samsung.hardware.radio
- hwbinder
- @2.1::ISehRadio/slot1
- @2.1::ISehRadio/slot2
-
-
- vendor.samsung.hardware.radio.bridge
- hwbinder
- @2.0::ISehBridge/slot1
- @2.0::ISehBridge/slot2
-
-
- vendor.samsung.hardware.radio.channel
- hwbinder
- @2.0::ISehChannel/epdgd
- @2.0::ISehChannel/imsd
- @2.0::ISehChannel/epdgd2
- @2.0::ISehChannel/imsd2
-
-
diff --git a/universal7885-common/configs/vintf/manifest_nfc.xml b/universal7885-common/configs/vintf/manifest_nfc.xml
deleted file mode 100644
index 53df1a7..0000000
--- a/universal7885-common/configs/vintf/manifest_nfc.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- android.hardware.nfc
- hwbinder
- @1.2::INfc/default
-
-
diff --git a/universal7885-common/configs/wifi/p2p_supplicant_overlay.conf b/universal7885-common/configs/wifi/p2p_supplicant_overlay.conf
deleted file mode 100644
index c6a0efd..0000000
--- a/universal7885-common/configs/wifi/p2p_supplicant_overlay.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-disable_scan_offload=1
-p2p_listen_reg_class=81
-p2p_listen_channel=1
-p2p_oper_reg_class=124
-p2p_oper_channel=149
-manufacturer=SAMSUNG_ELECTRONICS
-model_name=SAMSUNG_MOBILE
-model_number=2014
-serial_number=19691101
-update_config=1
-p2p_add_cli_chan=1
-ip_addr_go=192.168.49.1
-ip_addr_mask=255.255.255.0
-ip_addr_start=192.168.49.200
-ip_addr_end=192.168.49.254
diff --git a/universal7885-common/configs/wifi/wpa_supplicant.conf b/universal7885-common/configs/wifi/wpa_supplicant.conf
deleted file mode 100644
index 4d05858..0000000
--- a/universal7885-common/configs/wifi/wpa_supplicant.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-update_config=1
-eapol_version=1
-ap_scan=1
-fast_reauth=1
-p2p_add_cli_chan=1
diff --git a/universal7885-common/configs/wifi/wpa_supplicant_overlay.conf b/universal7885-common/configs/wifi/wpa_supplicant_overlay.conf
deleted file mode 100644
index cdd9240..0000000
--- a/universal7885-common/configs/wifi/wpa_supplicant_overlay.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-p2p_disabled=1
-update_config=1
-driver_param=p2p_no_group_iface=1
-interworking=1
-hs20=1
-auto_interworking=0
diff --git a/universal7885-common/dtbo/Android.mk b/universal7885-common/dtbo/Android.mk
deleted file mode 100644
index 214103c..0000000
--- a/universal7885-common/dtbo/Android.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-# BOARD_CUSTOM_DTBOIMG_MK := $(PLATFORM_PATH)/kernel/dtbo.mk
-
-MKDTIMG := $(HOST_OUT_EXECUTABLES)/mkdtimg$(HOST_EXECUTABLE_SUFFIX)
-KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
-DTBO_DIR := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/dts/exynos/dtbo
-DTBO_CFG := $(COMMON_PATH)/dtbo/$(TARGET_DEVICE).cfg
-
-INSTALLED_DTBOIMAGE_TARGET := $(PRODUCT_OUT)/eureka_dtbo.img
-
-$(INSTALLED_DTBOIMAGE_TARGET): $(PRODUCT_OUT)/kernel $(MKDTIMG)
- $(call pretty,"Target dtbo image: $(INSTALLED_DTBIMAGE_TARGET)")
- $(hide) echo "Building eureka_dtbo.img"
- $(MKDTIMG) cfg_create $@ $(DTBO_CFG) -d $(DTBO_DIR)
-# $(hide) $(call assert-max-image-size,$@,$(BOARD_DTBOIMAGE_PARTITION_SIZE),raw)
- $(hide) chmod a+r $@
-
-.PHONY: dtboimage
-dtboimage: $(INSTALLED_DTBIMAGE_TARGET)
-
-INSTALLED_RADIOIMAGE_TARGET += $(INSTALLED_DTBOIMAGE_TARGET)
diff --git a/universal7885-common/dtbo/a10.cfg b/universal7885-common/dtbo/a10.cfg
deleted file mode 100644
index 459cb33..0000000
--- a/universal7885-common/dtbo/a10.cfg
+++ /dev/null
@@ -1,31 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7884B-a10_kor_open_00.dtbo
- custom0=0x00
- custom1=0x02
-
-exynos7884B-a10_eur_open_01.dtbo
- custom0=0x05
- custom1=0xff
-
-exynos7884B-a10_swa_open_00.dtbo
- custom0=0x00
- custom1=0xff
-
-exynos7884B-a10_eur_open_00.dtbo
- custom0=0x00
- custom1=0x04
-
-exynos7884B-a10_kor_open_05.dtbo
- custom0=0x05
- custom1=0xff
-
-exynos7884B-a10_sea_open_00.dtbo
- custom0=0x00
- custom1=0xff
-
-exynos7884B-a10_kor_open_03.dtbo
- custom0=0x03
- custom1=0x04
diff --git a/universal7885-common/dtbo/a10dd.cfg b/universal7885-common/dtbo/a10dd.cfg
deleted file mode 100644
index 459cb33..0000000
--- a/universal7885-common/dtbo/a10dd.cfg
+++ /dev/null
@@ -1,31 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7884B-a10_kor_open_00.dtbo
- custom0=0x00
- custom1=0x02
-
-exynos7884B-a10_eur_open_01.dtbo
- custom0=0x05
- custom1=0xff
-
-exynos7884B-a10_swa_open_00.dtbo
- custom0=0x00
- custom1=0xff
-
-exynos7884B-a10_eur_open_00.dtbo
- custom0=0x00
- custom1=0x04
-
-exynos7884B-a10_kor_open_05.dtbo
- custom0=0x05
- custom1=0xff
-
-exynos7884B-a10_sea_open_00.dtbo
- custom0=0x00
- custom1=0xff
-
-exynos7884B-a10_kor_open_03.dtbo
- custom0=0x03
- custom1=0x04
diff --git a/universal7885-common/dtbo/a20.cfg b/universal7885-common/dtbo/a20.cfg
deleted file mode 100644
index 95685bd..0000000
--- a/universal7885-common/dtbo/a20.cfg
+++ /dev/null
@@ -1,59 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7884B-a20_aus_xsa_01.dtbo
- custom0=0x01
- custom1=0x02
-
-exynos7884B-a20_swa_open_01.dtbo
- custom0=0x01
- custom1=0x02
-
-exynos7884B-a20_aus_xsa_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7884B-a20_can_single_05.dtbo
- custom0=0x05
- custom1=0xff
-
-exynos7884B-a20_cis_ser_01.dtbo
- custom0=0x01
- custom1=0x02
-
-exynos7884B-a20_can_single_03.dtbo
- custom0=0x03
- custom1=0x04
-
-exynos7884B-a20_cis_ser_03.dtbo
- custom0=0x03
- custom1=0xff
-
-exynos7884B-a20_sea_xtc_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7884B-a20_sea_xtc_01.dtbo
- custom0=0x01
- custom1=0x02
-
-exynos7884B-a20_aus_xsa_03.dtbo
- custom0=0x03
- custom1=0xff
-
-exynos7884B-a20_swa_open_03.dtbo
- custom0=0x03
- custom1=0xff
-
-exynos7884B-a20_cis_ser_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7884B-a20_swa_open_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7884B-a20_sea_xtc_03.dtbo
- custom0=0x03
- custom1=0xff
diff --git a/universal7885-common/dtbo/a20e.cfg b/universal7885-common/dtbo/a20e.cfg
deleted file mode 100644
index 045cd9b..0000000
--- a/universal7885-common/dtbo/a20e.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7884B-a20e_eur_open_03.dtbo
- custom0=0x03
- custom1=0xff
-
-exynos7884B-a20e_eur_open_00.dtbo
- custom0=0x00
- custom1=0x02
diff --git a/universal7885-common/dtbo/a30.cfg b/universal7885-common/dtbo/a30.cfg
deleted file mode 100644
index 1166903..0000000
--- a/universal7885-common/dtbo/a30.cfg
+++ /dev/null
@@ -1,27 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7904-a30_cis_open_02.dtbo
- custom0=0x02
- custom1=0xff
-
-exynos7904-a30_swa_open_01.dtbo
- custom0=0x01
- custom1=0x01
-
-exynos7904-a30_cis_open_01.dtbo
- custom0=0x01
- custom1=0x01
-
-exynos7904-a30_swa_open_02.dtbo
- custom0=0x02
- custom1=0xff
-
-exynos7904-a30_cis_open_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7904-a30_swa_open_00.dtbo
- custom0=0x00
- custom1=0x00
diff --git a/universal7885-common/dtbo/a30s.cfg b/universal7885-common/dtbo/a30s.cfg
deleted file mode 100644
index 2970d41..0000000
--- a/universal7885-common/dtbo/a30s.cfg
+++ /dev/null
@@ -1,20 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7904-a30s_eur_open_01.dtbo
- custom0=0x01
- custom1=0x01
-
-exynos7904-a30s_eur_open_02.dtbo
- custom0=0x02
- custom1=0x02
-
-exynos7904-a30s_eur_open_00.dtbo
- custom0=0x00
- custom1=0x00
-
-exynos7904-a30s_eur_open_03.dtbo
- custom0=0x03
- custom1=0xff
-
diff --git a/universal7885-common/dtbo/a40.cfg b/universal7885-common/dtbo/a40.cfg
deleted file mode 100644
index 75c289c..0000000
--- a/universal7885-common/dtbo/a40.cfg
+++ /dev/null
@@ -1,15 +0,0 @@
-# global options
- id=/:board_id
- rev=/:board_rev
-
-exynos7904-a40_kor_skt_00.dtbo
- custom0=0x00
- custom1=0xff
-
-exynos7904-a40_eur_open_01.dtbo
- custom0=0x01
- custom1=0xff
-
-exynos7904-a40_eur_open_00.dtbo
- custom0=0x00
- custom1=0x00
diff --git a/universal7885-common/extract-files.sh b/universal7885-common/extract-files.sh
deleted file mode 100644
index 6994bff..0000000
--- a/universal7885-common/extract-files.sh
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-# Load extract_utils and do some sanity checks
-MY_DIR="${BASH_SOURCE%/*}"
-if [[ ! -d ${MY_DIR} ]]; then MY_DIR="${PWD}"; fi
-
-LINEAGE_ROOT="${MY_DIR}"/../../..
-
-HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
-if [ ! -f "${HELPER}" ]; then
- echo "Unable to find helper script at ${HELPER}"
- exit 1
-fi
-source "${HELPER}"
-
-function blob_fixup {
- case "$1" in
- vendor/lib*/libsensorlistener.so)
- grep -q libshim_sensorndkbridge.so "$2" || "$PATCHELF" --add-needed "libshim_sensorndkbridge.so" "$2"
- ;;
- vendor/lib64/libskeymaster4device.so)
- "${PATCHELF}" --replace-needed libcrypto.so libcrypto-v33.so "$2"
- ;;
- esac
-}
-
-# Default to sanitizing the vendor folder before extraction
-CLEAN_VENDOR=true
-
-ONLY_COMMON=
-ONLY_TARGET=
-SECTION=
-KANG=
-
-while [ "${#}" -gt 0 ]; do
- case "${1}" in
- --only-common)
- ONLY_COMMON=true
- ;;
- --only-target)
- ONLY_TARGET=true
- ;;
- -n | --no-cleanup)
- CLEAN_VENDOR=false
- ;;
- -k | --kang)
- KANG="--kang"
- ;;
- -s | --section)
- SECTION="${2}"
- shift
- CLEAN_VENDOR=false
- ;;
- *)
- SRC="${1}"
- ;;
- esac
- shift
-done
-
-if [ -z "${SRC}" ]; then
- SRC="adb"
-fi
-
-# Initialize the helper for common device
-if [ -z "${ONLY_TARGET}" ]; then
- # Initialize the helper for common device
- setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"
-
- extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \
- "${KANG}" --section "${SECTION}"
-fi
-
-if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
- # Reinitialize the helper for device
- source "${MY_DIR}/../${DEVICE}/extract-files.sh"
- setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false "${CLEAN_VENDOR}"
-
- extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" \
- "${KANG}" --section "${SECTION}"
-fi
-
-"${MY_DIR}/setup-makefiles.sh"
diff --git a/universal7885-common/generate_product_makefiles.py b/universal7885-common/generate_product_makefiles.py
deleted file mode 100644
index 62f584b..0000000
--- a/universal7885-common/generate_product_makefiles.py
+++ /dev/null
@@ -1,108 +0,0 @@
-import os
-from os.path import isfile as exists
-from os.path import dirname, basename
-
-debug = False
-DEVICE_BASE = 'device/samsung'
-HD_DEVICES=['a10dd', 'a10', 'a20', 'a20e']
-EX_RUNTIME_STR = 'Vendor config makefile was not found'
-
-def log(x):
- if (debug):
- print(x)
-
-def writeln(f, txt = ''):
- print(txt, file=f)
-
-class GenerateMK():
- def __init__(self, vendor):
- self.config_mk_path = None
- self.vendor = vendor
-
- def check_exist_mk(self, path, mk):
- if self.config_mk_path is None and exists(path):
- self.set_config_path(path)
-
- def set_config_path(self, path: str):
- self.config_mk_path = path
-
- def write_one_dev_makefile(self, device):
- device_path = f'{DEVICE_BASE}/{device}'
- vendor = self.vendor
- log(f'Write entry => {device_path}')
- with open(f'{device_path}/AndroidProducts.mk', 'w') as ap:
- writeln(ap, f'# Auto-Generated by {__file__}')
- writeln(ap, f'PRODUCT_MAKEFILES += $(LOCAL_DIR)/{vendor}_{device}.mk')
- with open(f'{device_path}/{vendor}_{device}.mk', 'w') as mk:
- writeln(mk, f'# Auto-Generated by {__file__}')
- writeln(mk, f'$(call inherit-product, {device_path}/full_{device}.mk)')
- existed = False
- if self.config_mk_path is None:
- self.check_exist_mk(f'vendor/{vendor}/config/common_full_phone.mk', mk)
- self.check_exist_mk(f'vendor/{vendor}/config/common.mk', mk)
- if self.config_mk_path is None:
- raise RuntimeError(EX_RUNTIME_STR)
- writeln(mk, f'$(call inherit-product, {self.config_mk_path})')
- writeln(mk)
- writeln(mk, f'PRODUCT_NAME := {vendor}_{device}')
- writeln(mk)
- if device in HD_DEVICES:
- writeln(mk, 'TARGET_BOOT_ANIMATION_RES := 720')
- else:
- writeln(mk, 'TARGET_BOOT_ANIMATION_RES := 1080')
- writeln(mk, 'TARGET_USES_MINI_GAPPS := true')
- log(f'Write entry <= {device_path}')
-
- def write_makefiles(self):
- devices = os.listdir(DEVICE_BASE)
- for i in devices:
- if not i[:1] == 'a':
- log(f'Skip entry: {i}')
- continue
- self.write_one_dev_makefile(i)
-
- def check_makefile(self, mk):
- log(f'Check MK => {mk}')
- if exists(mk):
- log(f'Check MK <= {mk} exist')
- self.write_makefiles()
- return True
- return False
-
-# Hardcode paths for certain ROMs
-class VendorFixer():
- def __init__(self, makefile_path, vendor_folder):
- self.mkpath = makefile_path
- self.vfolder = vendor_folder
-
- def check(self):
- mkpath = f'vendor/{self.vfolder}/{self.mkpath}'
- if exists(mkpath):
- log(f'APPLY VF: Overriding to path: {mkpath}')
- g_mk = GenerateMK(self.vfolder)
- g_mk.set_config_path(mkpath)
- g_mk.write_makefiles()
- return True
- return False
-
-MikuVF = VendorFixer('build/product/miku_product.mk', 'miku')
-TestVF = VendorFixer('config/my_ss.mk', 'ss')
-
-def main():
- vendors = os.listdir('vendor')
- ok = False
-
- for vf in [MikuVF, TestVF]:
- if vf.check():
- return
-
- for vendor in vendors:
- mk = f'vendor/{vendor}/config/common.mk'
- ok |= GenerateMK(vendor).check_makefile(mk)
- if ok:
- break
- if not ok:
- raise RuntimeError(EX_RUNTIME_STR)
-
-if __name__ == '__main__':
- main()
diff --git a/universal7885-common/libinit/Android.bp b/universal7885-common/libinit/Android.bp
deleted file mode 100644
index e29724b..0000000
--- a/universal7885-common/libinit/Android.bp
+++ /dev/null
@@ -1,22 +0,0 @@
-// 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.
-
-cc_library_static {
- name: "libinit_universal7885",
- recovery_available: true,
- whole_static_libs: ["libbase"],
- header_libs: ["libbase_headers"],
- srcs: ["init_universal7885.cpp"],
- include_dirs: ["system/core/init"],
-}
diff --git a/universal7885-common/libinit/init_universal7885.cpp b/universal7885-common/libinit/init_universal7885.cpp
deleted file mode 100644
index 2c54346..0000000
--- a/universal7885-common/libinit/init_universal7885.cpp
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- Copyright (c) 2021, The LineageOS Project
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
- * Neither the name of The Linux Foundation nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include
-
-#include
-
-#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
-#include
-
-#include
-#include
-
-#include "property_service.h"
-#include "vendor_init.h"
-
-using android::base::GetProperty;
-
-const static std::vector ro_props_default_source_order = {
- "", "odm.", "product.", "system.", "system_ext.", "vendor.", "vendor_dlkm.",
-};
-
-void property_override(char const prop[], char const value[], bool add = true) {
- prop_info *pi;
-
- pi = (prop_info *)__system_property_find(prop);
- if (pi)
- __system_property_update(pi, value, strlen(value));
- else if (add)
- __system_property_add(prop, strlen(prop), value, strlen(value));
-}
-
-void set_ro_build_prop(const std::string &prop, const std::string &value,
- bool product = true) {
- std::string prop_name;
-
- for (const auto &source : ro_props_default_source_order) {
- if (product)
- prop_name = "ro.product." + source + prop;
- else
- prop_name = "ro." + source + "build." + prop;
-
- property_override(prop_name.c_str(), value.c_str());
- }
-}
-
-static inline bool hasEnding(const std::string& str, char suffix)
-{
- return !str.empty() && str.back() == suffix;
-}
-
-static void setLowRamProp(void) {
- static constexpr auto GB_3 = 3ull * 1024 * 1024 * 1024;
- struct sysinfo sys {};
-
- sysinfo(&sys);
- if (sys.totalram <= GB_3)
- property_override("ro.config.low_ram", "true");
-}
-
-void vendor_load_properties() {
- std::string model;
- bool isNFC = false;
-
- model = GetProperty("ro.boot.product.model", "");
- if (model.empty()) {
- model = GetProperty("ro.boot.em.model", "");
- }
-
- // Korean models all have NFC
- isNFC |= hasEnding(model, 'N');
- isNFC |= hasEnding(model, 'S');
- isNFC |= hasEnding(model, 'K');
-
- // Exceptions
- isNFC |= model == "SM-A202F";
- isNFC |= model == "SM-A405FM";
- isNFC |= model == "SM-A405F";
-
- // Set the NFC property, if NFC is present via modelname.
- if (isNFC) {
- property_override("ro.boot.product.hardware.sku", "NFC");
- }
-
- // Set Low ram prop based on HW ram size
- setLowRamProp();
-
- // Set model based on bootloader supplied model
- set_ro_build_prop("model", model);
- set_ro_build_prop("product", model, false);
-}
diff --git a/universal7885-common/libshims/sensor/ASensorManager.cpp b/universal7885-common/libshims/sensor/ASensorManager.cpp
deleted file mode 100644
index fc31b47..0000000
--- a/universal7885-common/libshims/sensor/ASensorManager.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2020 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.
- */
-
-#include
-
-#define LOG_TAG "libshim_sensorndkbridge"
-#include
-
-using android::Mutex;
-
-static Mutex gLock;
-
-extern "C" ALooper *ALooper_forCamera() {
- LOG(VERBOSE) << "ALooper_forCamera";
- ALooper *sLooper = NULL;
-
- Mutex::Autolock autoLock(gLock);
- sLooper = new ALooper;
-
- return sLooper;
-}
-
-extern "C" int ALooper_release_forCamera(ALooper *sLooper) {
- if (sLooper != nullptr) {
- Mutex::Autolock autoLock(gLock);
- delete sLooper;
- }
-
- return 0;
-}
-
-extern "C" int ALooper_pollOnce_camera(ALooper *sLooper, int timeoutMillis,
- int *outFd, int *outEvents,
- void **outData) {
- int res = sLooper->pollOnce(timeoutMillis, outFd, outEvents, outData);
- LOG(VERBOSE) << "ALooper_pollOnce_camera => " << res;
- return res;
-}
diff --git a/universal7885-common/libshims/sensor/Android.bp b/universal7885-common/libshims/sensor/Android.bp
deleted file mode 100644
index 5742ccc..0000000
--- a/universal7885-common/libshims/sensor/Android.bp
+++ /dev/null
@@ -1,19 +0,0 @@
-cc_library_shared {
- name: "libshim_sensorndkbridge",
-
- srcs: ["ASensorManager.cpp"],
- shared_libs: [
- "liblog",
- "libsensorndkbridge",
- "libutils",
- ],
- whole_static_libs: ["libbase"],
- header_libs: ["libbase_headers"],
- vendor: true,
-
- include_dirs: [
- "system/core/libutils/include",
- "frameworks/hardware/interfaces/sensorservice/libsensorndkbridge",
- ],
-
-}
diff --git a/universal7885-common/overlay/frameworks/base/core/res/res/values/config.xml b/universal7885-common/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index 81b7857..0000000
--- a/universal7885-common/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,787 +0,0 @@
-
- - 1.0
- 128
- 10
-
- - lte:1048576,3145728,4194304,524288,1572864,2097152
-
- com.android.systemui/com.android.systemui.doze.DozeService
- true
- true
- true
- 20
-
- true
-
- - "/system/framework/framework.jar"
- - "/system/framework/services.jar"
- - "/apex/com.android.art/javalib/core-oj.jar"
- - "/apex/com.android.art/javalib/core-libart.jar"
- - "/system_ext/priv-app/SystemUI/SystemUI.apk"
- - "/system/bin/surfaceflinger"
-
-
- - "/system/framework/framework.jar"
- - "/system/framework/services.jar"
- - "/apex/com.android.art/javalib/core-oj.jar"
- - "/apex/com.android.art/javalib/core-libart.jar"
- - "/apex/com.android.media/javalib/updatable-media.jar"
- - "/system_ext/priv-app/SystemUI/SystemUI.apk"
- - "/system/bin/surfaceflinger"
-
- GSM|CDMA|EVDO|WCDMA|LTE
- 100.0%
-
- true
- true
-
- - 1.00
-
- true
-
- true
-
- 1
-
- 600
-
- true
- true
- false
- false
- false
-
- com.google.android.tts
-
-
- - 10
-
-
-
- - com.google.android.gms/com.google.android.gms.nearby.discovery.service.DiscoveryService
- - com.google.android.gms/com.google.android.gms.nearby.messages.service.NearbyMessagesService
- - com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
- - com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
-
-
- true
-
- M 500 52 a 37 37 0 1 0 82 0 a 37 37 0 1 0 -82 0 Z
-
- 1
-
- true
-
- true
-
-
- - 0
- - 60
-
-
-
- - 0
- - 40
-
-
- false
-
- true
-
- true
-
- 48
-
- true
-
- true
- 3
-
- true
-
- true
-
- 2000
- 4000
-
- - 10
- - 11
- - 15
- - 17
- - 19
- - 25
- - 30
- - 34
- - 38
- - 44
- - 49
- - 67
- - 82
- - 90
- - 102
- - 108
- - 148
- - 183
- - 247
- - 304
- - 350
- - 391
- - 420
- - 420
- - 450
- - 500
- - 550
- - 575
- - 600
-
-
-
- - 22
- - 25
- - 28
- - 33
- - 35
- - 37
- - 49
- - 64
- - 64
- - 65
- - 67
- - 72
- - 98
- - 145
- - 145
- - 163
- - 163
- - 172
- - 172
- - 181
- - 181
- - 191
- - 191
- - 200
- - 200
- - 209
- - 209
- - 218
- - 218
- - 227
- - 227
- - 236
- - 236
- - 245
- - 245
- - 255
-
-
- - 1
- - 2
- - 3
- - 4
- - 5
- - 6
- - 7
- - 8
- - 9
- - 10
- - 15
- - 20
- - 25
- - 50
- - 100
- - 300
- - 500
- - 1000
- - 1500
- - 2000
- - 3000
- - 4000
- - 4999
- - 5000
- - 10000
- - 20000
- - 30000
- - 40000
-
-
- - 0
- - 1
- - 2
- - 3
- - 4
- - 5
- - 6
- - 7
- - 8
- - 9
- - 10
- - 11
- - 12
- - 13
- - 14
- - 15
- - 16
- - 17
- - 18
- - 19
- - 20
- - 21
- - 22
- - 23
- - 24
- - 25
- - 26
- - 27
- - 28
- - 29
- - 30
- - 31
- - 32
- - 33
- - 34
- - 35
- - 36
- - 37
- - 38
- - 39
- - 40
- - 41
- - 42
- - 43
- - 44
- - 45
- - 46
- - 47
- - 48
- - 49
- - 50
- - 51
- - 52
- - 53
- - 54
- - 55
- - 56
- - 57
- - 58
- - 59
- - 60
- - 61
- - 62
- - 63
- - 64
- - 65
- - 66
- - 67
- - 68
- - 69
- - 70
- - 71
- - 72
- - 73
- - 74
- - 75
- - 76
- - 77
- - 78
- - 79
- - 80
- - 81
- - 82
- - 83
- - 84
- - 85
- - 86
- - 87
- - 88
- - 89
- - 90
- - 91
- - 92
- - 93
- - 94
- - 95
- - 96
- - 97
- - 98
- - 99
- - 100
- - 101
- - 102
- - 103
- - 104
- - 105
- - 106
- - 107
- - 108
- - 109
- - 110
- - 111
- - 112
- - 113
- - 114
- - 115
- - 116
- - 117
- - 118
- - 119
- - 120
- - 121
- - 122
- - 123
- - 124
- - 125
- - 126
- - 127
- - 128
- - 129
- - 130
- - 131
- - 132
- - 133
- - 134
- - 135
- - 136
- - 137
- - 138
- - 139
- - 140
- - 141
- - 142
- - 143
- - 144
- - 145
- - 146
- - 147
- - 148
- - 149
- - 150
- - 151
- - 152
- - 153
- - 154
- - 155
- - 156
- - 157
- - 158
- - 159
- - 160
- - 161
- - 162
- - 163
- - 164
- - 165
- - 166
- - 167
- - 168
- - 169
- - 170
- - 171
- - 172
- - 173
- - 174
- - 175
- - 176
- - 177
- - 178
- - 179
- - 180
- - 181
- - 182
- - 183
- - 184
- - 185
- - 186
- - 187
- - 188
- - 189
- - 190
- - 191
- - 192
- - 193
- - 194
- - 195
- - 196
- - 197
- - 198
- - 199
- - 200
- - 201
- - 202
- - 203
- - 204
- - 205
- - 206
- - 207
- - 208
- - 209
- - 210
- - 211
- - 212
- - 213
- - 214
- - 215
- - 216
- - 217
- - 218
- - 219
- - 220
- - 221
- - 222
- - 223
- - 224
- - 225
- - 226
- - 227
- - 228
- - 229
- - 230
- - 231
- - 232
- - 233
- - 234
- - 235
- - 236
- - 237
- - 238
- - 239
- - 240
- - 241
- - 242
- - 243
- - 244
- - 245
- - 246
- - 247
- - 248
- - 249
- - 250
- - 251
- - 252
- - 253
- - 254
- - 255
-
-
- - 2
- - 3
- - 4
- - 6
- - 7
- - 8
- - 9
- - 10
- - 12
- - 13
- - 14
- - 15
- - 16
- - 18
- - 19
- - 20
- - 22
- - 24
- - 25
- - 26
- - 28
- - 29
- - 31
- - 32
- - 34
- - 35
- - 36
- - 38
- - 39
- - 41
- - 42
- - 44
- - 45
- - 46
- - 48
- - 49
- - 51
- - 52
- - 54
- - 55
- - 57
- - 58
- - 60
- - 61
- - 62
- - 64
- - 65
- - 67
- - 68
- - 70
- - 71
- - 72
- - 74
- - 75
- - 77
- - 78
- - 80
- - 81
- - 83
- - 84
- - 86
- - 87
- - 88
- - 90
- - 91
- - 93
- - 94
- - 95
- - 97
- - 98
- - 100
- - 101
- - 103
- - 104
- - 105
- - 107
- - 109
- - 110
- - 111
- - 113
- - 114
- - 116
- - 117
- - 119
- - 120
- - 121
- - 123
- - 124
- - 126
- - 127
- - 129
- - 130
- - 131
- - 133
- - 135
- - 136
- - 137
- - 139
- - 140
- - 142
- - 143
- - 145
- - 146
- - 147
- - 149
- - 150
- - 152
- - 153
- - 155
- - 156
- - 157
- - 159
- - 161
- - 162
- - 163
- - 165
- - 166
- - 168
- - 169
- - 171
- - 172
- - 173
- - 175
- - 176
- - 178
- - 179
- - 181
- - 182
- - 183
- - 186
- - 188
- - 189
- - 191
- - 193
- - 195
- - 197
- - 198
- - 201
- - 202
- - 204
- - 206
- - 208
- - 210
- - 212
- - 214
- - 216
- - 217
- - 219
- - 221
- - 223
- - 225
- - 226
- - 229
- - 230
- - 232
- - 234
- - 236
- - 238
- - 240
- - 242
- - 244
- - 245
- - 247
- - 249
- - 251
- - 253
- - 254
- - 257
- - 258
- - 260
- - 262
- - 264
- - 266
- - 268
- - 270
- - 272
- - 273
- - 275
- - 277
- - 279
- - 281
- - 282
- - 285
- - 286
- - 288
- - 290
- - 292
- - 294
- - 296
- - 298
- - 300
- - 301
- - 303
- - 305
- - 307
- - 309
- - 310
- - 313
- - 314
- - 316
- - 318
- - 320
- - 322
- - 324
- - 326
- - 327
- - 329
- - 331
- - 333
- - 335
- - 337
- - 338
- - 341
- - 342
- - 344
- - 346
- - 348
- - 350
- - 352
- - 354
- - 355
- - 357
- - 359
- - 361
- - 363
- - 365
- - 366
- - 369
- - 370
- - 372
- - 374
- - 376
- - 378
- - 379
- - 382
- - 383
- - 385
- - 387
- - 389
- - 391
- - 393
- - 395
- - 397
- - 398
- - 400
- - 402
- - 404
- - 406
- - 407
- - 410
- - 411
- - 413
- - 415
- - 417
- - 419
- - 420
-
-
-
- true
-
-
- true
-
-
-
-
- false
-
- false
-
- /sys/class/sec/switch/afc_disable
-
- 0
-
- true
-
diff --git a/universal7885-common/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/universal7885-common/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index f1c0904..0000000
--- a/universal7885-common/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
- false
-
- cell
-
- 60000
-
- false
-
- false
-
- 1
-
- true
-
- true
-
- 50%
-
- 50%
-
diff --git a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/drawable-nodpi/udfps_icon_pressed.png b/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/drawable-nodpi/udfps_icon_pressed.png
deleted file mode 100644
index 8775132..0000000
Binary files a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/drawable-nodpi/udfps_icon_pressed.png and /dev/null differ
diff --git a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
deleted file mode 100644
index 3894371..0000000
--- a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
- false
- false
-
- true
-
- 1
-
- 3.1
-
-
- android.sensor.proximity
-
- - 1.0
-
- - 5.0
-
-
- true
-
diff --git a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
deleted file mode 100644
index 84b8262..0000000
--- a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- 2dp
- 1.0dip
- 23.0dip
- 29.0dip
- 29.0px
-
diff --git a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/evolution_config.xml b/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/evolution_config.xml
deleted file mode 100644
index a0ec819..0000000
--- a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/evolution_config.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- 1
-
diff --git a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/integers.xml b/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/integers.xml
deleted file mode 100644
index f353a32..0000000
--- a/universal7885-common/overlay/frameworks/base/packages/SystemUI/res/values/integers.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
- 4
-
- 4
-
diff --git a/universal7885-common/overlay/packages/apps/Aperture/app/src/main/res/values/config.xml b/universal7885-common/overlay/packages/apps/Aperture/app/src/main/res/values/config.xml
deleted file mode 100644
index 8b2a48b..0000000
--- a/universal7885-common/overlay/packages/apps/Aperture/app/src/main/res/values/config.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
- true
-
diff --git a/universal7885-common/overlay/packages/apps/Bluetooth/res/values/config.xml b/universal7885-common/overlay/packages/apps/Bluetooth/res/values/config.xml
deleted file mode 100644
index 4c61f01..0000000
--- a/universal7885-common/overlay/packages/apps/Bluetooth/res/values/config.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- true
-
diff --git a/universal7885-common/overlay/packages/apps/Settings/res/values/config.xml b/universal7885-common/overlay/packages/apps/Settings/res/values/config.xml
deleted file mode 100644
index 64384ff..0000000
--- a/universal7885-common/overlay/packages/apps/Settings/res/values/config.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- 3
-
diff --git a/universal7885-common/overlay/packages/apps/Settings/res/values/evolution_config.xml b/universal7885-common/overlay/packages/apps/Settings/res/values/evolution_config.xml
deleted file mode 100644
index f7abe00..0000000
--- a/universal7885-common/overlay/packages/apps/Settings/res/values/evolution_config.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
- true
-
diff --git a/universal7885-common/overlay/packages/services/Telephony/res/values/config.xml b/universal7885-common/overlay/packages/services/Telephony/res/values/config.xml
deleted file mode 100644
index 46eeae8..0000000
--- a/universal7885-common/overlay/packages/services/Telephony/res/values/config.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
- true
-
- com.android.service.ims
-
diff --git a/universal7885-common/powerstats/Android.bp b/universal7885-common/powerstats/Android.bp
deleted file mode 100644
index 6f40257..0000000
--- a/universal7885-common/powerstats/Android.bp
+++ /dev/null
@@ -1,15 +0,0 @@
-cc_binary {
- name: "android.hardware.power.stats-service.exynos7",
- srcs: [
- "*.cc",
- ],
- relative_install_path: "hw",
- vendor: true,
- defaults: [
- "powerstats_pixel_defaults",
- ],
- cflags: ["-Wno-thread-safety-negative"],
- shared_libs: ["android.hardware.power.stats-impl.pixel"],
- init_rc: ["android.hardware.power.stats-service.exynos7.rc"],
- vintf_fragments: ["android.hardware.power.stats-service.exynos7.xml"],
-}
diff --git a/universal7885-common/powerstats/DevFreq.cc b/universal7885-common/powerstats/DevFreq.cc
deleted file mode 100644
index dc44c7b..0000000
--- a/universal7885-common/powerstats/DevFreq.cc
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Copyright (C) 2021 The Android Open Source 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.
- */
-#include "DevFreq.h"
-
-#include
-
-static const std::string nameSuffix = "-DVFS";
-static const std::string pathSuffix = "/time_in_state";
-
-namespace aidl {
-namespace android {
-namespace hardware {
-namespace power {
-namespace stats {
-
-DevfreqStateResidencyDataProvider::DevfreqStateResidencyDataProvider(const std::string& name,
- const std::string& path) : mName(name + nameSuffix), mPath(path + pathSuffix) {}
-
-bool DevfreqStateResidencyDataProvider::extractNum(const char *str, char **str_end, int base,
- int64_t* num) {
- // errno can be set to any non-zero value by a library function call
- // regardless of whether there was an error, so it needs to be cleared
- // in order to check the error set by strtoll
- errno = 0;
- *num = std::strtoll(str, str_end, base);
- return (errno != ERANGE);
-}
-
-std::vector> DevfreqStateResidencyDataProvider::parseTimeInState() {
- // Using FILE* instead of std::ifstream for performance reasons
- std::unique_ptr fp(fopen(mPath.c_str(), "r"), fclose);
- if (!fp) {
- PLOG(ERROR) << "Failed to open file " << mPath;
- return {};
- }
-
- std::vector> timeInState;
-
- char *line = nullptr;
- size_t len = 0;
- while (getline(&line, &len, fp.get()) != -1) {
- char* pEnd;
- int64_t frequencyHz, totalTimeMs;
- if (!extractNum(line, &pEnd, 10, &frequencyHz) ||
- !extractNum(pEnd, &pEnd, 10, &totalTimeMs)) {
- PLOG(ERROR) << "Failed to parse " << mPath;
- free(line);
- return {};
- }
-
- timeInState.push_back({frequencyHz, totalTimeMs});
- }
-
- free(line);
- return timeInState;
-}
-
-bool DevfreqStateResidencyDataProvider::getStateResidencies(
- std::unordered_map> *residencies) {
- std::vector> timeInState = parseTimeInState();
-
- if (timeInState.empty()) {
- return false;
- }
-
- int32_t id = 0;
- std::vector stateResidencies;
- for (const auto[frequencyHz, totalTimeMs] : timeInState) {
- StateResidency s = {.id = id++, .totalTimeInStateMs = totalTimeMs};
- stateResidencies.push_back(s);
- }
-
- residencies->emplace(mName, stateResidencies);
- return true;
-}
-
-std::unordered_map> DevfreqStateResidencyDataProvider::getInfo() {
- std::vector> timeInState = parseTimeInState();
-
- if (timeInState.empty()) {
- return {};
- }
-
- int32_t id = 0;
- std::vector states;
- for (const auto[frequencyHz, totalTimeMs] : timeInState) {
- State s = {.id = id++, .name = std::to_string(frequencyHz / 1000) + "MHz"};
- states.push_back(s);
- }
-
- return {{mName, states}};
-}
-
-} // namespace stats
-} // namespace power
-} // namespace hardware
-} // namespace android
-} // namespace aidl
diff --git a/universal7885-common/powerstats/DevFreq.h b/universal7885-common/powerstats/DevFreq.h
deleted file mode 100644
index 8341b43..0000000
--- a/universal7885-common/powerstats/DevFreq.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2021 The Android Open Source 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.
- */
-#pragma once
-
-#include
-
-namespace aidl {
-namespace android {
-namespace hardware {
-namespace power {
-namespace stats {
-
-class DevfreqStateResidencyDataProvider : public PowerStats::IStateResidencyDataProvider {
- public:
- DevfreqStateResidencyDataProvider(const std::string& name, const std::string& path);
- ~DevfreqStateResidencyDataProvider() = default;
-
- /*
- * See IStateResidencyDataProvider::getStateResidencies
- */
- bool getStateResidencies(
- std::unordered_map> *residencies) override;
-
- /*
- * See IStateResidencyDataProvider::getInfo
- */
- std::unordered_map> getInfo() override;
-
- private:
- bool extractNum(const char *str, char **str_end, int base, int64_t* num);
- std::vector> parseTimeInState();
- const std::string mName;
- const std::string mPath;
-};
-
-} // namespace stats
-} // namespace power
-} // namespace hardware
-} // namespace android
-} // namespace aidl
diff --git a/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.rc b/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.rc
deleted file mode 100644
index 810df8a..0000000
--- a/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-service vendor.power.stats-hal /vendor/bin/hw/android.hardware.power.stats-service.exynos7
- class hal
- user system
- group system
diff --git a/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.xml b/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.xml
deleted file mode 100644
index 750836f..0000000
--- a/universal7885-common/powerstats/android.hardware.power.stats-service.exynos7.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- android.hardware.power.stats
- IPowerStats/default
-
-
diff --git a/universal7885-common/powerstats/main.cc b/universal7885-common/powerstats/main.cc
deleted file mode 100644
index 230d0ca..0000000
--- a/universal7885-common/powerstats/main.cc
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) 2020 The Android Open Source 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.
- */
-
-#include "DevFreq.h"
-#include
-
-#include
-#include
-#include
-#include
-#include
-
-using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider;
-using aidl::android::hardware::power::stats::PowerStats;
-
-void addDevFreq(std::shared_ptr p) {
- p->addStateResidencyDataProvider(
- std::make_unique(
- "MIF", "/sys/devices/platform/17000010.devfreq_mif/devfreq/"
- "17000010.devfreq_mif"));
- p->addStateResidencyDataProvider(
- std::make_unique(
- "INT", "/sys/devices/platform/17000020.devfreq_int/devfreq/"
- "17000020.devfreq_int"));
- p->addStateResidencyDataProvider(
- std::make_unique(
- "DISP", "/sys/devices/platform/17000040.devfreq_disp/devfreq/"
- "17000040.devfreq_disp"));
- p->addStateResidencyDataProvider(
- std::make_unique(
- "CAM", "/sys/devices/platform/17000050.devfreq_cam/devfreq/"
- "17000050.devfreq_cam"));
- p->addStateResidencyDataProvider(
- std::make_unique(
- "AUD", "/sys/devices/platform/17000060.devfreq_aud/devfreq/"
- "17000060.devfreq_aud"));
- p->addStateResidencyDataProvider(
- std::make_unique(
- "FSYS", "/sys/devices/platform/17000070.devfreq_fsys/devfreq/"
- "17000070.devfreq_fsys"));
-}
-
-
-int main() {
- LOG(INFO) << "PowerStats HAL AIDL Service is starting.";
- // single thread
- ABinderProcess_setThreadPoolMaxThreadCount(0);
- std::shared_ptr p = ndk::SharedRefBase::make();
- addDevFreq(p);
-
- const std::string instance = std::string() + PowerStats::descriptor + "/default";
- binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
- LOG_ALWAYS_FATAL_IF(status != STATUS_OK);
-
- ABinderProcess_joinThreadPool();
- return EXIT_FAILURE; // should not reach
-}
diff --git a/universal7885-common/proprietary-files.txt b/universal7885-common/proprietary-files.txt
deleted file mode 100644
index 0225dee..0000000
--- a/universal7885-common/proprietary-files.txt
+++ /dev/null
@@ -1,171 +0,0 @@
-# All blobs below are extracted from samsung/a20ektt/a20e:11/RP1A.200720.012/A202KKKU8CUL3:user/release-keys, unless otherwise stated.
-
-vendor/bin/hw/android.hardware.drm@1.3-service.widevine
-vendor/bin/hw/macloader
-vendor/bin/hw/rild
-vendor/bin/hw/vendor.samsung.hardware.gnss@2.0-service
-vendor/bin/cbd
-vendor/bin/main_abox
-vendor/bin/tzdaemon
-vendor/bin/tzts_daemon
-vendor/bin/wlbtd
-vendor/etc/dolby/dax-default.xml
-vendor/etc/gnss/ca.pem
-vendor/etc/gnss/gps.cfg
-vendor/etc/gnss/gps.debug.cfg
-vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc
-vendor/etc/init/init.gps.rc
-vendor/etc/init/init.vendor.rilchip.rc
-vendor/etc/init/init.vendor.rilcommon.rc
-vendor/etc/init/teegris_v3.rc
-vendor/etc/init/vendor.samsung.hardware.gnss@2.0-service.rc
-vendor/etc/init/wifi_slsi.rc
-vendor/etc/nfc/sec_s3nrn82_rfreg.bin
-vendor/etc/audio_board_info.xml
-vendor/etc/audio_policy_volumes.xml
-vendor/etc/default_volume_tables.xml
-vendor/etc/media_codecs.xml
-vendor/etc/media_codecs_performance.xml
-vendor/etc/media_profiles_V1_0.xml
-vendor/firmware/nfc/sec_s3nrn82_firmware.bin
-vendor/firmware/APBargeIn_AUDIO_SLSI.bin
-vendor/firmware/AP_AUDIO_SLSI.bin
-vendor/firmware/Tfa9896.cnt
-vendor/firmware/calliope_dram.bin
-vendor/firmware/calliope_sram.bin
-vendor/lib/egl/libGLES_mali.so
-vendor/lib/mediadrm/libwvdrmengine.so
-vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so
-vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so
-vendor/lib/omx/libOMX.Exynos.HEVC.Decoder.so
-vendor/lib/omx/libOMX.Exynos.HEVC.Encoder.so
-vendor/lib/omx/libOMX.Exynos.MPEG4.Decoder.so
-vendor/lib/omx/libOMX.Exynos.MPEG4.Encoder.so
-vendor/lib/omx/libOMX.Exynos.VP8.Decoder.so
-vendor/lib/omx/libOMX.Exynos.VP8.Encoder.so
-vendor/lib/omx/libOMX.Exynos.VP9.Decoder.so
-vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so
-vendor/lib/soundfx/libaudioeffectoffload.so
-vendor/lib/vndk/libtinyalsa.so
-vendor/lib/camera.device@1.0-impl.so
-vendor/lib/camera.device@3.2-impl.so
-vendor/lib/camera.device@3.3-impl.so
-vendor/lib/camera.device@3.4-impl.so
-vendor/lib/camera.device@3.5-impl.so
-vendor/lib/libExynosOMX_Core.so
-vendor/lib/libExynosOMX_Resourcemanager.so
-vendor/lib/libGrallocWrapper.so
-vendor/lib/libSamsungPostProcessConvertor.so
-vendor/lib/lib_SamsungRec_07010.so
-vendor/lib/lib_SoundAlive_SRC384_ver320.so
-vendor/lib/lib_soundaliveresampler.so
-vendor/lib/libacryl.so
-vendor/lib/libbauthserver.so
-vendor/lib/libbauthtzcommon.so
-vendor/lib/libcsc.so
-vendor/lib/libepicoperator.so
-vendor/lib/libfloatingfeature.so
-vendor/lib/libgf_in_system_lib.so
-vendor/lib/libion_exynos.so
-vendor/lib/liboemcrypto.so
-vendor/lib/libprofileparamstorage.so
-vendor/lib/libqfp_sensortest.so
-vendor/lib/libreference-ril.so
-vendor/lib/libril.so
-vendor/lib/librilutils.so
-vendor/lib/libsec-ril-dsds.so
-vendor/lib/libsec-ril.so
-vendor/lib/libsecaudiocoreutils.so
-vendor/lib/libsecaudioinfo.so
-vendor/lib/libsecnativefeature.so
-vendor/lib/libsecril-client.so
-vendor/lib/libsemnativecarrierfeature.so
-vendor/lib/libspeakercalibration.so
-vendor/lib/libstagefrighthw.so
-vendor/lib/libsynaFpSensorTestNwd.so
-vendor/lib/libteecl.so
-vendor/lib/libuuid.so
-vendor/lib/libwvhidl.so
-vendor/lib/vendor.samsung.hardware.radio.bridge@2.0.so
-vendor/lib/vendor.samsung.hardware.radio@2.0.so
-vendor/lib/vendor.samsung.hardware.radio@2.1.so
-vendor/lib64/egl/libGLES_mali.so
-vendor/lib64/hw/android.hardware.gnss@2.1-impl.so
-vendor/lib64/hw/vendor.samsung.hardware.gnss@2.0-impl.so
-vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so
-vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so
-vendor/lib64/omx/libOMX.Exynos.HEVC.Decoder.so
-vendor/lib64/omx/libOMX.Exynos.HEVC.Encoder.so
-vendor/lib64/omx/libOMX.Exynos.MPEG4.Decoder.so
-vendor/lib64/omx/libOMX.Exynos.MPEG4.Encoder.so
-vendor/lib64/omx/libOMX.Exynos.VP8.Decoder.so
-vendor/lib64/omx/libOMX.Exynos.VP8.Encoder.so
-vendor/lib64/omx/libOMX.Exynos.VP9.Decoder.so
-vendor/lib64/omx/libOMX.Exynos.WMV.Decoder.so
-vendor/lib64/soundfx/libaudioeffectoffload.so
-vendor/lib64/camera.device@1.0-impl.so
-vendor/lib64/camera.device@3.2-impl.so
-vendor/lib64/camera.device@3.3-impl.so
-vendor/lib64/camera.device@3.4-impl.so
-vendor/lib64/camera.device@3.5-impl.so
-vendor/lib64/libExynosOMX_Core.so
-vendor/lib64/libExynosOMX_Resourcemanager.so
-vendor/lib64/libGrallocWrapper.so
-vendor/lib64/libbauthserver.so
-vendor/lib64/libbauthtzcommon.so
-vendor/lib64/libcsc.so
-vendor/lib64/libepicoperator.so
-vendor/lib64/libfloatingfeature.so
-vendor/lib64/libgf_in_system_lib.so
-vendor/lib64/libion_exynos.so
-vendor/lib64/libiwt.so
-vendor/lib64/libkeymaster_helper.so
-vendor/lib64/libprofileparamstorage.so
-vendor/lib64/libqfp_sensortest.so
-vendor/lib64/libreference-ril.so
-vendor/lib64/libril.so
-vendor/lib64/librilutils.so
-vendor/lib64/libsec-ril-dsds.so
-vendor/lib64/libsec-ril.so
-vendor/lib64/libsecaudiocoreutils.so
-vendor/lib64/libsecaudioinfo.so
-vendor/lib64/libsecnativefeature.so
-vendor/lib64/libsecril-client.so
-vendor/lib64/libsemnativecarrierfeature.so
-vendor/lib64/libskeymaster4device.so
-vendor/lib64/libstagefrighthw.so
-vendor/lib64/libsynaFpSensorTestNwd.so
-vendor/lib64/libteecl.so
-vendor/lib64/libuuid.so
-vendor/lib64/libvkmanager_vendor.so
-vendor/lib64/libwifi-hal.so
-vendor/lib64/vendor.samsung.hardware.gnss@2.0.so
-vendor/lib64/vendor.samsung.hardware.radio.bridge@2.0.so
-vendor/lib64/vendor.samsung.hardware.radio.channel@2.0.so
-vendor/lib64/vendor.samsung.hardware.radio@2.0.so
-vendor/lib64/vendor.samsung.hardware.radio@2.1.so
-vendor/tee/driver/00000000-0000-0000-0000-00535453540b
-vendor/tee/driver/00000000-0000-0000-0000-4d53546d7374
-vendor/tee/driver/00000000-0000-0000-0000-564c544b4456
-vendor/tee/driver/18d9f073-18a5-4ade-9def-875e07f7f293_
-vendor/tee/tui/resolution_common/ID00000100
-vendor/tee/00000000-0000-0000-0000-00000000dead
-vendor/tee/00000000-0000-0000-0000-000000010081
-vendor/tee/00000000-0000-0000-0000-000000020081
-vendor/tee/00000000-0000-0000-0000-000000534b4d
-vendor/tee/00000000-0000-0000-0000-000046495645
-vendor/tee/00000000-0000-0000-0000-0050524f4341
-vendor/tee/00000000-0000-0000-0000-00535453540c
-vendor/tee/00000000-0000-0000-0000-0053545354ab
-vendor/tee/00000000-0000-0000-0000-00575644524d
-vendor/tee/00000000-0000-0000-0000-446e6c6f6164
-vendor/tee/00000000-0000-0000-0000-46494e474552
-vendor/tee/00000000-0000-0000-0000-474154454b45
-vendor/tee/00000000-0000-0000-0000-4b45594d5354
-vendor/tee/00000000-0000-0000-0000-505256544545
-vendor/tee/00000000-0000-0000-0000-535355504341
-vendor/tee/00000000-0000-0000-0000-564c544b5052
-vendor/tee/00000000-0000-0000-0000-656e676d6f64
-vendor/tee/00000000-0000-0000-0000-657365636f6d
-vendor/tee/00000000-0000-0000-0000-6d73745f5441
-vendor/tee/ffffffff-0000-0000-0000-000000000030
diff --git a/universal7885-common/releasetools/Android.mk b/universal7885-common/releasetools/Android.mk
deleted file mode 100644
index 64ec7eb..0000000
--- a/universal7885-common/releasetools/Android.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-$(call add-radio-file,eureka_dtb.img)
-$(call add-radio-file,eureka_install.sh)
diff --git a/universal7885-common/releasetools/eureka_dtb.img b/universal7885-common/releasetools/eureka_dtb.img
deleted file mode 100644
index 19eecfb..0000000
Binary files a/universal7885-common/releasetools/eureka_dtb.img and /dev/null differ
diff --git a/universal7885-common/releasetools/eureka_install.sh b/universal7885-common/releasetools/eureka_install.sh
deleted file mode 100755
index 61eeb51..0000000
--- a/universal7885-common/releasetools/eureka_install.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/sbin/sh
-mount /vendor
-mount -o rw,remount /vendor
-rm -rf /vendor/recovery-from-boot*
-umount /vendor
-rm -f /tmp/eureka_install.sh
-exit 0
diff --git a/universal7885-common/releasetools/releasetools.py b/universal7885-common/releasetools/releasetools.py
deleted file mode 100644
index 6911a52..0000000
--- a/universal7885-common/releasetools/releasetools.py
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/env python3
-#
-# Copyright (C) 2019 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.
-
-import common
-
-def FullOTA_Assertions(info):
- OTA_Assertions(info)
- return
-
-def IncrementalOTA_Assertions(info):
- OTA_Assertions(info)
- return
-
-def OTA_Assertions(info):
- # Disable VINTF checks
- common.OPTIONS.skip_compatibility_check = True
-
-def FullOTA_InstallEnd(info):
- OTA_InstallEnd(info)
- return
-
-def IncrementalOTA_InstallEnd(info):
- OTA_InstallEnd(info)
- return
-
-def AddImage(info, folder, basename, dest):
- name = basename
- data = info.input_zip.read(folder + basename)
- common.ZipWriteStr(info.output_zip, name, data)
- info.script.AppendExtra('package_extract_file("%s", "%s");' % (name, dest))
-
-def AddFile(info, folder, basename):
- name = basename
- data = info.input_zip.read(folder + basename)
- common.ZipWriteStr(info.output_zip, name, data)
-
-def PrintInfo(info, dest):
- info.script.Print("Patching {} image unconditionally...".format(dest.split('/')[-1]))
-
-def OTA_InstallEnd(info):
- AddImage(info, "RADIO/", "eureka_dtb.img", "/dev/block/platform/13500000.dwmmc0/by-name/dtb")
- AddImage(info, "RADIO/", "eureka_dtbo.img", "/dev/block/platform/13500000.dwmmc0/by-name/dtbo")
- AddFile(info, "RADIO/", "eureka_install.sh")
- info.script.AppendExtra('package_extract_file("eureka_install.sh", "/tmp/eureka_install.sh");')
- info.script.AppendExtra('run_program("/sbin/sh", "/tmp/eureka_install.sh");')
- return
diff --git a/universal7885-common/reorder-libs.py b/universal7885-common/reorder-libs.py
deleted file mode 100755
index 82388d1..0000000
--- a/universal7885-common/reorder-libs.py
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright (C) 2021 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-from functools import cmp_to_key
-from locale import LC_ALL, setlocale, strcoll
-from pathlib import Path
-
-FILES = [Path(file) for file in [
- "proprietary-files.txt",
-]]
-
-setlocale(LC_ALL, "C")
-
-def strcoll_extract_utils(string1: str, string2: str) -> int:
- # Skip logic if one of the string if empty
- if not string1 or not string2:
- return strcoll(string1, string2)
-
- # Remove '-' from strings if there,
- # it is used to indicate a build target
- string1 = string1.removeprefix('-')
- string2 = string2.removeprefix('-')
-
- # If no directories, compare normally
- if not "/" in string1 and not "/" in string2:
- return strcoll(string1, string2)
-
- string1_dir = string1.rsplit("/", 1)[0] + "/"
- string2_dir = string2.rsplit("/", 1)[0] + "/"
- if string1_dir == string2_dir:
- # Same directory, compare normally
- return strcoll(string1, string2)
-
- if string1_dir.startswith(string2_dir):
- # First string dir is a subdirectory of the second one,
- # return string1 > string2
- return -1
-
- if string2_dir.startswith(string1_dir):
- # Second string dir is a subdirectory of the first one,
- # return string2 > string1
- return 1
-
- # Compare normally
- return strcoll(string1, string2)
-
-for file in FILES:
- if not file.is_file():
- print(f"File {str(file)} not found")
- continue
-
- with open(file, 'r') as f:
- sections = f.read().split("\n\n")
-
- ordered_sections = []
- for section in sections:
- section_list = [line.strip() for line in section.splitlines()]
- section_list.sort(key=cmp_to_key(strcoll_extract_utils))
- ordered_sections.append("\n".join(section_list))
-
- with open(file, 'w') as f:
- f.write("\n\n".join(ordered_sections).strip() + "\n")
diff --git a/universal7885-common/rootdir/Android.bp b/universal7885-common/rootdir/Android.bp
deleted file mode 100644
index 0d2807a..0000000
--- a/universal7885-common/rootdir/Android.bp
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright 2019 The Android Open Source 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.
-
-prebuilt_etc {
- name: "fstab.enableswap",
- src: "etc/fstab.enableswap",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "init.exynos7885.rc",
- src: "etc/init.exynos7885.rc",
- sub_dir: "init",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "init.exynos7885.usb.rc",
- src: "etc/init.exynos7885.usb.rc",
- sub_dir: "init",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "wifi_sec.rc",
- src: "etc/wifi_sec.rc",
- sub_dir: "init",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "fstab.exynos7884B",
- src: "etc/fstab.exynos7885",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "fstab.exynos7904",
- src: "etc/fstab.exynos7885",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "init.target.rc",
- src: "etc/init.target.rc",
- sub_dir: "init",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "init.baseband.rc",
- src: "etc/init.baseband.rc",
- sub_dir: "init",
- vendor: true,
-}
-
-prebuilt_etc {
- name: "init.udfps.rc",
- src: "etc/init.udfps.rc",
- sub_dir: "init",
- vendor: true,
-}
diff --git a/universal7885-common/rootdir/etc/fstab.enableswap b/universal7885-common/rootdir/etc/fstab.enableswap
deleted file mode 100644
index 392d25b..0000000
--- a/universal7885-common/rootdir/etc/fstab.enableswap
+++ /dev/null
@@ -1,2 +0,0 @@
-/dev/block/zram0 none swap defaults zramsize=1619001344,max_comp_streams=8
-
diff --git a/universal7885-common/rootdir/etc/fstab.exynos7885 b/universal7885-common/rootdir/etc/fstab.exynos7885
deleted file mode 100644
index 69cc42d..0000000
--- a/universal7885-common/rootdir/etc/fstab.exynos7885
+++ /dev/null
@@ -1,19 +0,0 @@
-# Android fstab file.
-#
-# The filesystem that contains the filesystem checker binary (typically /system) cannot
-# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
-
-# system and vendor partition will be early-mounted by kernel
-# /dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro wait
-/dev/block/platform/13500000.dwmmc0/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
-/dev/block/platform/13500000.dwmmc0/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait
-/dev/block/platform/13500000.dwmmc0/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait,check,reservedsize=128M
-/dev/block/platform/13500000.dwmmc0/by-name/userdata /data f2fs nosuid,nodev,discard,noatime,lazytime,data_flush wait,check
-/dev/block/platform/13500000.dwmmc0/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
-/dev/block/platform/13500000.dwmmc0/by-name/misc /misc emmc defaults defaults
-/dev/block/platform/13500000.dwmmc0/by-name/omr /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,first_stage_mount,formattable,check
-
-# VOLD :: fstab.a20e
-/dev/block/platform/13500000.dwmmc0/by-name/hidden /preload ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic voldmanaged=preload:auto,check
-/devices/platform/13550000.dwmmc2/mmc_host/mmc1* auto vfat defaults voldmanaged=sdcard:auto
-/devices/platform/13600000.usb/13600000.dwc3* auto auto defaults voldmanaged=usb:auto
diff --git a/universal7885-common/rootdir/etc/init.baseband.rc b/universal7885-common/rootdir/etc/init.baseband.rc
deleted file mode 100644
index 6409208..0000000
--- a/universal7885-common/rootdir/etc/init.baseband.rc
+++ /dev/null
@@ -1,92 +0,0 @@
-on early-init
- mkdir /mnt/vendor/cpefs 0771 radio system
-
-on init
- symlink /dev/block/platform/13500000.dwmmc0/by-name/radio /dev/mbin0
- restorecon /dev/mbin0
-
- write /proc/sys/net/core/netdev_max_backlog 5000
-
- write /sys/class/net/rmnet0/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet1/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet2/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet3/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet4/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet5/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet6/queues/rx-0/rps_cpus 6
- write /sys/class/net/rmnet7/queues/rx-0/rps_cpus 6
-
-on fs && property:ro.boot.cpefs_wp=0
- wait /dev/block/platform/13500000.dwmmc0/by-name/cpefs
- mount ext4 /dev/block/platform/13500000.dwmmc0/by-name/cpefs /mnt/vendor/cpefs nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
- mount none /mnt/vendor/cpefs /cpefs bind
- restorecon_recursive /mnt/vendor/cpefs
- chown radio system /mnt/vendor/cpefs
- chmod 0771 /mnt/vendor/cpefs
-
-on fs && property:ro.boot.cpefs_wp=1
- wait /dev/block/platform/13500000.dwmmc0/by-name/cpefs
- mount ext4 /dev/block/platform/13500000.dwmmc0/by-name/cpefs /mnt/vendor/cpefs ro nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
- mount none /mnt/vendor/cpefs /cpefs bind
- restorecon_recursive /mnt/vendor/cpefs
- chown radio system /mnt/vendor/cpefs
- chmod 0771 /mnt/vendor/cpefs
-
-on post-fs-data
- chown radio radio sys/devices/virtual/misc/multipdp/waketime
- chmod 0660 /sys/devices/virtual/misc/umts_dm0/dm_state
- chown radio system /sys/devices/virtual/misc/umts_dm0/dm_state
-
- # /efs/factory.prop for Dual / Single SIM settings
- chown radio radio /mnt/vendor/efs/factory.prop
- chmod 0600 /mnt/vendor/efs/factory.prop
-
-# Modem boot daemon
-service cpboot-daemon /vendor/bin/cbd -d -tss310 -bm -mm -P platform/13500000.dwmmc0/by-name/radio
- class main
- user root
- group radio cache inet misc audio sdcard_rw log sdcard_r shell system
- seclabel u:r:cbd:s0
-
-on property:ril.clatd.v4-rmnet0=up
- write /sys/class/net/rmnet0/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet0/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet1=up
- write /sys/class/net/rmnet1/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet1/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet2=up
- write /sys/class/net/rmnet2/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet2/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet3=up
- write /sys/class/net/rmnet3/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet3/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet4=up
- write /sys/class/net/rmnet4/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet4/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet5=up
- write /sys/class/net/rmnet5/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet5/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet6=up
- write /sys/class/net/rmnet6/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet6/queues/rx-0/rps_cpus 2
-
-on property:ril.clatd.v4-rmnet7=up
- write /sys/class/net/rmnet7/queues/rx-0/rps_cpus 4
- write /sys/class/net/v4-rmnet7/queues/rx-0/rps_cpus 2
-
-# SS/DS configuration
-on property:ro.vendor.multisim.simslotcount=*
- write /sys/module/modem_ctrl_ss310ap/parameters/ds_detect ${ro.vendor.multisim.simslotcount}
-
-on property:ro.vendor.multisim.simslotcount=1
- setprop persist.radio.multisim.config ss
-
-on property:ro.vendor.multisim.simslotcount=2
- setprop persist.radio.multisim.config dsds
-
diff --git a/universal7885-common/rootdir/etc/init.exynos7885.rc b/universal7885-common/rootdir/etc/init.exynos7885.rc
deleted file mode 100644
index 0b546ba..0000000
--- a/universal7885-common/rootdir/etc/init.exynos7885.rc
+++ /dev/null
@@ -1,622 +0,0 @@
-on early-init
- mkdir /efs 0771 radio system
- mkdir /mnt/vendor/efs 0771 radio system
- mkdir /mnt/vendor/cpefs 0771 radio system
- mkdir /mnt/vendor/persist 0771 system system
- mount debugfs /sys/kernel/debug /sys/kernel/debug
-
-on init
- start watchdogd
-
- write /proc/sys/vm/swappiness 160
-
- # ZRAM setup
- write /sys/block/zram0/comp_algorithm lz4
- write /sys/block/zram0/max_comp_streams 8
- write /proc/sys/vm/page-cluster 0
-
- ## SCSC WLAN
- # SD-755: Increase default socket rx buffer limit
- write /proc/sys/net/core/rmem_default 327680
- write /proc/sys/net/core/rmem_max 327680
-
-# For CPUSET(7885) 0-3, 4-5, 6-7
- chown system system /dev/cpuset/top-app/cpus
- chown system system /dev/cpuset/foreground/cpus
- chown system system /dev/cpuset/background/cpus
- chown system system /dev/cpuset/system-background/cpus
- chmod 664 /dev/cpuset/top-app/cpus
- chmod 664 /dev/cpuset/foreground/cpus
- chmod 664 /dev/cpuset/background/cpus
- chmod 664 /dev/cpuset/system-background/cpus
- write /dev/cpuset/top-app/cpus 0-7
- write /dev/cpuset/foreground/cpus 0-2,4-7
- write /dev/cpuset/background/cpus 0-1
- write /dev/cpuset/system-background/cpus 0-2
-
-# For Selective boost
- write /dev/cpuset/top-app/selective_boost 1
- write /dev/cpuset/foreground/selective_boost 1
- write /dev/cpuset/cameraserver/selective_boost 1
-
- # Charger
- chown system system /sys/class/power_supply/battery/batt_slate_mode
-
- ## SCSC BT
- chown bluetooth bluetooth /sys/module/scsc_bt/parameters/bluetooth_address
-
-on late-fs
- # Start services for Boot Animation
- start servicemanager
- start surfaceflinger
- start bootanim
- # Make sure HW service manager started and start required HAL services
- start vendor.configstore-hal
- start vendor.gralloc-2-0
-
- # Mount RW partitions which need run fsck
- mount_all /vendor/etc/fstab.${ro.hardware} --late
-
-# start mobicore
-
-on post-fs
- # Allow writing to the kernel trace log.
-# chmod 0222 /sys/kernel/debug/tracing/trace_marker
-
- # set RLIMIT_MEMLOCK to 64MB
- setrlimit 8 67108864 67108864
-
-on post-fs-data
-# NFC
- mkdir /data/vendor/nfc 0770 nfc nfc
-
-# NFC: create /efs/sec_efs/nfc and /efs/nfc for nv storage
- mkdir /efs/sec_efs/nfc 0700 nfc nfc
- mkdir /efs/nfc 0700 nfc nfc
-
-# TEEGRIS service
- mkdir /data/vendor/tee 0700 system system
-
-# Log data folder
- mkdir /data/vendor 0771 root system
- mkdir /data/vendor/log 0771 root system
- mkdir /data/log/abox 0771 audioserver system
-
-#dump Abox permission
- chmod 777 data/vendor/log/abox
-
- setprop vold.post_fs_data_done 1
-
-# Gatekeeper data
- mkdir /data/vendor/gk 0771 system system
-
-## SCSC WLAN
- # Setup Wi-Fi permissions
- mkdir /data/misc/wifi 0770 wifi system
- mkdir /data/misc/wifi/sockets 0770 wifi wifi
- mkdir /vendor/etc/wifi 0770 system system
- mkdir /data/hostapd 0770 system wifi
-
-# Permissions for audio
- chown system radio /sys/class/audio/earjack/select_jack
- chown system radio /sys/class/audio/earjack/key_state
- chown system radio /sys/class/audio/earjack/state
- chown system radio /sys/class/audio/earjack/mic_adc
-
- chown system audio /sys/class/nxp/tfa_cal/status
- chown system audio /sys/class/nxp/tfa_cal/rdc
- chown system audio /sys/class/nxp/tfa_cal/temp
-
- mkdir /mnt/vendor/efs/nxp 0770 system audio
- chown system audio /mnt/vendor/efs/nxp/rdc_cal
- chown system audio /mnt/vendor/efs/nxp/temp_cal
- chmod 0660 /mnt/vendor/efs/nxp/rdc_cal
- chmod 0660 /mnt/vendor/efs/nxp/temp_cal
-
- mkdir /efs/nxp 0770 system audio
- chown system audio /efs/nxp/rdc_cal
- chown system audio /efs/nxp/temp_cal
- chmod 0660 /efs/nxp/rdc_cal
- chmod 0660 /efs/nxp/temp_cal
-
- chown system audio /sys/class/nxp/tfa_log/data_maxx
- chown system audio /sys/class/nxp/tfa_log/count_overxmax
- chown system audio /sys/class/nxp/tfa_log/data_maxt
- chown system audio /sys/class/nxp/tfa_log/count_overtmax
- chmod 0440 /sys/class/nxp/tfa_log/data_maxx
- chmod 0440 /sys/class/nxp/tfa_log/count_overxmax
- chmod 0440 /sys/class/nxp/tfa_log/data_maxt
- chmod 0440 /sys/class/nxp/tfa_log/count_overtmax
-
-# Change permission for A-Box firmware logs file & GPR dump
- chown audioserver system /sys/kernel/debug/abox/log-00
- chown audioserver system /sys/devices/platform/14a50000.abox/14a50000.abox:abox_debug@0/gpr
- chown audioserver system /sys/devices/platform/14a50000.abox/14a50000.abox:abox_debug@0/calliope_sram
- chown audioserver system /sys/devices/platform/14a50000.abox/14a50000.abox:abox_debug@0/calliope_dram
- chown audioserver system /sys/devices/platform/14a50000.abox/14a50000.abox:abox_debug@0/calliope_iva
-
-# FM Radio
-# chown system audio /dev/radio0
-# chmod 0660 /dev/radio0
-
-# Permissions for backlight
- chown system system /sys/class/backlight/panel/brightness
-
-# Permissions for LCD
- chown system radio /sys/class/lcd/panel/lcd_type
- chown system system /sys/class/lcd/panel/lux
-
-# Permissions Camera
- mkdir /data/vendor/camera 0770 cameraserver system
- mkdir /data/misc/camera 0770 cameraserver cameraserver
- chown system radio /sys/class/camera/rear/rear_camfw
- chown system radio /sys/class/camera/rear/rear_camfw_full
- chown system radio /sys/class/camera/rear/rear_checkfw_user
- chown system radio /sys/class/camera/rear/rear_checkfw_factory
- chown system radio /sys/class/camera/rear/rear_sensor_standby
- chown system radio /sys/class/camera/rear/rear_camtype
- chown system radio /sys/class/camera/rear/rear_calcheck
- chown system radio /sys/class/camera/rear/rear_afcal
- chown system system /sys/class/camera/rear/rear_hwparam
- chown cameraserver cameraserver /sys/class/camera/rear/rear_awb_master
- chown cameraserver cameraserver /sys/class/camera/rear/rear_awb_module
- chown cameraserver cameraserver /sys/class/camera/rear/rear_sensorid_exif
- chown cameraserver cameraserver /sys/class/camera/rear/rear_sensorid
- chown cameraserver cameraserver /sys/class/camera/rear/ssrm_camera_info
- chown system radio /sys/class/camera/rear/isp_core
- chown system radio /sys/class/camera/rear/fw_update
- chown system radio /sys/class/camera/rear/rear_moduleid
- chown system radio /sys/class/camera/flash/rear_flash
- chown cameraserver system /sys/class/camera/flash/rear_torch_flash
- chown system radio /sys/class/camera/flash/front_flash
- chown cameraserver system /sys/class/camera/flash/front_torch_flash
- chown system radio /sys/class/camera/front/front_camfw
- chown system radio /sys/class/camera/front/front_camfw_full
- chown system radio /sys/class/camera/front/front_checkfw_factory
- chown system radio /sys/class/camera/front/front_camtype
- chown system radio /sys/class/camera/front/front_moduleid
- chown system system /sys/class/camera/front/front_hwparam
- chown cameraserver cameraserver /sys/class/camera/front/front_sensorid_exif
- chown cameraserver cameraserver /sys/class/camera/front/front_sensorid
- chown system radio /sys/class/camera/front/front2_camfw
- chown system radio /sys/class/camera/front/front2_camfw_full
- chown system radio /sys/class/camera/front/front2_checkfw_user
- chown system radio /sys/class/camera/front/front2_checkfw_factory
- chown system radio /sys/class/camera/front/front2_tilt
- chown system system /sys/class/camera/front/front2_hwparam
- chown system system /sys/class/camera/front/front2_camtype
- chown system radio /sys/class/camera/front/front_dualcal
- chown system radio /sys/class/camera/front/front_dualcal_size
- chown system radio /sys/class/camera/front/front2_shift_x
- chown system radio /sys/class/camera/front/front2_shift_y
- chown cameraserver cameraserver /sys/class/camera/front/front_xtalkcal
- chown system radio /sys/class/camera/rear/supported_cameraIds
-
- ## Rear2 camera permission
- chown system radio /sys/class/camera/rear/rear2_camfw
- chown system radio /sys/class/camera/rear/rear2_camfw_full
- chown system radio /sys/class/camera/rear/rear2_checkfw_user
- chown system radio /sys/class/camera/rear/rear2_checkfw_factory
- chown system system /sys/class/camera/rear/rear2_hwparam
- chown cameraserver cameraserver /sys/class/camera/rear/rear2_sensorid_exif
- chown cameraserver cameraserver /sys/class/camera/rear/rear2_sensorid
- chown system radio /sys/class/camera/rear/rear2_moduleid
- chown system radio /sys/class/camera/rear/rear2_tilt
-
- ## Rear3 camera permission
- chown system radio /sys/class/camera/rear/rear3_camfw
- chown system radio /sys/class/camera/rear/rear3_camfw_full
- chown system radio /sys/class/camera/rear/rear3_checkfw_user
- chown system radio /sys/class/camera/rear/rear3_checkfw_factory
- chown system system /sys/class/camera/rear/rear3_hwparam
- chown cameraserver cameraserver /sys/class/camera/rear/rear3_sensorid_exif
- chown cameraserver cameraserver /sys/class/camera/rear/rear3_sensorid
- chown system radio /sys/class/camera/rear/rear3_moduleid
-
-# Permissions for SVC
- chown system system /sys/devices/svc/Camera/SVC_rear_module
- chown system system /sys/devices/svc/Camera/SVC_front_module
-
- chmod 0755 /sys/kernel/debug/tracing
- restorecon /sys/kernel/debug/tracing/trace_marker
-
-# Permission for flashlight control for HAL3.3
-# The Istor espresso board does not have the flash led h/w, So the below permission line are blocked.
-# If you want to test the flashlight in board which have the flash led h/w, Enable the below blocked lines.
- chmod 0660 /sys/class/camera/flash/rear_flash
- chown system camera /sys/class/camera/flash/rear_flash
-
-# permissions for bluetooth.
- setprop ro.bt.bdaddr_path "/mnt/vendor/efs/bluetooth/bt_addr"
- chown bluetooth bluetooth ro.bt.bdaddr_path
-
-# for BT MAC address
- mkdir /mnt/vendor/efs/bluetooth 0770 system bluetooth
-# if already exist
- chown system bluetooth /mnt/vendor/efs/bluetooth
- chown system bluetooth /mnt/vendor/efs/bluetooth/bt_addr
- chmod 0770 /mnt/vendor/efs/bluetooth
- chmod 0660 /mnt/vendor/efs/bluetooth/bt_addr
-
-# Magnetic sensor YAS537 lib
- mkdir /data/vendor/yas_lib 0770 system system
-
-# for WIFI MAC address
- mkdir /mnt/vendor/efs/wifi 0775 wifi root
- chown wifi root /mnt/vendor/efs/wifi/.mac.info
- chmod 0664 /mnt/vendor/efs/wifi/.mac.info
- chown wifi root /mnt/vendor/efs/wifi/.mac.cob
- chmod 0664 /mnt/vendor/efs/wifi/.mac.cob
-
- write /sys/module/scsc_mx/parameters/disable_recovery_handling 0
-
-# MST/NFC Switch
- chown system /dev/mst_ctrl
- chmod 0660 /dev/mst_ctrl
-
-# setup cgroup freezer for freecess
- mkdir /dev/freezer
- mount cgroup none /dev/freezer freezer
- mkdir /dev/freezer/frozen
- mkdir /dev/freezer/thaw
- write /dev/freezer/frozen/freezer.state FROZEN
- write /dev/freezer/thaw/freezer.state THAWED
-
-# MARs for freecess
- chown system system /dev/freezer
- chown system system /dev/freezer/frozen
- chown system system /dev/freezer/frozen/tasks
- chown system system /dev/freezer/frozen/cgroup.procs
- chown system system /dev/freezer/thaw
- chown system system /dev/freezer/thaw/tasks
- chown system system /dev/freezer/thaw/cgroup.procs
-
-# MARs for freecess
- chmod 0644 /dev/freezer/frozen/tasks
- chmod 0644 /dev/freezer/frozen/cgroup.procs
- chmod 0644 /dev/freezer/thaw/tasks
- chmod 0644 /dev/freezer/thaw/cgroup.procs
-
-# OLAF setup
- mkdir /dev/freezer/olaf
- write /dev/freezer/olaf/freezer.state THAWED
- chown system system /dev/freezer/olaf
- chown system system /dev/freezer/olaf/tasks
- chown system system /dev/freezer/olaf/cgroup.procs
- chown system system /dev/freezer/olaf/freezer.state
- chmod 0644 /dev/freezer/olaf/tasks
- chmod 0644 /dev/freezer/olaf/cgroup.procs
- chmod 0644 /dev/freezer/olaf/freezer.state
-
-on boot
-
- setprop wifi.interface wlan0
-
- # Allow to access debugfs for system:system
- chmod 0755 /sys/kernel/debug
- chown system system /sys/kernel/debug
-
- # Set permissions for ttysac2
- chown system system /dev/ttySAC2
- chmod 0660 /dev/ttySAC2
-
- # DVFS & Hotplug
- chown system system /sys/power/cpuhotplug/enabled
- chown system system /sys/power/cpuhotplug/min_online_cpu
- chown system system /sys/power/cpuhotplug/max_online_cpu
- chmod 0664 /sys/power/cpuhotplug/enabled
- chmod 0664 /sys/power/cpuhotplug/min_online_cpu
- chmod 0664 /sys/power/cpuhotplug/max_online_cpu
-
- # CPU C-state node
- chown radio system /sys/module/cpuidle/parameters/off
- chmod 0664 /sys/module/cpuidle/parameters/off
-
- # Permissions for input_booster
- chown system radio /sys/class/input_booster/level
- chown system radio /sys/class/input_booster/head
- chown system radio /sys/class/input_booster/tail
- chmod 0664 /sys/class/input_booster/level
- chmod 0664 /sys/class/input_booster/head
- chmod 0664 /sys/class/input_booster/tail
-
- # Permissions for family_boost
- chown system radio /sys/kernel/hmp/family_boost
- chmod 0664 /sys/kernel/hmp/family_boost
-
- chown system radio /sys/kernel/hmp/down_threshold
- chmod 0664 /sys/kernel/hmp/down_threshold
-
- chown system radio /sys/devices/system/sec_os_ctrl/migrate_os
- chmod 0664 /sys/devices/system/sec_os_ctrl/migrate_os
-
- # mif dvfs node
- chown system system /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/available_frequencies
- chmod 0444 /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/available_frequencies
- chown system system sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq
- chmod 0664 /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq
-
- # GPU dvfs node
- chown radio system /sys/devices/platform/11500000.mali/dvfs_table
- chmod 0664 /sys/devices/platform/11500000.mali/dvfs_table
- chown radio system /sys/devices/platform/11500000.mali/dvfs_min_lock
- chmod 0664 /sys/devices/platform/11500000.mali/dvfs_min_lock
- chown radio system /sys/devices/platform/11500000.mali/dvfs_max_lock
- chmod 0664 /sys/devices/platform/11500000.mali/dvfs_max_lock
-
- # Change permission for interactive governor
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/boost
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/boost
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/input_boost
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/input_boost
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
- chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
-
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/timer_rate
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/timer_rate
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/timer_slack
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/timer_slack
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/min_sample_time
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/min_sample_time
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/hispeed_freq
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/hispeed_freq
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/target_loads
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/target_loads
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/go_hispeed_load
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/go_hispeed_load
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/above_hispeed_delay
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/above_hispeed_delay
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/boost
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/boost
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/boostpulse
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/boostpulse
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/input_boost
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/input_boost
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/boostpulse_duration
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/boostpulse_duration
- chown system system /sys/devices/system/cpu/cpu6/cpufreq/interactive/io_is_busy
- chmod 0660 /sys/devices/system/cpu/cpu6/cpufreq/interactive/io_is_busy
-
-# Permission for UART SWITCH
- chmod 0660 /sys/class/sec/switch/uart_sel
- chown system system /sys/class/sec/switch/uart_sel
-
-# Prevents permission denied error for telephony
- chmod 0644 /proc/cmdline
-
-on fs
- mount_all /vendor/etc/fstab.${ro.hardware} --early
- # We need to seperate mounting SEC_EFS partition from fstab file due to GSI image loading case
- wait /dev/block/platform/13500000.dwmmc0/by-name/sec_efs
- mount ext4 /dev/block/platform/13500000.dwmmc0/by-name/sec_efs /factory nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
-
- mount none /mnt/vendor/cpefs /cpefs bind
- restorecon_recursive /mnt/vendor/efs
- restorecon_recursive /mnt/vendor/cpefs
- restorecon_recursive /mnt/vendor/persist
-
- mkdir /mnt/vendor/persist/data/sfs 0700 system system
- mkdir /mnt/vendor/persist/data/tz 0700 system system
-
- # Start HW service manager early
- start hwservicemanager
-
- chown radio system /mnt/vendor/efs
- chmod 0771 /mnt/vendor/efs
- chown radio system /mnt/vendor/cpefs
- chmod 0771 /mnt/vendor/cpefs
- chown system system /mnt/vendor/persist
-
- # Enable rmnet data and aggregation
- setprop persist.rmnet.mux enabled
- setprop persist.rmnet.data.enable true
- setprop persist.data.wda.enable true
- setprop persist.data.df.agg.dl_pkt 10
- setprop persist.data.df.agg.dl_size 4096
-
-# Permissions for ION
- chmod 0660 /sys/class/ion_cma/ion_video_ext/isolated
- chown system system /sys/class/ion_cma/ion_video_ext/isolated
-
-# Sensors permissions
-# Flush
- chown system radio /sys/class/sensors/sensor_dev/flush
-# Accelerometer_sensor
- chown system radio /sys/class/sensors/accelerometer_sensor/raw_data
- chown system radio /sys/class/sensors/accelerometer_sensor/calibration
- chown system radio /sys/class/sensors/accelerometer_sensor/reactive_alert
- chown system radio /sys/class/sensors/accelerometer_sensor/vendor
- chown system radio /sys/class/sensors/accelerometer_sensor/name
- chown system radio /sys/class/sensors/accelerometer_sensor/selftest
- chown system radio /sys/class/sensors/accelerometer_sensor/lowpassfilter
-# Proximity_sensor
- chown system radio /sys/class/sensors/proximity_sensor/state
- chown system radio /sys/class/sensors/proximity_sensor/raw_data
- chown system radio /sys/class/sensors/proximity_sensor/prox_avg
- chown system radio /sys/class/sensors/proximity_sensor/prox_cal
- chown system radio /sys/class/sensors/proximity_sensor/vendor
- chown system radio /sys/class/sensors/proximity_sensor/name
- chown system radio /sys/class/sensors/proximity_sensor/thresh_high
- chown system radio /sys/class/sensors/proximity_sensor/thresh_low
- chown system radio /sys/class/sensors/proximity_sensor/thresh_detect_high
- chown system radio /sys/class/sensors/proximity_sensor/thresh_detect_low
- chown system radio /sys/class/sensors/proximity_sensor/barcode_emul_en
- chown system radio /sys/class/sensors/proximity_sensor/prox_offset_pass
- chown system radio /sys/class/sensors/proximity_sensor/prox_trim
- chown system radio /sys/class/sensors/proximity_sensor/prox_probe
- chown system radio /sys/class/sensors/proximity_sensor/check_far_state
- chown system radio /sys/class/sensors/proximity_sensor/pocket_prox
-# Light_sensor
- chown system radio /sys/class/sensors/light_sensor/lux
- chown system radio /sys/class/sensors/light_sensor/raw_data
- chown system radio /sys/class/sensors/light_sensor/vendor
- chown system radio /sys/class/sensors/light_sensor/name
- chown system radio /sys/class/sensors/light_sensor/adata0
- chown system radio /sys/class/sensors/light_sensor/adata1
- chown system radio /sys/class/sensors/light_sensor/adata2
- chown system radio /sys/class/sensors/light_sensor/adata3
- chown system radio /sys/class/sensors/light_sensor/adata4
- chown system radio /sys/class/sensors/light_sensor/adata5
- chown system radio /sys/class/sensors/light_sensor/astep
- chown system radio /sys/class/sensors/light_sensor/again
- chown system radio /sys/class/sensors/light_sensor/wtime
- chown system radio /sys/class/sensors/light_sensor/als_ch_cfg
- chown system radio /sys/class/sensors/light_sensor/fifo_level
- chown system radio /sys/class/sensors/light_sensor/fifo_overflowx
- chown system radio /sys/class/sensors/light_sensor/fifo_reset
-# Gyro_sensor
- chown system radio /sys/class/sensors/gyro_sensor/power_on
- chown system radio /sys/class/sensors/gyro_sensor/power_off
- chown system radio /sys/class/sensors/gyro_sensor/temperature
- chown system radio /sys/class/sensors/gyro_sensor/selftest
- chown system radio /sys/class/sensors/gyro_sensor/selftest_dps
- chown system radio /sys/class/sensors/gyro_sensor/vendor
- chown system radio /sys/class/sensors/gyro_sensor/name
-# Magnetic_sensor
- chown system radio /sys/class/sensors/magnetic_sensor/raw_data
- chown system radio /sys/class/sensors/magnetic_sensor/vendor
- chown system radio /sys/class/sensors/magnetic_sensor/name
- chown system radio /sys/class/sensors/magnetic_sensor/selftest
-
-# Grip_sensor
- chown system radio /sys/class/sensors/grip_sensor/name
- chown system radio /sys/class/sensors/grip_sensor/vendor
- chown system radio /sys/class/sensors/grip_sensor/raw_data
- chown system radio /sys/class/sensors/grip_sensor/threshold
- chown system radio /sys/class/sensors/grip_sensor/calibration
- chown system radio /sys/class/sensors/grip_sensor/onoff
- chown system radio /sys/class/sensors/grip_sensor/reset
- chown system radio /sys/class/sensors/grip_sensor/mode
- chown system radio /sys/class/sensors/grip_sensor/gain
- chown system radio /sys/class/sensors/grip_sensor/start
- chown system radio /sys/class/sensors/grip_sensor/normal_threshold
- chown system radio /sys/class/sensors/grip_sensor/gain_ch2
- chown system radio /sys/class/sensors/grip_sensor/raw_data_ch2
- chown system radio /sys/class/sensors/grip_sensor/diff_avg_ch2
- chown system radio /sys/class/sensors/grip_sensor/normal_threshold_ch2
- chown system radio /sys/class/sensors/grip_sensor/ch_state
- chown system radio /sys/class/sensors/grip_sensor/body_threshold
-
-# Grip_sensor
- chown system radio /sys/class/sensors/grip_sensor/name
- chown system radio /sys/class/sensors/grip_sensor/grip_firm_update_status
- chown system radio /sys/class/sensors/grip_sensor/grip_firm_update
- chown system radio /sys/class/sensors/grip_sensor/grip_firm_version_phone
- chown system radio /sys/class/sensors/grip_sensor/grip_firm_version_panel
- chown system radio /sys/class/sensors/grip_sensor/grip_sar_enable
- chown system radio /sys/class/sensors/grip_sensor/grip_sar_only_mode
- chown system radio /sys/class/sensors/grip_sensor/grip_sar_press_threshold
- chown system radio /sys/class/sensors/grip_sensor/grip_sar_release_threshold
- chown system radio /sys/class/sensors/grip_sensor/grip_earjack
- chown system radio /sys/class/sensors/grip_sensor/grip_gain
- chown system radio /sys/class/sensors/grip_sensor/grip_raw
- chown system radio /sys/class/sensors/grip_sensor/grip_raw_d
- chown system radio /sys/class/sensors/grip_sensor/grip_sw_reset
- chown system radio /sys/class/sensors/grip_sensor/grip_threshold
- chown system radio /sys/class/sensors/grip_sensor/grip_total_cap
- chown system radio /sys/class/sensors/grip_sensor/grip_check
- chown system radio /sys/class/sensors/grip_sensor/grip
- chown system radio /sys/class/sensors/grip_sensor/grip_diff_d
- chown system radio /sys/class/sensors/grip_sensor/grip_baseline
- chown system radio /sys/class/sensors/grip_sensor/grip_irq_count
-
-# Permissions for Fingerprint sensor
- chmod 0660 /dev/goodix_fp
- chmod 0660 /dev/esfp0
- chown system system /dev/goodix_fp
- chown system system /dev/esfp0
- 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
- chown system radio /sys/class/fingerprint/fingerprint/adm
- chown system radio /sys/class/fingerprint/fingerprint/bfs_values
-
-# Permissions for System LSI NFC
-# NFC : Permissions for NFC
- chmod 0660 /dev/sec-nfc
- chown nfc nfc /dev/sec-nfc
-# Permissions for S.LSI ESE
- chmod 0660 /dev/p3
- chown system system /dev/p3
-
-on property:sys.boot_completed=1
- swapon_all /vendor/etc/fstab.enableswap
-
-# Permission for flashlight control for HAL3.3
-# The Istor espresso board does not have the flash led h/w, So the below permission line are blocked.
-# If you want to test the flashlight in board which have the flash led h/w, Enable the below blocked lines.
- chmod 0660 /sys/class/camera/flash/rear_flash
- chown system camera /sys/class/camera/flash/rear_flash
- chmod 0660 /sys/class/camera/flash/front_flash
- chown system camera /sys/class/camera/flash/front_flash
-
-#load ecd firmware
- write /proc/ecd/load_firmware 1
-
-# Abox FailSafe
-service abox /vendor/bin/main_abox 14a50000.abox /data/log/abox
- class late_start
- user audioserver
- group system
-
-# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
-service watchdogd /system/bin/watchdogd 10 20
- class core
- seclabel u:r:watchdogd:s0
-
-# TEEGRIS daemon
-service tz_service /vendor/bin/tzdaemon
- class core
- user system
- group system readproc
- disabled
-
-# Handle core_dump/profiling requests from SWd.
-# used only for DEBUG builds.
-service tz_msg_recv /vendor/bin/tz_message_receiver
- class core
- user system
- group system
- disabled
-
-service tzts_service /vendor/bin/tzts_daemon
- class core
- user system
- group system
- disabled
-
-service charger /system/bin/charger
- class charger
- user system
- group system graphics input
- capabilities SYS_BOOT
- seclabel u:r:charger:s0
-
-# Start NFC on supported variants
-service nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service.samsung
- override
- class hal
- user nfc
- group nfc
- disabled
-
-on property:ro.boot.product.hardware.sku=NFC
- start nfc_hal_service
diff --git a/universal7885-common/rootdir/etc/init.exynos7885.usb.rc b/universal7885-common/rootdir/etc/init.exynos7885.usb.rc
deleted file mode 100644
index f229b0b..0000000
--- a/universal7885-common/rootdir/etc/init.exynos7885.usb.rc
+++ /dev/null
@@ -1,492 +0,0 @@
-on early-fs
- setprop sys.usb.controller 13600000.dwc3
-
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb && property:sys.usb.configfs=1
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
-
-# USB accessory configuration
-on property:sys.usb.config=accessory && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d00
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# USB accessory configuration, with adb
-on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=accessory,adb && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d01
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# audio accessory configuration
-on property:sys.usb.config=audio_source && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d02
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# audio accessory configuration, with adb
-on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d03
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# USB and audio accessory configuration
-on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d04
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# USB and audio accessory configuration, with adb
-on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x2d05
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x18d1
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=midi && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x686C
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=midi,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=midi,adb && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x686C
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
- on property:sys.usb.config=ncm && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685d
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 2
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685d
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 2
- write /sys/kernel/config/usb_gadget/g1/UDC ${sys.usb.controller}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on init
- mount configfs none /sys/kernel/config
- mkdir /sys/kernel/config/usb_gadget/g1
- mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409
- mkdir /sys/kernel/config/usb_gadget/g1/configs/b.1
- mkdir /sys/kernel/config/usb_gadget/g1/configs/b.1/strings/0x409
- mkdir /sys/kernel/config/usb_gadget/g1/functions/mtp.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/ptp.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/acm.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/uts.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/dm.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/rndis.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/conn_gadget.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/midi.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/accessory.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/audio_source.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/ncm.0
- mkdir /sys/kernel/config/usb_gadget/g1/functions/ffs.adb 0770 shell shell
- mkdir /dev/usb-ffs 0770 shell shell
- mkdir /dev/usb-ffs/adb 0770 shell shell
- mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
-
-on boot
- write /sys/kernel/config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
- write /sys/kernel/config/usb_gadget/g1/strings/0x409/manufacturer "SAMSUNG"
- write /sys/kernel/config/usb_gadget/g1/strings/0x409/product "SAMSUNG_Android"
- write /sys/kernel/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Conf 1"
- write /sys/kernel/config/usb_gadget/g1/configs/b.1/MaxPower 0x1f4
- symlink /sys/kernel/config/usb_gadget/g1/functions/mtp.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/mtp.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/ptp.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/ptp.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/acm.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/acm.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/uts.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/uts.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/rndis.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/rndis.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/dm.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/dm.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/conn_gadget.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/conn_gadget.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/midi.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/midi.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/accessory.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/accessory.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/audio_source.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/audio_source.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/ncm.0 /sys/kernel/config/usb_gadget/g1/configs/b.1/ncm.0
- symlink /sys/kernel/config/usb_gadget/g1/functions/ffs.adb /sys/kernel/config/usb_gadget/g1/configs/b.1/ffs.adb
- setprop sys.usb.configfs 1
-
-on property:sys.usb.config=mtp
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions mtp,acm
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 0
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions mtp,acm,adb
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 0
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mtp,acm,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,acm,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 0
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6863
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6864
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=ptp
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6865
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ptp,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6866
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,dm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,acm,dm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,acm,dm,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,acm,dm,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,acm,dm,uts
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,acm,dm,uts,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,acm,dm,uts,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=acm,dm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=acm,dm,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=acm,dm,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=acm,dm,uts
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=acm,dm,uts,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=acm,dm,uts,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=dm,acm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=dm,acm,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=dm,acm,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=dm,acm,uts
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=dm,acm,uts,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=dm,acm,uts,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685D
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mass_storage
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685B
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mass_storage,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685e
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mass_storage,acm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685e
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# rndis,acm,diag and diag,acm,adb used for Hidden Menu
-
-on property:sys.usb.config=rndis,diag
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6862
- write /sys/class/android_usb/android0/f_diag/clients diag_mdm
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=diag,acm
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685d
- write /sys/class/android_usb/android0/f_diag/clients diag_mdm
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-
-on property:sys.usb.config=rndis,acm,diag
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6864
- write /sys/class/android_usb/android0/f_diag/clients diag_mdm
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=sec_charging
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions mtp
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=sec_charging,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=sec_charging,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions mtp,adb
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=vzw_charging
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions mtp
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=vzw_charging,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=vzw_charging,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04E8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions mtp,adb
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
- on property:sys.usb.config=mtp,conn_gadget
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 0
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mtp,conn_gadget,adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,conn_gadget,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x6860
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/kernel/config/usb_gadget/g1/bDeviceClass 0
- write /sys/kernel/config/usb_gadget/g1/UDC "13600000.dwc3"
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-# adb only USB configuration For VTS Test
-# This is the fallback configuration if the
-# USB manager fails to set a standard configuration
-on property:sys.usb.config=adb && property:sys.usb.configfs=1
- start adbd
-on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb && property:sys.usb.configfs=1
- write /sys/kernel/config/usb_gadget/g1/idProduct 0x685d
- write /sys/kernel/config/usb_gadget/g1/idVendor 0x04e8
- setprop sys.usb.state ${sys.usb.config}
diff --git a/universal7885-common/rootdir/etc/init.target.rc b/universal7885-common/rootdir/etc/init.target.rc
deleted file mode 100644
index 1eb7597..0000000
--- a/universal7885-common/rootdir/etc/init.target.rc
+++ /dev/null
@@ -1,16 +0,0 @@
-on init
- # Reactivation Lock
- symlink /dev/block/platform/13500000.dwmmc0/by-name/steady /dev/block/steady
-
- # Google FRP solution
- symlink /dev/block/platform/13500000.dwmmc0/by-name/persistent /dev/block/persistent
-
-on boot
- # Permissions for NAD
- symlink /dev/block/platform/13500000.dwmmc0/by-name/nad_refer /dev/block/nad_refer
-
-
-on property:sys.boot_completed=1
- # Restrict permissions to socket file
- # to hide Magisk & co.
- chmod 440 /proc/net/unix
diff --git a/universal7885-common/rootdir/etc/init.udfps.rc b/universal7885-common/rootdir/etc/init.udfps.rc
deleted file mode 100644
index 5c522c7..0000000
--- a/universal7885-common/rootdir/etc/init.udfps.rc
+++ /dev/null
@@ -1,2 +0,0 @@
-on init
- write /sys/class/sec/tsp/cmd "fod_enable,1"
diff --git a/universal7885-common/rootdir/etc/recovery.fstab b/universal7885-common/rootdir/etc/recovery.fstab
deleted file mode 100644
index 3ae8d8f..0000000
--- a/universal7885-common/rootdir/etc/recovery.fstab
+++ /dev/null
@@ -1,12 +0,0 @@
-/dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro,errors=panic wait,recoveryonly
-/dev/block/platform/13500000.dwmmc0/by-name/vendor /vendor ext4 ro,errors=panic wait,recoveryonly
-/dev/block/platform/13500000.dwmmc0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
-/dev/block/platform/13500000.dwmmc0/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,usrquota,grpquota,fsync_mode=nobarrier,reserve_root=32768,resgid=5678 wait,check,forceencrypt=footer,quota,reservedsize=128m,length=-20480
-/dev/block/platform/13500000.dwmmc0/by-name/boot /boot emmc defaults defaults
-/dev/block/platform/13500000.dwmmc0/by-name/recovery /recovery emmc defaults defaults
-/dev/block/platform/13500000.dwmmc0/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
-/dev/block/platform/13500000.dwmmc0/by-name/cpefs /mnt/vendor/cpefs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check,nofail
-/dev/block/platform/13500000.dwmmc0/by-name/misc /misc emmc defaults defaults
-/dev/block/platform/13500000.dwmmc0/by-name/hidden /preload ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic voldmanaged=preload:auto,check
-/devices/platform/13550000.dwmmc2/mmc_host/mmc1* auto vfat defaults voldmanaged=sdcard:auto
-/devices/platform/13600000.usb/13600000.dwc3* auto auto defaults voldmanaged=usb:auto
diff --git a/universal7885-common/rootdir/etc/ueventd.rc b/universal7885-common/rootdir/etc/ueventd.rc
deleted file mode 100644
index cf4b853..0000000
--- a/universal7885-common/rootdir/etc/ueventd.rc
+++ /dev/null
@@ -1,227 +0,0 @@
-/dev/mali0 0666 system system
-/dev/ion 0666 system system
-/dev/ump 0666 system graphics
-/dev/exynos-mem 0660 system graphics
-/dev/video0 0660 system camera
-/dev/video1 0660 system camera
-/dev/video2 0660 system camera
-/dev/video3 0660 system camera
-/dev/video20 0660 system system
-# media0 is used for GSC, DECON, etc
-/dev/media0 0660 system camera
-# media1 is used for DECON Ext WB
-/dev/media1 0660 system graphics
-# Various devices use the v4l-subdev interface
-# We declare all such nodes simultaneously here
-/dev/v4l-subdev0 0660 system camera
-/dev/v4l-subdev1 0660 system camera
-/dev/v4l-subdev2 0660 system camera
-/dev/v4l-subdev3 0660 system camera
-/dev/v4l-subdev4 0660 system camera
-/dev/v4l-subdev5 0660 system camera
-/dev/v4l-subdev6 0660 system camera
-/dev/v4l-subdev7 0660 system camera
-/dev/v4l-subdev8 0660 system camera
-/dev/v4l-subdev9 0660 system camera
-/dev/v4l-subdev10 0660 system camera
-/dev/v4l-subdev11 0660 system camera
-/dev/v4l-subdev12 0660 system camera
-/dev/v4l-subdev13 0660 system camera
-/dev/v4l-subdev14 0660 system camera
-/dev/v4l-subdev15 0660 system camera
-/dev/v4l-subdev16 0660 system camera
-/dev/v4l-subdev17 0660 system camera
-/dev/v4l-subdev18 0660 system camera
-/dev/v4l-subdev19 0660 system camera
-# v4l-subdev20 is used for DECON Ext WB
-/dev/v4l-subdev20 0660 system graphics
-/dev/v4l-subdev21 0660 system graphics
-/dev/v4l-subdev32 0660 system graphics
-
-# gscalers
-/dev/video23 0660 media graphics
-/dev/video26 0660 media graphics
-/dev/video24 0660 media graphics
-/dev/video27 0660 media graphics
-/dev/video29 0660 media graphics
-/dev/video30 0660 media graphics
-# video31 is used for DECON Ext WB
-/dev/video31 0660 media graphics
-# mscalers
-/dev/video50 0660 mediacodec drmrpc
-/dev/m2m1shot_scaler0 0660 mediacodec drmrpc
-/dev/video55 0666 system graphics
-/dev/g2d 0660 system graphics
-/dev/fimg2d 0666 system graphics
-/dev/i2c-2 0660 system system
-/dev/HPD 0660 system system
-# mfc
-/dev/video6 0660 mediacodec mediadrm
-/dev/video7 0660 mediacodec mediadrm
-/dev/video8 0660 mediacodec mediadrm
-/dev/video9 0660 mediacodec mediadrm
-/dev/video10 0660 mediacodec mediadrm
-/dev/video11 0660 mediacodec mediadrm
-# camera
-/dev/video101 0660 cameraserver camera
-/dev/video102 0660 cameraserver camera
-/dev/video103 0660 cameraserver camera
-/dev/video104 0660 cameraserver camera
-/dev/video107 0660 cameraserver camera
-/dev/video109 0660 cameraserver camera
-/dev/video110 0660 cameraserver camera
-/dev/video111 0660 cameraserver camera
-/dev/video112 0660 cameraserver camera
-/dev/video120 0660 cameraserver camera
-/dev/video121 0660 cameraserver camera
-/dev/video122 0660 cameraserver camera
-/dev/video130 0660 cameraserver camera
-/dev/video131 0660 cameraserver camera
-/dev/video132 0660 cameraserver camera
-/dev/video140 0660 cameraserver camera
-/dev/video141 0660 cameraserver camera
-/dev/video142 0660 cameraserver camera
-/dev/video150 0660 cameraserver camera
-/dev/video151 0660 cameraserver camera
-/dev/video152 0660 cameraserver camera
-/dev/video153 0660 cameraserver camera
-/dev/video154 0660 cameraserver camera
-/dev/video155 0660 cameraserver camera
-/dev/video160 0660 cameraserver camera
-/dev/video161 0660 cameraserver camera
-/dev/video170 0660 cameraserver camera
-/dev/video171 0660 cameraserver camera
-/dev/video172 0660 cameraserver camera
-/dev/video173 0660 cameraserver camera
-/dev/video174 0660 cameraserver camera
-/dev/video175 0660 cameraserver camera
-/dev/video180 0660 cameraserver camera
-/dev/video190 0660 cameraserver camera
-/dev/video191 0660 cameraserver camera
-/dev/video192 0660 cameraserver camera
-/dev/video193 0660 cameraserver camera
-/dev/video210 0660 cameraserver camera
-/dev/video211 0660 cameraserver camera
-/dev/video212 0660 cameraserver camera
-/dev/video213 0660 cameraserver camera
-/dev/video214 0660 cameraserver camera
-/dev/video215 0660 cameraserver camera
-/dev/video216 0660 cameraserver camera
-/dev/video217 0660 cameraserver camera
-/dev/video218 0660 cameraserver camera
-/dev/video219 0660 cameraserver camera
-/dev/video220 0660 cameraserver camera
-/dev/video221 0660 cameraserver camera
-/dev/video222 0660 cameraserver camera
-/dev/video223 0660 cameraserver camera
-/dev/video224 0660 cameraserver camera
-/dev/video225 0660 cameraserver camera
-/dev/media2 0660 media media
-/dev/hdcp2 0660 media media
-# jpeg
-/dev/m2m1shot_jpeg 0660 media media
-/dev/video12 0660 cameraserver media
-# audio
-/dev/seiren 0660 system audio
-# Mobicore
-/dev/mobicore 0700 system system
-/dev/mobicore-user 0666 radio system
-
-# Secure MEM driver
-/dev/s5p-smem 0660 system system
-
-#cbd
-/dev/block/mmcblk0p5 0400 radio radio
-/dev/umts_ramdump0 0660 radio radio
-
-# DM tools
-/dev/umts_dm0 0660 radio radio
-/dev/umts_router 0660 radio radio
-/dev/ttyGS0 0660 system system
-/dev/ttyGS1 0660 system system
-
-# Modem Interface
-/dev/block/platform/13500000.dwmmc0/by-name/RADIO 0660 system radio
-/dev/block/platform/13500000.dwmmc0/by-name/radio 0660 system radio
-/dev/block/platform/13500000.dwmmc0/by-name/CP_DEBUG 0660 radio system
-/dev/block/platform/13500000.dwmmc0/by-name/cp_debug 0660 radio system
-/sys/devices/platform/10000.mif_pdata sim/ds_detect 0660 radio system
-/dev/umts* 0660 system radio
-/dev/umts_csd 0660 system loop_radio
-/dev/smd4 0660 system radio
-/dev/ramdump_memshare 0660 system radio
-/dev/umts_ciq* 0660 system bridge_rw
-
-# interactive governor parameters
-/sys/devices/system/cpu/cpu* cpufreq/interactive/timer_rate 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/timer_slack 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/min_sample_time 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/hispeed_freq 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/target_loads 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/go_hispeed_load 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/above_hispeed_delay 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/boost 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/boostpulse 0200 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/input_boost 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/boostpulse_duration 0660 system system
-/sys/devices/system/cpu/cpu* cpufreq/interactive/io_is_busy 0660 system system
-
-# Vision (VPU, SCORE)
-/dev/vertex0 0660 media media
-/dev/vertex1 0660 media media
-
-# SCSC Bluetooth
-/dev/scsc_h4_0 0660 bluetooth bluetooth
-
-# SCSC ANT
-/dev/scsc_ant_0 0660 system system
-
-# SCSC WLAN
-/dev/mx_0_r4_gdb 0660 wifi wifi
-/dev/mx_0_m4_gdb 0660 wifi wifi
-/dev/mx_0_mmap 0660 wifi wifi
-/dev/mx_client_test_0 0660 wifi wifi
-/dev/mx_0_debug_sampler 0660 wifi wifi
-/dev/mx140_usb_clk_test_0 0660 wifi wifi
-/dev/scsc_log_collector_0 0660 wifi wifi
-
-# Google FRP solution # Reactivation Lock solution
-/dev/block/platform/13500000.dwmmc0/by-name/PERSISTENT 0660 system system
-/dev/block/platform/13500000.dwmmc0/by-name/STEADY 0660 system system
-/dev/block/platform/13500000.dwmmc0/by-name/persistent 0660 system system
-/dev/block/platform/13500000.dwmmc0/by-name/steady 0660 system system
-
-# Sensorhub
-/dev/ssp_sensorhub 0660 system system
-/dev/ssp_data_injection 0660 system system
-/dev/iio:device* 0660 system system
-/sys/devices/platform/13980000.spi/spi_master/spi4/spi4.0/iio:device* buffer/enable 0660 system system
-/sys/devices/platform/13980000.spi/spi_master/spi4/spi4.0/iio:device* buffer/length 0660 system system
-/sys/bus/iio/devices/iio:device* 0664 system radio
-
-# TEE
-/dev/tzdev 0666 system system
-/dev/tziwsock 0666 system system
-/dev/ionfd2phys 0660 system system
-/dev/tuihw 0660 system system
-/dev/tzirs 0660 system system
-/dev/nwfsdev 0660 system system
-/dev/tz_shmem_validator 0666 system system
-/dev/tz_wormhole 0666 system system
-
-# Input
-/dev/input/event* 0660 system input
-/sys/devices/virtual/input/input* enable 0660 system input
-/sys/devices/virtual/input/input* poll_delay 0660 system input
-/dev/mobicore 0600 system system
-/dev/tziwsock 0666 system system
-/dev/ionfd2phys 0660 system system
-/dev/umts* 0660 system radio
-/dev/ipc* 0660 system radio
-/dev/umts_csd 0660 system loop_radio
-/dev/smd4 0660 system radio
-/dev/ramdump_memshare 0660 system radio
-
-# dev ril bridge
-/dev/drb 0660 system radio
-/sys/devices/system/cpu/cpu* cpufreq/interactive/boostpulse 0660 system system
diff --git a/universal7885-common/rootdir/etc/wifi_sec.rc b/universal7885-common/rootdir/etc/wifi_sec.rc
deleted file mode 100644
index 878eeab..0000000
--- a/universal7885-common/rootdir/etc/wifi_sec.rc
+++ /dev/null
@@ -1,48 +0,0 @@
-# Wi-Fi init file
-on post-fs-data
- mkdir /data/vendor/conn 0771 wifi wifi
- mkdir /data/vendor/wifi 0771 wifi wifi
- mkdir /data/vendor/wifi/wpa 0770 wifi wifi
- mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
- mkdir /data/vendor/log/wifi 0770 wifi system
-
- # for WIFI TRP/TIS
- chown wifi wifi /data/vendor/conn/.psm.info
- chmod 0640 /data/vendor/conn/.psm.info
-
- # for WIFI Antenna Selection
- chown wifi wifi /data/vendor/conn/.ant.info
- chmod 0640 /data/vendor/conn/.ant.info
-
- # for WIFI Version
- chown wifi wifi /data/vendor/conn/.wifiver.info
- chmod 0644 /data/vendor/conn/.wifiver.info
-
- # for WIFI MEMDUMP
- # The default value of below memdump file is set in SecProductFeature
- #write /data/vendor/conn/.memdump.info 2
- chown wifi wifi /data/vendor/conn/.memdump.info
- chmod 0640 /data/vendor/conn/.memdump.info
-
- # for WIFI hotspot
- chown wifi wifi /data/vendor/conn/.softap.info
- chmod 0644 /data/vendor/conn/.softap.info
- chown system wifi /vendor/etc/wifi/indoorchannel.info
- chmod 0664 /vendor/etc/wifi/indoorchannel.info
-
- # for WIFI MAC
- chown wifi wifi /sys/wifi/mac_addr
- chmod 0640 /sys/wifi/mac_addr
-
-on boot
- setprop wifi.interface wlan0
-
-# start for WiFi MFG (TestMode)
-service macloader /system/vendor/bin/hw/macloader
- class main
- user wifi
- group wifi inet net_raw net_admin
- capabilities NET_ADMIN NET_RAW SYS_MODULE
- oneshot
-
-# end of WiFi MFG (TestMode)
diff --git a/universal7885-common/rro_overlays/WifiOverlay/Android.bp b/universal7885-common/rro_overlays/WifiOverlay/Android.bp
deleted file mode 100644
index f3230a2..0000000
--- a/universal7885-common/rro_overlays/WifiOverlay/Android.bp
+++ /dev/null
@@ -1,6 +0,0 @@
-runtime_resource_overlay {
- name: "WifiOverlay",
- theme: "WifiOverlay",
- sdk_version: "current",
- vendor: true,
-}
diff --git a/universal7885-common/rro_overlays/WifiOverlay/AndroidManifest.xml b/universal7885-common/rro_overlays/WifiOverlay/AndroidManifest.xml
deleted file mode 100644
index db8d338..0000000
--- a/universal7885-common/rro_overlays/WifiOverlay/AndroidManifest.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
diff --git a/universal7885-common/rro_overlays/WifiOverlay/res/values/config.xml b/universal7885-common/rro_overlays/WifiOverlay/res/values/config.xml
deleted file mode 100644
index 029d444..0000000
--- a/universal7885-common/rro_overlays/WifiOverlay/res/values/config.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
- true
-
- 524288,1048576,2097152,262144,524288,1048576
-
- true
-
- 10
-
- true
-
- true
-
- true
-
- EurekaAP
-
diff --git a/universal7885-common/sepolicy/private/hal_samsung_battery_default.te b/universal7885-common/sepolicy/private/hal_samsung_battery_default.te
deleted file mode 100644
index a57953d..0000000
--- a/universal7885-common/sepolicy/private/hal_samsung_battery_default.te
+++ /dev/null
@@ -1,2 +0,0 @@
-r_file_recursive(hal_samsung_battery_default, sysfs_battery)
-rw_file_recursive(hal_samsung_battery_default, sysfs_battery_writable)
diff --git a/universal7885-common/sepolicy/private/hal_samsung_camera_flashlight_default.te b/universal7885-common/sepolicy/private/hal_samsung_camera_flashlight_default.te
deleted file mode 100644
index ac5c7fd..0000000
--- a/universal7885-common/sepolicy/private/hal_samsung_camera_flashlight_default.te
+++ /dev/null
@@ -1,2 +0,0 @@
-allow hal_samsung_camera_flashlight_default sysfs_camera:file rw_file_perms;
-allow hal_samsung_camera_flashlight_default sysfs_camera:dir search;
diff --git a/universal7885-common/sepolicy/private/init.te b/universal7885-common/sepolicy/private/init.te
deleted file mode 100644
index 4acf420..0000000
--- a/universal7885-common/sepolicy/private/init.te
+++ /dev/null
@@ -1 +0,0 @@
-allow init property_type:file { append create getattr map open read relabelto rename setattr unlink write };
diff --git a/universal7885-common/sepolicy/private/storaged.te b/universal7885-common/sepolicy/private/storaged.te
deleted file mode 100644
index 4ef82e9..0000000
--- a/universal7885-common/sepolicy/private/storaged.te
+++ /dev/null
@@ -1 +0,0 @@
-allow storaged debugfs_mmc:file read;
diff --git a/universal7885-common/sepolicy/public/file.te b/universal7885-common/sepolicy/public/file.te
deleted file mode 100644
index 37d8dcd..0000000
--- a/universal7885-common/sepolicy/public/file.te
+++ /dev/null
@@ -1 +0,0 @@
-type sysfs_camera, fs_type, sysfs_type, mlstrustedobject;
diff --git a/universal7885-common/sepolicy/vendor/abox.te b/universal7885-common/sepolicy/vendor/abox.te
deleted file mode 100644
index 41f84e0..0000000
--- a/universal7885-common/sepolicy/vendor/abox.te
+++ /dev/null
@@ -1,7 +0,0 @@
-type abox, domain, mlstrustedsubject;
-type abox_exec, exec_type, file_type, vendor_file_type;
-init_daemon_domain(abox)
-
-allow abox sysfs_abox_writable:file rw_file_perms;
-
-allow abox self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
diff --git a/universal7885-common/sepolicy/vendor/app.te b/universal7885-common/sepolicy/vendor/app.te
deleted file mode 100644
index b510ce2..0000000
--- a/universal7885-common/sepolicy/vendor/app.te
+++ /dev/null
@@ -1 +0,0 @@
-get_prop(appdomain, vendor_camera_prop)
diff --git a/universal7885-common/sepolicy/vendor/bootanim.te b/universal7885-common/sepolicy/vendor/bootanim.te
deleted file mode 100644
index 79257f4..0000000
--- a/universal7885-common/sepolicy/vendor/bootanim.te
+++ /dev/null
@@ -1 +0,0 @@
-get_prop(bootanim, userspace_reboot_exported_prop)
diff --git a/universal7885-common/sepolicy/vendor/cameraserver.te b/universal7885-common/sepolicy/vendor/cameraserver.te
deleted file mode 100644
index cf538e9..0000000
--- a/universal7885-common/sepolicy/vendor/cameraserver.te
+++ /dev/null
@@ -1 +0,0 @@
-get_prop(cameraserver, vendor_camera_prop)
diff --git a/universal7885-common/sepolicy/vendor/device.te b/universal7885-common/sepolicy/vendor/device.te
deleted file mode 100644
index e35c595..0000000
--- a/universal7885-common/sepolicy/vendor/device.te
+++ /dev/null
@@ -1,7 +0,0 @@
-# /dev/m2m1shot_scaler0
-type m2m1shot_device, dev_type;
-# gps
-type gps_device, dev_type;
-
-# /dev/goodix_fp, /dev/egis0
-type drm_device, dev_type;
diff --git a/universal7885-common/sepolicy/vendor/domain.te b/universal7885-common/sepolicy/vendor/domain.te
deleted file mode 100644
index a2d3fc7..0000000
--- a/universal7885-common/sepolicy/vendor/domain.te
+++ /dev/null
@@ -1 +0,0 @@
-dontaudit domain self:capability sys_admin;
diff --git a/universal7885-common/sepolicy/vendor/file.te b/universal7885-common/sepolicy/vendor/file.te
deleted file mode 100644
index 7131b99..0000000
--- a/universal7885-common/sepolicy/vendor/file.te
+++ /dev/null
@@ -1,27 +0,0 @@
-# proc
-type proc_swappiness, fs_type, proc_type;
-
-# data types
-type mediadrm_data_file, file_type, data_file_type;
-type nfc_vendor_data_file, file_type, data_file_type;
-type sensors_data_file, file_type, data_file_type;
-
-# sysfs types
-type sysfs_abox_writable, sysfs_type, rw_fs_type, fs_type;
-type sysfs_input_writable, sysfs_type, rw_fs_type, fs_type;
-type sysfs_camera_writable, sysfs_type, rw_fs_type, fs_type;
-type sysfs_decon, sysfs_type, r_fs_type, fs_type;
-type sysfs_socinfo, sysfs_type, r_fs_type, fs_type;
-type sysfs_v4l_mfc, sysfs_type, r_fs_type, fs_type;
-type sysfs_v4l_smfc, sysfs_type, r_fs_type, fs_type;
-type sysfs_devfreq, sysfs_type, r_fs_type, fs_type;
-type sysfs_v4l_fimc, sysfs_type, r_fs_type, fs_type;
-type sysfs_graphics, fs_type, sysfs_type;
-type sysfs_multipdp, fs_type, sysfs_type, mlstrustedobject;
-type sysfs_fuelgauge, fs_type, sysfs_type, mlstrustedobject;
-type sysfs_charger, fs_type, sysfs_type, mlstrustedobject;
-type sysfs_modem, fs_type, sysfs_type, mlstrustedobject;
-type sysfs_mmc, sysfs_type, rw_fs_type, fs_type;
-type sysfs_ss_writable, sysfs_type, rw_fs_type, fs_type;
-type sysfs_gpu_writable, sysfs_type, rw_fs_type, fs_type;
-type sysfs_battery_saver, sysfs_type, rw_fs_type, fs_type;
diff --git a/universal7885-common/sepolicy/vendor/file_contexts b/universal7885-common/sepolicy/vendor/file_contexts
deleted file mode 100644
index e6ba13c..0000000
--- a/universal7885-common/sepolicy/vendor/file_contexts
+++ /dev/null
@@ -1,62 +0,0 @@
-####################################
-# Devices
-/dev/mali[0-9]* u:object_r:gpu_device:s0
-/dev/umts_ipc0 u:object_r:radio_device:s0
-/dev/fimg2d u:object_r:video_device:s0
-/dev/sec-nfc u:object_r:nfc_device:s0
-/dev/esfp0 u:object_r:fp_sensor_device:s0
-/dev/goodix_fp u:object_r:fp_sensor_device:s0
-/dev/gnss_ipc u:object_r:gps_device:s0
-/dev/scsc_h4_0 u:object_r:bt_device:s0
-/dev/cpuset(/.*)? u:object_r:cgroup:s0
-
-# camera
-/dev/m2m1shot_scaler0 u:object_r:m2m1shot_device:s0
-
-# DRM
-/dev/s5p-smem u:object_r:drm_device:s0
-
-# usb
-/dev/android_ssusbcon(/.*)? u:object_r:usb_device:s0
-/dev/mtp_usb* u:object_r:mtp_device:s0
-/dev/usb(/.*)? u:object_r:usb_device:s0
-
-# adbroot and storaged
-/dev/stune(/.*)? u:object_r:cgroup:s0
-
-# blocks
-/dev/block/zram0 u:object_r:swap_block_device:s0
-
-/dev/block/platform/.+/by-name/(omr|OMR)? u:object_r:omr_block_device:s0
-/dev/block/platform/.+/by-name/(misc|MISC)? u:object_r:misc_block_device:s0
-/dev/block/platform/.+/by-name/(cpefs|CPEFS)? u:object_r:efs_block_device:s0
-/dev/block/platform/.+/by-name/(efs|EFS)? u:object_r:efs_block_device:s0
-/dev/block/platform/.+/by-name/(radio|RADIO)? u:object_r:radio_block_device:s0
-/dev/block/platform/.+/by-name/(cache|CACHE)? u:object_r:cache_block_device:s0
-/dev/block/platform/.+/by-name/(system|SYSTEM)? u:object_r:system_block_device:s0
-/dev/block/platform/.+/by-name/(userdata|USERDATA)? u:object_r:userdata_block_device:s0
-/dev/block/platform/.+/by-name/(persistent|PERSISTENT)? u:object_r:frp_block_device:s0
-/dev/block/platform/.+/by-name/(boot|BOOT)? u:object_r:boot_block_device:s0
-/dev/block/platform/.+/by-name/(recovery|RECOVERY)? u:object_r:recovery_block_device:s0
-
-####################################
-# efs
-/mnt/vendor/cpefs(/.*)? u:object_r:efs_file:s0
-/factory(/.*)? u:object_r:sec_efs_file:s0
-
-####################################
-# data files
-/data/vendor/nfc(/.*)? u:object_r:nfc_vendor_data_file:s0
-/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_data_file:s0
-/data/vendor/yas_lib(/.*)? u:object_r:sensors_data_file:s0
-
-####################################
-### VENDOR
-# Exynos7884'B'
-/(vendor|system/vendor)/lib(64)?/hw/gralloc\.exynos[0-9]*B\.so u:object_r:same_process_hal_file:s0
-
-/(vendor|system/vendor)/bin/main_abox u:object_r:abox_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@[0-9]\.[0-9]-service\.exynos7885 u:object_r:hal_camera_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@[0-9]\.[0-9]-service\.a10 u:object_r:hal_usb_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service_32 u:object_r:hal_sensors_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats-service\.exynos7 u:object_r:hal_power_stats_default_exec:s0
diff --git a/universal7885-common/sepolicy/vendor/fsck.te b/universal7885-common/sepolicy/vendor/fsck.te
deleted file mode 100644
index d0af831..0000000
--- a/universal7885-common/sepolicy/vendor/fsck.te
+++ /dev/null
@@ -1,2 +0,0 @@
-allow fsck efs_block_device:blk_file rw_file_perms;
-allow fsck omr_block_device:blk_file rw_file_perms;
diff --git a/universal7885-common/sepolicy/vendor/genfs_contexts b/universal7885-common/sepolicy/vendor/genfs_contexts
deleted file mode 100644
index 681c01f..0000000
--- a/universal7885-common/sepolicy/vendor/genfs_contexts
+++ /dev/null
@@ -1,114 +0,0 @@
-# PROCFS
-genfscon proc /sys/vm/swappiness u:object_r:proc_swappiness:s0
-
-# device
-genfscon sysfs /devices/virtual/misc/multipdp u:object_r:sysfs_multipdp:s0
-genfscon sysfs /devices/virtual/camera u:object_r:sysfs_camera:s0
-
-genfscon sysfs /devices/platform/gpio_keys/input/ u:object_r:sysfs_input:s0
-genfscon sysfs /devices/platform/flip_cover/input/ u:object_r:sysfs_input:s0
-genfscon sysfs /devices/virtual/input/input1/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input2/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input3/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input4/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input5/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input6/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input7/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input8/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input9/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input10/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input11/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input12/enable u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input1/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input2/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input3/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input4/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input5/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input6/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input7/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input8/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input9/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input10/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input11/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/input/input12/poll_delay u:object_r:sysfs_input_writable:s0
-genfscon sysfs /devices/virtual/sensors/sensor_dev/flush u:object_r:sysfs_input_writable:s0
-
-genfscon sysfs /devices/virtual/sec/hall_ic/ u:object_r:sysfs_sec_key:s0
-genfscon sysfs /devices/platform/10000.mif_pdata/sim/ds_detect u:object_r:sysfs_sim_writable:s0
-
-# A20e RTC
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-5/5-0000/s2mpu08-rtc/rtc u:object_r:sysfs_rtc:s0
-# A20 RTC
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-6/6-0000/s2mpu08-rtc/rtc u:object_r:sysfs_rtc:s0
-# A40 RTC
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-7/7-0000/s2mpu08-rtc/rtc u:object_r:sysfs_rtc:s0
-
-# A20e Display
-genfscon sysfs /devices/platform/13870000.i2c/i2c-11/11-0048/input/ u:object_r:sysfs_touchscreen_writable:s0
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-5/5-0003/input/input11 u:object_r:sysfs_touchscreen_writable:s0
-# A20 & A30 Display
-genfscon sysfs /devices/platform/13870000.i2c/i2c-11/11-0020/input/ u:object_r:sysfs_touchscreen_writable:s0
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-6/6-0003/input/input12 u:object_r:sysfs_touchscreen_writable:s0
-# A30s Display
-genfscon sysfs /devices/platform/13870000.i2c/i2c-11/11-0050/input/ u:object_r:sysfs_touchscreen_writable:s0
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-6/6-0003/input/input13 u:object_r:sysfs_touchscreen_writable:s0
-# A40 Display
-genfscon sysfs /devices/platform/11ce0000.speedy/i2c-7/7-0003/input/input11 u:object_r:sysfs_touchscreen_writable:s0
-genfscon sysfs /devices/platform/13930000.hsi2c/i2c-5/5-0048/input/ u:object_r:sysfs_touchscreen_writable:s0
-
-genfscon sysfs /devices/platform/13500000.dwmmc0/mmc_host/mmc0 u:object_r:sysfs_mmc:s0
-genfscon sysfs /devices/platform/14870000.dsim/backlight/panel u:object_r:sysfs_graphics:s0
-genfscon sysfs /devices/platform/14a50000.abox/service u:object_r:sysfs_abox_writable:s0
-genfscon sysfs /devices/platform/14860000.decon_f u:object_r:sysfs_decon:s0
-genfscon sysfs /devices/platform/14410000.fimc_is_sensor/video4linux u:object_r:sysfs_v4l_fimc:s0
-genfscon sysfs /devices/platform/14430000.fimc_is_sensor/video4linux u:object_r:sysfs_v4l_fimc:s0
-genfscon sysfs /devices/platform/14400000.fimc_is_sensor/video4linux u:object_r:sysfs_v4l_fimc:s0
-genfscon sysfs /devices/platform/14440000.fimc_is/video4linux u:object_r:sysfs_v4l_fimc:s0
-genfscon sysfs /devices/platform/12c30000.mfc0/video4linux u:object_r:sysfs_v4l_mfc:s0
-genfscon sysfs /devices/platform/12c00000.smfc/video4linux u:object_r:sysfs_v4l_smfc:s0
-genfscon sysfs /devices/soc0/soc_id u:object_r:sysfs_socinfo:s0
-genfscon sysfs /devices/soc0/machine u:object_r:sysfs_socinfo:s0
-genfscon sysfs /devices/soc0/revision u:object_r:sysfs_socinfo:s0
-genfscon sysfs /devices/system/chip-id/revision u:object_r:sysfs_ss_writable:s0
-
-# Devfreq
-genfscon sysfs /devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif u:object_r:sysfs_devfreq:s0
-genfscon sysfs /devices/platform/17000020.devfreq_int/devfreq/17000020.devfreq_int u:object_r:sysfs_devfreq:s0
-genfscon sysfs /devices/platform/17000040.devfreq_disp/devfreq/17000040.devfreq_disp u:object_r:sysfs_devfreq:s0
-genfscon sysfs /devices/platform/17000050.devfreq_cam/devfreq/17000050.devfreq_cam u:object_r:sysfs_devfreq:s0
-genfscon sysfs /devices/platform/17000060.devfreq_aud/devfreq/17000060.devfreq_aud u:object_r:sysfs_devfreq:s0
-genfscon sysfs /devices/platform/17000070.devfreq_fsys/devfreq/17000070.devfreq_fsys u:object_r:sysfs_devfreq:s0
-
-# S2MU005 CHARGER (A10)
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-charger/power_supply/s2mu004-charger u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-muic/power_supply/muic-manager u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-charger/power_supply/otg u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu005-charger/power_supply/otg/type u:object_r:sysfs_charger:s0
-
-# S2MU106 CHARGER (A20e)
-genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-powermeter/power_supply/s2mu106_pmeter u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-muic/power_supply/muic-manager u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-charger/power_supply/otg u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-charger/power_supply/s2mu106-charger u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13830000.i2c/i2c-7/7-003c/power_supply/s2mu106-usbpd/type u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13830000.i2c/i2c-7/7-003b/power_supply/s2mu106-fuelgauge/type u:object_r:sysfs_fuelgauge:s0
-
-# S2MU106 CHARGER (A20)
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-powermeter/power_supply/s2mu106_pmeter u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-muic/power_supply/muic-manager u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-charger/power_supply/otg u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-charger/power_supply/s2mu106-charger u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13830000.i2c/i2c-8/8-003c/power_supply/s2mu106-usbpd/type u:object_r:sysfs_charger:s0
-genfscon sysfs /devices/platform/13830000.i2c/i2c-8/8-003b/power_supply/s2mu106-fuelgauge/type u:object_r:sysfs_fuelgauge:s0
-
-genfscon sysfs /module/modem_ctrl_ss310ap/parameters/ds_detect u:object_r:sysfs_modem:s0
-genfscon sysfs /module/scsc_bt/parameters/bluetooth_address u:object_r:sysfs_bt_writable:s0
-genfscon sysfs /kernel/gpu/ u:object_r:sysfs_gpu:s0
-genfscon sysfs /kernel/gpu/gpu_max_clock u:object_r:sysfs_gpu_writable:s0
-genfscon sysfs /kernel/gpu/gpu_min_clock u:object_r:sysfs_gpu_writable:s0
-
-genfscon sysfs /devices/platform/11500000.mali/dma_buf_gpu_mem u:object_r:sysfs_gpu:s0
-genfscon sysfs /devices/platform/11500000.mali/kprcs u:object_r:sysfs_gpu:s0
-genfscon sysfs /devices/platform/11500000.mali/total_gpu_mem u:object_r:sysfs_gpu:s0
-
-genfscon sysfs /module/battery_saver/parameters/enabled u:object_r:sysfs_battery_saver:s0
diff --git a/universal7885-common/sepolicy/vendor/gpsd.te b/universal7885-common/sepolicy/vendor/gpsd.te
deleted file mode 100644
index 2c24116..0000000
--- a/universal7885-common/sepolicy/vendor/gpsd.te
+++ /dev/null
@@ -1,15 +0,0 @@
-allow gpsd sysfs_wake_lock:file rw_file_perms;
-allow gpsd sysfs_socinfo:file r_file_perms;
-
-allow gpsd self:capability net_raw;
-allow gpsd self:capability2 block_suspend;
-
-allow gpsd bt_device:chr_file rw_file_perms;
-allow gpsd gps_device:chr_file rw_file_perms;
-allow gpsd gpsd_exec:file execute_no_trans;
-
-allow gpsd servicemanager:binder call;
-allow gpsd hal_system_suspend_service:service_manager find;
-
-get_prop(gpsd, exported_config_prop)
-get_prop(gpsd, bootanim_system_prop)
diff --git a/universal7885-common/sepolicy/vendor/hal_audio_default.te b/universal7885-common/sepolicy/vendor/hal_audio_default.te
deleted file mode 100644
index c8b16c5..0000000
--- a/universal7885-common/sepolicy/vendor/hal_audio_default.te
+++ /dev/null
@@ -1,16 +0,0 @@
-allow hal_audio_default property_socket:sock_file write;
-allow hal_audio_default rild:unix_stream_socket connectto;
-allow hal_audio_default system_suspend_hwservice:hwservice_manager find;
-
-# /efs/maxim/rdc_cal
-allow hal_audio_default efs_file:file r_file_perms;
-allow hal_audio_default efs_file:dir search;
-
-allow hal_audio_default imei_efs_file:dir search;
-allow hal_audio_default imei_efs_file:file r_file_perms;
-
-get_prop(hal_audio_default, vendor_radio_prop)
-
-allow hal_audio_default init:unix_stream_socket connectto;
-
-allow hal_audio_default efs_file:lnk_file read;
diff --git a/universal7885-common/sepolicy/vendor/hal_camera_default.te b/universal7885-common/sepolicy/vendor/hal_camera_default.te
deleted file mode 100644
index f4f6d08..0000000
--- a/universal7885-common/sepolicy/vendor/hal_camera_default.te
+++ /dev/null
@@ -1,11 +0,0 @@
-allow hal_camera_default hal_graphics_mapper_hwservice:hwservice_manager find;
-allow hal_camera_default hal_graphics_composer_default:fd use;
-
-rw_file_recursive(hal_camera_default, sysfs_camera)
-r_file_recursive(hal_camera_default, sysfs_battery)
-
-get_prop(hal_camera_default, exported_camera_prop)
-set_prop(hal_camera_default, vendor_camera_prop)
-get_prop(hal_camera_default, vendor_factory_prop)
-
-binder_call(hal_camera_default, system_server)
diff --git a/universal7885-common/sepolicy/vendor/hal_drm_widevine.te b/universal7885-common/sepolicy/vendor/hal_drm_widevine.te
deleted file mode 100644
index 52e8774..0000000
--- a/universal7885-common/sepolicy/vendor/hal_drm_widevine.te
+++ /dev/null
@@ -1,12 +0,0 @@
-allow hal_drm_widevine cpk_efs_file:file r_file_perms;
-allow hal_drm_widevine efs_file:dir search;
-allow hal_drm_widevine efs_file:lnk_file r_file_perms;
-
-allow hal_drm_widevine drm_device:chr_file rw_file_perms;
-allow hal_drm_widevine tz_user_device:chr_file rw_file_perms;
-
-allow hal_drm_widevine sec_efs_file:file r_file_perms;
-allow hal_drm_widevine mediadrm_data_file:file create_file_perms;
-allow hal_drm_widevine mediadrm_data_file:dir create_dir_perms;
-
-allow hal_drm_widevine mediacodec:fd use;
diff --git a/universal7885-common/sepolicy/vendor/hal_fingerprint_default.te b/universal7885-common/sepolicy/vendor/hal_fingerprint_default.te
deleted file mode 100644
index 7859223..0000000
--- a/universal7885-common/sepolicy/vendor/hal_fingerprint_default.te
+++ /dev/null
@@ -1,5 +0,0 @@
-typeattribute hal_fingerprint_default data_between_core_and_vendor_violators;
-
-allow hal_fingerprint_default self:netlink_socket { bind create write read };
-allow hal_fingerprint_default uhid_device:chr_file rw_file_perms;
-
diff --git a/universal7885-common/sepolicy/vendor/hal_gatekeeper_default.te b/universal7885-common/sepolicy/vendor/hal_gatekeeper_default.te
deleted file mode 100644
index 904170b..0000000
--- a/universal7885-common/sepolicy/vendor/hal_gatekeeper_default.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow hal_gatekeeper_default efs_file:dir search;
-allow hal_gatekeeper_default efs_file:file rw_file_perms;
-allow hal_gatekeeper_default mnt_vendor_file:dir search;
diff --git a/universal7885-common/sepolicy/vendor/hal_gnss_default.te b/universal7885-common/sepolicy/vendor/hal_gnss_default.te
deleted file mode 100644
index 270129d..0000000
--- a/universal7885-common/sepolicy/vendor/hal_gnss_default.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# Connect to socket
-allow hal_gnss_default gpsd:unix_stream_socket connectto;
-
-add_hwservice(hal_gnss_default, hal_gnss_hwservice)
-allow hal_gnss_default fwk_sensor_service:service_manager find;
diff --git a/universal7885-common/sepolicy/vendor/hal_graphics_composer_default.te b/universal7885-common/sepolicy/vendor/hal_graphics_composer_default.te
deleted file mode 100644
index afc8628..0000000
--- a/universal7885-common/sepolicy/vendor/hal_graphics_composer_default.te
+++ /dev/null
@@ -1,34 +0,0 @@
-hal_client_domain(hal_graphics_composer_default, hal_graphics_allocator)
-
-vndbinder_use(hal_graphics_composer_default)
-
-allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
-
-# cgroup tasks
-allow hal_graphics_composer_default cgroup:file getattr;
-
-# /data/vendor/log/hwc
-allow hal_graphics_composer_default log_vendor_data_file:dir rw_dir_perms;
-allow hal_graphics_composer_default log_vendor_data_file:file create_file_perms;
-
-# /dev/g2d
-allow hal_graphics_composer_default graphics_device:chr_file rw_file_perms;
-
-# /dev/video50
-allow hal_graphics_composer_default video_device:chr_file rw_file_perms;
-
-allow hal_graphics_composer_default sysfs_decon:dir r_dir_perms;
-allow hal_graphics_composer_default sysfs_decon:file r_file_perms;
-
-allow hal_graphics_composer_default sysfs_ss_writable:dir r_dir_perms;
-allow hal_graphics_composer_default sysfs_ss_writable:file r_file_perms;
-
-allow hal_graphics_composer_default sysfs_graphics:dir r_dir_perms;
-allow hal_graphics_composer_default sysfs_graphics:file rw_file_perms;
-
-# /dev/ion/
-allow hal_graphics_composer_default ion_device:chr_file rw_file_perms;
-
-get_prop(hal_graphics_composer_default, vendor_camera_prop)
-set_prop(hal_graphics_composer_default, vendor_hwc_prop)
-get_prop(hal_graphics_composer_default, boot_status_prop)
diff --git a/universal7885-common/sepolicy/vendor/hal_health_default.te b/universal7885-common/sepolicy/vendor/hal_health_default.te
deleted file mode 100644
index 5056059..0000000
--- a/universal7885-common/sepolicy/vendor/hal_health_default.te
+++ /dev/null
@@ -1,5 +0,0 @@
-rw_file_recursive(hal_health_default, sysfs_charger)
-
-allow hal_health_default sysfs_fuelgauge:file r_file_perms;
-allow hal_health_default sysfs_battery:dir r_dir_perms;
-allow hal_health_default sysfs_battery:file r_file_perms;
diff --git a/universal7885-common/sepolicy/vendor/hal_keymaster_default.te b/universal7885-common/sepolicy/vendor/hal_keymaster_default.te
deleted file mode 100644
index d2d6555..0000000
--- a/universal7885-common/sepolicy/vendor/hal_keymaster_default.te
+++ /dev/null
@@ -1 +0,0 @@
-r_file_recursive(hal_keymaster_default, prov_efs_file)
diff --git a/universal7885-common/sepolicy/vendor/hal_light_default.te b/universal7885-common/sepolicy/vendor/hal_light_default.te
deleted file mode 100644
index ae4b15a..0000000
--- a/universal7885-common/sepolicy/vendor/hal_light_default.te
+++ /dev/null
@@ -1 +0,0 @@
-r_file_recursive(hal_light_default, sysfs_graphics)
diff --git a/universal7885-common/sepolicy/vendor/hal_memtrack_default.te b/universal7885-common/sepolicy/vendor/hal_memtrack_default.te
deleted file mode 100644
index 7554c6f..0000000
--- a/universal7885-common/sepolicy/vendor/hal_memtrack_default.te
+++ /dev/null
@@ -1 +0,0 @@
-r_dir_file(hal_memtrack_default, sysfs_gpu)
diff --git a/universal7885-common/sepolicy/vendor/hal_nfc_default.te b/universal7885-common/sepolicy/vendor/hal_nfc_default.te
deleted file mode 100644
index 67bc424..0000000
--- a/universal7885-common/sepolicy/vendor/hal_nfc_default.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow hal_nfc_default nfc_vendor_data_file:dir w_dir_perms;
-allow hal_nfc_default nfc_vendor_data_file:file create_file_perms;
-set_prop(hal_nfc_default, vendor_nfc_prop)
diff --git a/universal7885-common/sepolicy/vendor/hal_power_default.te b/universal7885-common/sepolicy/vendor/hal_power_default.te
deleted file mode 100644
index 496fdb3..0000000
--- a/universal7885-common/sepolicy/vendor/hal_power_default.te
+++ /dev/null
@@ -1,11 +0,0 @@
-allow hal_power_default sysfs_graphics:dir search;
-allow hal_power_default sysfs_graphics:file r_file_perms;
-allow hal_power_default sysfs_input:file r_file_perms;
-allow hal_power_default sysfs_touchscreen_writable:dir r_dir_perms;
-allow hal_power_default sysfs_sec_touchscreen:dir r_dir_perms;
-allow hal_power_default sysfs_sec_touchscreen:file r_file_perms;
-allow hal_power_default sysfs_decon:dir search;
-w_file_recursive(hal_power_default, sysfs_battery_saver)
-
-set_prop(hal_power_default, vendor_powerhal_prop)
-
diff --git a/universal7885-common/sepolicy/vendor/hal_power_stats_default.te b/universal7885-common/sepolicy/vendor/hal_power_stats_default.te
deleted file mode 100644
index 0923167..0000000
--- a/universal7885-common/sepolicy/vendor/hal_power_stats_default.te
+++ /dev/null
@@ -1,2 +0,0 @@
-allow hal_power_stats_default sysfs_devfreq:file r_file_perms;
-allow hal_power_stats_default sysfs_devfreq:dir search;
diff --git a/universal7885-common/sepolicy/vendor/hal_sensors_default.te b/universal7885-common/sepolicy/vendor/hal_sensors_default.te
deleted file mode 100644
index a540256..0000000
--- a/universal7885-common/sepolicy/vendor/hal_sensors_default.te
+++ /dev/null
@@ -1,11 +0,0 @@
-allow hal_sensors_default sysfs_iio:file r_file_perms;
-allow hal_sensors_default sysfs_iio:lnk_file read;
-allow hal_sensors_default sysfs_input:file r_file_perms;
-allow hal_sensors_default sysfs_input_writable:file rw_file_perms;
-allow hal_sensors_default sysfs_input:dir r_dir_perms;
-allow hal_sensors_default sysfs_spi_writeable:file rw_file_perms;
-allow hal_sensors_default efs_file:lnk_file read;
-
-## /data/vendor/yas_lib
-allow hal_sensors_default sensors_data_file:file create_file_perms;
-allow hal_sensors_default sensors_data_file:dir create_dir_perms;
diff --git a/universal7885-common/sepolicy/vendor/hal_wifi_default.te b/universal7885-common/sepolicy/vendor/hal_wifi_default.te
deleted file mode 100644
index ee63286..0000000
--- a/universal7885-common/sepolicy/vendor/hal_wifi_default.te
+++ /dev/null
@@ -1,14 +0,0 @@
-allow hal_wifi_default conn_vendor_data_file:dir rw_dir_perms;
-allow hal_wifi_default conn_vendor_data_file:file create_file_perms;
-allow hal_wifi_default wifi_vendor_data_file:dir search;
-
-get_prop(hal_wifi_default, persist_vendor_debug_wifi_prop)
-
-allow hal_wifi_default efs_file:dir search;
-allow hal_wifi_default wifi_efs_file:dir search;
-allow hal_wifi_default wifi_efs_file:file r_file_perms;
-
-allow hal_wifi_default mnt_vendor_file:dir search;
-
-# vendor.wlan.firmware.
-set_prop(hal_wifi_default, vendor_wifi_prop)
diff --git a/universal7885-common/sepolicy/vendor/hwservice_contexts b/universal7885-common/sepolicy/vendor/hwservice_contexts
deleted file mode 100644
index d49aa7b..0000000
--- a/universal7885-common/sepolicy/vendor/hwservice_contexts
+++ /dev/null
@@ -1,4 +0,0 @@
-vendor.samsung.hardware.gnss::ISehGnss u:object_r:hal_gnss_hwservice:s0
-vendor.samsung.hardware.radio::ISehRadio u:object_r:hal_telephony_hwservice:s0
-vendor.samsung.hardware.radio.bridge::ISehBridge u:object_r:hal_telephony_hwservice:s0
-vendor.samsung.hardware.radio.channel::ISehChannel u:object_r:hal_telephony_hwservice:s0
diff --git a/universal7885-common/sepolicy/vendor/init.te b/universal7885-common/sepolicy/vendor/init.te
deleted file mode 100644
index a9afc9c..0000000
--- a/universal7885-common/sepolicy/vendor/init.te
+++ /dev/null
@@ -1,9 +0,0 @@
-allow init proc_swappiness:file w_file_perms;
-allow init sysfs_battery_writable:file setattr;
-allow init { sec_efs_file efs_file }:dir mounton;
-allow init sysfs_mmc:file w_file_perms;
-allow init socket_device:sock_file create_file_perms;
-
-# dirty_background_bytes, dirty_bytes
-# Better than sperately labeling it?
-allow init proc:file write;
diff --git a/universal7885-common/sepolicy/vendor/kernel.te b/universal7885-common/sepolicy/vendor/kernel.te
deleted file mode 100644
index 3cfc4f1..0000000
--- a/universal7885-common/sepolicy/vendor/kernel.te
+++ /dev/null
@@ -1,8 +0,0 @@
-allow kernel device:chr_file { getattr setattr unlink create };
-allow kernel device:dir create_dir_perms;
-allow kernel self:capability { sys_rawio mknod };
-allow kernel block_device:dir search;
-
-# Hall IC
-allow kernel sysfs_sec_key:dir search;
-allow kernel sysfs_sec_key:file { open read };
diff --git a/universal7885-common/sepolicy/vendor/mediacodec.te b/universal7885-common/sepolicy/vendor/mediacodec.te
deleted file mode 100644
index 6eb16fa..0000000
--- a/universal7885-common/sepolicy/vendor/mediacodec.te
+++ /dev/null
@@ -1,7 +0,0 @@
-# /sys/class/video4linux/video6/name
-allow mediacodec sysfs_v4l_mfc:dir search;
-allow mediacodec sysfs_v4l_mfc:file r_file_perms;
-allow mediacodec m2m1shot_device:chr_file rw_file_perms;
-
-hal_client_domain(mediacodec, hal_power)
-hal_client_domain(mediacodec, hal_omx)
diff --git a/universal7885-common/sepolicy/vendor/mediaserver.te b/universal7885-common/sepolicy/vendor/mediaserver.te
deleted file mode 100644
index 7f99b54..0000000
--- a/universal7885-common/sepolicy/vendor/mediaserver.te
+++ /dev/null
@@ -1 +0,0 @@
-get_prop(mediaserver, exported_camera_prop)
diff --git a/universal7885-common/sepolicy/vendor/netd.te b/universal7885-common/sepolicy/vendor/netd.te
deleted file mode 100644
index d2da5da..0000000
--- a/universal7885-common/sepolicy/vendor/netd.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow netd self:capability sys_module;
-allow netd init:tcp_socket rw_socket_perms_no_ioctl;
-
diff --git a/universal7885-common/sepolicy/vendor/nfc.te b/universal7885-common/sepolicy/vendor/nfc.te
deleted file mode 100644
index 81f1a91..0000000
--- a/universal7885-common/sepolicy/vendor/nfc.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow nfc sec_efs_file:dir search;
-allow nfc nfc_vendor_data_file:dir rw_dir_perms;
-allow nfc nfc_vendor_data_file:file create_file_perms;
diff --git a/universal7885-common/sepolicy/vendor/property.te b/universal7885-common/sepolicy/vendor/property.te
deleted file mode 100644
index bfc6d33..0000000
--- a/universal7885-common/sepolicy/vendor/property.te
+++ /dev/null
@@ -1,5 +0,0 @@
-vendor_internal_prop(persist_rmnet_prop)
-vendor_public_prop(vendor_camera_prop)
-vendor_internal_prop(vendor_factory_prop)
-vendor_internal_prop(vendor_nfc_prop)
-vendor_internal_prop(vendor_powerhal_prop)
diff --git a/universal7885-common/sepolicy/vendor/property_contexts b/universal7885-common/sepolicy/vendor/property_contexts
deleted file mode 100644
index eb335ee..0000000
--- a/universal7885-common/sepolicy/vendor/property_contexts
+++ /dev/null
@@ -1,42 +0,0 @@
-# fastbootd
-ro.fastbootd.available u:object_r:exported_default_prop:s0
-
-# bluetooth
-persist.bluetooth_fw_ver u:object_r:bluetooth_prop:s0
-ro.bluetooth.tty u:object_r:bluetooth_prop:s0
-
-# Data
-persist.rmnet. u:object_r:persist_rmnet_prop:s0
-persist.data. u:object_r:persist_rmnet_prop:s0
-
-# CAMERA
-persist.vendor.sys.camera. u:object_r:vendor_camera_prop:s0
-persist.vendor.camera. u:object_r:vendor_camera_prop:s0
-
-# Charger
-ro.charger.enable_suspend u:object_r:exported_default_prop:s0
-
-# Samsung
-ro.product_ship u:object_r:exported_default_prop:s0
-ro.debug_level u:object_r:exported_default_prop:s0
-ro.hardware.chipname u:object_r:exported_default_prop:s0
-ro.build.PDA u:object_r:exported_default_prop:s0
-
-# NFC
-vendor.nfc.fw. u:object_r:vendor_nfc_prop:s0
-
-# RADIO
-persist.ril. u:object_r:radio_prop:s0
-vendor.gsm. u:object_r:vendor_radio_prop:s0
-persist.radio. u:object_r:radio_prop:s0
-ril.clatd. u:object_r:vendor_radio_prop:s0
-ro.multisim. u:object_r:vendor_radio_prop:s0
-
-# Power
-vendor.powerhal. u:object_r:vendor_powerhal_prop:s0
-
-# FACTORY
-ro.factory.factory_binary u:object_r:vendor_factory_prop:s0
-
-# Wlan
-vendor.wlan. u:object_r:vendor_wifi_prop:s0
diff --git a/universal7885-common/sepolicy/vendor/rild.te b/universal7885-common/sepolicy/vendor/rild.te
deleted file mode 100644
index 80dc4ad..0000000
--- a/universal7885-common/sepolicy/vendor/rild.te
+++ /dev/null
@@ -1,15 +0,0 @@
-allow rild proc_net:file w_file_perms;
-allow rild vendor_data_file:file create_file_perms;
-allow rild bin_nv_data_efs_file:file create_file_perms;
-allow rild imei_efs_file:file w_file_perms;
-allow rild radio_vendor_data_file:file create_file_perms;
-allow rild radio_vendor_data_file:dir rw_dir_perms;
-allow rild hal_audio_default:dir search;
-allow rild hal_audio_default:file r_file_perms;
-allow rild efs_file:lnk_file read;
-dontaudit rild bin_nv_data_efs_file:file ioctl;
-
-# hwservice
-set_prop(rild, radio_prop)
-
-binder_call(rild, hal_radio_default)
diff --git a/universal7885-common/sepolicy/vendor/surfaceflinger.te b/universal7885-common/sepolicy/vendor/surfaceflinger.te
deleted file mode 100644
index 5b6789e..0000000
--- a/universal7885-common/sepolicy/vendor/surfaceflinger.te
+++ /dev/null
@@ -1,4 +0,0 @@
-# Android 13+
-r_dir_file(surfaceflinger, hal_graphics_composer_default)
-
-get_prop(surfaceflinger, vendor_hwc_prop)
diff --git a/universal7885-common/sepolicy/vendor/system_server.te b/universal7885-common/sepolicy/vendor/system_server.te
deleted file mode 100644
index 891807e..0000000
--- a/universal7885-common/sepolicy/vendor/system_server.te
+++ /dev/null
@@ -1,18 +0,0 @@
-# system_server.te
-allow system_server proc_last_kmsg:file r_file_perms;
-# /dev/mali0
-allow system_server gpu_device:chr_file rw_file_perms;
-
-allow system_server frp_block_device:blk_file rw_file_perms;
-
-get_prop(system_server, exported_camera_prop)
-get_prop(system_server, userspace_reboot_config_prop)
-get_prop(system_server, userspace_reboot_exported_prop)
-
-r_file_recursive(system_server, sysfs_sec_switch)
-r_file_recursive(system_server, sysfs_sec_switch_writable)
-
-allow system_server self:capability sys_module;
-allow system_server shell:unix_stream_socket getopt;
-allow system_server cgroup:dir { create setattr };
-allow system_server cgroup:file setattr;
diff --git a/universal7885-common/sepolicy/vendor/ueventd.te b/universal7885-common/sepolicy/vendor/ueventd.te
deleted file mode 100644
index 985c8ec..0000000
--- a/universal7885-common/sepolicy/vendor/ueventd.te
+++ /dev/null
@@ -1 +0,0 @@
-allow ueventd metadata_file:dir search;
diff --git a/universal7885-common/sepolicy/vendor/vendor_init.te b/universal7885-common/sepolicy/vendor/vendor_init.te
deleted file mode 100644
index 717f911..0000000
--- a/universal7885-common/sepolicy/vendor/vendor_init.te
+++ /dev/null
@@ -1,18 +0,0 @@
-typeattribute vendor_init data_between_core_and_vendor_violators;
-
-allow vendor_init proc_swappiness:file w_file_perms;
-allow vendor_init cgroup:file getattr;
-allow vendor_init tmpfs:dir { add_name write };
-
-allow vendor_init wifi_data_file:dir rw_dir_perms;
-allow vendor_init wifi_data_file:dir setattr;
-allow vendor_init wpa_socket:dir getattr;
-
-# mkdir /data/hostapd
-allow vendor_init system_data_file:dir create_dir_perms;
-# mkdir /data/camera/*
-allow vendor_init camera_data_file:dir create_dir_perms;
-set_prop(vendor_init, persist_rmnet_prop)
-get_prop(vendor_init, vendor_radio_prop)
-set_prop(vendor_init, vendor_powerhal_prop)
-allow vendor_init efs_file:lnk_file read;
diff --git a/universal7885-common/sepolicy/vendor/vold.te b/universal7885-common/sepolicy/vendor/vold.te
deleted file mode 100644
index 7cc01ee..0000000
--- a/universal7885-common/sepolicy/vendor/vold.te
+++ /dev/null
@@ -1 +0,0 @@
-allow vold sysfs_mmc:file w_file_perms;
diff --git a/universal7885-common/setup-makefiles.sh b/universal7885-common/setup-makefiles.sh
deleted file mode 100755
index 3a5c213..0000000
--- a/universal7885-common/setup-makefiles.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2017-2020 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set -e
-
-INITIAL_COPYRIGHT_YEAR=2019
-
-# Load extract_utils and do some sanity checks
-MY_DIR="${BASH_SOURCE%/*}"
-if [[ ! -d ${MY_DIR} ]]; then MY_DIR="${PWD}"; fi
-
-LINEAGE_ROOT="${MY_DIR}/../../.."
-
-HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
-if [ ! -f "${HELPER}" ]; then
- echo "Unable to find helper script at ${HELPER}"
- exit 1
-fi
-source "${HELPER}"
-
-# Initialize the helper for common
-setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true
-
-# Copyright headers and guards
-write_headers "universal7885-common"
-
-# The standard common blobs
-write_makefiles "${MY_DIR}/proprietary-files.txt" true
-
-# Finish
-write_footers
-
-if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
- # Reinitialize the helper for device
- INITIAL_COPYRIGHT_YEAR="$DEVICE_BRINGUP_YEAR"
- setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false
-
- # Copyright headers and guards
- write_headers
-
- # The standard device blobs
- write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
-
- # Finish
- write_footers
-fi
diff --git a/universal7885-common/system.prop b/universal7885-common/system.prop
deleted file mode 100644
index e8ce23f..0000000
--- a/universal7885-common/system.prop
+++ /dev/null
@@ -1,21 +0,0 @@
-# ZRAM writeback
-ro.zram.mark_idle_delay_mins=60
-ro.zram.first_wb_delay_mins=360
-ro.zram.periodic_wb_delay_hours=24
-
-# LMKD
-ro.lmk.use_psi=false
-ro.lmk.use_minfree_levels=true
-
-# Binary XML
-persist.sys.binary_xml=false
-
-# Rendering
-debug.renderengine.backend=skiaglthreaded
-renderthread.skia.reduceopstasksplitting=true
-debug.hwui.skia_atrace_enabled=false
-
-# Blur
-ro.sf.blurs_are_expensive=1
-ro.surface_flinger.supports_background_blur=1
-debug.sf.disable_backpressure=1
diff --git a/universal7885-common/universal7885-common.mk b/universal7885-common/universal7885-common.mk
deleted file mode 100644
index de752c1..0000000
--- a/universal7885-common/universal7885-common.mk
+++ /dev/null
@@ -1,415 +0,0 @@
-# Call proprietary blob setup
-ifeq ($(TARGET_LOCAL_ARCH),arm64)
-$(call inherit-product, vendor/samsung/universal7885-common/universal7885-common-vendor.mk)
-endif
-
-# Soong namespaces
-$(call inherit-product, hardware/samsung_slsi-linaro/config/config.mk)
-
-# Client Id base
-PRODUCT_GMS_CLIENTID_BASE := android-samsung
-
-# Evox
-TARGET_SUPPORTS_TOUCHGESTURES := true
-
-# Allow Copying of apks.
-PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
-
-# Disable Postrender Cleanup
-TARGET_DISABLE_POSTRENDER_CLEANUP := true
-
-# For *_auto_generated_rro_vendor.apk
-PRODUCT_ENFORCE_RRO_TARGETS := framework-res SystemUI Bluetooth
-PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS := # leave it empty
-
-PRODUCT_PACKAGES += \
- android.hardware.audio@7.0-impl \
- android.hardware.audio.service \
- android.hardware.audio.effect@7.0-impl \
- libtinycompress \
- audio.r_submix.default \
- audio.usb.default \
- libprocessgroup.vendor
-
-# Audio (BT)
-PRODUCT_PACKAGES += \
- android.hardware.bluetooth.audio-impl \
- audio.bluetooth.default
-
-# Audio Configs
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/audio/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
- frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
- frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
- frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
- frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
- frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
- frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
- $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
- $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
-
-# Bluetooth
-PRODUCT_PACKAGES += \
- android.hardware.bluetooth@1.1-service \
- libbt-vendor
-
-PRODUCT_COPY_FILES += \
- hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf \
- hardware/samsung_slsi/libbt/conf/bt_vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor.conf
-
-# Set the Bluetooth Class of Device
-# Service Field: 0x5A -> 90
-# Bit 17: Networking
-# Bit 19: Capturing
-# Bit 20: Object Transfer
-# Bit 22: Telephony
-# MAJOR_CLASS: 0x02 -> 2 (Phone)
-# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
-PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.device.class_of_device=90,2,12
-
-# Set supported Bluetooth profiles to enabled
-PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.profile.asha.central.enabled=true \
- bluetooth.profile.a2dp.source.enabled=true \
- bluetooth.profile.avrcp.target.enabled=true \
- bluetooth.profile.bap.broadcast.assist.enabled=true \
- bluetooth.profile.bap.unicast.server.enabled=true \
- bluetooth.profile.bas.client.enabled=true \
- bluetooth.profile.csip.set_coordinator.enabled=true \
- bluetooth.profile.gatt.enabled=true \
- bluetooth.profile.hap.client.enabled=true \
- bluetooth.profile.hfp.ag.enabled=true \
- bluetooth.profile.hid.device.enabled=true \
- bluetooth.profile.hid.host.enabled=true \
- bluetooth.profile.map.server.enabled=true \
- bluetooth.profile.mcp.server.enabled=true \
- bluetooth.profile.opp.enabled=true \
- bluetooth.profile.pan.nap.enabled=true \
- bluetooth.profile.pan.panu.enabled=true \
- bluetooth.profile.pbap.server.enabled=true \
- bluetooth.profile.sap.server.enabled=true \
- bluetooth.profile.tbs.server.enabled=true \
- bluetooth.profile.vc.server.enabled=true
-
-# Camera
-TARGET_BOARD_CAMERA_COUNT ?= 3
-ifeq ($(TARGET_BOARD_CAMERA_COUNT), 3)
-PRODUCT_PACKAGES += \
- android.hardware.camera.provider@2.5-service.exynos7885
-else
-PRODUCT_PACKAGES += \
- android.hardware.camera.provider@2.5-service
-endif
-
-PRODUCT_PACKAGES += \
- libGrallocWrapper \
- libacryl \
- libexpat.vendor
-
-# Camera app
-PRODUCT_PACKAGES += \
- Aperture
-
-# Charger
-PRODUCT_PACKAGES += \
- libsuspend
-
-# ConfigStore
-PRODUCT_PACKAGES += \
- disable_configstore
-
-# Debug
-$(call inherit-product, hardware/samsung-ext/interfaces/debug-tools/debug.mk)
-
-# DRM
-PRODUCT_PACKAGES += \
- android.hardware.drm-service.clearkey \
- android.hardware.drm@1.3.vendor
-
-# Fingerprint
-TARGET_BOARD_HAS_FP ?= true
-ifeq ($(TARGET_BOARD_HAS_FP), true)
-PRODUCT_PACKAGES += \
- android.hardware.biometrics.fingerprint-service.samsung
-endif
-
-# Gatekeeper
-PRODUCT_PACKAGES += \
- android.hardware.gatekeeper@1.0-impl \
- android.hardware.gatekeeper@1.0-service
-
-# GPS
-PRODUCT_PACKAGES += \
- android.hardware.gnss@2.1.vendor \
- android.frameworks.sensorservice@1.0.vendor
-
-# Graphics
-PRODUCT_PACKAGES += \
- android.hardware.graphics.allocator@2.0-impl \
- android.hardware.graphics.allocator@2.0-service \
- android.hardware.graphics.mapper@2.0-impl \
- libgui_vendor
-
-PRODUCT_PACKAGES += \
- android.hardware.composer.hwc3-service.slsi \
- gralloc.$(TARGET_SOC) \
- libion_exynos
-
-# Health
-PRODUCT_PACKAGES += \
- android.hardware.health@2.1-impl \
- android.hardware.health@2.1-impl.recovery \
- android.hardware.health@2.1-service
-
-# HIDL
-PRODUCT_PACKAGES += \
- libhidltransport \
- libhidltransport.vendor \
- libhwbinder \
- libhwbinder.vendor \
- libunwindstack.vendor
-
-# Init
-PRODUCT_PACKAGES += \
- fstab.$(TARGET_SOC) \
- fstab.enableswap \
- init.exynos7885.rc \
- init.exynos7885.usb.rc \
- wifi_sec.rc \
- init.target.rc \
- init.baseband.rc
-
-ifeq ($(TARGET_HAS_UDFPS),true)
-PRODUCT_PACKAGES += \
- init.udfps.rc
-endif
-
-# Lights
-PRODUCT_PACKAGES += \
- android.hardware.light-service.samsung
-
-# Keylayout
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/keylayout/Codec3035_Headset_Events.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Codec3035_Headset_Events.kl \
- $(LOCAL_PATH)/configs/keylayout/uinput-sec-fp.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-sec-fp.kl
-
-# Keymaster
-PRODUCT_PACKAGES += \
- android.hardware.keymaster@4.0-service.samsung \
- libkeymaster4_1support.vendor
-
-# Media
-PRODUCT_COPY_FILES += \
- frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml
-
-# Memtrack
-PRODUCT_PACKAGES += \
- android.hardware.memtrack-service.samsung-mali
-
-# NFC
-PRODUCT_PACKAGES += \
- android.hardware.nfc@1.2-service.samsung \
- com.android.nfc_extras \
- libnfc-nci \
- libnfc_nci_jni \
- NfcNci \
- Tag
-
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/nfc/libnfc-sec-vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-sec-vendor.conf
-
-# Overlays
-DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
-# DEVICE_PACAKGE_OVERLAYS += $(LOCAL_PATH)/overlay-rom
-
-ifeq ($(TARGET_LOCAL_ARCH),arm64)
-SYMLINK_SUFFIXES := _symlink32 _symlink64
-else
-SYMLINK_SUFFIXES := _symlink32
-endif
-SYMLINK_LIST := libOpenCL libOpenCL.1 libOpenCL.1.1 vulkan_mali
-
-# Symlink targets
-$(foreach suf, $(SYMLINK_SUFFIXES), $(foreach lib, $(SYMLINK_LIST), \
- $(eval PRODUCT_PACKAGES += $(lib)$(suf))))
-
-# OMX
-PRODUCT_PACKAGES += \
- libstagefrighthw \
- libExynosOMX_Core \
- libExynosOMX_Resourcemanager \
- libOMX.Exynos.AVC.Decoder \
- libOMX.Exynos.AVC.Encoder \
- libOMX.Exynos.HEVC.Decoder \
- libOMX.Exynos.HEVC.Encoder \
- libOMX.Exynos.MPEG4.Decoder \
- libOMX.Exynos.MPEG4.Encoder \
- libOMX.Exynos.VP8.Decoder \
- libOMX.Exynos.VP8.Encoder \
- libOMX.Exynos.VP9.Decoder \
- libOMX.Exynos.WMV.Decoder
-
-# Permissions
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
- frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
- frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
- frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
- frameworks/native/data/etc/android.hardware.camera.ar.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.ar.xml \
- frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml \
- frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
- frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
- frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
- frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
- frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
- frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
- frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_NFC/android.hardware.nfc.hce.xml \
- frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_NFC/android.hardware.nfc.hcef.xml \
- frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_NFC/android.hardware.nfc.uicc.xml \
- frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_NFC/android.hardware.nfc.xml \
- frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
- frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
- frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
- frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
- frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
- frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
- frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
- frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
- frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
- frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
- frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
- frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
- frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
- frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
- frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
- frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
- frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
- frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
- frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
- frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \
- frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
- frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.freeform_window_management.xml \
- frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
- frameworks/native/data/etc/android.software.picture_in_picture.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.picture_in_picture.xml \
- frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
- frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
- frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
-
-# Power
-PRODUCT_PACKAGES += \
- android.hardware.power-service.samsung-libperfmgr
-
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/power/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
-
-# Power Stats impl
-PRODUCT_PACKAGES += \
- android.hardware.power.stats-service.exynos7
-
-# Protobuf
-PRODUCT_PACKAGES += \
- libprotobuf-cpp-full-3.9.1-vendorcompat \
- libprotobuf-cpp-lite-3.9.1-vendorcompat
-
-# Public Libraries
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
-
-# RIL
-PRODUCT_PACKAGES += \
- android.hardware.radio@1.4.vendor \
- android.hardware.radio@1.0 \
- android.hardware.radio.config@1.2.vendor \
- android.hardware.radio.deprecated@1.0.vendor \
- libnetutils.vendor \
- libsqlite.vendor
-
-PRODUCT_PACKAGES += \
- secril_config_svc
-
-# Ueventd
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/rootdir/etc/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
-
-# Screen density
-PRODUCT_AAPT_CONFIG := normal
-PRODUCT_AAPT_PREF_CONFIG := xxhdpi
-
-# DAP
-PRODUCT_PACKAGES += \
- SamsungDAP
-
-# Samsung Ext Flash
-PRODUCT_PACKAGES += \
- FlashControl \
- SmartCharge
-
-PRODUCT_PACKAGES += \
- vendor.lineage.touch@1.0-service.samsung \
- vendor.lineage.touch@1.0-service.ss \
- vendor.lineage.fastcharge@1.0-service.samsung
-
-# Sensors
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-impl.samsung \
- libsensorndkbridge
-
-# Shims
-PRODUCT_PACKAGES += \
- libshim_sensorndkbridge
-
-# Skip Mount
-PRODUCT_PACKAGES += \
- gsi_skip_mount.cfg
-
-# Soong namespaces
-PRODUCT_SOONG_NAMESPACES += \
- $(LOCAL_PATH) \
- hardware/google/interfaces \
- hardware/google/pixel \
- hardware/samsung \
- hardware/samsung/aidl/power-libperfmgr
-
-# Speed profile services and wifi-service to reduce RAM and storage
-PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
-PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
-PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/config/boot-image-profile.txt
-
-# Task profiles
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/tasks/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
-
-# Thermal
-PRODUCT_PACKAGES += \
- android.hardware.thermal@1.0-impl \
- android.hardware.thermal@1.0-service
-
-# Vibrator
-PRODUCT_PACKAGES += \
- android.hardware.vibrator-service.samsung
-
-# Wifi
-PRODUCT_PACKAGES += \
- android.hardware.wifi-service \
- hostapd \
- WifiOverlay \
- wpa_supplicant
-
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
- $(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
- $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
-
-PRODUCT_CFI_INCLUDE_PATHS += hardware/samsung_slsi/scsc_wifibt/wpa_supplicant_lib
-
-# Extra Command-Line Tools
-PRODUCT_PACKAGES += \
- sgdisk \
- strace
-
-# Forcefully add messaging to build list
-PRODUCT_PACKAGES += \
- messaging
diff --git a/universal7885-common/vendor.prop b/universal7885-common/vendor.prop
deleted file mode 100644
index de8b28a..0000000
--- a/universal7885-common/vendor.prop
+++ /dev/null
@@ -1,67 +0,0 @@
-# Use 64-bit dex2oat for better dexopt time.
-dalvik.vm.dex2oat64.enabled=true
-
-### FRP
-## Disable invocation of oem_lock
-# ro.frp.pst=/dev/block/persistent
-
-## OMX
-# Set csc support in OMX
-# If not set or set to 0, OMX will only use BT.601 colorspace.
-ro.vendor.cscsupported=1
-
-## OpenGLES
-ro.opengles.version=196610
-ro.hardware.egl=mali
-ro.hardware.vulkan=mali
-
-## HW Graphics
-debug.egl.hw=0
-debug.sf.hw=0
-
-# LTE, GSM and WCDMA
-ro.telephony.default_network=9,9
-
-## Surfaceflinger
-debug.sf.enable_hwc_vds=0
-debug.sf.enable_advanced_sf_phase_offset=1
-ro.surface_flinger.set_idle_timer_ms=80
-ro.surface_flinger.set_touch_timer_ms=200
-ro.surface_flinger.set_display_power_timer_ms=1000
-ro.surface_flinger.use_content_detection_for_refresh_rate=true
-debug.sf.predict_hwc_composition_strategy=0
-ro.surface_flinger.max_frame_buffer_acquired_buffers=3
-debug.sf.disable_client_composition_cache=1
-
-
-# Display
-persist.sys.sf.color_mode=0
-persist.sys.sf.color_saturation=1.20
-
-## SoC
-ro.soc.manufacturer=samsung
-ro.soc.model=exynos7885
-
-# Wifi direct
-wifi.direct.interface=p2p0
-
-# Camera
-vendor.camera.aux.packagelist=org.lineageos.aperture
-vendor.camera.aux.packageexcludelist=nothing
-
-# Samsung
-ro.product_ship=true
-ro.debug_level=0x494d
-ro.hardware.chipname=exynos7884B
-
-# Audio
-ro.config.vc_call_vol_steps=8
-
-## Vibrator HAL
-ro.vendor.vibrator_hal.click_duration=75
-ro.vendor.vibrator_hal.tick_duration=65
-ro.vendor.vibrator_hal.texture_tick_duration=60
-
-# Fingerprint
-ro.vendor.fingerprint.type?=rear
-ro.vendor.fingerprint.supports_gestures?=true
diff --git a/universal7885-common/vendorsetup.sh b/universal7885-common/vendorsetup.sh
deleted file mode 100755
index 97cb22d..0000000
--- a/universal7885-common/vendorsetup.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-if [ ! -e .repo/local_manifests/eureka_deps.xml ]; then
- git clone https://github.com/eurekadevelopment/local_manifests .repo/local_manifests
- echo "Run repo sync again"
-fi
-
-python3 device/samsung/universal7885-common/generate_product_makefiles.py
diff --git a/a20/vendor.prop b/vendor.prop
similarity index 100%
rename from a20/vendor.prop
rename to vendor.prop