A friend gives me her phone that she does not use anymore. This is a Oneplus 7 (android). She has set a pattern to lock the screen and does not remember it. So the smartphone is locked.

She's not sure that all her photos are recover so she wants me to save all of them before I reset the smartphone. USB debugging is not activated.

I see several options here:

  • Use her Google account to deactivated the lockscreen (No idea if possible and I have not found anything about this)
  • Bypass the lockscreen and access the data (sonds illegal to me but maybe there is a way). All the solution I have found erase data.
  • Make a copy of all the data of the smartphone (also sonds illegal)
  • Use her Google account to force synchronisation between the smartphone and Google Photos from PC (I have no idea if this option exists)
  • Any other solution?
  • Is the device encrypted? Commented Nov 28, 2022 at 18:14
  • @mashuptwice I can't find information about that. Oneplus does not give details about it and I am pretty sure the previous owner did not set encryption if this is a parameter in the phone
    – Ryley38
    Commented Nov 28, 2022 at 18:28
  • 1
    of course device is encrypted. there is no way to decrypt without pin
    – alecxs
    Commented Nov 28, 2022 at 19:31
  • 1
    About illegal angle, ask your friend if she is okay if you try to break into her phone cause she cannot give the lock screen credentials and it seems unreasonable of her to ask you to get access to her photos without lock screen credentials. Once she gives a go ahead, you only have one angle to pursue. Exploiting a bug in your device and hoping that it gives you wireless access to the device or bypasses lock screen. Here is one full screen bypass exploit that might work on that device. bugs.xdavidhu.me/google/2022/11/10/…
    – Firelord
    Commented Nov 29, 2022 at 10:18
  • 1
    @Firelord the .dismiss() vulnerability cannot decrypt device. but yeah nice exploit :)
    – alecxs
    Commented Dec 20, 2022 at 19:26

1 Answer 1


None of the option have been tested. She remembered her pattern so I am able to unlock the phone. Firelord's solution is probably the best option in this case. But as he said, exploiting a bug may be outdated very soon.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .