No description
  • C++ 69.6%
  • Kotlin 23.6%
  • C 5.5%
  • Makefile 1.3%
Find a file
2025-12-23 16:10:15 +09:00
aidl Flashlight: Handle case for unknown brightness value in getCurrentBrightness 2025-12-23 16:10:15 +09:00
app FlashControl: Re-format with ktfmt 2025-04-27 13:05:28 +09:00
debug-tools Update for Android 16 2025-12-06 22:01:50 +09:00
libextsupport libextsupport: Add waitServiceDefault which polls 2023-12-22 21:09:07 +09:00
libsafestoi libsafestoi: Drop the usage of std::optional 2023-12-02 16:12:56 +09:00
sepolicy aidl: battery: Switch to using JSON config for sysfs paths 2025-04-27 13:01:55 +09:00
README.md fixup! Add README 2024-01-14 18:34:48 +09:00

✔ Hardware Samsung Extra Interfaces

Set of packages for common Samsung devices, and some extras

➡ Subdirectories

Sub directory Description
aidl/battery/default AIDL Smartcharge HAL Implementation, frozen as vendor.samsung_ext.framework.battery-V1
aidl/battery/test_client Client to the AIDL Smartcharge HAL, for testing and debugging
aidl/flashlight/default AIDL Flashlight Brightness Controller HAL Implementation, frozen as vendor.samsung_ext.hardware.camera.flashlight-V1
aidl/flashlight/test_client Client to the AIDL Flashlight Brightness Controller HAL, for testing and debugging
aidl/light_ext/default AIDL Light HAL Implementation with 'Sunlight' mode vendor extension, frozen as vendor.samsung_ext.hardware.light-V1, based on android.hardware.light-service.samsung (BROKEN)
aidl/light_ext/test_client Client to the AIDL Light HAL with vendor extension, for testing and debugging
app/FlashControl Client to the AIDL Flashlight Brightness Controller HAL, actual user frontend app providing the UI for configuring flashlight brightness scale
app/SmartCharge Client to the AIDL Smartcharge HAL, actual user frontend app providing the UI for configuring 'Smartcharge' settings
debug-tools/bootlogger A boot time logger binary used to collect dmesg, logcat logs while system boot, or at system runtime. Supports AVC (Access Vector Control) denial message filtering and even generating allow rules for those denials.
debug-tools/dlopener A little program to try dlopen(3) on a given ELF file. Prints whether dlopening succeeded or failed. installed as 32/64 system/vendor variants.
libextsupport Support headers used by test_clients and AIDL impls
libsafestoi Shared common string to int safe version function. as std::stoi does throw exceptions.
sepolicy SEPolicy rules for executable binaries and apps to function, some parts need to be added to device tree side as well.
touch LineageOS HIDL Touch HAL Implementation for Single tap. Device supports single_tap if /sys/class/sec/tsp/cmd_list contains 'singletap_enable'

Design goals

These are currently used with my device trees, as they are common on Samsung devices which i have device trees on. It will be updated as long as I work on those devices. I won't mind if other persons want to use any of these components on their ROM's