Mediatek-res.apk causing bootloop
The signature mismatch indicates that the package you've installed (the mediatek-res.apk) isn't from the same source as the rest of the OS. It's from a different ROM, probably one made for a different device, by a different OEM. You need to find the APK file that matches the rest of your ROM, from the same device as yours.