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.


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
RE: On counterfeit SD cards - by ab1jx - 01-04-2020, 05:24 PM
RE: On counterfeit SD cards - by ZuzanOlszew - 04-29-2020, 06:39 AM
RE: On counterfeit SD cards - by bcnaz - 01-04-2020, 06:22 PM
RE: On counterfeit SD cards - by zaius - 01-05-2020, 01:14 PM
RE: On counterfeit SD cards - by DrYak - 01-05-2021, 05:19 PM
RE: On counterfeit SD cards - by diodelass - 05-30-2020, 01:59 PM
RE: On counterfeit SD cards - by zer0sig - 08-25-2020, 11:26 AM
RE: On counterfeit SD cards - by Luterman - 02-21-2021, 08:31 AM
RE: On counterfeit SD cards - by barray - 03-04-2021, 11:25 AM
RE: On counterfeit SD cards - by biketool - 06-28-2021, 12:25 PM
RE: On counterfeit SD cards - by bcnaz - 08-03-2021, 07:40 PM
RE: On counterfeit SD cards - by biketool - 08-04-2021, 11:43 AM
RE: On counterfeit SD cards - by moriel5 - 05-18-2022, 01:52 PM
RE: On counterfeit SD cards - by stuartiannaylor - 10-10-2022, 10:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)