a20: move a20 files to root

This commit is contained in:
Ivy 2024-10-01 15:05:12 -02:30
commit d1b0e45c17
215 changed files with 0 additions and 8642 deletions

View file

@ -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 |

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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" "$@"

View file

@ -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

View file

@ -1,38 +0,0 @@
<!--
/**
* Copyright (c) 2009, 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -32 V 31.42857142857143 H 32 V 0 H 0 Z @dp</string>
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
</resources>

View file

@ -1,10 +0,0 @@
<resources>
<!-- Height of the status bar in landscape. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_landscape">24.0dip</dimen>
<!-- Height of the status bar in portrait. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_portrait">31.0dip</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">40px</dimen>
</resources>

View file

@ -1,87 +0,0 @@
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">93</item>
<item name="screen.full.display0">313</item>
<item name="bluetooth.active">118</item>
<item name="bluetooth.on">0.98</item>
<item name="wifi.on">0.43</item>
<item name="wifi.active">488</item>
<item name="wifi.scan">502</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">286</item>
<item name="camera.flashlight">124</item>
<item name="camera.avg">662</item>
<item name="gps.on">32</item>
<item name="radio.active">164</item>
<item name="radio.scanning">115</item>
<array name="radio.on">
<value>7.3</value>
<value>7.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>1586000</value>
<value>1482000</value>
<value>1352000</value>
<value>1248000</value>
<value>1144000</value>
<value>1014000</value>
<value>902000</value>
<value>839000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
<value>449000</value>
</array>
<array name="cpu.active.cluster0">
<value>50</value>
<value>43</value>
<value>34</value>
<value>28</value>
<value>24</value>
<value>18</value>
<value>15</value>
<value>13</value>
<value>11</value>
<value>10</value>
<value>7</value>
<value>6</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1768000</value>
<value>1664000</value>
<value>1560000</value>
<value>1352000</value>
<value>1144000</value>
<value>936000</value>
</array>
<array name="cpu.active.cluster1">
<value>162</value>
<value>142</value>
<value>120</value>
<value>87</value>
<value>61</value>
<value>41</value>
</array>
<item name="cpu.idle">3.79</item>
<item name="cpu.awake">23</item>
<item name="battery.capacity">3400</item>
<item name="battery.typical.capacity">3300</item>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">65</item>
<item name="wifi.controller.tx">265</item>
<array name="wifi.controller.tx_levels">
<value>0</value>
</array>
<item name="wifi.controller.voltage">3600</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* 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.
*/
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Samsung Galaxy A10</string>
</resources>

View file

@ -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

View file

@ -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",
],
}

View file

@ -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

View file

@ -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 <android/hardware/sensors/1.0/ISensors.h>
#include <hidl/LegacySupport.h>
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<ISensors>(2);
}

View file

@ -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" "$@"

View file

@ -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,
}

View file

