On counterfeit SD cards
#1
Fake/counterfeit SD cards are a real concern for anyone trying to buy a reliable SD/TF card. You get them from every retailer since they sometimes don't even know that they sell fake cards. And trying to make 'good deals' almost always ends up with a fake SD card.

Compare with this nice article here:
Quote:I recently got about 20 64GB Micro SD cards for some project at various online sources (eBay, Ali, etc). 17 of those cards are fake.

17 out of 20. Hey, that's only 85 percent! Wink

Fake/counterfeit SD cards have less real capacity than the controller signals (most of the times they are also way slower than they should be). So if you insert this card into your PC it shows 16 GB capacity while it might be just 8 GB in reality. This card will work more or less fine until you exceed the 8 GB limit.

What does this mean for burning Linux and Android/RemixOS images.

You will be able to burn any Linux OS image that doesn't exceed this size without any errors. You can also later resize the rootfs to the faked capacity still without getting any error. But you will get in trouble for sure if you start to write data on the card the moment you exceed the card's real capacity since data that will be written beyond the card's real capacity is lost. Filesystem errors will occur, the FS will be turned read-only, applications and the system might crash/freeze. But this will happen later when you try to use the Pine64.

With Android/RemixOS it's different. Android images are meant to be burned using Phoenix Card. This tool tries to detect the card's capacity, then formats and partitions the card in a way that the whole capacity will be used. The size of all partitions is fixed except of the data partition. This will be resized to the max. Since the data partition is somewhere in between the other partitions Phoenix Card will move some partitions beyond the card's real capacity if you got a counterfeit card. In this case Phoenix Card will already fail burning the system partition so you will end up with the last message "[boot]Burn success" followed by a single line containing "Error" (when the Error is thrown Phoenix Card has tried to write the system partition and then tried to verify a successful burn by verifying checksums... and fails here):

[Image: attachment.php?aid=107]

So if you run into this situation think about testing your card now. Most probably you use a fake card and in case you used it before simply didn't take notice due to the different useage/partitioning. A fake card could be used with a Linux image on a Raspberry Pi since years without a single error but will fail already when trying to burn an Android image with Phoenix card due to the totally different partition scheme used by Android.

This is all well known since years and the Pine64 folks should create a quickstart guide that recommends testing every card prior to useage. It's easy and will save you time and hassles.
  Reply


Messages In This Thread
On counterfeit SD cards - by tkaiser - 04-18-2016, 02:56 AM
RE: On counterfeit SD cards - by jl_678 - 04-18-2016, 07:47 AM
RE: On counterfeit SD cards - by tkaiser - 04-18-2016, 08:27 AM
RE: On counterfeit SD cards - by psychedup - 04-18-2016, 11:15 PM
RE: On counterfeit SD cards - by tkaiser - 04-19-2016, 04:49 AM
RE: On counterfeit SD cards - by Shady2tree - 04-21-2016, 11:28 AM
RE: On counterfeit SD cards - by androsch - 04-21-2016, 12:13 PM
RE: On counterfeit SD cards - by Shady2tree - 04-21-2016, 01:30 PM
RE: On counterfeit SD cards - by androsch - 04-21-2016, 01:33 PM
RE: On counterfeit SD cards - by Rhymoore - 04-21-2016, 01:51 PM
RE: On counterfeit SD cards - by pine.tree - 04-21-2016, 04:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)