Enable 4x MSAA using shell/ADB 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?
Run this command:
adb shell setprop debug.egl.force_msaa true

To disable, replace true with false.
Tested on OnePlus 6 running Android 10.