I am using an android device an want to install my own custom rom for mele a1000 on to it.

I have built an android os image from the source code for the android device. but the image which i have got does not get flashed on to the device and it corrupts the os already present in the device. i have got all the system, ramdisk, recovery, boot images but still the final packed image does not work.

i tried running on emulator but the emulator remains blank and deos not boot.

what must be the problem.....please help....if anyone could help me please..