Just upgraded to a Moto Z play xt1635-02 - Android 7.0 - Rooted
Initially I had the issues with QMI_ERR_ACCESS_DENIED
I followed the instructions
and the installation app was happy with sim access
The Rsap installation app worked once or twice, but it does this:
Install with MK III
"Statuschange" is not "cardreset"
On reboot of the phone
X Connect to socket
X connect to SIM
Install with MKIII again (without uninstalling),
3 green ticks and prompts for restart.
On reboot of phone, sim card shows "no service" and I have to uninstall system files to get normal functionality back.