I have a Poco F5 Pro (Brazil), with the xiaomi.eu Mondrian ROM (Redmi K60). During this week my device also started to show the defects described here (camera, flashlight, videos on Instagram and YouTube, etc., nothing works...). I have root access and within the /data/apex folder there are several subfolders... In my case, the closest to "com.android.media.swcode(at)340818112.apex" (MI11) is "com.android. media.swcode(at)340922012"... Try deleting this folder through Explorer (with root), but it doesn't delete it. Try rebooting into TWRP, but it only sees the entire APEX folder, and does not see subfolders. So I don't know how to continue. Can anyone help me?