my phone gone locked after hard factory reset, waited for 3 days but still can't login. I've found a solution on internet that works, i need to use adb and use following commands on my phone:
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
adb shell am start -n com.google.android.gsf.login/
adb shell am start -n com.google.android.gsf.login.LoginActivity
what are these commands doing(especially first one)? Safe to use or makes a backdoor on my phone?