Librephone project wants to remove proprietary "blobs" from smartphones that otherwise run open source software ...
You can bypass Google verification on an Android device when you've forgotten your login information. The steps you need will depend on your device.