I do enjoy the Xiaomi.EU ROM very much and my son is using it since 9 month now. Unfortunately I also do have the permission problem with TWRP now. My situation:
- Xiaomi Redmi Note 9 (ginkgo)
- My son is using a pattern for device security, but fingerprints are also configured.
- Before update MIUI 20.11.11 ROM was installed. Everything worked fine. Planned an update to this version 20.12.9 using xiaomi.eu_multi_HMNote8_20.12.9_v12-10.zip.
- Copied zip to internal memory, rebooted to recovery.
- Using TWRP 3.4.0.0 by mauronofrio (twrp-3.4.0-0-ginkgo-willow-mauronofrio.img)
- Installed ZIP and wiped cache and dalvik.
- Rebooted to system.
Afterwards I went back to TWRP and found tons of error messages:
Code:
Determining wrapped-key support for /data
fbe.data.wrappedkey = true
Wrapped key supported on /data
Added key 377337923 (ext4:b8d2594de671e4b3) to keyring 776216706 in process 441
Added key 827430475 (f2fs:b8d2594de671e4b3) to keyring 776216706 in process 441
Added key 612730818 (fscrypt:b8d2594de671e4b3) to keyring 776216706 in process 441
Installed de key for user 0
Using synthetic password method
Handle is 'f88df6fda36976eb'
I:PageManager::LoadFileToBuffer loading filename: '/data/system/users/0.xml' directly
E:PageManager::LoadFileToBuffer failed to open '/data/system/users/0.xml' - (Invalid argument)
Using synthetic password method
Handle is 'f88df6fda36976eb'
I:User 0 is not decrypted.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/19c1f58c'
I:Settings storage is '/data/media/0'
Updating partition details...
Error opening: '/data/misc/profiles/cur/0/com.miui.maintenancemode' (Operation not permitted)
I:Real error: Unable to stat '/data/misc/profiles/cur/0/com.miui.maintenancemode'
Error opening: '/data/misc/profiles/ref/com.miui.maintenancemode' (Operation not permitted)
I:Real error: Unable to stat '/data/misc/profiles/ref/com.miui.maintenancemode'
Error opening: '/data/vendor/modem_config/mcfg_hw' (Operation not permitted)
I:Real error: Unable to stat '/data/vendor/modem_config/mcfg_hw'
Error opening: '/data/vendor/modem_config/mcfg_sw' (Operation not permitted)
I:Real error: Unable to stat '/data/vendor/modem_config/mcfg_sw'
afterwards tons of the "Error opening" messages.
Afterwards TWRP asks for the pattern. After this you find this in the log:
Code:
Wrapped key supported on /data
Added key 518492408 (ext4:a79273c483266021) to keyring 776216706 in process 441
Added key 202540829 (f2fs:a79273c483266021) to keyring 776216706 in process 441
Added key 29393372 (fscrypt:a79273c483266021) to keyring 776216706 in process 441
Installed ce key for user 0
User 0 Decrypted Successfully!
User 0 Decrypted Successfully
I:All found users are decrypted.
Data successfully decrypted
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/19c1f58c'
Updating partition details...
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
Error opening: '/data/misc/profiles/cur/0/com.miui.maintenancemode' (Operation not permitted)
I:Real error: Unable to stat '/data/misc/profiles/cur/0/com.miui.maintenancemode'
Error opening: '/data/misc/profiles/ref/com.miui.maintenancemode' (Operation not permitted)
I:Real error: Unable to stat '/data/misc/profiles/ref/com.miui.maintenancemode'
Error opening: '/data/vendor/modem_config/mcfg_hw' (Operation not permitted)
I:Real error: Unable to stat '/data/vendor/modem_config/mcfg_hw'
Error opening: '/data/vendor/modem_config/mcfg_sw' (Operation not permitted)
Any advice for the root cause/getting back to a normal operation?