HOW TO CLONE SD CARD SERIAL NUMBER CODE
Please note, while the code below works using the Javascript of your browser, I have no prior Javascript coding until today, with much help from Google searches and W3schools.
![how to clone sd card serial number how to clone sd card serial number](https://sc01.alicdn.com/kf/H7654f12746e048ca8998d4d38430b28fv.jpg)
I used this reference by Sandisk for the data field lengths and types. Unfortunately, I haven’t seen a large CID database online, nor have I seen a CID decoder that will decode the hex string into the component parts (some BCD, some ASCII, others Unsigned Int or best as Hex), so I went on a journey to code one up for CID. By comparing some cards that you own with the known signatures, you can have some reassurance whether your cards are similar, or genuine. By running Chrubuntu, getting the CID or CSD data from a card is as simple as: cat /sys/block/mmcblk1/device/cidĮt voila! You will be rewarded with a hexadecimal string with the data in it. Under the Chromebook, the SD reader slot on the side is directly connected to the SD bus of the ARM CPU and is not a USB based reader. I am aware that it was possible to do this via the SD Card Shield and Arduino, but since I have a Chromebook, things got really easy. These can only be accessed directly via hardware and not via most card readers. There is also another called the CSD or Card Specific Data Register. One is known as the CID, short for Card Identification Register. SD cards, along with their “counterparts” mini and microSD cards, all contain manufacturer defined information in a set of registers. Buying flash memory from poorly reputed places, such as Chinese computer markets, and online auction sites is an often known way to collect BAD flash memory cards that fall short on performance, longevity and data security.