Slashdot Mirror


Engineers Devise a Technique To Fight Counterfeit or Recycled Smartphone Memory (ieee.org)

Flash is designed to last a decade or more of use. A lot of the gadgets that rely on it, however, are not. Shady recyclers have spotted opportunity in that mismatch, stripping out used chips and selling them as new. But fret not, there is something that can be done to address the issue. From a report: Engineers at the University of Alabama have come up with a straightforward electronic examination that can tell if a flash chip is new or recycled, even if that chip has only seen 5 percent or less of its life. And the technique is so straightforward that a smartphone app could run it on its own memory. [...] A flash memory cell is like an ordinary transistor, it has a source and a drain and a channel through which current flows under the control of voltage on the gate electrode. The difference is that the gate is split into several layers -- the control gate, the blocking oxide, the floating gate, and the tunneling oxide.

[...] Voltage on the control gate causes electrons to tunnel through that bottom oxide and get stuck inside the floating gate. This charge or its absence is the stored bit. It alters how much voltage you need to turn the transistor on in a way that you can easily measure. Erasing the bit is done by reversing the voltage and driving the charge out of the floating gate. Ray and his team took advantage of the rather high voltages -- about plus or minus 20 volts -- needed to program and erase flash. The more you program and erase a cell, the more defects will accumulate in the oxide, he explains.

