Is there a macro that would report back the current Android OS Version (8.1.0) for use in a script file? Specifically looking to create an IF statement that calls the current OS Version and then calls a specific MX XML file depending on if an upgrade or downgrade needs to be performed to get the device on a specific BSP.
For example:
IF %OSVersion%==8.1.2 mxconfig /sdcard/OSUpdate.xml
IF %OSVersion%>=9 mxconfig sdcard/OSDowngrade.xml