BlackBerry reported quarterly revenue on Friday that fell short of analysts' expectations, but managed to post a small adjusted profit and positive cash flow.

The company reported a net loss of $148 million, or 28 cents a share in the quarter ended Nov. 29. That compared with a year earlier loss of $4.4 billion, or $8.37 a share. Excluding one-time items the company earned 1 cent a share.