52 comments

  1. A more productive solution? by king+neckbeard · · Score: 3, Insightful

    Wouldn't it be more productive to create positive channels for recycling the flash memory? There are plenty of usage cases where the reduced performance would be unimportant, and the reduced cost would be attractive. If you want to stop "shady recyclers," the obvious solution is to bring them into the sunlight.

    --
    This is my signature. There are many like it, but this one is mine.
    1. Re:A more productive solution? by Anonymous Coward · · Score: 1

      Wouldn't it be more productive to create positive channels for recycling the flash memory?

      "Productive" in terms of efficient use of resources? Likely yes. Productive in terms of vendor lock in and maximising corporate profits? Not so much.

      Corporations don't want effectively recycling, they want to have vendor lock in and to be sure they're getting paid.

      Shit like this isn't about you, it's about them.

    2. Re:A more productive solution? by bluefoxlucid · · Score: 1

      Productive in terms of vendor lock in and maximising corporate profits? Not so much.

      There isn't really a difference. If recycling has higher overhead than new sourcing, then it decreases profits over buying new chips. If it has lower overhead, then it increases profits.

    3. Re:A more productive solution? by HornWumpus · · Score: 2

      You realize we're talking about bog standard SD cards?

      The vendor locking ship sailed years ago. IIRC even Sony is using standard flash.

      We all know you're just repeating derp you heard somewhere else.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  2. Why devise ways to prevent recycling? by JoeyRox · · Score: 2

    If you're going out of your way to detect whether a flash part has even just 5% use on it [as proof of it being pulled from a previous installation] then I have to question the motivation here. For sure reuse should be disclosed but it also shouldn't be prevented.

    1. Re:Why devise ways to prevent recycling? by 93+Escort+Wagon · · Score: 1

      I guess part of the question is - when you measure flash degradation over time, is it linear? If yes, then 5% is not that big a deal. If no, then 5% current wear might indicate it's about to fall off a cliff.
       

      --
      #DeleteChrome
    2. Re:Why devise ways to prevent recycling? by Anonymous Coward · · Score: 0

      Because selling a recycled part as being new is fraud.

    3. Re: Why devise ways to prevent recycling? by Anonymous Coward · · Score: 0

      Bingo. How much less do you expect to pay for a refurbished product?

      Probably a lot less than the margin between new and used chips can offer.

    4. Re:Why devise ways to prevent recycling? by jimbolauski · · Score: 2

      No one has a problem with reusing, it's selling a used item as new that causes problems.

      --
      Knowledge = Power
      P= W/t
      t=Money
      Money = Work/Knowledge so the less you know the more you make
    5. Re: Why devise ways to prevent recycling? by Anonymous Coward · · Score: 0

      If you bought new tires with 5% their expected lifetime in miles on them already, tell me you wouldnâ(TM)t be pissed off.

      This is no different than the little rubber whiskers on a new tire telling you it is in fact new. If you want to fix a used phone with used parts go right ahead, just donâ(TM)t sell it as new. This is common sense...

  3. How much wear and tear actually exists? by alvinrod · · Score: 3, Insightful

    How much wear and tear does the flash memory in the typically device actually take? Now that that amount of RAM on these phones is sufficiently high (The newest Android flagships have 4 GB now) there shouldn't be as much need to use the flash memory for a pagefile or something of the sort. I'm not even using 64 GB on my phone (most of it is music which is just going to be read from) and that's what comes standard on most flagship devices these days.

    I suspect that a lot of this used flash would still outlast the expected lifespan of the device for most people. I can even see the recycling companies using this technique themselves to sell the recycled chips in different bins based on use. The article doesn't describe the extent to which people are getting worn out flash memory, and I suspect it's not a particularly big issue.

    1. Re:How much wear and tear actually exists? by iampiti · · Score: 1

      I'm not an expert but I believe flash memory in phones isn't used for paging. The reason in precisely that it would severly impact on the lifetime of the device's internal memory.
      When the OS runs out of RAM it just starts killing apps.

    2. Re:How much wear and tear actually exists? by swillden · · Score: 1

      I'm not an expert but I believe flash memory in phones isn't used for paging. The reason in precisely that it would severly impact on the lifetime of the device's internal memory. When the OS runs out of RAM it just starts killing apps.

      Not so much because paging would kill the flash, but because paging in and out would kill performance. It turns out to be much better to just kill apps not used for a while when low on RAM, especially since all mobile apps already have to be written to assume they can be evicted at any time.

      The only sort of paging I've seen used in any Android device, at least, is paging to compressed RAM (zram). This generally isn't a huge win, though it sometimes makes sense.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:How much wear and tear actually exists? by iampiti · · Score: 1

      Thanks for the comment. I give it more credibility coming from someone who's been involved in a mobile OS :).

    4. Re:How much wear and tear actually exists? by swillden · · Score: 1

      Thanks for the comment. I give it more credibility coming from someone who's been involved in a mobile OS :).

      I don't work on anything directly related, but I got curious a while ago and asked people on the Android kernel team who do exactly this stuff. So you're getting it secondhand, but originally from authoritative sources. Assuming I didn't screw it up, which can never be completely discounted :-)

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  4. Do a few write and erase cycles.... by cnaumann · · Score: 1

    And the memory is used. With 100% confidence!

    Do write and erase until it is broken and you know have many cycles it had left.

  5. Time to break out the heatable flash by Anonymous Coward · · Score: 1

    Apparently you can reset the flash cells' use count by adding circuitry that does a heating thing. Those can be safely recycled, and the problem with re-used flash sold as new goes away.

    And maybe we should start and design the devices to last a bit longer than we currently do, too. My nokia 6310 is still going strong (needs new rubber and new battery), and I see no reason to replace it. Why aren't we even trying to make designs that good? Instead all you get is stupid little gimmicks like rounded corners or notches in the screen. What does that buy me, exactly?

    1. Re:Time to break out the heatable flash by shaitand · · Score: 4, Insightful

      "Why aren't we even trying to make designs that good? Instead all you get is stupid little gimmicks like rounded corners or notches in the screen."

      Because having phones that last longer is in direct conflict with the motives of literally every competitor making phones. Even if they never sit in a room and collude they'll reach the same result simply by acting out of self-interest. Why would they compete with each other on more durable phones or in any real way on cost when those things hurt their bottom lines? Better to make everyone replace their phone on a regular basis and compete for pieces of the next round of purchases.

    2. Re:Time to break out the heatable flash by cascadingstylesheet · · Score: 1

      "Why aren't we even trying to make designs that good? Instead all you get is stupid little gimmicks like rounded corners or notches in the screen." Because having phones that last longer is in direct conflict with the motives of literally every competitor making phones. Even if they never sit in a room and collude they'll reach the same result simply by acting out of self-interest. Why would they compete with each other on more durable phones or in any real way on cost when those things hurt their bottom lines? Better to make everyone replace their phone on a regular basis and compete for pieces of the next round of purchases.

      Er, for the same reason that all consumer products don't disintegrate in just one day?

      If they go too far in planned obsolescence, then they leave themselves wide open to a competitor who does not.

    3. Re:Time to break out the heatable flash by shaitand · · Score: 1

      "Er, for the same reason that all consumer products don't disintegrate in just one day?"

      The market wouldn't bear that, that is the only reason and for markets where it will that is exactly what they do (see paper towels).

      "If they go too far in planned obsolescence, then they leave themselves wide open to a competitor who does not."

      It is far more profitable to operate as they are. They get most of the market purchasing phones 5x more often this way, they make as much getting 20% of those upgrades as they would getting every single upgrade on the next round because they produced a phone that lasts and if they are able to pull better than 20% on any round they are ahead. Additionally they wouldn't get every upgrade because it will still take years to prove they've future proofed a product and that is no guarantee the current round of their products is future proofed. Since the same is true for every competitor and any competitor large enough to matter can do this simple math no competitor has to worry about "leaving themselves wide open to a competitor who does not."

      There is still a "too far" but the industry has evolved a 2yr cycle with 6mo on early adopters standard. No competitor has to guess how long their phones should last.

  6. This is anti-consumer. No upgradable parts! by Anonymous Coward · · Score: 0

    This is anti-consumer. No upgradable parts!

  7. What is the purpose of this??? by Anonymous Coward · · Score: 0

    Apple has designed their phone/tablet devices so that it is nearly impossible to replace or upgrade the internal flash memory.

    Many android devices do the same thing.

    Of course, Apple does this so that you will pay their inflated prices for commodity flash memory.

    Some android devices come with a microSD slot, which lets you buy commodity 128 GB microSD cards from amazon or any other source.

    1. Re:What is the purpose of this??? by jimbo · · Score: 1

      Apple does this so that you will pay their inflated prices for commodity flash memory.

      You can pick on Apple but the reality is that a lot of manufacturers do this, they're not charities.

  8. Not what this is about by Anonymous Coward · · Score: 0

    They don't want you to fix the devices that you own. They don't like that plebeians can own stuff. If it makes some kind of crime harder that is just a cover story.

  9. If.... by Heebie · · Score: 1

    If the recycled memory performs up to specification, and lasts the lifetime of the device it is recycled into.. why do we give a crap?

    1. Re:If.... by sjames · · Score: 1

      Because sometimes it doesn't. More often than new flash fails. But the used parts are not disclosed to the consumer.

  10. Apples says that any 3rd party repaied Counterfeit by Joe_Dragon · · Score: 1

    Apples says that any 3rd party repaid in now an Counterfeit apple device

  11. framing by Anonymous Coward · · Score: 0

    Describing this as detecting unreliable Flash memory: good.

    Describing this as detecting recycled/repurposed/cannibalized Flash memory: evil/stupid.

    All you had to do was try to not sound evil/stupid, but you couldn't. Oh well.

  12. Elephant gun to ... by CaptainDork · · Score: 1

    ... kill a piss ant.

    --
    It little behooves the best of us to comment on the rest of us.
  13. How much of a problem is this? by Anonymous Coward · · Score: 0

    How would a recycle flash chip get back into the manufacturing supply chain of any reputable manufacturer? It strikes me that flash chips would not be the only problematic part being used by disreputable manufacturers.

  14. "Memory" vs. "storage" by sremick · · Score: 3, Informative

    How nice it would be if at least technical sites such as Slashdot could get straight the difference between memory/RAM and SSD/flash storage.

    1. Re: "Memory" vs. "storage" by c6gunner · · Score: 1

      It's an arbitrary difference so Slashdot (ie. people better informed that you) doesn't care. SSDs are commonly refered to as "flash memory". They evolved from EEPROM technology. You know what ROM stands for, right?

      When talking about "memory" and "storage" the context is more important than the words themselves.

    2. Re: "Memory" vs. "storage" by feedayeen · · Score: 1

      It wouldn't matter as much if there wasn't a big difference when it comes to 'memory' and 'storage'. They both remember stuff, but the modern terminology has made the words analogous for Dynamic RAM and Static RAM. DRAM suffers almost no wear and tear from usage and is designed to change state until thermal breakdown occurs. SRAM is typically implemented with components that suffer wear and tear.

    3. Re: "Memory" vs. "storage" by Headw1nd · · Score: 1

      Here we see an example of why 6-digit UIDs should not challenge 5-digit UIDs.

    4. Re:"Memory" vs. "storage" by Anonymous Coward · · Score: 0

      I have never heard anyone, from manufacturers to customers refer to flash memory as "storage" in order to differentiate it from volatile memory.

    5. Re: "Memory" vs. "storage" by Chaset · · Score: 1

      I think you got the terms mixed up with "volatile" and "nonvolatile" memory.

      DRAM = capacitors store bits.
      SRAM = logic gates store bits.
      They are both volatile (i.e. bits are lost when power is off.)

      SRAM typically has no wearout mechanism. There are "nonvolatile" SRAMs that have an EEPROM component to it that will have the normal EEPROM wearout mechanism. Aside from such corner cases they're not much different from the logic gates that implement the rest of the chips in the system.

      Flash is a refinement on the EEPROM technology which is a refinement on the EPROM technology. If I recall correctly, the only difference between a PROM and EPROM is the quartz window on top.
      Flash/EPROM = trapped electrons store bits.
      They are (supposed to be) nonvolatile. (at least in the order of years/decades.)

      --
      -- "This world is a comedy to those who think, a tragedy to those who feel."
    6. Re: "Memory" vs. "storage" by c6gunner · · Score: 1

      How does your appeal to gerontocracy wave away the fact that "memory" has always been used for certain types of storage?

    7. Re: "Memory" vs. "storage" by c6gunner · · Score: 1

      It's always been confusing. Your BIOS is stored in ROM, so it's a type of non voletlie memory which is really storage. CDs were more fully referred to as "CD-ROM" which implies that they're memory, even though they're storage. EPROM is also a type of storage; the basis of present day "flash memory", which is also storage.

      There's never been a clear-cut differentiation in how we use the terms "memory" and "storage", which is why we keep having these silly discussions. It all depends on the context. From a purely technical perspective there's nothing wrong with referring to storage as "memory" (after all, it remembers stuff) whereas it would be incorrect to refer to volatile memory (ie. RAM) as storage since it doesn't typically store data for any appreciable length of time (and not at all when it's powered off).

      We probably need better words to describe these things but, unfortunately, we're pretty much stuck with what we have.

    8. Re:"Memory" vs. "storage" by DRJlaw · · Score: 1

      How nice it would be if at least technical sites such as Slashdot could get straight the difference between memory/RAM and SSD/flash storage.

      Why limit your complaint to Slashdot? 36.5 million results for flash memory.

      They're all wrong. Because it couldn't possibly be you...

    9. Re: "Memory" vs. "storage" by stepho-wrs · · Score: 1

      PROM is a write once memory that is basically a fuse for every bit. Blow the fuse and it is now permanently stored for life.

      EPROM is the one where UV light through the window erases everything back to all ones, ready for some new writes.

    10. Re: "Memory" vs. "storage" by Anonymous Coward · · Score: 0

      As a CSE who graduated almost 30 years ago, I can take a stab at explaining the historical difference between memory and storage and also why some of the technologies have strange names.

      Memory is fast (accessible in a few CPU cycles), expensive ($/bit) and normally (but not necessarily) volatile. Data from memory is readable a word at a time defined by the size of the data bus.

      Storage is slow (takes hundreds or thousands of cycles to access), cheaper and definately non-volatile and normally writable. Data from storage is read or written a sector at a time. It is much coarser grain than memory.

      So EPROM is memory, not storage. Just like RAM and ROM.

      CD-ROM is a strange one. The first ones are storage, but NOT writable ever (they were pressed like music CDs). Their use case was totally unlike any other computer storage medium at the time. So looking at its method of data storage and access (built-in during manufacture and unchangable), it was seen to behave like a ROM (but without the memory characteristics I gave previously), so that was likely why it was called a ROM even when it wasn't. When the media became writable (CD-R(W) and DVD-R(W)), the confusion in the name went away.

      Flash drive is an interesting case. I would classify the technology as memory (ie flash memory), but with a storage interface It also has the strange fine-grained write/coarse-grained erase characteristics, which is vaguely reminiscent of the EPROM and EEPROM. The earliest analogue I can think of is RAM disk, where you set aside some RAM and get the OS to access it as if it was a drive. Some supercomputers, in addition to conventional memory, also had (in the old days) washing machine sized cabinets of RAM that it accessed as very fast storage (That was the first time I heard the name Solid State Disk).

    11. Re: "Memory" vs. "storage" by c6gunner · · Score: 1

      As a CSE who graduated almost 30 years ago, I can take a stab at explaining the historical difference between memory and storage and also why some of the technologies have strange names.

      Your explanation was excellent, so thank you for that, but I wasn't confused about the actual difference between the concepts. I was pointing out that the terminology is confusing because the line between memory and storage can be rather fuzzy at times. Your statement that flash is "memory with a storage interface" just makes that more apparent. It's a great description, but it also perfectly illustrates why we often use the terms interchangeably.

    12. Re: "Memory" vs. "storage" by Anonymous Coward · · Score: 0

      I see what you mean. I would say that the answer depends on the context, much like the question of whether a tomato is a vegetable (culinary) or a fruit (botanical).

      From a computer architecture point of view, memory is high-speed, fine-grained read/writes, storage is low-speed, coarse-grained read/writes.

      From an end-user point of view, memory is volatile space which determines amount of active workspace, storage is non-volatile space for items I do not need at this moment.

      With my background, I tend towards the former, but I can see how most people will use the latter.

  15. Recycled electronics from China is good stuff by Anonymous Coward · · Score: 2, Informative

    Due to the wonders of the internet you can go on Ali Express or Ebay and order all sorts of electronic wonders from china REAL cheap. If you're a maker or a hobbyist you've got more available to you than ever before, for fractions of a penny on the dollar of what it used to cost 10 years ago.

    When you order certain things that /should/ be pricy but are not more often than not you get something that contains recycled pulls. IGBTs, relays, things that come as packaged "modules" for integration - Like GPS modules, DiskOnChip modules, cell modems, solid state relays, potted DC-DC converters

    This has its up and downs. On the down,you're getting something that's of unknown condition.. On the up,you're getting something for 5-10 bucks that costs 50-100 new. (If you can even order it as an individual at all)

    You see a lot of this for hobby stuff. A big example is GPS modules - The packaged GPS module will be pulled and re-soldered on to a minimal breakout board with a voltage regulator ready for use in your project (Drones are really popular application for this)

  16. no doubt sponsored by Apple by Khashishi · · Score: 1

    The new iphone update will contain a routine to brick the iphone if it was repaired. After all, why would people buy new iphones if they could simply repair their old ones?

  17. Smartphone app can't do this by swillden · · Score: 3, Insightful

    The notion that a smartphone app can do this test doesn't hold up to scrutiny. I don't think even the operating system could do it in most cases.

    Both of the techniques described require the testing tool to be able to measure the effects of wiping or rewriting a given page. But modern flash hardware doesn't provide any way to operate on a specific physical page, only on logical pages which the hardware reallocates to different physical locations. Pretty much any time you try to erase a block of flash, what the hardware will really do is give you an already-erased block.

    And, of course, apps don't have access even to logical blocks, they have to work through the file system. File systems designed for flash add another layer of shuffling, and even general-purpose file systems often do some amount of reallocation.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  18. Is there anything fundamentally new in this? by dsgrntlxmply · · Score: 1

    Flash erase wear-out, especially at low temperatures during the erase cycle, has been well-known for many years. I first encountered this circa 1991, during qualification of Intel 28F010 NOR flash for an extended temperature application. And again during qualification of AMD flash to replace this, because Intel had many months of production gap due to a botched fab move to a partner fab (Nippon Steel, I believe), that turned out to be incapable of producing the device.

    Disturb during write is also well-known. I suspect that the behavior and mechanisms here are different for modern NAND than they were for NOR.

    The best relevance of the work would be in situations least likely to use it: small volume products without good traceability in sourcing.

  19. Decent Summary by BrianMarshall · · Score: 1

    It is nice to see some actual technical info in TFS.

    --
    "When the going gets weird, the weird turn pro" -- HST