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.
+1 same question on Jellytime R15 !Agreed...but if there is a better way then I'd be very keen to learn of it.
On the JT R15 developer thread, someone has noted that it is a known issue.+1 same question on Jellytime R15 !

+1 :'(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
) &
Always make sure you give credit to the original dev. I wrote this scriptDisable 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: enjoyCode:#!/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 ) &
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
Dear @titanic_fanatic, can I kindly ask you if you can adapt your script to make the Skia GPU renderer on Android Oreo applied on boot without it resetting every time? Thank you for the original idea anyway, it was brilliant, I use always your scriptDisable 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![]()
Please how can I enable 4x MSAA using a shell script on android?Why should I do that? Can you please explain it? ?
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![]()