island: Android 11 can't create user
Device: pixel2 with RPP1.200123.016
Island setup with Android 10, after upgrade to Android 11, Island works fine.
After active the God mode, launch Island but don’t create work profile. Then manual setup
pm create-user --profileOf 0 --managed Island
Error: android.os.ServiceSpecificException: Cannot add user: no_add_managed_profile is enabled. (code 1)
Error: couldn't create User.
In the document https://developer.android.com/reference/android/os/UserManager#DISALLOW_ADD_MANAGED_PROFILE
DISALLOW_ADD_MANAGED_PROFILE Added in API level 26 Deprecated in API level R public static final String DISALLOW_ADD_MANAGED_PROFILE This constant was deprecated in API level R. As the ability to have a managed profile on a fully-managed device has been removed from the platform, this restriction will be silently ignored when applied by the device owner.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 20 (4 by maintainers)
I’m also stuck at the same issue. I’m using Android 10, Samsung Galaxy M31s.
Interesting fact: All of this works when Samsung FBE device encryption is not used. So if you have a rooted phone and re-setup it without encryption (e.g. by flashing multidisabler), Island will install just fine with the root routine of the app. If the phone is encrypted, the step 1 error comes up, and user creation via ADB doesn’t work either.
Very weird.
Is there a solution to this problem available ? Iam stuck with the same thing on a Galaxy S20 with Android 11.
pm create-user --profileOf 0 --managed Island
results in “Error: couldn’t create User”getprop fw.max_users
Shows a set value of 10.God mode 激活
等几分钟后进入 app,只有主空间,没有 Island 空间
adb 日志
激活 God mode 后,请在 Island 内创建新空间(Android P 之后 God mode 已无法再通过 ADB 创建空间)。
如果创建失败,请提供 logcat 以便分析。