rendering a view goes through layers or abstractions, even passing through dedicated hardware doing the job. hardware overlay allows the renderer to take a couple of regions aside and treat them optimized. then theres the cpu and gpu. usually android decides which abstraction is best for each view, taking things like transparency into account and what not. you switch hw overlays off, project butter goes out of the window but cpu and gpu still do the job. you force gpu, the composition will be done by your gfx chip. just don't touch it - its meant for developers picking up debugging output.
#!/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
) &
You won't notice any considerable improvements. But can cause unintended side effects in apps (mainly embedded images not displaying)
Sent from my Nexus 4 using xda app-developers app
View attachment 2741805
Script To Make Disable Hardware Overlays Permanently On Boot use the script using init.d or script manager or boot shell :laugh:
Indeed. I specifically logged in, just to be able to thank the dev. I reject the whole "take and run" thing.
Thanks so much, it worked nicely on my Sony Xperia S (aka Lt26i) on stock rom, with init.d support (Universal init.d support)View attachment 2741805
Script To Make Disable Hardware Overlays Permanently On Boot use the script using init.d or script manager or boot shell :laugh:
View attachment 2741805
Script To Make Disable Hardware Overlays Permanently On Boot use the script using init.d or script manager or boot shell :laugh:
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 ) &
View attachment 2741805
Script To Make Disable Hardware Overlays Permanently On Boot use the script using init.d or script manager or boot shell :laugh:
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 ) &
#!/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
) &
You won't notice any considerable improvements. But can cause unintended side effects in apps (mainly embedded images not displaying)
Sent from my Nexus 4 using xda app-developers app
Thanks so much, it worked nicely on my Sony Xperia S (aka Lt26i) on stock rom, with init.d support (Universal init.d support)View attachment 2741805
Script To Make Disable Hardware Overlays Permanently On Boot use the script using init.d or script manager or boot shell :laugh: