GuidesDiscussions
Log In
Guides

File Placements

APK Placement

DR Preload APK must be installed into the /system/priv-app/ folder on the device. Please ensure the APK file has React and Write permission granted by the file system.

chmod 644 <dr-preload.apk>

🚧

Custom Path

If you have a custom path, make sure DR process works as expected. There’s no guarantee that DR process will work properly if the APK is not placed in the folder described above.

XML File Placement

DR Preload APK requires permissions and whitelisting XML files to be placed onto the Device.

• Permissions entry must be installed in: /system/etc/permissions
• Whitelisting entry must be installed in: /system/etc/sysconfig

Please ensure these XML files have Read and Write permission granted in file system.

Permission file for DR Preload

Make sure the file name is permission_com.digitalreef.preload.xml

<?xml version="1.0" encoding="utf-8"?>
<permissions>
    <privapp-permissions package="com.digitalreef.preload">
        <permission name="android.permission.INSTALL_PACKAGES"/>
        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
    </privapp-permissions>
</permissions>

Whitelist XML file for DR Preload

Make sure the file name is: whitelist_com.digitalreef.preload.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- The OMA DM service must be whitelisted so they are always able to run. -->
<config>
    <allow-in-power-save package="com.digitalreef.preload"/>
    <app-link package="com.digitalreef.preload"/>
</config>