As far as I know, WSM uses exactly the same code for the framework (at least for the main parts), they only have a different installer UI.
There were some issues with MIUI a few (~3) weeks ago, maybe you have a ROM version with the debug code that they shipped unintentionally. If your ROM is very recent, could you please post a logcat of the bootloop?
|don't ask questions about modules here!!!, framework, xposed|