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

Android Device Policy crash during Registering Device. #29

Open
jelle-k opened this issue Apr 12, 2019 · 4 comments
Open

Android Device Policy crash during Registering Device. #29

jelle-k opened this issue Apr 12, 2019 · 4 comments

Comments

@jelle-k
Copy link

jelle-k commented Apr 12, 2019

Hi there,
I have a bug when trying to register device.

New company was created on https://enterprise.google.com/android/experience/overview.

I registered my device without any issues, and was able to access work environment on one+ 6 android phone.
Unfortunately I had a typeo in my company name, there was no way to update the name, so I went back to enterprise.google.com and removed my company.

I created a new company with correct spelling, went through the steps in Android Device Policy, got up to Registering device.
Then phone crashes and reboots.

If I go to settings > account I see work profile settings but work profile name states "work profile isn't available yet"
It has had this message for last 3 hours with no change and I cannot access my work profile.

I rebooted phone, uninstalled Android Device Policy, rebooted, reinstalled without success.

After removing Android Device Policy I still have Work profile apps in settings > apps & notifications screen, removing these is not possible.

Android version: 9
OxygenOS: 9.0.4
Phone Build: ONEPLUS A6003_22_190123

Thanks in advance.
Jelle

@hdurer
Copy link
Contributor

hdurer commented Apr 12, 2019

In Settings → Accounts can't you select the work account and remove it?

@jelle-k
Copy link
Author

jelle-k commented Apr 15, 2019

Thanks for the reply.
unfortunately, removing work profile does not remove the apps.

For the sake of testing, I removed the account, rebooted the phone then went back to registering my device, as soon as I accept the terms, phone crashes and restarts, a work profile is created with status work profile isn't available yet.

@petarov
Copy link

petarov commented Apr 16, 2019

Do you specify a default device policy in the enrollment token? Does this policy exist within your newly created enterprise/company?

@jelle-k
Copy link
Author

jelle-k commented Apr 19, 2019

Hello,
Thanks again for the assistance.

Where do I assign default device policy?
Under settings I can only delete account.

If you mean in users and devices, I can see my name with 'Add first device', from there I get two options and two steps, register my own device or have company manage device, download app and enter code.

I have the app, once I enter the code, click accept terms and it starts creating work file. It's at this step the phone crashes.

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

3 participants