[Please Register or Login to download file] Ubuntu commands to extract & write SD card CID and SN to a new compatible SD card. I blanked CID number "5**********************************11401" in purpose not to violate the copyright law. These instructions are for educational purpose only. Please do not make any illegal copies. Thank you
Use ubuntu live cd - Ubuntu 16.04.7 LTS (Xenial Xerus)
-------------------------------------------------------------------
ubuntu@ubuntu:~$ sudo -s
root@ubuntu:~# cd /usr/local/src
DOWNLOAD EVO+ CID SFTW:
root@ubuntu:/usr/local/src# git clone
[Please Register or Login to download file] .
INSTALL EVO+ CID SFTW:
root@ubuntu:/usr/local/src# apt install git
Do you want to continue? [Y/n] Y
INSTALLATION VERIFICATION:
root@ubuntu:/usr/local/src# ll
total 0
drwxr-xr-x 1 root root 60 Dec 20 18:49 ./
drwxr-xr-x 1 root root 60 Oct 18 18:32 ../cd jni
drwxr-xr-x 5 root root 160 Dec 20 18:49 evoplus_cid/
root@ubuntu:/usr/local/src# cd evoplus_cid/
root@ubuntu:/usr/local/src/evoplus_cid# cd jni
root@ubuntu:/usr/local/src/evoplus_cid/jni# ll
total 20
drwxr-xr-x 2 root root 140 Dec 20 18:49 ./
drwxr-xr-x 5 root root 160 Dec 20 18:49 ../
-rw-r--r-- 1 root root 287 Dec 20 18:49 Android.mk
-rw-r--r-- 1 root root 3927 Dec 20 18:49 evoplus_cid.c
-rw-r--r-- 1 root root 950 Dec 20 18:49 ioctl.hgcc evoplus_cid.c -0 evoplus_cid
-rw-r--r-- 1 root root 3979 Dec 20 18:49 major.hapt installapt install gcc gcc
-rw-r--r-- 1 root root 1729 Dec 20 18:49 mmc.h
root@ubuntu:/usr/local/src/evoplus_cid/jni#
COMPILE ANDROID PACKAGE TO UBUNTU:
root@ubuntu:/usr/local/src/evoplus_cid/jni# gcc evoplus_cid.c -o evoplus_cid
INSTALLATION OF UBUNTU PACKAGE:
root@ubuntu:/usr/local/src/evoplus_cid/jni# apt install gcc
Do you want to continue? [Y/n] Y
root@ubuntu:/usr/local/src/evoplus_cid/jni# ll
total 36
drwxr-xr-x 2 root root 160 Dec 22 09:45 ./
drwxr-xr-x 5 root root 160 Dec 22 09:41 ../
-rw-r--r-- 1 root root 287 Dec 22 09:41 Android.mk
-rwxr-xr-x 1 root root 13064 Dec 22 09:45 evoplus_cid*
-rw-r--r-- 1 root root 3927 Dec 22 09:41 evoplus_cid.c
-rw-r--r-- 1 root root 950 Dec 22 09:41 ioctl.hll
-rw-r--r-- 1 root root 3979 Dec 22 09:41 major.h
-rw-r--r-- 1 root root 1729 Dec 22 09:41 mmc.h
READ CONNECTED DRIVES:
root@ubuntu:/usr/local/src/evoplus_cid/jni# find /sys -name cid -print
READ CID ON CONNECTED SD CARD:
root@ubuntu:/usr/local/src/evoplus_cid/jni# cat /sys/block/mmcblk0/device/cid /sys/block/mmcblk0/device/serial
WRITE CID ON CONNECTED SD CARD:
root@ubuntu:/usr/local/src/evoplus_cid/jni# ./evoplus_cid /dev/mmcblk0 5**********************************11401
DONE:
Writing new CID: 5**********************************11401
Success! Remove and reinsert SD card to check new CID