Framework-res.apk after edit make bootloop but in it works...

Nov 1, 2013
Hey Guys.I have problem with my framework-res.apk.When I edit this apk with MIUI V5 APKMULTITOOL_1.0.11.2 it makes bootloop.But when I flash not modifed Rom and then my apk in it works...What to do to make my framework work without Bootloop in rom ?

Ps: Do i have to modify some extra files?
Or use another tool?