You can also use Shizuku to grant the permission. Just install Shizuku and aShell from F-Droid. Set up Shizuku and if you don’t know how to do it just watch a video. Then grant Shizuku permission to aShell and type this command [pm grant ly.com.tahaben.farhan android.permission.WRITE_SECURE_SETTINGS] after that open Farhan and you should see the gray-scale working. But unfortunately this only works in android 10 and above.
Menelaos
8 months ago
There seems to be an issue for me. I use windows and a Poco M3 pro and when I run the command it gives me this error:
Exception occurred while executing ‘grant’:
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
I’ve enabled every permission the app has asked me to. Can anyone help?
You can also use Shizuku to grant the permission. Just install Shizuku and aShell from F-Droid. Set up Shizuku and if you don’t know how to do it just watch a video. Then grant Shizuku permission to aShell and type this command [pm grant ly.com.tahaben.farhan android.permission.WRITE_SECURE_SETTINGS] after that open Farhan and you should see the gray-scale working. But unfortunately this only works in android 10 and above.
There seems to be an issue for me. I use windows and a Poco M3 pro and when I run the command it gives me this error:
Exception occurred while executing ‘grant’:
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
I’ve enabled every permission the app has asked me to. Can anyone help?