I use terminal to run this command, it’s worked adb devices | awk 'NR>1{print $1}' | xargs -n1 -I% adb -s % -d shell pm grant com.zing.zalo android.permission.RECEIVE_SMS
but use code to run, it’s not worked cmd.runCommand("adb devices | awk 'NR>1{print $1}' | xargs -n1 -I% adb -s % -d shell pm grant com.zing.zalo android.permission.RECEIVE_SMS");