@ -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 <pthread.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <android-base/logging.h>
#include <utils/Errors.h>
#include <utils/StrongPointer.h>
#include "Usb.h"
namespace android {
namespace hardware {
namespace usb {
namespace V1_0 {
namespace implementation {
Return<void> Usb::switchRole(const hidl_string &portName __unused,
const PortRole &newRole __unused) {
LOG(ERROR) << __func__ << ": Not supported";
return Void();
}
Return<void> Usb::queryPortStatus() {
hidl_vec<PortStatus> 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<void> 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<void> Usb::setCallback(const sp<IUsbCallback> &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

View file

@ -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 <android/hardware/usb/1.0/IUsb.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <utils/Log.h>
#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<void> switchRole(const hidl_string &portName,
const PortRole &role) override;
Return<void> setCallback(const sp<IUsbCallback> &callback) override;
Return<void> queryPortStatus() override;
sp<IUsbCallback> 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

View file

@ -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

View file

@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal format="hidl" override="true">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View file

@ -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 <android-base/logging.h>
#include <hidl/HidlTransportSupport.h>
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<IUsb> 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;
}

View file

@ -1,2 +0,0 @@
## Bluetooth
bluetooth.device.default_name=Galaxy A10

View file

@ -1,2 +0,0 @@
# Inherit A10 ARM64 board flags
include device/samsung/a10/BoardConfig.mk

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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" "$@"

View file

@ -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

View file

@ -1,5 +0,0 @@
<resources>
<bool name="config_displayBlanksAfterDoze">true</bool>
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -22.42857142857143 V 30.85714285714286 H 22.42857142857143 V 0 H 0 Z @dp</string>
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
</resources>

View file

@ -1,12 +0,0 @@
<resources>
<dimen name="status_bar_height">31.0dip</dimen>
<dimen name="status_bar_height_portrait">31.0dip</dimen>
<dimen name="status_bar_height_landscape">31.0dip</dimen>
<dimen name="quick_qs_offset_height">48.0dip</dimen>
<dimen name="rounded_corner_radius">0.0dip</dimen>
<dimen name="rounded_corner_radius_adjustment">0.0px</dimen>
<dimen name="rounded_corner_radius_bottom">0.0dip</dimen>
<dimen name="rounded_corner_radius_bottom_adjustment">0.0px</dimen>
<dimen name="rounded_corner_radius_top">29.0dip</dimen>
<dimen name="rounded_corner_radius_top_adjustment">29.0px</dimen>
</resources>

View file

@ -1,86 +0,0 @@
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">93</item>
<item name="screen.full.display0">313</item>
<item name="bluetooth.active">118</item>
<item name="bluetooth.on">0.98</item>
<item name="wifi.on">0.43</item>
<item name="wifi.active">488</item>
<item name="wifi.scan">502</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">286</item>
<item name="camera.flashlight">124</item>
<item name="camera.avg">662</item>
<item name="gps.on">32</item>
<item name="radio.active">164</item>
<item name="radio.scanning">115</item>
<array name="radio.on">
<value>7.3</value>
<value>7.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>1586000</value>
<value>1482000</value>
<value>1352000</value>
<value>1248000</value>
<value>1144000</value>
<value>1014000</value>
<value>902000</value>
<value>839000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
<value>449000</value>
</array>
<array name="cpu.active.cluster0">
<value>50</value>
<value>43</value>
<value>34</value>
<value>28</value>
<value>24</value>
<value>18</value>
<value>15</value>
<value>13</value>
<value>11</value>
<value>10</value>
<value>7</value>
<value>6</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1768000</value>
<value>1664000</value>
<value>1560000</value>
<value>1352000</value>
<value>1144000</value>
<value>936000</value>
</array>
<array name="cpu.active.cluster1">
<value>162</value>
<value>142</value>
<value>120</value>
<value>87</value>
<value>61</value>
<value>41</value>
</array>
<item name="cpu.idle">3.79</item>
<item name="cpu.awake">23</item>
<item name="battery.capacity">2900</item>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">65</item>
<item name="wifi.controller.tx">265</item>
<array name="wifi.controller.tx_levels">
<value>0</value>
</array>
<item name="wifi.controller.voltage">3600</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* 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.
*/
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Samsung Galaxy A20e</string>
</resources>

View file

@ -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

View file

@ -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" "$@"

View file

@ -1,2 +0,0 @@
## Bluetooth
bluetooth.device.default_name=Galaxy A20e

View file

@ -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

View file

@ -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"

View file

@ -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" "$@"

View file

@ -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

View file

@ -1,50 +0,0 @@
<!--
/**
* Copyright (c) 2009, 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp</string>
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
<!-- If supported, are dreams enabled? (by default) -->
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_supportDoubleTapWake">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
For this time after the screen turns on, the Power Manager
will not debounce light sensor readings -->
<integer name="config_lightSensorWarmupTime">200</integer>
<!-- The type of the light sensor to be used by the display framework for things like
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>
<bool name="config_automatic_brightness_available">true</bool>
</resources>

View file

@ -1,10 +0,0 @@
<resources>
<!-- Height of the status bar in landscape. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_landscape">24.0dip</dimen>
<!-- Height of the status bar in portrait. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_portrait">31.0dip</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">40px</dimen>
</resources>

View file

@ -1,87 +0,0 @@
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">93</item>
<item name="screen.full.display0">313</item>
<item name="bluetooth.active">118</item>
<item name="bluetooth.on">0.98</item>
<item name="wifi.on">0.43</item>
<item name="wifi.active">488</item>
<item name="wifi.scan">502</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">286</item>
<item name="camera.flashlight">124</item>
<item name="camera.avg">662</item>
<item name="gps.on">32</item>
<item name="radio.active">164</item>
<item name="radio.scanning">115</item>
<array name="radio.on">
<value>7.3</value>
<value>7.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>1586000</value>
<value>1482000</value>
<value>1352000</value>
<value>1248000</value>
<value>1144000</value>
<value>1014000</value>
<value>902000</value>
<value>839000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
<value>449000</value>
</array>
<array name="cpu.active.cluster0">
<value>50</value>
<value>43</value>
<value>34</value>
<value>28</value>
<value>24</value>
<value>18</value>
<value>15</value>
<value>13</value>
<value>11</value>
<value>10</value>
<value>7</value>
<value>6</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1768000</value>
<value>1664000</value>
<value>1560000</value>
<value>1352000</value>
<value>1144000</value>
<value>936000</value>
</array>
<array name="cpu.active.cluster1">
<value>162</value>
<value>142</value>
<value>120</value>
<value>87</value>
<value>61</value>
<value>41</value>
</array>
<item name="cpu.idle">3.79</item>
<item name="cpu.awake">23</item>
<item name="battery.capacity">4000</item>
<item name="battery.typical.capacity">4000</item>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">65</item>
<item name="wifi.controller.tx">265</item>
<array name="wifi.controller.tx_levels">
<value>0</value>
</array>
<item name="wifi.controller.voltage">3600</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* 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.
*/
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Samsung Galaxy A30</string>
</resources>

View file

@ -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

View file

@ -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" "$@"

View file

@ -1,2 +0,0 @@
## Bluetooth
bluetooth.device.default_name=Galaxy A30

View file

@ -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

View file

@ -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"

View file

@ -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" "$@"

View file

@ -1,7 +0,0 @@
cc_library_static {
name: "libudfps_extension.a30s",
srcs: ["UdfpsExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include"
],
}

View file

@ -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 <compositionengine/UdfpsExtension.h>
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;
}

View file

@ -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

View file

@ -1,49 +0,0 @@
<!--
/**
* Copyright (c) 2009, 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp</string>
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_supportDoubleTapWake">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
For this time after the screen turns on, the Power Manager
will not debounce light sensor readings -->
<integer name="config_lightSensorWarmupTime">200</integer>
<!-- The type of the light sensor to be used by the display framework for things like
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>
<bool name="config_automatic_brightness_available">true</bool>
</resources>

View file

@ -1,7 +0,0 @@
<resources>
<!-- Height of the status bar in portrait. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height">24.0dip</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">40px</dimen>
</resources>

View file

@ -1,87 +0,0 @@
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">93</item>
<item name="screen.full.display0">313</item>
<item name="bluetooth.active">118</item>
<item name="bluetooth.on">0.98</item>
<item name="wifi.on">0.43</item>
<item name="wifi.active">488</item>
<item name="wifi.scan">502</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">286</item>
<item name="camera.flashlight">124</item>
<item name="camera.avg">662</item>
<item name="gps.on">32</item>
<item name="radio.active">164</item>
<item name="radio.scanning">115</item>
<array name="radio.on">
<value>7.3</value>
<value>7.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>1586000</value>
<value>1482000</value>
<value>1352000</value>
<value>1248000</value>
<value>1144000</value>
<value>1014000</value>
<value>902000</value>
<value>839000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
<value>449000</value>
</array>
<array name="cpu.active.cluster0">
<value>50</value>
<value>43</value>
<value>34</value>
<value>28</value>
<value>24</value>
<value>18</value>
<value>15</value>
<value>13</value>
<value>11</value>
<value>10</value>
<value>7</value>
<value>6</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1768000</value>
<value>1664000</value>
<value>1560000</value>
<value>1352000</value>
<value>1144000</value>
<value>936000</value>
</array>
<array name="cpu.active.cluster1">
<value>162</value>
<value>142</value>
<value>120</value>
<value>87</value>
<value>61</value>
<value>41</value>
</array>
<item name="cpu.idle">3.79</item>
<item name="cpu.awake">23</item>
<item name="battery.capacity">4000</item>
<item name="battery.typical.capacity">4000</item>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">65</item>
<item name="wifi.controller.tx">265</item>
<array name="wifi.controller.tx_levels">
<value>0</value>
</array>
<item name="wifi.controller.voltage">3600</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* 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.
*/
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Samsung Galaxy A30s</string>
</resources>

View file

@ -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

View file

@ -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" "$@"

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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" "$@"

View file

@ -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

View file

@ -1,49 +0,0 @@
<!--
/**
* Copyright (c) 2009, 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -67.42857142857143 V 30.85714285714286 H 67.42857142857143 V 0 H 0 Z @dp</string>
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_supportDoubleTapWake">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
For this time after the screen turns on, the Power Manager
will not debounce light sensor readings -->
<integer name="config_lightSensorWarmupTime">200</integer>
<!-- The type of the light sensor to be used by the display framework for things like
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>
<bool name="config_automatic_brightness_available">true</bool>
</resources>

View file

@ -1,10 +0,0 @@
<resources>
<!-- Height of the status bar in landscape. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_landscape">24.0dip</dimen>
<!-- Height of the status bar in portrait. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height">86.0px</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">40px</dimen>
</resources>

View file

@ -1,87 +0,0 @@
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">93</item>
<item name="screen.full.display0">313</item>
<item name="bluetooth.active">118</item>
<item name="bluetooth.on">0.98</item>
<item name="wifi.on">0.43</item>
<item name="wifi.active">488</item>
<item name="wifi.scan">502</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">286</item>
<item name="camera.flashlight">124</item>
<item name="camera.avg">662</item>
<item name="gps.on">32</item>
<item name="radio.active">164</item>
<item name="radio.scanning">115</item>
<array name="radio.on">
<value>7.3</value>
<value>7.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>1586000</value>
<value>1482000</value>
<value>1352000</value>
<value>1248000</value>
<value>1144000</value>
<value>1014000</value>
<value>902000</value>
<value>839000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
<value>449000</value>
</array>
<array name="cpu.active.cluster0">
<value>50</value>
<value>43</value>
<value>34</value>
<value>28</value>
<value>24</value>
<value>18</value>
<value>15</value>
<value>13</value>
<value>11</value>
<value>10</value>
<value>7</value>
<value>6</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1768000</value>
<value>1664000</value>
<value>1560000</value>
<value>1352000</value>
<value>1144000</value>
<value>936000</value>
</array>
<array name="cpu.active.cluster1">
<value>162</value>
<value>142</value>
<value>120</value>
<value>87</value>
<value>61</value>
<value>41</value>
</array>
<item name="cpu.idle">3.79</item>
<item name="cpu.awake">23</item>
<item name="battery.capacity">3100</item>
<item name="battery.typical.capacity">3100</item>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">65</item>
<item name="wifi.controller.tx">265</item>
<array name="wifi.controller.tx_levels">
<value>0</value>
</array>
<item name="wifi.controller.voltage">3600</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* 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.
*/
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Samsung Galaxy A40</string>
</resources>

View file

@ -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

View file

@ -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" "$@"

View file

@ -1,2 +0,0 @@
## Bluetooth
bluetooth.device.default_name=Galaxy A40

0
a20/setup-makefiles.sh → setup-makefiles.sh Executable file → Normal file
View file

View file

@ -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",
}

View file

@ -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

View file

@ -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)

View file

@ -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",
],
}

