Nokia's management made a horribly bad choice in choosing Windows over Android. It's 100 percent their fault.
Stephen Elop is now an infamous business book case. He was a Microsoft manager, than a trajan horse as Nokia CEO who burned their main platforms, shifted to WinPhone, de-valued Nokia, MS bought the Nokia devision, MS burned the devision ... read the article, btw Nokia was the biggest phone and smartphone (Symbian) manufacturer back then.
They were doomed by the Symbian technical debt. When the iPhone came out, a very smart person posted a comment on HN saying Nokia is dead and he was right I guess :)
Also, your accusation that Google didn't like Nokia is also baseless and your explanation is bizarre.