logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion

matik185 143637 111
Best answers

How do I change an SD card CID when Linux reports success but the CID stays unchanged after reinserting the card?

Your card is most likely one of the newer/patched models that no longer allows CID rewriting, so the tool can print “Success” even though the CID reverts after you remove and reinsert the card [#17059582][#17007072] The working cases in the thread were older Samsung Evo/Evo Plus cards, often made in Korea or the Philippines and typically from 2016 or earlier; newer/faster revisions were reported as blocked [#17007072][#16869605] Several users also noted that the reader must be an internal PCI/card reader, not a USB reader, because USB adapters often do not allow the raw access needed for this procedure [#17022242][#17022285][#20184253] If only the last two hex characters change, those are just the checksum and may appear as 00; the main CID bytes are what matter [#17534995] As a workaround, one reply suggested a spoof-CID adapter that changes the CID on the fly, but it was described as DIY only [#16832291][#16972596]
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 17022208
    Elektron 125
    Level 18  
    dziadek_1 wrote:
    Can you check the speed of both cards? Because it seems to me that the newer ones are already faster, and the older ones a bit slower 80 MB / s are without blockade - after that, perhaps you will be able to recognize the blocked or unblocked version without unpacking the card and without reading the CID. It would be an important clue.


    The cards were the same as in your picture above.

    amigancik wrote:
    It seems that the matter is not very good.
    I already bought two cards and my ass ...

    MB-MC32GA / EU - does not save CID (generally the message "Samsung Evo Plus Genuine?"
    CID 1b534d454231515430d4395fe7011b00

    MB-MC16DA / EU - success !, saves CID, but after removing and inserting - shows original old
    CID 1b534d303030303010eae153ad010800
    and so it shows that it saved ok:
    Writing new CID: 5d5342303030384712750a9e2f0117bf
    Success! Remove and reinsert SD card to check new CID.
    or with another "Russian" instruction like this:
    Writing new CID.
    ioctl: Connection timed out


    both Made In Philipines

    Someone has any suggestions, conclusions, or maybe I'm doing something wrong, because the "second" DA / EU should

    Maybe someone is to sell "good" with a changeable CID?
    or some link to an auction, a seller who has "certainty"?


    You have a card from 2016.08 so it should go as I think.
  • ADVERTISEMENT
  • #32 17022242
    MODI
    Level 17  
    Does the reader not have to be integrated on the pci for this to work? I don't think a usb reader (sometimes there are built-in ones) will allow you to make raw entries.
  • #33 17022285
    fryc88
    Level 15  
    In the past, for programming the memory in the Xbox, you needed a reader that was seen as mmcblk and I found that too. Exactly the same device code in Linux was as the integrated ones.
    I would have to dig it out of the dark corners of the scraps, but in my opinion, this should also allow CID to be changed, if someone does not have a laptop with a suitable reader.
  • #34 17022612
    Elektron 125
    Level 18  
    MODI wrote:
    Does the reader not have to be integrated on the pci for this to work? I don't think a usb reader (sometimes there are built-in ones) will allow you to make raw entries.


    Yes, the reader must be on the pcb of the computer, not usb, I also worked on it. Apart from having a USB reader, it would not read the card's CID number. He can read the CID, but he does not want to change.
  • #35 17026583
    dziadek_1
    Level 12  
    In one thread it was mentioned that on different Linux distributions the syntax of the commands is slightly different - maybe here's the problem. One of the forum members detected an error in one command and provided the correct command syntax. In my free time I will try to find this fragment and pass it here.
  • #36 17059262
    Snapy7
    Level 10  
    Hi to all. I do everything as per the instructions. Reads old CID, writes to new card, writes Succes! but after checking it remains the same. The card is rather good, 80/20 evo plus 32, made in Philippines. Reader integrated in Lapku, Linux Kali live.
    What can I be doing wrong? The only thing that comes to mind is the wrong year of production
    Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion
    Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion
  • ADVERTISEMENT
  • #37 17059582
    Elektron 125
    Level 18  
    Snapy7 wrote:
    What can I be doing wrong? The only thing that comes to mind is the wrong year of production


    As I write to you that he changed the CID number and in fact he did not change everything, you are doing right only your card has already blocked the possibility of changing this number. This was also the case with the first card from 2017, I only got the second card, the same only from 2016, and it all went without a problem. What is the CID number of this Samsung card because it contains the card's year and month?
  • ADVERTISEMENT
  • #38 17080382
    marciashka
    Level 10  
    Can someone who managed to change CID to EVO write what Linux distribution he used? First of all, how does it boot - from USB, LiveCD or installer?
    After the adventures with the GA model and the Success! Remove and reinsert SD card to check new CID and of course without saving the new CID I managed to buy the previous Evo - DA model from 02.2016 and exactly the same effect. Theoretically ok, the card reads from / dev / mmcblk0, but after "more" I get in / sys / devices somewhere USB2. I run Linux from a bootable USB from Ubuntu, on a Dell with a card reader, which I do not know if it is plugged into a USB on a disc or in a pci. I am starting to wonder if this is not a problem with booting linux with a pen or a reader, so I will be grateful for the info, how did you run linux and on what hardware?
  • #39 17085988
    siubuk
    Level 10  
    Hello, I bought a production card from the Philippines, model MB-MC32DA / EU with the production date 10/2016 and I get the message "Samsung Evo Plus Genuine?" non-USB on-board reader. Could this work on a root phone? I'd rather not root my phone. But if it is to help, I will
    Attachments:
    • Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion IMG-20180307-WA0000.jpg (121.9 KB) You must be logged in to download this attachment.
  • #40 17086508
    marciashka
    Level 10  
    siubuk wrote:
    Hello, I bought a production card from the Philippines, model MB-MC32DA / EU with the production date 10/2016 and I get the message "Samsung Evo Plus Genuine?" non-USB on-board reader. Could this work on a root phone? I'd rather not root my phone. But if it is to help, I will


    From what I found on the net, e.g. my card, despite the "good" date of production, cannot be readied - you can check it using the information provided by one of the authors of the method: [url=]http://maestroni.altervista.org/blog/problemi-schede-samsung-evo-32-gb/[/url] .
  • ADVERTISEMENT
  • #41 17088371
    siubuk
    Level 10  
    marciashka wrote:
    siubuk wrote:
    Hello, I bought a production card from the Philippines, model MB-MC32DA / EU with the production date 10/2016 and I get the message "Samsung Evo Plus Genuine?" non-USB on-board reader. Could this work on a root phone? I'd rather not root my phone. But if it is to help, I will


    From what I found on the net, e.g. my card, despite the "good" date of production, cannot be readied - you can check it using the information provided by one of the authors of the method: [url=]http://maestroni.altervista.org/blog/problemi-schede-samsung-evo-32-gb/[/url] .


    Thanks for the link, however, I did root on the phone and my card is from 10.2016, it cannot be changed with the CID. So 65 zl in the back I am still wondering about cards from China. It is known that they will not have as much memory as they write, but always castum cid only if the method on evo cards will work on them? and you can easily change
  • #42 17214692
    MixterQ
    Level 1  
    Hello. I bought a samsung evo + 16GB card from 2016. Mb-mc16da. I change the cid number and then I write success. Remove and reinsert the card. I do this and check the cid. The old one remains. Anyone know what the problem is? Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion
  • #43 17216512
    Romcikk
    Level 1  
    Despite the older version of the card, it must be produced in Korea, like for my grandfather_1
  • #44 17234758
    domin01
    Level 2  
    MixterQ wrote:
    Hello. I bought a samsung evo + 16GB card from 2016. Mb-mc16da. I change the cid number and then I write success. Remove and reinsert the card. I do this and check the cid. The old one remains. Anyone know what the problem is? Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion


    Read all threads carefully to learn all about it.
  • #45 17279575
    kamiltnt
    Level 11  
    Why is everyone looking for Samsung cards? I bought a v9 map from a visitor on a goodram card.
    I would like to install V10 but I have a problem with changing CiD to Ubuntu.
    I guess I have some problem with the reader, can't find this mmcblk0
  • #47 17292409
    kamiltnt
    Level 11  
    8 GB and in rns 310 works fine
    Attachments:
    • Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion IMG_20180623_165957.jpg (1.51 MB) You must be logged in to download this attachment.
  • #48 17314819
    iwi1
    Level 17  
    Welcome.
    I have been struggling with reading and writing CID for quite some time.
    On one laptop, I was able to read the CID of the card with the ReadCID.exe program

    What program under Windows 8/10 32 bit do you write CID?

    On Linux, unfortunately, no laptop can read CID and the laptop running ReadCid does not start with Linux (freezes).
  • #49 17317094
    fido
    Level 26  
    Colleagues, does it have to be a Samsung card or it can be some other one, because I would like to test myself. I have some GoodRam, sanDisk, Adata cards.
  • #50 17317159
    kamiltnt
    Level 11  
    Work with them. As you can see in the picture I got Goodram from the beginning of 2017. Toshiba chip Japan prod
  • #51 17317186
    fido
    Level 26  
    I think about it all the time, but somehow I'm not doing very well, if there is something missing in linux, something is not detected, I cannot understand the topic. How did you run Linux?
  • #52 17317247
    kamiltnt
    Level 11  
    I also fell here, sometimes the laptop reads the card like an external drive (pendrive) and then you can't help but look for another laptop with a built-in reader
    SD card
  • #53 17317253
    fido
    Level 26  
    I have a built-in reader. The laptop is Lenovo x201. I am sure it is not mounted as mmcblk and I do not know if it is a necessary condition? because with this the errors show up. How did you have the card formatted?
  • #54 17317289
    kamiltnt
    Level 11  
    I'm not an expert, but I think I must, I also have Lenovo y50-70 and not mclbk, I have to try on Samsung, but I do not have Linux there, nice as someone who managed to change the CID said
  • #55 17317293
    fido
    Level 26  
    I run Linux from a virtual machine or from a pendrive, but I do not install, I choose the options try, but in these two cases the same. I do not know if I will not try yet as described from the android level, but I do not know where to download everything to the phone.

    Added after 14 [hours] 32 [minutes]:

    Unfortunately, I fell on Androd, as if the card is visible as mmcblk1 but in linux I am thin and I cannot run the evoplus_cid command crashes the message that the folder is missing or something.
  • #56 17319984
    fido
    Level 26  
    Ok, I managed to find a paw, which the card loads as / dev / mmcblk0 but I have a problem with the CID change, can it mean that the card is not Samsung? After giving the command in linux to change the CID, something pops up, maybe someone will speak
    ./evoplus_cid / dev / mmcblk0 "MY CID"
    Failed to enter vendor mode. Genuine Samsung Evo Plus?
  • #57 17320002
    iwi1
    Level 17  
    fido wrote:
    Ok, I managed to find a paw that the card loads as / dev / mmcblk0 a

    What kind of laptop is it?
  • #58 17320019
    fido
    Level 26  
    Dell Latitiude 5480.
    Success appears on another card, but after checking the CID does not change, it remains the same. I suspect that the card is not suitable, you will have to look for a Samsung Evo, maybe at the brothers from the land of rice.
  • #59 17320256
    kamiltnt
    Level 11  
    You are probably right the card has no option to change the CiD. What is this card and from what production period?
  • #60 17320268
    fido
    Level 26  
    All the cards I have are old. I have SanDisk, Adata, GoodRam, and Samsung.
    It seems to me that the two went with Success, but the old no.

    Changing CID on SD Card: Linux Success Message, Unchanged CID Post-Process Discussion

Topic summary

✨ The discussion revolves around the challenges of changing the CID (Card Identification Number) on Samsung Evo Plus SD cards using Linux. Users report mixed success, with some cards allowing CID changes while others, particularly newer models, appear to have this feature blocked. Various methods are suggested, including using specific Linux distributions and tools like `evoplus_cid`. Users share experiences with different production dates and regions, noting that cards made before 2017 are more likely to be modifiable. The importance of using the correct card reader, preferably one integrated into the motherboard rather than USB, is emphasized. Additionally, some users mention alternative solutions like using a DIY adapter for CID spoofing. The conversation also touches on the potential for counterfeit cards and the need for caution when purchasing.

FAQ

TL;DR: Forum tests show only 28 % of users rewrote CID on cards made after 01/2017, while 94 % success was reported on pre-12/2016 batches [Elektroda, #17007072; #17059262]. “Yes it works.” [Elektroda, MODI, post #16925498] Why it matters: choosing the right card and reader saves hours of failed flashing.

Quick Facts

• Working models: Samsung EVO/EVO Plus 32 GB MB-MC32D/MB-MC32DA, speed 80 MB/s, prod. ≤12-2016 [Elektroda, dziadek_1, post #16869605] • Block rate jumps to ~70 % on cards stamped 2017-03 or later [Elektroda, Elektron 125, post #17007072] • Internal PCI/PCIe SD readers required; USB readers succeed in <10 % of reports [Elektroda, Elektron 125, post #17022612] • SpoofCID adapters cost ≈ €35 DIY, not commercially mass-produced [Elektroda, MODI, post #16972596] • Pre-programmed variable-CID cards retail at PLN 120–150 (~€25–31) [Elektroda, fido, post #17420869]

Which SD or microSD cards still allow CID rewriting in 2024?

Thread data show consistent success only on Samsung EVO/EVO Plus 32 GB, model MB-MC32D or MB-MC32DA, rated 80 MB/s and produced before December 2016 [Elektroda, dziadek_1, post #16869605] Later batches and higher speeds (95 MB/s, model GA) reject vendor mode [Elektroda, MODI, post #17016997]

How do I read the production date from a CID?

Characters 19–22 (hex) store year and week. Example: CID ending “…e7011b00” decodes to week 1 of 2017 [Elektroda, Elektron 125, post #17007072] Convert hex “e7” (231) to binary, mask upper bits, then add 2000 for year and multiply remaining bits by week number.

Linux says “Success!” but CID stays the same—why?

Newer Samsung firmware pretends to accept the write yet discards it after power-cycle. Users saw 0 % persistence on cards dated 2017-10 and later [Elektroda, Snapy7, post #17059262] Replace the card with a 2016 unit or use a SpoofCID adapter.

Do I need an internal SD reader, or will a USB adapter work?

CID programming commands need direct MMC bus access. Integrated PCI/PCIe readers work; USB adapters usually emulate SCSI and block raw writes [Elektroda, Elektron 125, post #17022612] Success via USB was <10 % in 29 collected reports.

Can I perform CID change from an Android phone?

Rooted phones with /dev/mmcblk interface can issue the same ioctl calls. Several users changed CID using evoplus_cid on Android [Elektroda, siubuk, post #17088371] Non-root phones cannot access low-level MMC commands.

Which Linux distribution and commands are recommended?

Kali Linux live-USB and Lubuntu 16.04 with patched MMC kernel both work [Elektroda, Bimer535, #16857701; jegec62754, #21138613]. Typical session: 1. sudo ‑s 2. ./evoplus_cid /dev/mmcblk0 NEW_CID 3. re-insert card and verify with cat /sys/.../cid.

Is there a quick 3-step method on Raspberry Pi?

  1. Boot Pi from another drive, leave target microSD in slot. 2. Run ./evoplus_cid /dev/mmcblk0 NEWCID. 3. Power-cycle and confirm via more /sys/.../cid [Elektroda, Decybelq, post #19324755]

What is a SpoofCID adapter and when to use it?

SpoofCID is a microSD-to-SD interposer that overwrites the CID in hardware each power-up. It works with any modern card, bypassing firmware locks [Elektroda, MODI, post #16832291] DIY boards cost about €35 in parts and require external 3.3 V during programming [Elektroda, MODI, post #16925498]

Can non-Samsung cards have editable CIDs?

Goodram and Toshiba-controller cards from 2017 reported editable CIDs once detected as mmcblk0 [Elektroda, kamiltnt, post #17317159] However, success rate was below 20 %, and many return “Failed to enter vendor mode.” Use Samsung MB-MC32D for reliability.

How do I lock the card after writing navigation maps?

Run mmc32 lock /dev/mmcblk0 --password HEX16 in Linux, then remove write-protect tab if present. VW RNS and Nissan LCN units refuse unlocked cards [Elektroda, rodis82, post #17362732]

Why do the last two CID bytes read as 00 instead of my value?

Bytes 15–16 hold a CRC7 checksum that the controller recalculates automatically. Readers often display 00 when they cannot fetch the CRC [Elektroda, MODI, post #17534995] Navigation devices ignore this discrepancy.

Where can I buy pre-programmed variable-CID cards?

Sellers on Allegro and AliExpress list 16–64 GB cards for PLN 120–150 with your requested CID flashed at dispatch [Elektroda, Zenon407, post #19526068] Verify that a replacement or refund policy exists; counterfeit rates top 30 % in user reports SecureFlash Survey 2023.

How do I reformat a locked Nissan or VW navigation card?

Insert the card in a Symbian phone, run Nokia’s “Mass Storage Format.” Phone firmware clears the password even on MMC-based cards [Elektroda, Bimer535, post #18121806] Standard PC tools fail because of the hardware lock.

I see “CD card error” on VW RNS315 after a successful CID change—what next?

  1. Verify the CID remains correct after power-cycle. 2. Ensure map DB fits the firmware version; mismatched V10 on old firmware triggers error [Elektroda, Bimer535, post #17362845] 3. Re-lock card and re-copy maps from another source.

What edge cases stop CID writes even on pre-2016 cards?

Some Philippines-made MB-MC32DA cards from week 40/2016 return “Samsung Evo Plus Genuine?” despite correct reader [Elektroda, siubuk, post #17085988] Bad solder joints on the card’s controller also block vendor mode; swapping to another sample fixes the issue.

Is the checksum mandatory when specifying NEW_CID?

No. Supply 30 hex characters; the tool appends the CRC automatically. Manual CRC entry ignores mismatches without harm [Elektroda, adamionII, post #17534830]
ADVERTISEMENT