You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Richard Antony Burton 0cffa65ee2
Merge pull request #9 from gingerbeardman/master
Update ioctl.h to add non-Linux support
5 years ago
jni Update ioctl.h to add non-Linux support 5 years ago
libs fix display bug causing all the 'ff's 8 years ago
.gitignore If user supplies full 32 digit cid (chksum included) use it as is without recalculating the checksum (unless they also want a new serial including in it). User request for a device that appears to always want a 00 checksum. 8 years ago
LICENSE Initial commit 8 years ago
README.md Update README.md 5 years ago

README.md

evoplus_cid

Tool to change the CID on Samsung Evo Plus SD Cards. Requires rooted Android device. Precompiled Android binary included. May also work on regular Linux, but you must use a real sd controller, not a usb mass storage type sd reader. See http://richard.burtons.org/2016/07/01/changing-the-cid-on-an-sd-card/ for more details.

USE AT YOU OWN RISK!

Usage:

./evoplus_cid <device> <cid> [serial]
device - sd card block device e.g. /dev/block/mmcblk1
cid - new cid, must be in hex (without 0x prefix)
  it can be 32 chars with checksum or 30 chars without, it will
  be updated with new serial number if supplied, the checksum is
  (re)calculated if not supplied or new serial applied
serial - optional, can be hex (0x prefixed) or decimal
  and will be applied to the supplied cid before writing

Based on the reverse engineering and code of Sean Beaupre, see: https://github.com/beaups/SamsungCID

Compile

gcc evoplus_cid.c -o evoplus_cid

You can safely ignore compilation warnings.