Lightweight, device-agnostic KernelSU / Magisk / APatch module that sanitizes custom-ROM / debug build properties before zygote starts and hides legacy LineageOS service lookups via sepolicy.rule.
- Pre-Zygote Property Sanitization (
post-fs-data.sh&service.sh):- Deletes
ro.modversion,ro.lineage.version, and any property whose name containslineage. - Strips
lineageos_/lineage_prefixes and replacesuserdebug->useranddev-keys/test-keys->release-keysacross property values usingresetprop -n. - Replaces
eng.*values inro.bootimage.build.version.incrementalwithro.build.version.incremental.
- Deletes
- SELinux Audit & Legacy Service Hiding (
sepolicy.rule):- Silences
dontauditnoise and deniesuntrusted_app_all/isolated_applookups forlineage_*_serviceinservicemanager.
- Silences
(Device-specific vbmeta spoofing is separated into vbmeta-sync, and device hardware tweaks into m5-system-tweaks.)
- Download
hide_lineage_props.zipfrom Releases. - Flash in KernelSU / BakaSU / Magisk / APatch and reboot.
- Generic across Android 11–14 custom ROMs (LineageOS,
-userdebug/test-keysAOSP builds, custom boot ramdisks).