iamr0s / Dhizuku

A Android Application for share DeviceOwner
GNU General Public License v3.0
989 stars 42 forks source link

ADB set-device-owner issues. #23

Open TheVengefulSpirit opened 1 year ago

TheVengefulSpirit commented 1 year ago

Heya, I have been trying to use your software but there is one issue I keep running into when trying to activate it.

It keeps telling me that the "Device admin activated, but need device owner" but when ever I try to use - "adb shell dpm set-device-owner com.rosan.dhizuku/.server.DhizukuDAReceiver" It will first say there are accounts on the device but when rerunning it, it states "Error: Trying to set an admin which is being removed"

If you lot have any suggestions, please give me a heads up!

Ai686Leo commented 1 year ago

你好,这是我的建议 禁止在设置里开启这个应用设备管理员权限,只能用指令激活,你可以理解为指令给的管理员权限大于设置给的 激活时大部分安卓系统禁止有一部分应用账号存在,可以在设置→账户里查看需要暂时退出的账号,当然你也可以用adb暂时冻结账户所在应用,这样就不用退出了 Hello, here is my suggestion It is forbidden to open this app device administrator privileges in the settings, you can only activate it with the command, you can understand that the administrator privileges given by the command are greater than the ones given by the settings. Most Android systems prohibit the existence of a part of the application account when activated, you can check the account in the settings → account need to temporarily exit, of course, you can also use adb to temporarily freeze the account where the application, so that you do not have to exit!

通过DeepL翻译

Ai686Leo commented 1 year ago

这个应用支持和介入API的应用分享权限,还支持使用dax用lsposed(root)lspatch(no root)等方式强制分享权限,希望以后作者会在readme.md补上此说明 This app supports sharing permissions with apps that intervene in the API, and it also supports using dax to force sharing permissions with lsposed (root) lspatch (no root), etc. I hope the author will add this note to readme.md in the future!

Translated via DeepL

TheVengefulSpirit commented 1 year ago

谢谢大家的评论,如果这也翻译错误,对不起。 今晚我将尝试再次设置它,看看我是否可以正确启动并运行它,以便我可以保护我的设备。 这是一个无根三星S9 +,我从来没有。之前惹了 adb,但我会全力以赴!非常感谢!

iamr0s commented 1 year ago

Samsung device activation of Dhizuku may conflict with Knox. May make the phone unable to enter the desktop (prompt password error), This is a small probability event, but it is dangerous enough.

三星设备激活Dhizuku可能会与Knox冲突。 可能使手机不能进入桌面(提示密码错误),这是一个小概率事件,但是也足够危险。