Hi to all!
I have some trouble with my 6212. On this phone was used next code:
so it set all data in mifare4k to zero successfully (main idea was delete all data).Code:byte[] KeyA = {(byte)0xa0, (byte)0xa1, (byte)0xa2, (byte)0xa3, (byte)0xa4, (byte)0xa5}; MFKey.KeyA key = new MFKEY.KeyA(KeyA); byte[] arr = new byte[16]; for(int i = 0; i < arr.length; i++) arr[i] = 0; for (int i =0; i<256 /*all blocks*/;i++) { WriteBlock(i,arr,key); /* write arr[] in Block(i) with access by "key" */ }
But ofcourse I have got a problem now, I can't read or write something there. I use various keys (standard and zero-keys), use KeyA and KeyB for access.. I read access bits, it show that I can read/write data. But it does not help..
Have you any idea? What should I do for read/write data now? And what I lose sight of?![]()

Reply With Quote

