Samsung Electronics reported operating profit of $4.5 billion after its components business helped offset the hit to the mobile unit.