Default How to port a rom from I9100 to I9100G

Can port a rom from I9100 to I9100G?
If yes, anyone know how to do it?
Thanks