I got a MacBook Pro (macOS 12.10.1) from my friend who I can't contact anymore, and here's the deal.
It has only one administrator account with a login password (Which I don't know)
It has FileVault enabled with a password (Which I don't know)
It is linked to an iCloud account (Which I don't know)
I only need the Mac to be reusable, I don't need any documents or files. I tried some methods through googling, but most of them failed.
I tried to start up in single-user mode.CommandS, but I got an error saying [Builduser() : error building a user type 0x20010008]
I tried ShiftOptionCommandR which is saying to reset password using iCloud account password.
I tried to reinstall macOS through macOS utilities window > Reinstall macOS but it is asking for my FileVault key
I tried to reset user account password through terminal
$ resetpassword, but it is asking for the iCloud password.
I tried to erase disk utilities but it is throwing me an error.
I didn't try to install through Internet recovery yet. I don't think it will work either.
(I got a stupid idea while sleeping. Will this work?!!!. I thought to plug my hard disk which may be locked in some way, to another computer and erase the whole disk and plug it into my Mac, so the Mac will think it as a new hard disk)
Is there any other method I can try to reuse my Mac>