Enabling Stellar Protect as device-owner
Since Android SDK 34 came out it is required that Stellar Protect is device-owner of the device this allows the wiping-mechanism to work properly. This is because Google changed the permissions of the wipe API since the SDK 34 came out.
If Stellar Protect does not give you alert about this, then you do not need to follow this guide. This means, Stellar Protect has the required permissions. So nothing is required from your part.
- For StellarOS or Stellar Phone users, you DO not need to follow this guide.
This can be done in a few steps, and takes around 10 minutes.
Setup
You can also watch this video:
- Turn your phone on.
- Connect your phone with a USB to your computer.
- Enable developer mode:
- Navigate to the Settings → About phone section.
- 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.
- A alert on your computer might show up: Please allow the USB-connection.
- Install the Stellar Security for Android app on the device via the app installation package from Stellar Center or using other suitable methods of installation (for example .apk).
For this scenario to work correctly, do not launch the app before running the ADB command described in step 7.
- Install ADB on your computer.
- 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.
- Start ADB and run the following command:
adb shell dpm set-device-owner stellar.phone.protect/com.stellar.phone.protect.AdminReceiver