0

I accidentally deleted some system files ( I was on adb connection) .

And lock screen stopped working right after.

The issue is that, I have a lock pin/pattern/password, but system says, it's not correct password. I changed my password with removing password files from system, and set a new password. But the error was same, incorrect password. I tried to flash ROM, but it didn't help.After flashing ROM , abd and TWRP broke too, because of the password issue. Also I can't add custom ssl certificates, because the password problem .

Samsung Galaxy s7, Android 9 with Hyper ROM (Galaxy Note port).

What should I do to repair my system files?

0

1 Answer 1

0

If you have access to the /data/system folder you should delete

password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal

all of them who existing.

13
  • I removed them to cancel lock screen, but I have to set a password for adding custom ssl certificates. So, I need that.
    – gmbiz
    Commented Jun 29, 2020 at 9:20
  • if you delete this files you can go to settings and set a new password
    – lucki1000
    Commented Jun 29, 2020 at 9:28
  • Dear friend, I already know my password. The issue about password checking mechanism.
    – gmbiz
    Commented Jun 29, 2020 at 9:36
  • After I set a new password, it throwing same error; incorrect password.
    – gmbiz
    Commented Jun 29, 2020 at 9:45
  • Did you try a dirty flash?, or if you know which files you deleted on hyper rom you can try to extract them from the flashable zip and replace them.
    – lucki1000
    Commented Jun 29, 2020 at 12:56

You must log in to answer this question.

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