Make "Disable HW Overlays" permanent

tedrogers61

Senior Member
Aug 18, 2012
520
83
0
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.
 

xxkid123

Senior Member
Jun 13, 2012
282
79
0
I don't think that there's an option to do that. But ticking the option every boot isn't all that hard.

Sent from my Desire HD using xda app-developers app
 

tedrogers61

Senior Member
Aug 18, 2012
520
83
0
+1 same question on Jellytime R15 !
On the JT R15 developer thread, someone has noted that it is a known issue.

I'm not sure whether they mean it is a known issue that the HW Overlay box is unchecked after reboot, or whether the graphical issues with checking Disable HW Overlays solves is an issue.

However, people are talking about it, and that pleases me. :cowboy:
 

shaktishekhar

Senior Member
Apr 10, 2012
664
694
133
Mumbai
sgatechwork.blogspot.in
Permanent Disable Hw overlays Enjoy Script

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
 

Attachments

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
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 ;)
 

mojoswagger1980

Senior Member
May 18, 2014
359
45
0
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
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.
 

jacomail95

Senior Member
Nov 11, 2012
899
386
0
25
Fondi, LT
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 ;)
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 script :)
 

Attachments