Hi. Does anyone know how to make the "Disable HW Overlays" option found on some ROMs permanently checked / persistent after reboot? I'm using JellyTime R13 on my DHD. Thanks.
Agreed...but if there is a better way then I'd be very keen to learn of it.
Hi. Does anyone know how to make the "Disable HW Overlays" option found on some ROMs permanently checked / persistent after reboot? I'm using JellyTime R13 on my DHD. Thanks.
#!/system/bin/sh
(while :
do
sf=$(service list | grep -c "SurfaceFlinger")
if [ $sf -eq 1 ]
then
service call SurfaceFlinger 1008 i32 1
break
else
sleep 2
fi
done
) &
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Code:#!/system/bin/sh (while : do sf=$(service list | grep -c "SurfaceFlinger") if [ $sf -eq 1 ] then service call SurfaceFlinger 1008 i32 1 break else sleep 2 fi done ) &
:fingers-crossed: enjoy
Always make sure you give credit to the original dev. I wrote this script![]()
Thanks man! i was just looking for the shell cmd but this works ! *on android 7.1.2 initd. d needed to be emulated....i dont beleive its the default "load on boot" protocol any longer but emulation via kernel auditor seems to do the trick. Doesnt matter as long as i dont have to manually set check the option. Appreciate the work.Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
:fingers-crossed: enjoy
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Always make sure you give credit to the original dev. I wrote this script![]()
Still works on Galaxy S5 Lineage OS 16 SmartPack kernel (oc to 2.6gHz btw) and manager. Thanks! Bookmarked this notably good post .. :good:Always make sure you give credit to the original dev. I wrote this script![]()
#!/system/bin/sh
(while :
do
sf=$(service list | grep -c "SurfaceFlinger")
if [ $sf -eq 1 ]
then
service call SurfaceFlinger 1008 i32 1
break
else
sleep 2
fi
done
) &
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Code:#!/system/bin/sh (while : do sf=$(service list | grep -c "SurfaceFlinger") if [ $sf -eq 1 ] then service call SurfaceFlinger 1008 i32 1 break else sleep 2 fi done ) &
:fingers-crossed: enjoy
Always make sure you give credit to the original dev. I wrote this script![]()