For this example we want to enable HAL3, EIS and fluencepro. And disable backlight keys.

1. Download Magisk Module Template from official repo.

2. Edit module info in module.prop:

id=nixlab-a1-aio-module
name=Nixlab A1 AIO Module
version=v1
versionCode=1
author=nixlab
description=Enable - HAL3, EIS, fluencepro. Disable - backlight keys.
minMagisk=17000

3. Edit module config in config.sh.

for HAL3, EIS and fluencepro set:

# Set to true if you need to load system.prop
PROPFILE=true

for disable backlight keys set:

# Set to true if you need late_start service script
LATESTARTSERVICE=true

4. For enable HAL3, EIS and fluencepro add to common\system.prop:

persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
ro.qc.sdk.audio.fluencetype=fluencepro

5. For disable backlight keys add to common\service.sh:

echo 0 > sys/devices/soc/leds-qpnp-10/leds/button-backlight/max_brightness

Download This Module