WT6300 - OS Downgrade script

Solved

Hi,

 

Do we have a script that can run a delta os downgrade.

Scenario for example, if a May release of android 11 made one of my application problematic and I need to rollback to an April delta update while I investigate the issue.

 

I have copied over a OS file via filesync and ran the script install_system_update /sdcard/Downgrade.zip - I get the message failed to install. I tried install_system_downgrade /sdcard/Downgrade.zip - nothing happens.

I tried sendintent -b "intent:#Intent;action=com.symbol.intent.action.UPDATE_PACKAGE;S.file=/sdcard/Downgrade.zip;end"

nothing happens

  LIFEGUARD UPDATE 11-35-05.00-RG-U00

+ Full UpdateRelease Date:  May 2023
+ Delta Update (Applicable To 11-31-27.00-RG-U06)Release Date:  May 2023
  LIFEGUARD UPDATE 11-31-27.00-RG-U06

+ Full UpdateRelease Date:  April 2023
+ Delta Update (Applicable To 11-31-27.00-RG-U02)

2 years ago
SOTI MobiControl
ANSWERS
MD
Matt Dermody Diamond Contributor
2 years ago

To perform a downgrade you likely will need to use MX instead of the install_system_update script. Create a Profile in StageNow that performs and OS Downgrade that references the location of the ZIP file that is placed on the device. Then export that MX as XML and distribute it to the devices in some way (ie. File Sync, Package, etc.) Then use the mxconfig script to process the MX XML. This should technically allow you to perform the downgrade.

Note however that downgrades on the devices are not as straightforward as you may think. If you are downgrading to a version of OS that has a lower Android Security Patch Level, which you likely would be, then the devices may be enterprise reset in the process of downgrading them. This is a consumer protection mechanism built into Android that is designed to prevent the scenario of someone stealing someones Android phone and then downgrading the OS to then take advantage of some vulnerability that existed in older OS versions without the same level of security patches. Its a function of the Android OS and is built in by design so I'm not sure there is going to be any way to work around that. You may be looking at having to manually touch each device to re-enroll them or at at minimum re-connect them to WiFi if those settings get wiped out. The SOTI agent may actually be preserved in the process as it leverages the enterprise directory on Zebra Android devices and that is typically safe from Enterprise resets. 

Solution
JS
jag singh
2 years ago

Thanks - I like the idea of converting the MX as XML

G
GPMOD@SOTI
2 years ago

Hi Jag,

Thanks for posting on SOTI Pulse and thanks Matt for responding to the post.

I am glad that you found the solution.

Thank you.


Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |