On a Zebra TC56 Android where does the .pcg files get stored within internal device file system.

N
ND
Telstra Corporation Ltd. (Australia Post)

We have a package of 1.5G (oreo OS update) which only contains the oreo .zip file  that is being delivered to the device but after the package being downloaded into device and when it try to install it gives errir : Package file format error. I have checked the package compilation method in Package studio was correct and no issue with the file even.

Server 14.1.5.1284

Agent : 13.5.1.1234

Edited 6 years ago
Android
ANSWERS
MD
Matt Dermody
6 years ago
For the LG or BSP updates that are that large I would recommend File Sync based delivery instead of Packages since the File Sync will place the files directly in the target location.
N
ND
6 years ago

Hi Matt thanks for the reply. is there a technical reason for the Package to be not used for file size of 1.5 GB?  or  have you experienced the "Package file format error" issue as well due to file size?  Since the package was being divided into smaller chunks from the server and delieverd in smaller bits I thought larger files can also be packaged.

MD
Matt Dermody
6 years ago

When I first started working with SOTI and Zebra Android devices I would put firmware and LifeGuard updates in Packages as thats what I used for all file delivery. I eventually switched to File Sync rules as they seem to be more robust for that purpose while still using Packages for other smaller files as that process is better for version control of things like configuration files. 

Packages are stored in the SOTI database which isn't really designed to house files of that size. I think the default DB size is something small like 10DB so you can quickly fill that up and affect the performance of your system with large firmware update .ZIPs.

File Sync Rules, on the other hand, sync files from the server storage which should provide you with a lot more flexibility. 

I can't really speak to the technical details but the File Sync rule also leverages a different mechanism to chop up and deliver the files to the devices that seems to be more resilient to network outage or device connectivity issues. I believe the issue has been fixed but for a long time time a Package delivery would be restarted if there was any interruption in the transmission, which is likely when dealing with 1.5GB files in a distributed environment. File Sync rules resume right where they left off. 

S
Scott
6 years ago

For large files I'm with Matt.  I stage them with a file sync rule that when finished runs a script that sets a custom data variable and then a Profile acting on the custom data value change (along with other criteria) is used to execute the contents.  Kind of kludgy but allows us more control over exactly when the execution happens.  However...

On a TC56 the pcg files are stored in /data/data/net.soti.mobicontrol.motorola/app_pkg

So, you could attempt a (re)installation of a package named "AppName" with a script:

installpackage "/data/data/net.soti.mobicontrol.motorola/app_pkg/AppName.pcg"