Trying to Install eGate on a Qin F21 Pro

I’m trying to install eGate on a Quinn, and I’m running into problems setting it as device admin.

This is what I did, and ADB's output.

java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device
at android.os.Parcel.createExceptionOrNull(Parcel.java:2381)
at android.os.Parcel.createException(Parcel.java:2357)
at android.os.Parcel.readException(Parcel.java:2340)
at android.os.Parcel.readException(Parcel.java:2282)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:8665)
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:203)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:115)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:60)
at com.android.commands.dpm.Dpm.main(Dpm.java:41)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:419)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanSetDeviceOwnerLocked(DevicePolicyManagerService.java:9636)
at com.android.server.devicepolicy.DevicePolicyManagerService.setDeviceOwner(DevicePolicyManagerService.java:8674)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:3582)
at android.os.Binder.execTransactInternal(Binder.java:1154)
at android.os.Binder.execTransact(Binder.java:1123)

What went wrong, and what should I do?

Log out of your google account

Already did.

From settings or just the play store?

From settings.

Just found that there’s its signed in to an account on Instagram.
Proud to have never used it before, can’t seem to figure out how to sign out.

1 Like

Clear data

Signed out, still can’t set as device admin.

What happens when you run this?
adb shell dumpsys account

1 Like

Some qins ROMs come with a hidden device owner. Use a different ROM.

Someone gave me his phone, already all set up, with with his apps and data.
I can’t start flashing ROMs.
Is there a way to find and remove the hidden owner?

Run the command I wrote above and you’ll see what the owner is.

1 Like
adb shell dumpsys account

User UserInfo{0:Owner:c13}:
Accounts: 2
Account {name=hollywood-sync-account, type=amazon.account}
Account {name=AmazonSyncAccount-1570d9eb214cb18e1fad1b741b09dab9fa41d089a2acb00c90c1166edc1c7939, type=amazon.account}

AccountId, Action_Type, timestamp, UID, TableName, Key
Accounts History
-1,action_called_account_add,2025-04-23 23:54:33,10107,accounts,0
-1,action_called_account_add,2025-04-23 23:56:07,10107,accounts,1
-1,action_called_account_add,2025-04-23 23:58:04,10107,accounts,2
-1,action_called_account_add,2025-04-23 23:59:08,10106,accounts,3
1,action_account_add,2025-04-24 00:00:09,10106,accounts,4
1,action_set_password,2025-04-24 00:00:09,10106,accounts,5
2,action_account_add,2025-04-24 00:54:57,10078,accounts,6
3,action_account_add,2025-04-24 01:34:13,10137,accounts,7
4,action_account_add,2025-04-24 02:10:05,10177,accounts,8
4,action_called_account_remove,2025-04-24 02:10:06,10177,accounts,9
4,action_account_remove,2025-04-24 02:10:06,1000,accounts,10
5,action_account_add,2025-04-24 02:10:06,10177,accounts,11
5,action_called_account_remove,2025-04-24 02:10:09,10177,accounts,12
5,action_account_remove,2025-04-24 02:10:10,1000,accounts,13
6,action_account_add,2025-04-24 02:10:10,10177,accounts,14
7,action_account_add,2025-04-24 02:57:10,10078,accounts,15
1,action_clear_password,2025-04-25 17:48:06,10106,accounts,16
-1,action_called_account_remove,2025-04-27 18:50:48,10265,accounts,17
-1,action_called_account_remove,2025-04-27 18:50:50,10265,accounts,18
3,action_called_account_remove,2025-04-30 14:46:26,1000,accounts,19
3,action_called_account_remove,2025-04-30 14:46:38,1000,accounts,20
3,action_account_remove,2025-04-30 14:46:46,10137,accounts,21
6,action_called_account_remove,2025-04-30 15:37:39,1000,accounts,22
1,action_called_account_remove,2025-04-30 15:37:44,1000,accounts,23
1,action_account_remove,2025-04-30 15:37:44,10106,accounts,24
-1,action_called_account_remove,2025-04-30 15:37:47,10265,accounts,25
6,action_called_account_remove,2025-04-30 15:37:52,1000,accounts,26
6,action_called_account_remove,2025-04-30 15:38:00,1000,accounts,27
6,action_called_account_remove,2025-04-30 15:39:08,1000,accounts,28
6,action_called_account_remove,2025-04-30 15:39:21,1000,accounts,29
6,action_called_account_remove,2025-04-30 15:40:13,1000,accounts,30
6,action_called_account_remove,2025-04-30 15:47:16,1000,accounts,31
6,action_called_account_remove,2025-04-30 15:48:50,1000,accounts,32
6,action_called_account_remove,2025-04-30 15:50:41,1000,accounts,33
6,action_account_remove,2025-04-30 15:50:50,10177,accounts,34
8,action_account_add,2025-04-30 18:05:59,10091,accounts,35
8,action_called_account_remove,2025-04-30 18:14:47,10091,accounts,36
8,action_account_remove,2025-04-30 18:14:47,1000,accounts,37

