Default [Q] Problem in flashing custom rom

I am getting problem in flashing custom rom (lewa os) in my phone (micromax a74)... Sometimes i get status 0 error , sometimes i get status 7 error with set perm error.......help me guys....the roms is ported from zte v818.....if u want i will upload my build.prop and updater script.......