View file

@ -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 <algorithm>
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++;
}
}
}

View file

@ -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<int> mExtraIDs;
};
#endif // SAMSUNG_CAMERA_PROVIDER_H

View file

@ -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

View file

@ -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 <android/hardware/camera/provider/2.5/ICameraProvider.h>
#include <binder/ProcessState.h>
#include <hidl/HidlLazyUtils.h>
#include <hidl/HidlTransportSupport.h>
#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<ICameraProvider> provider =
new CameraProvider<SamsungCameraProvider>();
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;
}

View file

@ -1,36 +0,0 @@
<audio_effects_conf xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0" version="2.0">
<libraries>
<library name="bundle" path="libbundlewrapper.so"/>
<library name="reverb" path="libreverbwrapper.so"/>
<library name="visualizer" path="libvisualizer.so"/>
<library name="downmix" path="libdownmix.so"/>
<library name="loudness_enhancer" path="libldnhncr.so"/>
<library name="dynamics_processing" path="libdynproc.so"/>
<library name="pre_processing" path="libaudiopreprocessing.so"/>
<library name="dap" path="libswdap.so"/>
</libraries>
<effects>
<effect name="bassboost" library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
<effect name="virtualizer" library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
<effect name="equalizer" library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/>
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
<effect name="reverb_env_aux" library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
<effect name="reverb_env_ins" library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
<effect name="reverb_pre_aux" library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
<effect name="reverb_pre_ins" library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
<effect name="visualizer" library="visualizer" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/>
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
<effect name="agc" library="pre_processing" uuid="aa8130e0-66fc-11e0-bad0-0002a5d5c51b"/>
<effect name="aec" library="pre_processing" uuid="bb392ec0-8d4d-11e0-a896-0002a5d5c51b"/>
<effect name="ns" library="pre_processing" uuid="c06c8400-8e06-11e0-9cb6-0002a5d5c51b"/>
<effect name="dap" library="dap" uuid="6ab06da4-c516-4611-8166-452799218539"/>
</effects>
<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>
</audio_effects_conf>

