Are these adb commands safe? 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?
yes, It is safe. the first one code is about to validation on user: name as 'true', the others starts Login and jump it..

about the codes its ok. but if you use another one soft, it might be not safe.