how to write costom rom


:confused:how to write costom rom on htc m8:confused: