Overview
Blur Closed (blurclosed), developed by Astoritin, is a lightweight, open-source (GPL-3.0) module built to eliminate GPU-intensive real-time Gaussian blur effects across Android’s WindowManager, SurfaceFlinger, and OEM UI layers. On mid-range SoCs or high-refresh-rate displays, rendering multi-pass background blur behind notification shades, app drawers, and dialogs can introduce frame drops and extra GPU power draw.
By disabling window and surface blur at the post-fs-data stage before Zygote initializes, Blur Closed reduces compositor overhead without modifying any system APKs.
Technical Architecture & Property Matrix
Inspecting BlurClosed-1.1.1.zip confirms SHA-256 verified installation (customize.sh), a targeted post-fs-data.sh property patcher, and clean restoration in uninstall.sh:
1. Conditional Property Patching (check_and_resetprop)
Instead of blindly injecting dozens of foreign properties into the kernel property area, post-fs-data.sh defines:
check_and_resetprop() {
local prop_name=$1
local prop_expect_value=$2
local prop_current_value=$(resetprop "$prop_name")
[ -z "$prop_current_value" ] && return 1
[ "$prop_current_value" = "$prop_expect_value" ] && return 0
resetprop -n "$prop_name" "$prop_expect_value"
}
Only properties present on the running firmware whose value differs from the target are updated with resetprop -n.
2. Targeted Blur Properties
- AOSP / SurfaceFlinger / WindowManager:
disableBlurs=1,disableBackgroundBlur=1,enable_blurs_on_windows=0ro.surface_flinger.force_disable_blur=1,ro.surface_flinger.supports_background_blur=0,persist.sys.sf.disable_blurs=1ro.sf.blurs_are_costly=1,ro.sf.blurs_are_expensive=1,ro.launcher.blur.appLaunch=0windowBlurBehindEnabled=false,windowBlurBehindRadius=0
- Generic System / Background Blur:
persist.sys.background_blur_supported=0,persist.sys.background_blur_status_default=0,persist.sys.background_blur_version=0,persist.sys.add_blurnoise_supported=0,persist.sys.enable_third_blur=0,persist.sys.dynamic_blur_enabled=0,persist.perf.wm_static_blur=false,persist.sys.static_blur_mode=true,persist.vendor.sf.blur.type=none,persist.sys.disable_blur_view=true,persist.sys.disable_glass_blur=true,sys.use_frost_effect=0
- OEM UI Frameworks:
- MIUI / HyperOS:
persist.sysui.miui_blur_enabled=0,ro.miui.has_blur=0,ro.miui.has_real_blur=0,ro.miui.backdrop_sampling_enabled=0,persist.miui.ui.optimize_blur=0 - Oplus / OnePlus / Oppo:
persist.sys.oneplus.blur.enabled=0,persist.sys.oplus.ui.blur=0,persist.sys.oppo.blur.enable=0 - Samsung OneUI:
persist.sys.samsung.blur.disable=1 - Meizu Flyme:
persist.meizu.gpu_blur=0
- MIUI / HyperOS:
3. WindowManager Runtime Command
Both customize.sh and post-fs-data.sh execute:
[ "$API" -ge "29" ] && cmd window disable-blur 1 || cmd wm disable-blur 1
During module removal, uninstall.sh resets the WindowManager flag back to 0.
Installation & Verification
- Flash
BlurClosed-1.1.1.zipin Magisk, KernelSU, or APatch. - Reboot your device so
post-fs-data.shruns prior to UI startup. - Verify that key blur properties are disabled via ADB shell:
# Check AOSP/SurfaceFlinger blur properties
getprop ro.surface_flinger.force_disable_blur
getprop persist.sys.sf.disable_blurs
getprop enable_blurs_on_windows
# Inspect WindowManager blur state
dumpsys window | grep -i blur
Frequently Asked Questions
Why does Blur Closed check whether a property already exists before calling resetprop -n?
In post-fs-data.sh, check_and_resetprop() reads the current property via resetprop "$prop_name" and returns early if the string is empty or already matches the target value. This ensures OEM-specific keys (such as MIUI or Samsung flags) are only rewritten on ROMs that actually define them.
Will uninstalling Blur Closed restore normal background blur?
Yes. Because property overrides are applied systemlessly via resetprop at boot and uninstall.sh executes cmd window disable-blur 0 (or cmd wm disable-blur 0 on older SDKs), removing the module in Magisk, KernelSU, or APatch and rebooting restores stock blur behavior.