Audience
Tags

In this blog, learn how to create Google Drive links that can be used in a StageNow profile for OS upgrades/downgrades on a Zebra device. The main advantage of this approach is that Google Drive offers 15GB of free storage which can be used to create internet-hosted staging profiles. GDrive also creates links which do not expire as described in this article from Williams College (https://oit.williams.edu/announcements/you-can-put-a-time-limit-on-shar… ) unless you specify an expiry date unlike other file storage providers such as Microsoft OneDrive (which only offers 5GB free storage without a subscription).

OS Upgrade

  1. Download the required OS update package from support.symbol.com
  2. Upload the ZIP file to Google Drive
  3. In Gdrive, from the menu seen when right clicking the file , create a link to the file via GetLink  , select ‘Anyone with the link’ and copy link

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

  1. The format for exported link is similar to this (fileID is highlighted in yellow):

https://drive.google.com/file/d/1jbuDBd2t6S2PvbzE2igB4fG87yEfnEqR/view?usp=sharing

  1. Either:

  1. Use the online converter here ( http://airsetup.uk/airsetup.uk/airbeam/zebra/webapps/gdriveconvert/ ) to paste the original URL and auto-convert to the new format

Or

  1. Manually edit the link format to change it to the following (green highlighted text is the same for each file , just append the fileID highlighted in yellow )

https://drive.google.com/uc?export=download&confirm=yTib&id=1jbuDBd2t6S2PvbzE2igB4fG87yEfnEqR

  1. Create a StageNow profile using Xpert mode and add a FileMgr and PowerMgr step to the profile . In the FileMgr step , the modified link can be used directly in the FileMgr Source File URI field to access the file :

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated Graphical user interface, text, application</p>
<p>Description automatically generated

  1. As per the screenshot above, for convenience use the target path+filename /sdcard/Download/FullPackageUpdate.zip

  1. In the PowerMgr step, specify the package name and location in the filepath:

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

OS Downgrade

OS downgrade requires a different technique as the OS and LG package can be applied at the same time via a UPL script file which has to be located in /data/tmp/public

  1. Download the required OS downgrade package(s) from support.symbol.com
  2. Upload the ZIP file(s) to Google Drive and create the modified links as per the instructions in the upgrade section
  3. For an OS downgrade to A10 or earlier , a StageNow profile requires three or four steps (depending upon whether the Lifeguard patch is also applied at the same time):

Graphical user interface, text, application</p>
<p>Description automatically generated

  1. FileMgr step one contains the GDrive link to the base OS version ( in this case Android 10 16-10 U00) and the target location is /data/tmp/public with the same filename

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

  1. FIleMgr step two contains the GDrive link to the LG patch (in this case Android 10 16-10 U114) and the target location is /data/tmp/public with the same filename

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

  1. FIleMgr step three contains the GDrive link to the UPL file which is a simple text file containing the filename(s) of the packages to be applied :

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

Contents of osupdate.upl:

package:HE_FULL_UPDATE_10-16-10.00-QG-U00-STD-HEL-04.zip

package:HE_DELTA_UPDATE_10-16-10.00-QG-U114-STD-HEL-04.zip

  1. PowerMgr contains the OSDowngrade action with the filename being the UPL file transferred in the previous step:

Graphical user interface, text, application, chat or text message</p>
<p>Description automatically generated

  1. After scanning the StageNow profile, the device should download the OS ZIP files and the UPL file and then apply the OS downgrade. Note that if a LifeGuard patch is not required, you can simplify the profile by following the same steps as for OS Upgrade above but change the PowerMgr action to OS Downgrade.

Note: If you are experiencing any problems with the formatting of this article, please refer to the PDF version which is attached.