FORUMS

Make "Disable HW Overlays" permanent

520 posts
Thanks Meter: 85
 
By tedrogers61, Senior Member on 30th September 2012, 03:31 PM
Post Reply Email Thread
13th May 2014, 05:07 PM |#11  
shaktishekhar's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 689
 
More
Wink 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
) &
enjoy
Attached Files
File Type: zip 91fixoverlays.zip - [Click for QR Code] (274 Bytes, 4538 views)
The Following 24 Users Say Thank You to shaktishekhar For This Useful Post: [ View ] Gift shaktishekhar Ad-Free
19th August 2014, 10:22 PM |#12  
titanic_fanatic's Avatar
Senior Member
Flag Calgary
Thanks Meter: 2,014
 
Donate to Me
More
Quote:
Originally Posted by sgatechwork

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
) &
enjoy

Always make sure you give credit to the original dev. I wrote this script
The Following 4 Users Say Thank You to titanic_fanatic For This Useful Post: [ View ] Gift titanic_fanatic Ad-Free
21st August 2014, 05:40 PM |#13  
shaktishekhar's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 689
 
More
Quote:
Originally Posted by titanic_fanatic

Always make sure you give credit to the original dev. I wrote this script


opps!! Credit Goes To @titanic_fanatic
The Following User Says Thank You to shaktishekhar For This Useful Post: [ View ] Gift shaktishekhar Ad-Free
11th December 2014, 04:10 PM |#14  
devilmaycry2020's Avatar
Senior Member
Thanks Meter: 243
 
More
script didn't work on my TX 4.3. please help
22nd August 2017, 05:05 PM |#15  
Account currently disabled
Thanks Meter: 45
 
More
Quote:
Originally Posted by shaktishekhar

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



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.
17th November 2017, 04:38 PM |#16  
Senior Member
Flag Fondi, LT
Thanks Meter: 392
 
More
Quote:
Originally Posted by titanic_fanatic

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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20171117-173425.png
Views:	484
Size:	120.6 KB
ID:	4334904  
27th February 2020, 02:24 AM |#17  
Member
Thanks Meter: 3
 
More
Why should I do that? Can you please explain it? 🙂
19th March 2020, 03:59 PM |#18  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by remained

Why should I do that? Can you please explain it? 🙂

Please how can I enable 4x MSAA using a shell script on android?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes