Multiple user profiles support on PC operating systems is an age-old feature. A user can easily setup their work environment on one profile, and use another profile for the kids to play games – without hampering anything on the former.

Google added multi-user functionality in Android in 4.2 AKA the second iteration of Jelly Bean. However the feature was restricted to tablets only.

google_nexus_10_multi_user
Nexus 10 ad showing multiple profiles

Modders found multiple wayouts to break the artificial limit and port the feature to phones. Some OEMs (and carriers) deliberately removed the code to handle multiple user accounts from the core OS altogether, thus those ports were not sufficient to bring back the feature on phones.

With the release of Android 5 Lollipop, Google finally added proper official support for multiple user profiles in the OS. A ‘Guest’ user with limited functionalities could be easily added, even on phones.

android_lollipop_multi_user
Image source: XDA

For enterprise use cases, this feature is a mandatory requirement. Admins need to tune up several settings on a device to comply with the organization’s security and management policy. With the introduction of multiple user accounts, Google made it a cakewalk – especially for BYOD environment.

Google calls it Work Profile:

Enabling a work profile allows organizations to manage the business data and apps they care about, but leave everything else on a device under the user’s control. Administrators control work profiles, which are kept separate from personal accounts, apps, and data.

By default, work profile notifications and app icons have a work badge so they’re easy to distinguish from personal apps. Work profiles allow an IT department to securely manage a work environment without restricting users from using their device for personal apps and data.

Based on several reports, it seems that OnePlus has accidentally broken the work profile option in OxygenOS 9.x based on Android 9 Pie.

https://twitter.com/Khetani_Karan/status/1091756112636833792

The symptom of the bug is as follows: whenever a user installs any enterprise mobility management (EMM) app, the work profile creation wizard crashes.

oneplus_oos_pie_work_profile_crash
Image source: Twitter

One user has examined the crash log, which reveals that ‘Managed Provisioning’ (package name: com.android.managedprovisioning) is responsible for the error.

According to Google, it is part of the Device Administration workflow:

Managed Provisioning is a framework UI flow to ensure users are adequately informed of the implications of setting a device owner or managed profile. It is designed to act as a setup wizard for managed profiles.

google_managed_provisioning

Couple of bug reports (example: here, here) have been filed under the Feedback section of the official OnePlus forum. Looking inside r/oneplus subreddit, we have found similar reports as well.

Not able to create Work Profile since Android Pie update from oneplus

As a matter of fact, OnePlus is well aware of the issue:

My Bugreport is here https://forums.oneplus.com/threads/urgent-work-profile-setup-keeps-stopping.975490/ I also went to the oneplus experience store here in Kolkata,India and they took a bugreport. Bobby D. from the bug hunters group contacted me and said they are looking into it. Hope they can isolate and fix it soon because it makes the device unusable for work email 🙁

(Source)

oneplus_work_profile_bughunter

It is expected that the bug is scheduled to be fixed on the next Open Beta and/or stable update.

Got an update that there will be a fix in 9.0.5 MP3 … and in the next open beta 🙁

(Source)

OnePlus engineers provided multiple updated APKs of Managed Provisioning as hotfixes. Based on user feedback, the latest one of those probably solves the issue.

new apk is available that worked for me https://drive.google.com/file/d/1ll6HLyaBof4qeqPeZSOVBZqnt-7L4kN0/view?usp=sharing

(Source)

oneplus_work_profile_apk

Sideloading (or using beta OS) is not always a feasible option in these enterprise usage scenarios. Hopefully OnePlus will rectify the bug as soon as possible on stable channel of OxygenOS, as their phones are part of the Android Enterprise Recommended devices (correction: they are not. Thanks for the tip @JasonBayton!).

oneplus_android_enterprise

I can’t help myself, so here is an alternate headline: OnePlus should be demoted from Android Enterprise Recommended list for this critical bug!

Have you faced the issue on your OnePlus phone? Comment below.

PiunikaWeb is a unique initiative that mainly focuses on investigative journalism. This means we do a lot of hard work to come up with news stories that are either ‘exclusive,’ ‘breaking,’ or ‘curated’ in nature. Perhaps that’s the reason our work has been picked by the likes of Forbes, Foxnews, Gizmodo, TechCrunch, Engadget, The Verge, Macrumors, and more. Do take a tour of our website to get a feel of our work. And if you like what we do, stay connected with us on Twitter (@PiunikaWeb) and other social media channels to receive timely updates on stories we publish.

Tags

Kingshuk De
896 Posts

I came from a mixed background of Statistics and Computer Science. My research domains included embedded computer systems, mobile computing and delay tolerant networks in post-disaster scenarios. Apart from tinkering with gadgets or building hackintosh, I like to hop on various subreddits and forums like MyDigitalLife and XDA.

Next article View Article

[April 10: Official acknowledgement for recommended videos bug] YouTube Library tab broken and sidebar missing, users say

This story is being continuously updated…. New updates are being added at the bottom….. Original story (from 2019) follows: Incoming are reports related to two separate YouTube-related issues. The...
Apr 10, 2020 0 Min Read