Factory reset does not work samsung a5

samsung a5 sm a520f
up + home + power → wipe data/factory reset → yes
returns
wiping data
formatting /data
formatting /cashe
data wipe complete
e:failed to clear bcb message failed to find /misc partition

The factory reset does not work. Is there another option to factory reset the phone? Android is installed on the phone. I got the phone used and do not know the pin. Thank you.

sure it’s not just asking you for the SIM pin?
in this video they also get the misc partition error:

https://xdaforums.com/t/failed-to-clear-bcb-message-a520f.3950140/

I made a new post on the matter. It appears a samsung security feature is what this is about and how to circumvent it.