1

I have various Android devices, rooted, with version ranging from Android 4.1 to Android 6.0. I want to enable 4x MSAA using shell/ADB.

The code below is used to enable Hardware Overlay through a shell script

service call SurfaceFlinger 1008 i32 1

But is there a way to enable 4x MSAA?

0
2

Run this command:

adb shell setprop debug.egl.force_msaa true

To disable, replace true with false.

Tested on OnePlus 6 running Android 10.

3
  • You are awesome!!! It works in all versions of android. At least from 4.1.2 to 10 Jul 18 '20 at 13:46
  • Good to know that. And thanks for the input about its usefulness on other Android versions. :-)
    – Firelord
    Jul 18 '20 at 14:05
  • You are welcome. I am so glad you could help. Jul 18 '20 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.