Second quarter earnings at TRW Automotive Holdings rose 7% as strong demand for safety products such as airbags offset weak vehicle production in North America and Europe.