s5e8825-common: Add missing EPIC daemon stuff

Previously we only imported the HAL itself, without the daemon and its configs.

Signed-off-by: Flopster101 <nahuelgomez329@gmail.com>
This commit is contained in:
Flopster101
2025-09-02 03:56:46 -03:00
parent 624e03fdf3
commit b373c561bd
8 changed files with 531 additions and 0 deletions

View File

@@ -2089,6 +2089,30 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libems_service",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libems_service.so",
],
shared_libs: [
"libc",
"libm",
"libdl",
"liblog",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libengmode_client",
owner: "samsung",
@@ -2117,6 +2141,30 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libexynos_migov",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libexynos_migov.so",
],
shared_libs: [
"libc",
"libm",
"libdl",
"liblog",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libgf_in_system_lib",
owner: "samsung",
@@ -2142,6 +2190,30 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libgmc",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libgmc.so",
],
shared_libs: [
"libc",
"libm",
"libdl",
"liblog",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libhwjsqz",
owner: "samsung",
@@ -2913,6 +2985,30 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "epic",
owner: "samsung",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/epic",
],
shared_libs: [
"libc",
"libm",
"libdl",
"liblog",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.drm@1.4-service.widevine",
owner: "samsung",

BIN
proprietary/vendor/bin/epic vendored Executable file

Binary file not shown.

23
proprietary/vendor/etc/ems.json vendored Normal file
View File

@@ -0,0 +1,23 @@
{
"requesters" : [
{
"name" : "change@/devices/platform/ems",
"requests" : [
{
"name" : "SYSBUSY",
"handle" : "sysbusy",
"paths" : [
"/sys/class/devfreq/17000010.devfreq_mif/interactive/current_mode"
]
},
{
"name" : "NOTI_MODE",
"handle" : "mode",
"paths" :[
"/sys/kernel/ems/emstune/req_mode"
]
}
]
}
]
}

View File

@@ -0,0 +1,406 @@
{
"camera_mode" : [
{
"main" : 5,
"sub" : 0,
"param" : [
"0,5,0,1 0",
"0,5,0,3 0",
"0,5,0,8 0",
"1,5,0,0,0 100",
"1,5,0,6,0 100",
"1,5,0,0,1 100",
"1,5,0,6,1 100",
"1,5,0,0,2 100",
"1,5,0,6,2 100",
"1,5,0,0,3 100",
"1,5,0,6,3 100",
"1,5,0,0,4 100",
"1,5,0,6,4 100",
"1,5,0,0,5 100",
"1,5,0,6,5 100",
"1,5,0,0,6 100",
"1,5,0,6,6 100",
"1,5,0,0,7 100",
"1,5,0,6,7 100",
"1,5,0,0,8 100",
"1,5,0,6,8 100",
"2,5,0,0,0 100",
"2,5,0,6,0 100",
"2,5,0,0,1 100",
"2,5,0,6,1 100",
"2,5,0,0,2 100",
"2,5,0,6,2 100",
"2,5,0,0,3 100",
"2,5,0,6,3 100",
"2,5,0,0,4 100",
"2,5,0,6,4 100",
"2,5,0,0,5 100",
"2,5,0,6,5 100",
"2,5,0,0,6 100",
"2,5,0,6,6 100",
"2,5,0,0,7 100",
"2,5,0,6,7 100",
"2,5,0,0,8 100",
"2,5,0,6,8 100",
"3,5,0,0,0 0",
"3,5,0,6,0 0",
"3,5,0,0,1 0",
"3,5,0,6,1 0",
"3,5,0,0,2 0",
"3,5,0,6,2 0",
"3,5,0,0,3 0",
"3,5,0,6,3 0",
"3,5,0,0,4 0",
"3,5,0,6,4 0",
"3,5,0,0,5 0",
"3,5,0,6,5 0",
"3,5,0,0,6 0",
"3,5,0,6,6 0",
"3,5,0,0,7 0",
"3,5,0,6,7 0",
"3,5,0,0,8 0",
"3,5,0,6,8 0",
"6,5,0,0 25",
"6,5,0,6 25",
"21,5,0,3 0xFF",
"25,5,0 20"
]
},
{
"main" : 5,
"sub" : 1,
"param" : [
"0,5,0,1 4",
"0,5,0,3 4",
"0,5,0,8 4",
"1,5,0,0,0 100",
"1,5,0,6,0 100",
"1,5,0,0,1 100",
"1,5,0,6,1 100",
"1,5,0,0,2 100",
"1,5,0,6,2 100",
"1,5,0,0,3 100",
"1,5,0,6,3 100",
"1,5,0,0,4 100",
"1,5,0,6,4 100",
"1,5,0,0,5 100",
"1,5,0,6,5 100",
"1,5,0,0,6 100",
"1,5,0,6,6 100",
"1,5,0,0,7 100",
"1,5,0,6,7 100",
"1,5,0,0,8 100",
"1,5,0,6,8 100",
"2,5,0,0,0 200",
"2,5,0,6,0 200",
"2,5,0,0,1 200",
"2,5,0,6,1 200",
"2,5,0,0,2 200",
"2,5,0,6,2 200",
"2,5,0,0,3 200",
"2,5,0,6,3 200",
"2,5,0,0,4 200",
"2,5,0,6,4 200",
"2,5,0,0,5 200",
"2,5,0,6,5 200",
"2,5,0,0,6 200",
"2,5,0,6,6 200",
"2,5,0,0,7 200",
"2,5,0,6,7 200",
"2,5,0,0,8 200",
"2,5,0,6,8 200",
"3,5,0,0,0 0",
"3,5,0,6,0 0",
"3,5,0,0,1 0",
"3,5,0,6,1 0",
"3,5,0,0,2 0",
"3,5,0,6,2 0",
"3,5,0,0,3 0",
"3,5,0,6,3 0",
"3,5,0,0,4 0",
"3,5,0,6,4 0",
"3,5,0,0,5 0",
"3,5,0,6,5 0",
"3,5,0,0,6 0",
"3,5,0,6,6 0",
"3,5,0,0,7 0",
"3,5,0,6,7 0",
"3,5,0,0,8 0",
"3,5,0,6,8 0",
"6,5,0,0 5",
"6,5,0,6 25",
"21,5,0,3 0xFF",
"25,5,0 10"
]
},
{
"main" : 5,
"sub" : 2,
"param" : [
"0,5,0,1 4",
"0,5,0,3 4",
"0,5,0,8 4",
"1,5,0,0,0 100",
"1,5,0,6,0 100",
"1,5,0,0,1 100",
"1,5,0,6,1 100",
"1,5,0,0,2 100",
"1,5,0,6,2 100",
"1,5,0,0,3 100",
"1,5,0,6,3 100",
"1,5,0,0,4 100",
"1,5,0,6,4 100",
"1,5,0,0,5 100",
"1,5,0,6,5 100",
"1,5,0,0,6 100",
"1,5,0,6,6 100",
"1,5,0,0,7 100",
"1,5,0,6,7 100",
"1,5,0,0,8 100",
"1,5,0,6,8 100",
"2,5,0,0,0 100",
"2,5,0,6,0 100",
"2,5,0,0,1 100",
"2,5,0,6,1 100",
"2,5,0,0,2 100",
"2,5,0,6,2 100",
"2,5,0,0,3 100",
"2,5,0,6,3 100",
"2,5,0,0,4 100",
"2,5,0,6,4 100",
"2,5,0,0,5 100",
"2,5,0,6,5 100",
"2,5,0,0,6 100",
"2,5,0,6,6 100",
"2,5,0,0,7 100",
"2,5,0,6,7 100",
"2,5,0,0,8 100",
"2,5,0,6,8 100",
"3,5,0,0,0 0",
"3,5,0,6,0 0",
"3,5,0,0,1 0",
"3,5,0,6,1 0",
"3,5,0,0,2 0",
"3,5,0,6,2 0",
"3,5,0,0,3 0",
"3,5,0,6,3 0",
"3,5,0,0,4 0",
"3,5,0,6,4 0",
"3,5,0,0,5 0",
"3,5,0,6,5 0",
"3,5,0,0,6 0",
"3,5,0,6,6 0",
"3,5,0,0,7 0",
"3,5,0,6,7 0",
"3,5,0,0,8 0",
"3,5,0,6,8 0",
"6,5,0,0 5",
"6,5,0,6 25",
"21,5,0,3 0xFF",
"25,5,0 10"
]
},
{
"main" : 5,
"sub" : 3,
"param" : [
"0,5,0,1 5",
"0,5,0,3 5",
"0,5,0,8 5",
"1,5,0,0,0 400",
"1,5,0,6,0 400",
"1,5,0,0,1 400",
"1,5,0,6,1 400",
"1,5,0,0,2 400",
"1,5,0,6,2 400",
"1,5,0,0,3 400",
"1,5,0,6,3 400",
"1,5,0,0,4 400",
"1,5,0,6,4 400",
"1,5,0,0,5 400",
"1,5,0,6,5 400",
"1,5,0,0,6 400",
"1,5,0,6,6 400",
"1,5,0,0,7 400",
"1,5,0,6,7 400",
"1,5,0,0,8 400",
"1,5,0,6,8 400",
"2,5,0,0,0 800",
"2,5,0,6,0 800",
"2,5,0,0,1 800",
"2,5,0,6,1 800",
"2,5,0,0,2 800",
"2,5,0,6,2 800",
"2,5,0,0,3 800",
"2,5,0,6,3 800",
"2,5,0,0,4 800",
"2,5,0,6,4 800",
"2,5,0,0,5 800",
"2,5,0,6,5 800",
"2,5,0,0,6 800",
"2,5,0,6,6 800",
"2,5,0,0,7 800",
"2,5,0,6,7 800",
"2,5,0,0,8 800",
"2,5,0,6,8 800",
"3,5,0,0,0 5",
"3,5,0,6,0 5",
"3,5,0,0,1 5",
"3,5,0,6,1 5",
"3,5,0,0,2 5",
"3,5,0,6,2 5",
"3,5,0,0,3 5",
"3,5,0,6,3 5",
"3,5,0,0,4 5",
"3,5,0,6,4 5",
"3,5,0,0,5 5",
"3,5,0,6,5 5",
"3,5,0,0,6 5",
"3,5,0,6,6 5",
"3,5,0,0,7 5",
"3,5,0,6,7 5",
"3,5,0,0,8 5",
"3,5,0,6,8 5",
"6,5,0,0 5",
"6,5,0,6 25",
"21,5,0,3 0xFF",
"25,5,0 10"
]
},
{
"main" : 5,
"sub" : 4,
"param" : [
"0,5,0,1 5",
"0,5,0,3 5",
"0,5,0,8 5",
"1,5,0,0,0 400",
"1,5,0,6,0 400",
"1,5,0,0,1 400",
"1,5,0,6,1 400",
"1,5,0,0,2 400",
"1,5,0,6,2 400",
"1,5,0,0,3 400",
"1,5,0,6,3 400",
"1,5,0,0,4 400",
"1,5,0,6,4 400",
"1,5,0,0,5 400",
"1,5,0,6,5 400",
"1,5,0,0,6 400",
"1,5,0,6,6 400",
"1,5,0,0,7 400",
"1,5,0,6,7 400",
"1,5,0,0,8 400",
"1,5,0,6,8 400",
"2,5,0,0,0 800",
"2,5,0,6,0 800",
"2,5,0,0,1 800",
"2,5,0,6,1 800",
"2,5,0,0,2 800",
"2,5,0,6,2 800",
"2,5,0,0,3 800",
"2,5,0,6,3 800",
"2,5,0,0,4 800",
"2,5,0,6,4 800",
"2,5,0,0,5 800",
"2,5,0,6,5 800",
"2,5,0,0,6 800",
"2,5,0,6,6 800",
"2,5,0,0,7 800",
"2,5,0,6,7 800",
"2,5,0,0,8 800",
"2,5,0,6,8 800",
"3,5,0,0,0 5",
"3,5,0,6,0 5",
"3,5,0,0,1 5",
"3,5,0,6,1 5",
"3,5,0,0,2 5",
"3,5,0,6,2 5",
"3,5,0,0,3 5",
"3,5,0,6,3 5",
"3,5,0,0,4 5",
"3,5,0,6,4 5",
"3,5,0,0,5 5",
"3,5,0,6,5 5",
"3,5,0,0,6 5",
"3,5,0,6,6 5",
"3,5,0,0,7 5",
"3,5,0,6,7 5",
"3,5,0,0,8 5",
"3,5,0,6,8 5",
"6,5,0,0 5",
"6,5,0,6 25",
"21,5,0,3 0xC0",
"25,5,0 10"
]
},
{
"main" : 5,
"sub" : 5,
"param" : [
"0,5,2,1 5",
"0,5,2,3 5",
"0,5,2,8 5",
"1,5,2,0,0 400",
"1,5,2,6,0 400",
"1,5,2,0,1 400",
"1,5,2,6,1 400",
"1,5,2,0,2 400",
"1,5,2,6,2 400",
"1,5,2,0,3 400",
"1,5,2,6,3 400",
"1,5,2,0,4 400",
"1,5,2,6,4 400",
"1,5,2,0,5 400",
"1,5,2,6,5 400",
"1,5,2,0,6 400",
"1,5,2,6,6 400",
"1,5,2,0,7 400",
"1,5,2,6,7 400",
"1,5,2,0,8 400",
"1,5,2,6,8 400",
"2,5,2,0,0 800",
"2,5,2,6,0 800",
"2,5,2,0,1 800",
"2,5,2,6,1 800",
"2,5,2,0,2 800",
"2,5,2,6,2 800",
"2,5,2,0,3 800",
"2,5,2,6,3 800",
"2,5,2,0,4 800",
"2,5,2,6,4 800",
"2,5,2,0,5 800",
"2,5,2,6,5 800",
"2,5,2,0,6 800",
"2,5,2,6,6 800",
"2,5,2,0,7 800",
"2,5,2,6,7 800",
"2,5,2,0,8 800",
"2,5,2,6,8 800",
"3,5,2,0,0 5",
"3,5,2,6,0 5",
"3,5,2,0,1 5",
"3,5,2,6,1 5",
"3,5,2,0,2 5",
"3,5,2,6,2 5",
"3,5,2,0,3 5",
"3,5,2,6,3 5",
"3,5,2,0,4 5",
"3,5,2,6,4 5",
"3,5,2,0,5 5",
"3,5,2,6,5 5",
"3,5,2,0,6 5",
"3,5,2,6,6 5",
"3,5,2,0,7 5",
"3,5,2,6,7 5",
"3,5,2,0,8 5",
"3,5,2,6,8 5",
"6,5,2,0 5",
"6,5,2,6 25",
"21,5,2,3 0xC0",
"25,5,2 10"
]
}
]
}

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libgmc.so vendored Normal file

Binary file not shown.

View File

@@ -11,6 +11,8 @@ PRODUCT_COPY_FILES += \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/SoundBoosterParam.txt:$(TARGET_COPY_OUT_VENDOR)/etc/SoundBoosterParam.txt \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/btcon.json:$(TARGET_COPY_OUT_VENDOR)/etc/btcon.json \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/ems.json:$(TARGET_COPY_OUT_VENDOR)/etc/ems.json \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/ems_parameter.json:$(TARGET_COPY_OUT_VENDOR)/etc/ems_parameter.json \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/epic.json:$(TARGET_COPY_OUT_VENDOR)/etc/epic.json \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/gnss/ca.pem:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/ca.pem \
vendor/samsung/s5e8825-common/proprietary/vendor/etc/gnss/gps.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cfg \
@@ -99,8 +101,11 @@ PRODUCT_PACKAGES += \
libc++_shared \
libcrypto-tm \
libegis_fp_normal_sensor_test \
libems_service \
libengmode_client \
libexynos_migov \
libgf_in_system_lib \
libgmc \
libhwjsqz \
libqfp_sensortest \
libril_sem \
@@ -131,6 +136,7 @@ PRODUCT_PACKAGES += \
vendor.samsung.hardware.radio_manifest_2_33.xml \
vendor.samsung.hardware.sehradio_manifest_2_33.xml \
cass \
epic \
android.hardware.drm@1.4-service.widevine \
gps \
gpsd \