Configuring the app in device owner mode on Android 5-6

For devices running Android 5-6, the process of configuring the device owner mode differs from the standard one. You need to pre-configure the device, install the app, and use Android Debug Bridge (ADB) for additional settings.

This scenario can also be used for other Android versions and for devices on which the QR code scanner is not available.

Pre-configuration

When creating an installation package in the Administration Console, select Personal device in the Device type section and Download the app installation package from Kaspersky Security Center on the Method to install Kaspersky Endpoint Security for Android on devices page. For more details, see the Installation of Kaspersky Endpoint Security for Android on personal devices section.

Deployment

To deploy the Kaspersky Endpoint Security for Android app on the device with Android 5-6 in device owner mode:

  1. Reset the device to factory settings. You can skip this step and go to step 3 if the device has not been used before.
  2. Delete all accounts on your device in the SettingsAccounts section.
  3. Delete all screen lock protection you may have.
  4. Enable the developer mode:
    1. Navigate to the SettingsAbout phone section.
    2. Tap the Build Number option seven times until you see the "You are now a developer!" message.

    On some devices, these sections might be located or named differently. For more details, please refer to the Android documentation.

  5. Enable the USB debugging option in the SettingsDeveloper options section.
  6. Allow app installation from the sources other than Google Play:
    1. Navigate to the SettingsSecurity section.
    2. Enable the Unknown sources option.
  7. Install the Kaspersky Endpoint Security for Android app on the device via the app installation package from Kaspersky Security Center or using other suitable methods of installation (for example .apk).
  8. In the window that opens on the device after installation, tap Done to exit the Installation Wizard.

    For this scenario to work correctly, do not launch the app before running the ADB command described in step 11.

  9. Install ADB on your computer.
  10. Connect the device to the computer using a USB cable.

    The system will show a dialog asking whether to allow the device debugging on the computer. Click OK.

  11. Start ADB and run the following command:

    adb shell dpm set-device-owner com.kaspersky.kes/com.kms.selfprotection.DeviceAdmin.

  12. Start the Kaspersky Endpoint Security for Android app and activate it by following the instructions in the app's Initial Configuration Wizard.

Some Xiaomi devices cannot be enrolled using ADB if MIUI optimization is turned on. To enroll these devices, turn off MIUI optimization by navigating to Settings → Build number. Tap on the build number six to eight times to enable Developer options and disable MIUI optimization. Perform the above mentioned steps again to successfully enroll these devices.

Page top