Placeholders

You can use various placeholders to provide details about the device on remote calls and to define device independent paths for download.

KeyNameNote
%temp%Temp folderTemp / Cache folder on the device. Ideal location for files that you don’t need anymore after staging is done
%sdcard%Internal storageInternal storage folder on the device. Ideal location for files that should be accessible to other apps or will be needed after staging
%ext-sdcard%Removable SD cardPath to a removable SD card. If none is present, the internal %sdcard% path is returned
%hw-model%Device model nameName of the device hardware/product
%hw-os%Device OS versionCurrent Android OS version / SDK level
%hw-version%Device OS versionCurrent OS build version as shown in Settings > About
%hw-sn%Device Unit S/NUnit serial number. Some devices can have two serial numbers. This will always return the S/N used on the label and box
%sn%Device S/NDevice serial number
%version%App VersionCurrent Version of the Staging app
%version-code%App Version codeCurrent numerical version code of the Staging app
%_t%TimestampCurrent time as a timestamp. Useful to prevent caching
%imei%IMEIThe primary IMEI number. On dual-sim devices, this is likely for slot 1
%meid%MEIDThe primary MEID number. On dual-sim devices, this is likely for slot 1. (Requires at least Android 8)
%imei1%IMEI Slot 1The IMEI for SIM slot 1
%imei2%IMEI Slot 2The IMEI for SIM slot 2
%meid1%MEID Slot 1The MEID for SIM slot 1
%meid2%MEID Slot 2The MEID for SIM slot 2