Default Convert custom ROMS to i8160P ?

Hi


I would know how to convert customs ROMS to i8160p

Thanks
Samsung Galaxy Ace 2 GT-i8160P
ROM : CyanogenMod 10.2.
Kernel : Stock CM10.2.
Baseband : I8160PXXMG2.
Theme : Gem Flat Theme.

I am french, so please excuse me for my bad english.