If nokia had two in-house OS releases (fremantle and harmattan) that are arguably better than the competition.

Choosing a more costly, external redundant option is the root of all their current problems.

That and also accepting the cancer seed from redmond that became their supreem leader.