Hello everyone I got a used Huawei P20 Lite from a friend, we also reset it to factory settings. But when I insert my SIM card now it comes at the beginning that you should select the country and select the region. Then you will be asked for a Google account and it will not ask for my Google account but for the Google account that was last registered on this cell phone. What can be done about it that I can use it, we made a mistake somewhere in the factory reset
Your friend has to log in with his account. This is meant to protect against theft.
The previous owner must log in with their account and remove the account. There's no other way to get there. He has activated Google Device Protection. Is a theft protection.
This is the Google backup, before the reset the Google account should have been deleted from the mobile phone. The mobile phone can now only be activated again via your friend's Google data. Then he should take out accounts and backup everything that is linked to his Google account, then delete the cell phone from the Google account, then it can be reset again and then you can set it up with your Google data