iKCAL

Magisk KSU APatch

iKCAL is a lightweight systemless post-boot utility developed by @raidenkkj that applies customized display calibration profiles directly to your device's KCAL kernel interface, optimizing screen RGB balance, contrast, saturation, and hue without persistent background services.

Display Calibration & Color Control

Achieve true-to-life color accuracy or vibrant panel output through direct kernel display driver adjustments.

Independent RGB Tuning

Fine-tunes individual Red, Green, and Blue color channels to eliminate screen tinting and achieve precise white point accuracy.

Kernel-Level Integration

Interacts directly with the kernel's KCAL sysfs interface, resulting in hardware-accelerated color rendering without GPU overhead.

Zero Runtime Drain

Executes as a lightweight boot script that writes values once during startup, eliminating continuous CPU background monitoring.

Technical Overview & Sysfs Control

The iKCAL module operates by writing calibrated parameter values to the kernel display controller path (typically /sys/devices/platform/kcal_ctrl.0/). When the device boots, the module automatically activates the KCAL controller and applies preconfigured values for color multiplier, saturation intensity, contrast ratio, and screen value.

Because values are written natively at the kernel driver boundary, all color calibration is rendered consistently across all applications, overlays, and system UI components.

# Standard KCAL Driver sysfs Path & Initialization
KCAL_PATH="/sys/devices/platform/kcal_ctrl.0"
echo 1 > "$KCAL_PATH/kcal_enable"
echo "256 256 256" > "$KCAL_PATH/kcal"
echo 260 > "$KCAL_PATH/kcal_sat"

Module Info

  • Version v1.0.0
  • Module By
    raidenkkj
  • Source Code View Repository
  • Tags
    #iKCAL #KCAL #Display #Color Calibration #Screen #sysfs #Magisk Module #KernelSU #APatch #Systemless
  • Requirement
    Magisk KernelSU APatch
  • Latest Update