Shell

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

android_properties() {

setprop debug.hwui.use_shader_cache true


setprop debug.hwui.use_hardware_acceleration true
setprop debug.hwui.disable_layer_cache true
setprop debug.hwui.disable_scissor false
setprop debug.hwui.disable_scissor_opt false
setprop debug.hwui.render_compability true
setprop debug.hwui.show_non_rect_clip hide
setprop debug.hwui.forcegpu true
setprop debug.hwui.force.gpu true
setprop debug.hwui.force_gpu true
setprop debug.hwui.composition true
setprop debug.hwui.use_hardware_bitmaps true
setprop debug.hwui.use_render_effects false
setprop debug.hwui.render_buffer_cache_size 1048576
setprop debug.hwui.enable_shadow_filter false
setprop debug.hwui.use_mipmap true
setprop debug.hwui.use_text_aa true
setprop debug.hwui.drop_shadow_cache_size 1024
setprop debug.hwui.text_large_cache_height 2048
setprop debug.hwui.text_large_cache_width 2048
setprop debug.hwui.disable_vsync true
setprop debug.hwui.enable_vsync false
setprop debug.hwui.use_vulkan true
setprop debug.hwui.profile true
setprop debug.hwui.profile.gpu true
setprop debug.hwui.render_thread true
setprop debug.hwui.use_hwc_textures true
setprop debug.hwui.use_buffer_age true
setprop debug.hwui.use_gpu_pixel_buffers true
setprop debug.hwui.use_hint_manager true
setprop debug.hwui.disable_draw_defer true
setprop debug.hwui.disable_draw_reorder true
setprop debug.hwui.render_dirty_regions false
setprop debug.hwui.show_dirty_regions false
setprop debug.hwui.disabledither false
setprop debug.hwui.overdraw false
setprop debug.hwui.force_dark false
setprop debug.hwui.skip_empty_damage false
setprop debug.hwui.enable_partial_updates false
setprop debug.hwui.renderer_override skiavk
setprop debug.hwui.rendering skiavk
setprop debug.hwui.renderer skiavk
setprop debug.hwui.render_engine_backend skiavk
setprop debug.hwui.rendering_type skiavk
setprop debug.hwui.composition_type gpu
setprop debug.hwui.render_type gpu
setprop debug.hwui.skia_atrace_enabled false
setprop debug.hwui.skia_tracing_enabled false
setprop debug.hwui.skia_use_perfetto_track_events false
setprop debug.hwui.use_hardware_renderer true
setprop debug.hwui.use_software_renderer false
setprop debug.hwui.render_all_layers true
setprop debug.hwui.use_cache false
setprop debug.hwui.texture_cache_size 16
setprop debug.hwui.layer_cache_size 16
setprop debug.hwui.resolution_scale 1
setprop debug.hwui.target_cpu_time_percent 100
setprop debug.hwui.target_gpu_time_percent 100
setprop debug.hwui.fps_divisor -1
setprop debug.hwui.force_refresh_rate 120
setprop debug.hwui.refresh_rate_forced 120
setprop debug.hwui.profile.maxframes 120
setprop debug.hwui.profile.minframes 120
setprop debug.hwui.profile.peakframes 120
setprop debug.hwui.frame_rate_multiple 120
setprop debug.hwui.max_frames 120
setprop debug.hwui.min_frames 120
setprop debug.hwui.peak_frames 120
setprop debug.hwui.detail_fps 120
setprop debug.hwui.fps 120
setprop debug.hwui.max_fps 120
setprop debug.hwui.min_fps 120
setprop debug.hwui.peak_fps 120
setprop debug.hwui.refresh_rate 120
setprop debug.hwui.fpslimit 120
setprop debug.hwui.fps_limit 120
# Optimasi Sistem untuk Gaming
setprop debug.performance.tuning 1
setprop persist.sys.purgeable_assets 1
setprop ro.config.disable.hw_accel false
setprop ro.config.hw_quickpoweron true
setprop ro.surface_flinger.max_frame_buffer_acquired_buffers 3
setprop ro.sf.lcd_density 240 # Sesuaikan dengan DPI perangkat
setprop ro.sf.compbypass.enable 1
setprop persist.sys.scrollingcache 3
setprop ro.game.mode 1
setprop ro.surface_flinger.set_touch_perf 1

# Optimasi GPU

# Optimasi CPU
setprop dalvik.vm.execution-mode int:fast
setprop dalvik.vm.heapgrowthlimit 256m
setprop dalvik.vm.heapsize 512m
setprop dalvik.vm.heapminfree 512k
setprop dalvik.vm.heapmaxfree 8m
setprop dalvik.vm.heaptargetutilization 0.75

# Mengurangi Latensi
setprop wifi.supplicant_scan_interval 180
setprop net.tcp.buffersize.default 4096,87380,256960,4096,87380,256960
setprop net.tcp.buffersize.wifi 524288,1048576,2097152,524288,1048576,2097152
setprop net.tcp.buffersize.lte 524288,1048576,2097152,524288,1048576,2097152

# Prioritas Game
setprop game.process.boost true
setprop persist.game.mode.enabled true

# Menonaktifkan Layanan Tidak Penting (Opsional)


setprop persist.sys.background_services false
setprop persist.radio.add_power_save 1k
# Tambahan untuk Latency Rendah
setprop audio.low_latency true
setprop audio.deep_buffer.media false
setprop persist.sys.purgeable_assets 1
setprop ro.config.disable.hw_accel false
setprop ro.config.hw_quickpoweron true
setprop ro.surface_flinger.max_frame_buffer_acquired_buffers 3
setprop ro.sf.lcd_density 240 # Adjust to your device's DPI
setprop ro.sf.compbypass.enable 1
setprop persist.sys.scrollingcache 3
setprop ro.game.mode 1
setprop ro.surface_flinger.set_touch_perf 1
}
android_properties > /dev/null 2>&1

You might also like