how did you connect it to the pc? was the phone in file transfer mode when inserted or turned off

explain what way you connected it please