Issue resoled by: Error: Requires permission android.permission.WRITE_SECURE_SETTINGS · Issue #5 · Genymobile/gnirehtet · GitHub
The issue seems to be resolved by heading over to Developer Options on MIUI, and enabling the following:
USB debugging -Debug mode when USB is connected
Install via USB -Allow installing apps via USB
USB debugging (Security Settings) - Allow granting permissions and simulating input via USB debugging
SUGGESTION to Katalon: Add to manual and to the mobile test demo a pre-requisite to ENABLE DEVELOPER MODE on the phone as well. And note: it is NOT ENOUGH - It is necessary to allow Install via USB and also USB Debugging (if exists. Not all phones have it) this WILL save logs of agony to many.