View file

@ -1,97 +0,0 @@
<audioPolicyConfiguration xmlns:xi="http://www.w3.org/2001/XInclude" version="7.0">
<globalConfiguration speaker_drc_enabled="false"/>
<modules>
<module name="primary" halVersion="3.0">
<attachedDevices>
<item>Earpiece</item>
<item>Speaker</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Voice Call Mic</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary-out" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="fast" role="source" flags="AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="primary-in" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" role="sink" type="AUDIO_DEVICE_OUT_EARPIECE">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</devicePort>
<devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Wired Headset" role="sink" type="AUDIO_DEVICE_OUT_WIRED_HEADSET">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Wired Headphone" role="sink" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Bt Sco" role="sink" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Bt Sco Headset" role="sink" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Bt Sco Car Kit" role="sink" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Aux Device Out" role="sink" type="AUDIO_DEVICE_OUT_AUX_DIGITAL">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="44100 48000 64000 88200 96000 128000 176400 192000" channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_2POINT1 AUDIO_CHANNEL_OUT_QUAD AUDIO_CHANNEL_OUT_PENTA AUDIO_CHANNEL_OUT_5POINT1 AUDIO_CHANNEL_OUT_6POINT1 AUDIO_CHANNEL_OUT_7POINT1"/>
</devicePort>
<!-- Input devices declaration i.e. source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="Bt Sco Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="Aux Device In" type="AUDIO_DEVICE_IN_AUX_DIGITAL" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="Voice Call Mic" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
<devicePort tagName="FM Mic" type="AUDIO_DEVICE_IN_FM_TUNER" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK"/>
</devicePort>
</devicePorts>
<!-- route declaration i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Earpiece" sources="primary-out,fast"/>
<route type="mix" sink="Speaker" sources="primary-out,fast"/>
<route type="mix" sink="Wired Headset" sources="primary-out,fast"/>
<route type="mix" sink="Wired Headphone" sources="primary-out,fast"/>
<route type="mix" sink="Bt Sco" sources="primary-out,fast"/>
<route type="mix" sink="Bt Sco Headset" sources="primary-out,fast"/>
<route type="mix" sink="Bt Sco Car Kit" sources="primary-out,fast"/>
<route type="mix" sink="primary-in" sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,Bt Sco Headset Mic,Aux Device In,Voice Call Mic,FM Mic"/>
</routes>
</module>
<!-- Bluetooth Audio HAL -->
<xi:include href="bluetooth_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_policy_configuration.xml"/>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

