recovery mode – ADB find my device


I have been locked out of my device, and when trying to unlock it using Google’s find my device option my phone is shown as offline while it definitely has internet access.

How can I log in to google services on my phone using ADB (the only thing I can use on my phone without unlocking it)