echo "*****************************************************" echo "*✩░▒▓▆▅▃▂▁ ANDROID OPTIMIZATION & GAMING TWEAK▁▂▃▅▆▓▒░✩*" echo "*****************************************************" echo "" sleep 2 echo "" echo "SUPPORT ROOT AND NON ROOT" echo "DEVELOPER : M A X W E L L" echo "" sleep 2 echo "--------------------------------------------------" echo " DEVICE AND HARDWARE INFO " echo "--------------------------------------------------" sleep 0.5 echo "DEVICE : $(getprop ro.product.brand)" sleep 0.5 echo "MODEL : $(getprop ro.product.model)" sleep 0.5 echo "KERNEL : $(uname -r)" sleep 0.5 echo "CPU : $(getprop ro.hardware)" sleep 0.5 echo "GPU : $(getprop ro.hardware.egl)" sleep 0.5 echo "ANDROID VERSION : $(getprop ro.build.version.release)" sleep 2 echo "" echo "█▓▒▒░░░ IN PROGRESS ░░░▒▒▓█" echo "" sleep 1 { settings put system peak_refresh_rate 1 settings put system user_refresh_rate 1 settings put system touch.distance.scale 0 setprop debug.sf.disable_backpressure 1 setprop debug.sf.latch_unsignaled 1 setprop debug.sf.enable_hwc_vds 1 setprop debug.sf.early_phase_offset_ns 500000 setprop debug.sf.early_app_phase_offset_ns 500000 setprop debug.sf.early_gl_phase_offset_ns 3000000 setprop debug.sf.early_gl_app_phase_offset_ns 15000000 setprop debug.sf.high_fps_early_phase_offset_ns 6100000 setprop debug.sf.high_fps_early_gl_phase_offset_ns 650000 setprop debug.sf.high_fps_late_app_phase_offset_ns 100000 setprop debug.sf.phase_offset_threshold_for_next_vsync_ns 9223372036854775807 setprop debug.sf.enable_advance_sf_phase_offset_ns 1 setprop debug.sf.showupdates 0 setprop debug.sf.showcpu 0 setprop debug.sf.showbackground 0 setprop debug.sf.showfps 0 setprop debug.sf.hw 0 setprop debug.FPSTUNER_SWITCH true setprop debug.GPUTUNER_SWITCH true setprop debug.CPUTUNER_SWITCH true setprop debug.NV_POWERMODE true setprop debug.gpurend.vsync false setprop debug.cpurend.vsync false setprop debug.hw.accelerated 1 setprop debug.game.accelerated 1 setprop debug.touch.accelerated 1 setprop debug.ui.accelerated 1 setprop debug.enable_hardware_accelerated true setprop debug.enable_optimize_refresh_rate true sleep 1 } > /dev/null 2>&1 sleep 1 echo "" echo "INSTALLATION DONE 100%" echo""
Write, Run & Share Bash code online using OneCompiler's Online Bash Shell for free. It's one of the robust, feature-rich Bash shell available over online and getting started with the OneCompiler's Bash Shell is simple and pretty fast. The editor shows sample boilerplate code when you choose language as Bash
. OneCompiler also has reference scripts, where you can look for the sample scripts and start coding.
Bash (Bourne Again Shell) is a shell program written by Brian Fox and is an upgraded version of Bourne Shell program 'sh'.
name="Foo"
echo $name
echo "$name"
echo "${name}"
if [ conditional-expression ]
then
statements
fi
if [ conditional-expression ]
then
statements
else
statements
fi
if [ conditional-expression ]
then
statements
elif [ conditional-expression ]
then
statements
else
statements
fi