title: re-writing uid and block 0 on Chinese (supposed to be writable) MIFARE 1K card in python
body: <p>Here is my issue: my RC522 module is connected to my Pi2 via SPI and I'm able to read all [64 blocks / 16 sectors] using both MFRC522-python and pi-rc522 libraries. Also I'm able to write and change all the blocks(63 blocks) except for Block 0 (including UID) of a Chinese Mifare 1K card that I bought from ebay and it supposed to be Block 0 / UID writable.</p>
  
  <p>Question is: <strong>using the available python libraries</strong>(mentioned above), is it possible to write Block 0 on a Chinese writable Mifare 1K card at all or not.</p>
  
  <p>Note: when I received the card the sector trailer access bits were on transport configuration (FF 07 80 -> 001 for sector trailer and 000 for data blocks), which it means normally I could be able to change the data blocks (including Block 0) using KeyA or KeyB, but I couldn't. I changed the access bits to (7F 0F 88 -> 000 for data blocks) and used KeyA/KeyB, it didn't work, and block 0 remained unchanged. I also tried (78 77 88 -> 000 for data blocks) with KeyA or KeyB, same result.</p>
  
  <p>Again, setting proper access bits, I'm able to read/write all the other blocks except for block 0.</p>
  
  <p>Thanks, A.</p>