BlackBerry said China’s TCL Communication Technology Holdings would make and sell BlackBerry-branded mobile devices globally, the Canadian smartphone pioneer’s first licensing deal since its transition to a software company.
The devices made by TCL, which also makes Alcatel-branded mobile devices, will be coupled with BlackBerry’s security software and service suite, the company said on Thursday.
BlackBerry (bbry) is betting its future on the more profitable business of making software and managing mobile devices after largely ceding the smartphone market to rivals such as Apple (aapl) and Samsung Electronics (ssnlf).
BlackBerry said in September that would outsource the development of its smartphones, and a month later launched its last mobile device—the Android-based DTEK60, which was made under an agreement with TCL.
Get Data Sheet, Fortune’s technology newsletter.
The new agreement gives TCL, the fourth-largest handset maker in North America, the right to make and sell BlackBerry-branded smartphones in all countries except India, Sri Lanka, Nepal, Bangladesh, and Indonesia, some of BlackBerry’s biggest handset markets.
For more, read: Nokia Brand Returns on Super Cheap Dumb Phones
BlackBerry in September signed a deal giving Indonesia’s BB Merah Putih the rights to make and sell new devices in that country, its largest handset market.
BlackBerry’s revenue from software and services was $156 million in its latest quarter, down from $166 million in the prior quarter. The device business contributed $105 million in revenue.