PolyluteDocs polylute.app

Troubleshooting

Dedicated: I can’t make Polylute the device owner

The command to set up Dedicated fails or does nothing. Find out why Android said no, and run it again.

On this page

In short

  • The command is refused by Android, not by Polylute. Nothing is active until Android confirms it.
  • The usual reasons: an account or an extra user is still on the phone, the computer cannot see the phone, or the command names the wrong app.
  • Remove the accounts and extra users, copy the command from Polylute’s own page, and run it again.
  • No computer, or you cannot remove the accounts? Pin Polylute (Pinned level) locks Polylute on screen with no computer at all.

Symptom

  • The computer prints an error when you run adb shell dpm set-device-owner, or prints nothing useful.
  • In Settings › Home and DAP mode, with Dedicated chosen, the Actual level still says Launcher, with the note “Android has not confirmed the requested level.” The page still shows the guide and the command. There is no Lock Task row.
The Home and DAP mode page with Dedicated requested on a phone that is not the device owner. The Actual level reads Launcher with the note that Android has not confirmed the requested level, and the guide below lists the requirements.
Not confirmed yet. While this guide is on screen, Android has not made Polylute the device owner.

Why

To become the device owner, Polylute needs Android to say yes. Android only says yes on a phone that looks unused, and it checks when you run the command. These are the causes, most likely first.

Why Android may refuse, how to tell, and what to do
CauseHow to tellFix
An account is still on the phoneAndroid’s message mentions accounts. Its exact wording depends on the Android version.Remove every account from Android’s settings. You can add them back right after the command works.
An extra user or profile existsSamsung’s Secure Folder, a work profile, a second user or a guest user is on the phone.Remove it. This deletes the data inside, so back it up first. If you cannot part with it, use App mode or Pinned instead.
The computer cannot see the phoneadb devices lists nothing, or lists the phone as unauthorized.Turn on USB debugging in Android’s Developer options, use a cable that carries data, and accept the “Allow USB debugging?” question on the phone.
The command names the wrong appadb says it cannot find the app. The release app and the debug build are two separate apps, with different names.Do not type the command by hand. Use Copy command on the Home and DAP mode page of the app that is installed.
Another app is already the device ownerAndroid says a device owner is already set.A phone has one device owner. Polylute cannot take the role from another app. End it from that app first.

Fix

  1. Read what Android printed.

    Look for the words “account”, “user” or “already”. They point at the row of the table above.

  2. Remove every account and every extra user.

    In Android’s settings, open the list of accounts (often called Accounts, or Passwords and accounts) and remove each one. Then look for extra users, work profiles and Secure Folder.

  3. Check that the computer sees the phone.
    Run this on the computer
    adb devices

    The phone should appear in the list as device. If it says unauthorized, unlock the phone and accept the question it shows.

  4. Copy the command from Polylute.

    Open Settings › Home and DAP mode. The levels appear once Polylute is the home app, so use Choose home app first if you have to. Choose Dedicated and tap Copy command. Paste it into the terminal on the computer and run it. The full command is on Set up Dedicated.

  5. Check that Android accepted it.

    The Home and DAP mode page now shows a Lock Task row, Return to DAP and Stop being the device owner. In Settings › System › Maintenance, Device Owner reads Active.

  6. Add your accounts back.

    The rule only matters at the moment of the command. You do not need a factory reset.

Still stuck

Why Android makes you remove the accounts, and why there are three levels: DAP levels: Launcher, Pinned, Dedicated.

Tested on HONOR LGN-NX3