we have a porting guide on the wiki at http://trac.osuosl.org/trac/replicant/wiki/How_to_port_Replicant I'm not sure if it's up to date or contain enough information for making a full port for a samsung device but it should be improved if not. Denis.