Initial commit

This commit is contained in:
2026-05-08 11:45:15 +02:00
commit e5471b5fa0
120 changed files with 8938 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# CamSwapper HAL Hook - System Properties
# Loaded automatically by Magisk/KernelSU at boot.
# These properties persist across reboots.
# LD_PRELOAD injection into camera provider process
# The wrap. property causes Zygote to preload our hook library
# when spawning the camera provider service process.
wrap.android.hardware.camera.provider@2.7-service-google=LD_PRELOAD=/data/adb/modules/camera-hook/libcamera_hook.so
# Pixel devices load HAL in-process via cameraserver
wrap.cameraserver=LD_PRELOAD=/data/local/camera_magic/libcamera_hook.so
# Virtual camera enable/disable (read by HAL hook at runtime)
# 0 = passthrough (real camera), 1 = virtual camera active
persist.camera_magic.virtual_camera=0
# Video source mode: file or rtsp
persist.camera_magic.source_mode=file
# Video file path (used when source_mode=file)
persist.camera_magic.video_path=/data/local/camera_magic/video.mp4
# RTSP URL (used when source_mode=rtsp)
persist.camera_magic.rtsp_url=