View file

@ -1,42 +0,0 @@
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
<module name="bluetooth" halVersion="2.0">
<mixPorts>
<!-- A2DP Audio Ports -->
<mixPort name="a2dp output" role="source"/>
<!-- Hearing AIDs Audio Ports -->
<mixPort name="hearing aid output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="24000 16000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED" samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT" samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- A2DP Audio Ports -->
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink" encodedFormats="AUDIO_FORMAT_LDAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="44100 48000 88200 96000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink" encodedFormats="AUDIO_FORMAT_LDAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="44100 48000 88200 96000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink" encodedFormats="AUDIO_FORMAT_LDAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="44100 48000 88200 96000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<!-- Hearing AIDs Audio Ports -->
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
<!-- BLE Audio Ports -->
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out" sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones" sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker" sources="a2dp output"/>
<route type="mix" sink="BT Hearing Aid Out" sources="hearing aid output"/>
<route type="mix" sink="BLE Headset Out" sources="le audio output"/>
<route type="mix" sink="BLE Speaker Out" sources="le audio output"/>
</routes>
</module>

View file

@ -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

View file

@ -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

View file

@ -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 ##############################

View file

@ -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"
}
]
}

View file

@ -1,4 +0,0 @@
libGLES_mali.so
libOpenCL.so
libOpenCL.so.1
libOpenCL.so.1.1

View file

@ -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"
}
}
]
}
]
}

View file

@ -1,3 +0,0 @@
## RIL
vendor.sec.rild.libpath=/vendor/lib/libsec-ril.so
vendor.sec.rild.libpath2=/vendor/lib/libsec-ril-dsds.so

View file

@ -1,3 +0,0 @@
## RIL
vendor.sec.rild.libpath=/vendor/lib64/libsec-ril.so
vendor.sec.rild.libpath2=/vendor/lib64/libsec-ril-dsds.so

Some files were not shown because too many files have changed in this diff Show more