Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

激活的时候出现ProvisioningPreCondition 99 #303

Open
qianniansha opened this issue Feb 1, 2025 · 1 comment
Open

激活的时候出现ProvisioningPreCondition 99 #303

qianniansha opened this issue Feb 1, 2025 · 1 comment

Comments

@qianniansha
Copy link

OPPO手机,设备所有者隐藏模式。无法激活,出现错误。

java.lang.IllegalStateException: Unexpected @ProvisioningPreCondition 99
at android.os.Parcel.createException(Parcel.java:2095)
at android.os.Parcel.readException(Parcel.java:2055)
at android.os.Parcel.readException(Parcel.java:2003)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:8392)
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:56)
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:338)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanSetDeviceOwnerLocked(DevicePolicyManagerService.java:8653)
at com.android.server.devicepolicy.DevicePolicyManagerService.setDeviceOwner(DevicePolicyManagerService.java:7809)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:3270)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)

@qianniansha
Copy link
Author

我谷歌到了解决方法了
OPPO仅允许白名单内的应用、测试签名应用激活设备所有者。
所以可以用MT管理器签名后再安装激活就行了,MT里选择签名,默认的就行。
看清楚,签名后的文件最后边有sign,别安装成原版。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant