BlackBerry Ltd reported better-than-expected adjusted earnings for the sixth straight quarter, as the smartphone pioneer's shift to the higher-margin software business paid off.
The Canadian firm also said on Friday it expected to be profitable on an adjusted basis for the second year in a row, and generate positive free cash flow in the year ending February 2018.
The company's US shares closed up 11.5 percent at US$7.75 (A$10.18) on Friday, and its Toronto-listed shares closed up 11 percent at CAD$10.30 (A$10.12).
Ontario-based BlackBerry has focussed on building a robust software business after scrapping production of its once-iconic smartphones, which lost favour with the arrival of fully touchscreen handsets.
The company outsourced the development of its smartphones last year, signing a deal with Indonesia's BB Merah Putih to make and distribute new BlackBerry-branded devices. It has also signed similar deals with China's TCL and India-based Optiemus Infracom Ltd.
Adjusted revenue from the software and services unit, which includes mobile device management products and the QNX industrial operating system, rose 12.2 percent to US$193 million in the fourth quarter ended 28 February from the preceding quarter.
QNX is crucial to BlackBerry's efforts in the self-driving vehicle industry. The company already has a partnership with Ford Motor Company to develop autonomous driving software, and chief executive John Chen hopes to forge such deals with carmakers around the world.
On an adjusted basis, the company's total revenue was US$297 million, beating analysts' average estimate of US$289.3 million.
"They (Blackberry) put up a good quarter on the software revenue side, but if you dig a little deeper a lot of that beat was driven by relatively lumpy professional services revenue," Cavan Yie, portfolio manager at Manulife Asset Management, told Reuters.
Yie said Manulife has stayed away from the stock due to Blackberry's lack of free cash-flow generation, but that could change given the "potential for good things to come out" of the software business.
Gross margin jumped to 60.1 percent in the quarter from 43.3 percent last year.
BlackBerry received more than 3500 enterprise customer orders in the quarter, a 16.7 percent increase from the third quarter.
"Looking ahead to fiscal 2018, we expect to grow at or above the overall market in our software business," Chen said in a statement.
Excluding one-time items, the company earned US4 cents per share. Analysts on average had expected the company to break even, according to Thomson Reuters I/B/E/S.
Operating expenses nearly halved to US$229 million.
Reporting by Vishaka George and Narottam Medhora in Bengaluru. Additional reporting by Denny Thomas in Toronto. Editing by Sai Sachin Ravikumar and Maju Samuel