Despite struggling with weak phone demand, the company manages to report better-than-expected quarterly results.