melvin wrote:
Software shows locked status because it can't get any sector access so it thinks the card is locked.
Not quite, the host knows that the card is locked by checking its status (CMD13). Card can be lock/unlock sending command CMD42 but you need to know the password.
melvin wrote:
Most of cases where a card has locked status is when they are damaged and the only solution is to read them via NAND protocol
...and yes probably the only method is NAND, but there are people who can bypass it in some cards.
More source:
Bypass:
https://media.defcon.org/DEF%20CON%2027/DEF%20CON%2027%20presentations/DEFCON-27-Nicolas-Oberli-Poking-the-S-in-SD-cards.PDFAbout lock/unlock sd card:
https://media-www.micron.com/-/media/client/global/documents/products/technical-note/sd-cards/tnsd01_enable_sd_lock_unlock_in_linux.pdf?rev=03f03a6bc0f8435fafa93a8fc8e88988