Trimming vanilla MIUI 11


Jul 30, 2020
I know these forums are for modded MIUI EU ROM, but I was curious if someone can help me with classic one. I have installed LAVENDEREEAGlobal_V11.0.7.0.PFGEUXM with TWRP and root and there are a few things I'd like to trim down/remove.
First, it's FindDevice. I will never use it and I've already unlocked the bootloader anyway. Problem is, I cant just remove it, there is some boot-time services dependency which needs to be taken care of or I will stuck in a bootloop. Does anyone, who is already familiar with MIUI guts, knows what is the dependency? I went through whole /etc/ but could not find anything relevant.

Second question is DPM framework. Similar issue as here:

Not sure where can I find official x64 compiled libs for Android 9?