How to enable advanced hardening (Device Owner)
What is hardening mode?
Hardening mode uses Android Device Owner to make TimePromise the device administrator. It is stricter than standard mode:
- Lock Task: the lock screen cannot be left with Home or Recents
- Hard suspension: apps over their limit are suspended by the system, not just covered by a screen
- Uninstall protection: the app cannot be uninstalled from system Settings
- System restrictions: safe mode, new users and date/time changes are blocked
- Status bar: cannot be pulled down while locked
The trade-off: activation requires ADB, and it cannot be removed from Settings like a normal app. A factory reset is not required.
Standard mode is enough for everyday limits. Enable hardening only when you really need stronger enforcement.
Requirements
- Android 11 or later
- A computer with
adb(Android SDK Platform Tools) - Developer options → USB debugging enabled
- No accounts signed in, and only one user (a work profile also counts as another user)
- TimePromise installed and opened at least once
Accounts and extra users can be removed in Settings. A factory reset is not required. Removing an account only signs that app out; it does not delete chat history.
Step 1: Open the hardening page
On the tablet, open TimePromise → Parent Center → Advanced → Hardening.

Before activation, the page explains the capabilities and risks. Tap "I have read and understand the risks" to reveal the command.

Step 2: Copy the activation command
The page shows:
adb shell dpm set-device-owner com.timepromise.app/.service.TimePromiseDeviceAdminReceiver
Tap "Copy command", or copy it manually. Connect the tablet over USB and confirm adb devices sees it.

You can also download the one-click helper on a computer:
https://timepromise.site/tools/enable-hardening.zip
Unzip it, run enable-hardening.bat, review the risks and type YES. The script checks the device and runs the command.
Step 3: Run the command
Run the command in a computer terminal. Success looks like:
Success: Device owner set to package ComponentInfo{com.timepromise.app/com.timepromise.app.service.TimePromiseDeviceAdminReceiver}
Active admin set to component ...
If you see Not allowed to set the device owner because there are already some accounts on the device, the device still has an account: open Settings → Users & accounts, remove accounts and retry. A factory reset is not required.
If you see there are already several users on the device, remove other users or work profiles, keep only the owner, and retry.
Step 4: Turn on the switch in the app
Open TimePromise → Parent Center → Advanced → Hardening again. The status should say "Device Owner active".
Turn on "Enable hardening protection" to apply the restrictions immediately.
Step 5: Verify
- Set an app limit in Parent Center and wait for the lock
- Try Home / Recents; the lock screen should stay
- Try to uninstall TimePromise in system Settings; the entry should be unavailable
- Try changing the date/time, entering safe mode or adding a user; Android should block it
- Unlock and confirm the limited app is available again
How to exit hardening mode
At the bottom of the Hardening page, tap "Exit hardening mode". After confirmation it will:
- Unsuspend limited apps
- Remove uninstall protection and system restrictions
- Clear the Lock Task allowlist
- Remove the Device Owner status of TimePromise
Exiting does not delete app data or reset the device. You can activate again with ADB later; some vendors may require a factory reset before re-activation.
FAQ
Is a factory reset required?
No. If the device has no accounts and only one user, ADB can activate it directly. A factory reset is only needed when accounts or users cannot be removed, or when a vendor blocks ADB activation.
Does activation erase app data?
No. set-device-owner only establishes the management relationship. Removing an account only affects that account.
Can the tablet still receive calls and alarms?
Yes. Emergency calls, incoming calls and alarms are not blocked by the lock overlay.
Can hardening prevent the child from changing the clock?
It blocks date/time changes, but behavior varies by manufacturer. Run the checklist above after activation.
Does it affect the warranty?
Device Owner is an official Android enterprise capability, not root, and it does not modify system partitions. Only a factory reset erases data.