Active Sessions: 0

RegisteredServicesCache: 20 services
ServiceInfo: AuthenticatorDescription {type=com.whatsapp}, ComponentInfo{com.whatsapp/com.whatsapp.accountsync.AccountAuthenticatorService}, uid 10072
ServiceInfo: AuthenticatorDescription {type=com.duolingo}, ComponentInfo{com.duolingo/com.duolingo.core.account.AccountService}, uid 10157
ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.pop3}, ComponentInfo{com.google.android.gm/com.android.email.service.Pop3AuthenticatorService}, uid 10147
ServiceInfo: AuthenticatorDescription {type=com.google}, ComponentInfo{com.google.android.gms/com.google.android.gms.auth.account.authenticator.GoogleAccountAuthenticatorService}, uid 10106
ServiceInfo: AuthenticatorDescription {type=com.google.android.apps.tachyon}, ComponentInfo{com.google.android.apps.tachyon/com.google.android.apps.tachyon.contacts.sync.DuoAccountService}, uid 10265
ServiceInfo: AuthenticatorDescription {type=com.zhiliaoapp.account}, ComponentInfo{com.zhiliaoapp.musically/com.ss.android.ugc.trill.account.TiktokAuthService}, uid 10083
ServiceInfo: AuthenticatorDescription {type=us.zoom.videomeetings}, ComponentInfo{us.zoom.videomeetings/com.zipow.videobox.AuthenticatorService}, uid 10264
ServiceInfo: AuthenticatorDescription {type=com.twitter.android.auth.login}, ComponentInfo{com.twitter.android/com.twitter.android.platform.TwitterAuthenticationService}, uid 10086
ServiceInfo: AuthenticatorDescription {type=amazon.account}, ComponentInfo{com.amazon.venezia/com.amazon.android.csf.StubAccountAuthenticator$StubAuthenticatorService}, uid 10078
ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.exchange}, ComponentInfo{com.google.android.gm/com.android.email.service.EasAuthenticatorService}, uid 10147
ServiceInfo: AuthenticatorDescription {type=com.groupme.androie.account}, ComponentInfo{com.groupme.androie/com.groupme.androie.account.AccountAuthenticatorService}, uid 10275
ServiceInfo: AuthenticatorDescription {type=com.lionscribe.elist}, ComponentInfo{com.lionscribe.elist/o.fP}, uid 10180
ServiceInfo: AuthenticatorDescription {type=com.expedia.bookings}, ComponentInfo{com.expedia.bookings/com.expedia.bookings.account.ExpediaAuthenticatationService}, uid 10162
ServiceInfo: AuthenticatorDescription {type=com.airbnb.android}, ComponentInfo{com.airbnb.android/com.airbnb.android.lib.authentication.AirbnbAuthenticatorService}, uid 10161
ServiceInfo: AuthenticatorDescription {type=www.instagram.com}, ComponentInfo{com.instagram.android/com.instagram.libraries.access.accountmanager.service.InstagramAuthenticationService}, uid 10091
ServiceInfo: AuthenticatorDescription {type=com.dropbox.android.multiaccount}, ComponentInfo{com.dropbox.android/com.dropbox.common.account_maker.interactor.AccountMakerAuthenticationService}, uid 10164
ServiceInfo: AuthenticatorDescription {type=com.facebook.auth.login}, ComponentInfo{com.facebook.katana/com.facebook.katana.platform.FacebookAuthenticationService}, uid 10096
ServiceInfo: AuthenticatorDescription {type=com.dropbox.android.account}, ComponentInfo{com.dropbox.android/com.dropbox.android.service.AuthenticationService}, uid 10164
ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.legacyimap}, ComponentInfo{com.google.android.gm/com.android.email.service.LegacyImapAuthenticatorService}, uid 10147
ServiceInfo: AuthenticatorDescription {type=com.pushd.client.account}, ComponentInfo{com.pushd.client/com.pushd.client.authentication.PushdAuthenticatorService}, uid 10177

Account visibility:

Try disabling amazon and then setting eGate as admin.

How?

ADB or clear the data

1 Like

The Amazon app isn’t installed.
The Amazon app store is, but isn’t signed into.

So uninstall it or disable it

Apparently that was it.
I cleared its data and disabled it, and was able to successfully set eGate as the device admin.

2 Likes

I’m just confused about the special accessibility app for the Quinn.
How do I use it?
Together with the standard app?
Standalone?