Closed HarriBuh closed 1 month ago
I see, I will fix it
You can activate OwnDroid as Device owner to solve this problem.
I see, I will fix it
You can activate OwnDroid as Device owner to solve this problem.
There will be another error (inside the app) when I try your advice:
Error: 255com.bintianqi.owndroid/.Receiver was already an admin for user 0. No need to set it again.
Exception occurred while executing 'set-device-owner':
java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device.
at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanSetDeviceOwnerLocked(DevicePolicyManagerService.java:10811)
at com.android.server.devicepolicy.DevicePolicyManagerService.setDeviceOwner(DevicePolicyManagerService.java:9457)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.runSetDeviceOwner(DevicePolicyManagerServiceShellCommand.java:264)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.onCommand(DevicePolicyManagerServiceShellCommand.java:87)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.devicepolicy.DevicePolicyManagerService.onShellCommand(DevicePolicyManagerService.java:11244)
at android.os.Binder.shellCommand(Binder.java:1230)
at android.os.Binder.onTransact(Binder.java:1043)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:6414)
at android.os.Binder.execTransactInternal(Binder.java:1505)
at android.os.Binder.execTransact(Binder.java:1444)
There will be another error (inside the app) when I try your advice
There will be another error (inside the app) when I try your advice
It says: You should remove all accounts on your device
No offense, but this is ridiculous. I will not do that, because I need these accounts.
If there is nothing more I could do about it, I will then wait for your fix.
No offense, but this is ridiculous. I will not do that, because I need these accounts.
I know it is hard for everyone to do so, but "remove all accounts before activate device owner" is enforced by Android system, I can't change it. OwnDroid at a deactivated status can do almost nothing.
You can disable account holder apps temporarily and enable them after owndroid is successfully activated, your account won't lose.
This sounds really smart, I will try this 👍🏼
Edit: Everything except Google's own account can be easily deactivated by me. I don't know how exactly I could do that.
Everything except Google's own account can be easily deactivated by me. I don't know how exactly I could do that.
Try disable com.google.android.gms
(maybe called Google service core)
It still won't work, giving me the exact same error message as before 😥
list accounts using this command (adb shell or shizuku in owndroid)
dumpsys account
Accounts: 5 Account {name=xxx@gmail.com, type=com.google} Account {name=WhatsApp, type=com.whatsapp} Account {name=xxx, type=com.github.android} Account {name=Molly, type=im.molly.app} Account {name=xxx, type=www.instagram.com}
All of these accounts are deactivated with root, though.
All of these accounts are deactivated with root, though.
If your device is rooted and lsposed is installed, you can try HookDPM to bypass account amount restriction
All of these accounts are deactivated with root, though.
If your device is rooted and lsposed is installed, you can try HookDPM to bypass account amount restriction
This did the trick. It's working now. Thank you for your dedicated help 👍🏼👍🏼👍🏼
Edit: I forgot that this ticket was about another issue in the first place, lol
This fix did also fix the first issue; I can now access the app manager without issues as well. So I'm gonna finally close this issue then.
I see, I will fix it
You can activate OwnDroid as Device owner to solve this problem.
Hello ,will this be fixed?
Hello ,will this be fixed?
Of course
Hello ,will this be fixed?
Of course
Thank you.
Root granted via Sui/ Shizuku