BlackBerry abandoned its sale process on Monday, and announced it will replace its chief executive.

Fairfax, BlackBerry’s largest shareholder with a 10 percent stake, said it won’t buy the struggling smartphone company and take it private but said it and other investors will inject $1 billion as part of a revised investment proposal.