pm grant com.llamalab.automate.ext.superuser android.permission.WRITE_SECURE_SETTINGS
pm grant com.llamalab.automate.ext.superuser android.permission.CHANGE_CONFIGURATION
pm grant com.llamalab.automate.ext.superuser android.permission.SET_PROCESS_LIMIT
adb -s <serial number> appops set com.llamalab.automate WRITE_SMS allow
adb -s <serial number> shell appops set com.llamalab.automate WRITE_SMS allow
hell no