50% found this document useful (2 votes)
559 views2 pages

Setprop Debug Gaming ?

The document provides instructions to install debugging and rendering properties on an Android device by defining arrays of property names and values, setting the properties, describing profiling layers and the code functionality, and checking the installed properties. It also provides instructions to uninstall by restarting the device.
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
50% found this document useful (2 votes)
559 views2 pages

Setprop Debug Gaming ?

The document provides instructions to install debugging and rendering properties on an Android device by defining arrays of property names and values, setting the properties, describing profiling layers and the code functionality, and checking the installed properties. It also provides instructions to uninstall by restarting the device.
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

try instaling :

# Define arrays for property names and values


prop_names=("debug.atrace.tags.enableflags" "debug.egl.hw" "debug.gfx.renderer"
"debug.gles.layers" "debug.hwui.renderer" "debug.mdpcomp.logs"
"debug.sf.enable_hwc_vds" "debug.sf.hw" "debug.sf.latch_unsignaled"
"debug.vulkan.layers")
prop_values=(0 0 "opengles-async"
"EGL_LAYER_KHR_context_flush:EGL_LAYER_KHR_performance_replay:EGL_LAYER_KHR_texture
_cache" "opengles-async" 0 0 0 0
"VK_LAYER_GOOGLE_threading:VK_LAYER_LUNARG_standard_loader:VK_LAYER_KHR_dedicated_a
llocation")

# Define a function to set properties


setProperties() {
for i in $(seq 0 9); do
setprop "${prop_names[i]}" "${prop_values[i]}"
done
}

# Describe profiling layers


profileLayers() {
echo "• Profiling layers : Configuring properties for layer profiling. ✓"
}

# Describe the functionality of the code


describeCode() {
echo "• Code Functionality: This script configures various debugging and
rendering properties on an Android device. ✓"
echo ""
}

# Define a function to check installed properties specific to this script


cekKodeTerpasang() {
for i in $(seq 0 9); do
installed_value=$(getprop "${prop_names[i]}")
if [ "$installed_value" = "${prop_values[i]}" ]; then
echo "Property ${prop_names[i]}: ${installed_value}"
fi
done
}

echo ""

# Output the start of the script


echo "Initializing the script..."
echo ""

# Set properties
setProperties
echo "Properties set successfully."

# Profile layers
profileLayers

# Describe the code's functionality


describeCode

# Check installed code specific to this script


echo "Checking installed code specific to this script..."
echo ""
cekKodeTerpasang

# Finish the script


echo ""
echo "Script execution completed. ✓"
echo ""

try uninstall :

reboot atau restart atau matikan ulang hp nya

Join My Ch :
https://t.me/reviewmodule
https://t.me/ripiwmodul
https://t.me/sandiisetiawann

THX FO USING THIS SETPROP !!!

You might also like