Pre-installed Apps

Enable pre-installed apps after enrollment

To selectively enable pre-installed apps, the respective package name of the app is required. To obtain a complete list of all pre-installed apps that are no longer available after enrollment in Android Enterprise, reset the device to factory settings and complete the full device setup process without enrolling the device in Android Enterprise.

Once the device is fully set up and ready to use, connect to the device via Android Debug Bridge. Then run the following command to export a list of all installed packages:

 adb shell cmd package list packages > list1.txt

Next, reset the device to factory settings again and enroll it in Android Enterprise.

After successful enrollment, connect to the device again via ADB and run the following command:

 adb shell cmd package list packages > list2.txt

You can now compare both files.

All apps that appear in the file list1.txt but are missing from list2.txt need to be added with the installation type pre-installed in the Manage Apps policy.

Select “Add app manually” as the app type. In the next step, enter the display name of the app and the internal name (package name). The internal name corresponds to the entry from the file list1.txt that you want to add – but without the package: prefix. Example: If the entry package:io.relution.files is to be added, enter io.relution.files as the internal name.