Hi!
I think you must provide more information to us in order to help you.
Tell us:
is your ROM stock running without problems?
Which ROM stock version is running without problems?
if you want to flash a MM custom ROM, you must flash first a stock MM ROM (ODIN flash can modify PIT, partitions...