My Pixel 5 running Android 11, encountered a frozen screen when attempting to set the screen lock to none.
After the system auto reboots, the device prompts for unlocking the screen pattern. Even entering the correct pattern, the work profile consistently prompts for unlocking,
The issue seems from using One Lock to secure the device but not removing the screen lock pattern successfully.
Following a guide to delete locksetting files allowed successful access to the device. However, the work profile prevents the opening of apps.
Rebooting to TWRP (3.7.0_11-0) seems user 10's data is encrypted. Also following How to decrypt Island / Work profile and Parallel Apps user in TWRP?, the same, does not solve the issue.
Any solution to decrypt the work profile data without format?
Edit: According to the using-adb-to-change-the-screen-lock I also attempted to remove the screen lock using ADB.
adb shell
locksettings clear --old MY_PASSWORD --user 0
locksettings clear --old MY_PASSWORD --user 10
locksettings verify --user 0
locksettings verify --user 10
both show Lock credential verified successfully
after rebooting to TWRP, user 10 still failed to decrypt