0% found this document useful (0 votes)
861 views2 pages

Setprop Commands

The document outlines various debugging and performance optimization settings for graphics configuration, including properties for GPU, CPU, and memory management. It details adjustments for rendering, anti-aliasing, system settings, and location services. The settings aim to enhance performance and debugging capabilities in a graphical environment.

Uploaded by

ihkhhcuff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
861 views2 pages

Setprop Commands

The document outlines various debugging and performance optimization settings for graphics configuration, including properties for GPU, CPU, and memory management. It details adjustments for rendering, anti-aliasing, system settings, and location services. The settings aim to enhance performance and debugging capabilities in a graphical environment.

Uploaded by

ihkhhcuff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

# https://magiskmodule.gitlab.

io/dailyupdate/brevent/

# Debugging Graphics Configuration


setprop debug.graphics.maptrack true # Enable map tracking for
debugging
setprop debug.sf.swaprect 1 # Enable Swap Rect optimization
setprop debug.enable.assert 0 # Disable assertions for better
performance
setprop debug.profile.hwui true # Enable profiling for HWUI
setprop debug.hwui.profile.maxframes 120 # Set max frame limit for HWUI
profiling
setprop debug.hwc.force_gpu 1 # Force GPU usage for hardware
composition
setprop debug.hwc.force_cpu 1 # Force CPU usage for hardware
composition
setprop debug.malloc 1 # Enable malloc debugging
setprop debug.sf.disable_hwc_vds 1 # Disable HWC virtual display
support
setprop debug.use_backpressure 1 # Enable backpressure
management
setprop debug.gpu.scheduler_pre.emption 1 # Enable GPU pre-emption
scheduling

# Priority Settings
setprop debug.ioprio 7 # Set IO priority to 7
(highest)
setprop debug.cpuprio 7 # Set CPU priority to 7
setprop debug.gpuprio 7 # Set GPU priority to 7

# HWUI Performance Settings


setprop debug.hwui.target_power_time_percent 100 # Maximize power time usage
setprop debug.hwui.target_cpu_time_percent 100 # Maximize CPU time usage
setprop debug.hwui.target_gpu_time_percent 100 # Maximize GPU time usage
setprop debug.hwui.use_hint_manager true # Enable hint manager for HWUI
setprop debug.renderthread.reduceopstasksplitting true # Optimize task splitting

# Miscellaneous Debugging Settings


setprop debug.MB.running 81 # Debug value for MB running
setprop debug.MB.inner.running 19 # Debug value for MB inner
running
setprop debug.qsg_renderer 1 # Enable QSG Renderer
setprop debug.hwui.fps_divisor -1 # Disable FPS division for
rendering
setprop debug.sf.showfps 0 # Disable FPS counter display
setprop debug.redroid.fps 120 # Set FPS to 120 for debugging

# Rendering and Vsync Configuration


setprop debug.cpurend.vsync false # Disable CPU rendering vsync
setprop debug.gpurend.vsync false # Disable GPU rendering vsync
setprop debug.sf.hw 1 # Enable SurfaceFlinger
hardware rendering
setprop debug.egl.hw 0 # Disable EGL hardware
rendering
setprop debug.hwui.renderer vulkan # Use Vulkan as the HWUI
renderer
setprop debug.composition.type gpu # Force GPU for composition

# Performance Optimization
setprop debug.performance.tuning 1 # Enable performance tuning
setprop debug.performance.memory 1 # Enable memory performance
optimization
setprop debug.disable.computedata true # Disable computation data

# Anti-Aliasing Configuration
setprop debug.egl.force_msaa false # Disable MSAA
setprop debug.egl.force_fxaa false # Disable FXAA
setprop debug.egl.force_taa false # Disable TAA
setprop debug.egl.force_ssaa false # Disable SSAA
setprop debug.egl.force_smaa false # Disable SMAA

# System Settings
settings put system pointer_speed 7 # Set pointer speed to 7
settings put global low_power 0 # Disable low power mode
settings put global low_power_sticky 0 # Disable sticky low power mode
settings put global NON_DISPATCHABLE_HANDLE 25 # Set non-dispatchable handle
settings put global job_scheduler_constants null # Reset job scheduler constants
settings put global wifi_scan_always_enabled 0 # Disable always-on WiFi
scanning
settings put global ota_disable_automatic_update 0 # Enable automatic OTA updates
settings put global low_power_exceptions 1 # Set low power exceptions
settings put global native_memtag_sync 1 # Enable native memory tag sync
settings put global native_heap_zero_init 1 # Enable native heap zero
initialization

# GPU Configuration
settings put global gpu_renderer_policy 1 # Set GPU renderer policy
settings put global gpu_composition_policy 1 # Set GPU composition policy
settings put global gpu_render_policy 1 # Set GPU render policy
settings put global enable_hw_2d 1 # Enable hardware 2D rendering
settings put global enable_hw_3d 1 # Enable hardware 3D rendering

# Location Settings
settings put secure location_providers_allowed -network # Disable network-based
location
settings put secure location_providers_allowed -gps,network # Disable GPS and
network location
settings put secure location_providers_allowed -gps # Disable GPS
settings put secure location_providers_allowed -network # Disable network
location
settings put secure location_mode 0 # Disable location mode

# https://magiskmodule.gitlab.io/dailyupdate/brevent/

You might also like