Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 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