Skip to content

Instantly share code, notes, and snippets.

@bboa
Last active April 18, 2018 16:04
Show Gist options
  • Save bboa/e1e5f99d80501e1012f2b537ac91c53e to your computer and use it in GitHub Desktop.
Save bboa/e1e5f99d80501e1012f2b537ac91c53e to your computer and use it in GitHub Desktop.
Xperia E1 gpu-only UI rendering
#Отключение рендеринга CPU
#Disabling CPU rendering
mount -o remount,rw /system
echo '0 1 adreno' > /system/lib/egl/egl.cfg
rm /system/lib/egl/libGLES_android.so
sed -i '/dyn/d' /system/build.prop
cat << EOF >> /system/build.prop
debug.composition.type=gpu
debug.egl.swapinterval=4
debug.mdpcomp.logs=0
debug.mdpcomp.maxlayer=0
debug.sf.hw=1
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment