Android OS downgrade
This is entirely dependent on the manufacturer. For instance, Zebra publishes .Zip updates for all their devices, giving you the ability to upgrade or downgrade at your own pace. Downgrading is possible on most of their devices, but note that process will result in a device wipe.
We are using Zebra TC51.
I tried similar to the update but the device does nothing (download the file but no downgrade and no error message in log).
I tried via following scripts:
First and second try (script executed after file transfer in file sync rule and manually):
Third try (script executed manually):
sendintent -b "intent:#Intent;action=com.symbol.intent.action.UPDATE_PACKAGE;S.file=/sdcard/Downgrade.zip;end"
Is there a different command?
are other scripts working correctly for you with notation of "/sdcard/*/*".
For a TC77 to Update from an extra sdcard i leveraged /storage/sdcard1/Update.zip in stagenow for example.
Internal sdcard should be sdcard0.
Have you tried updating via Stagenow?
Kind Regards John
For Android 7 Update and 8 Update both works fine.
But not for downgrade!
Have you executed the downgrade manually on a device to confirm that it works outside of SOTI? Some of the newer Zebra devices have a different recovery mode that has different options for Upgrade, Downgrade, and delta updates. Maybe an updated menu structure like that is causing conflict with the installsystemupdate script?
I used downgrade via SD-Card with same files and they work fine. BUT there are two options:
- Update -> error message
- Downgrade -> works
Because of this i think there must be another command for downgrade but didn't found anything for this.
In looking through the StageNow options there is an explicit callout that downgrade isn't supported so I'm not sure if you're going to be able to find a SOTI script that does this: