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,
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?