I have recently bought a 16GB class 10 SD card (Kingston).
I follow a guide to align the partitions to the the "erase blocks" and "pages" of the nand in the sd. This was done using gpareted with "align to MB" and leaving 16 MB in front, and rounding down all partitions sizes to 16MB.
The problem is, that write speed is only about 2-3 MB/s (card reader or phone).
I attached some pictures from Gparted. Can someone with more knowledge and experience look at them and tell me if I aligned the partitions correctly?
Thanks!
Related
Hi everyone,
I upgraded my XDA succesfully by using the SD method with a card from my digital camera. After that, I formated the sd card with the card reader then I plugged it in my digital camera.
And here is my problem, the digital camera doesn't recognise anymore this Hi-speed 512 sandisk. I tried everything to recover it but no success at all until now. :twisted:
I understand by using the OSI image tools, the card has been formated in a special way to make space for the file NK.nb1
So if someone has got any similar experience, be welcome to give me any tips for a solution.
Thanks.
i just formatted my card with my xda
and pocked mechanics
My digital camera has the option to format while in the camera, have you checked the built in menus? You could try formatting your card in the card reader with FAT16 if it is FAT 32 at the moment, if it is FAT 16 NOW then try FAT32.
Hi guys,
Thanks for your reply.
Sorry I forgot to say. My XDA card reader and my PC card reader don't have any problem to read or write or format this SD card, Which I did. FAT and FAT 32, but there's no result for my digital camera.
Always the same message: " unable to use the card" and the SD Card was working perfectly before.
One strange thing I have noticed (I think) is that the memory capacity is different now. I get 6 Mb more than before.
Otherwise, yes I tried to format the card with the OS from my digital camera but without any success as the camera doesn't let me any possibility to access to the menu with the card plugged in it. I'm stuck.
Before to use OSI image tools the capacity was;
FAT: 477 MB
After:
FAT: Free space : 507109376 bytes => 483 MB
FAT 32: Free space: 506372096 bytes =>482 MB
I'm just wondering if maybe a header from this SD card was wiped out during the process. Maybe some of you guys know a software who could read and write on this special part of the SD card, then I would compare and maybe repaire it.
Thx
Hi,
Is it possible that someone try to plug a sd card who was used to flash a PDA in a digital camera minolta Z3 or other Z...?
I would be interrested to get a feed back on the result.
Cheers,
Finally after several Emails to (Minolta and Sandisk) I got a valuable answer from Minolta who confirmed my first thought. BTW, Sandisk never replied to me, I’m very disappointed by them. Fortunately, there are others competitors in this sector.
Guess what for the next new SDcard…
So:
On each SD card (Others models certainly too), there are several important information on the boot. This information is necessary to inform the digital camera on the technical specification from the SDcard. If the original boot is missing or corrupted, the digital camera doesn’t recognize the SD card properly and screen the following message “Unable to use this card”.
And here is the solution to recover an original boot for your SD card. You should use SDFormatter V1.1 .
Now my SD card is like a new one(only joking) .
Cheers,
Trying to figure out some facts about the internal/external SD cards speed, I came up to some conclusions.
First the benchmarks I've used:
For write speed:
Code:
rm /sdcard/sd/empty.file
echo 1 > /proc/sys/vm/drop_caches
time dd if=/dev/zero of=/sdcard/sd/empty.file bs=100000 count=2000
For read speed:
Code:
echo 1 > /proc/sys/vm/drop_caches
time dd of=/dev/null if=/sdcard/sd/empty.file bs=100000
Results:
Galaxy_S_internal_sd_card:
7.84MB/s write
10.49MB/s read
-------------------------------------
some Noname Silicon Power 2GB, no class specified (FAT with 32kilobytes) - the fastest microSD I own
8.51MB/s write
15.86MB/s read
-------------------------------------
Verbatim 4GB, class 4 (FAT with 32kilobytes)
5.14MB/s write
16.70MB/s read
-------------------------------------
A real SD card, not a microSD
SanDisk Ultra II class 4 (FAT32 with 4 kilobytes)
6.52MB/s write
11.47MB/s read
-------------------------------------
Again the same real SD card, not a microSD
SanDisk Ultra II class 4 (FAT32 but with 64 kilobytes)
16.81MB/s write
13.37MB/s read
-------------------------------------
Conclusions so far:
The microSD is faster at reading than my SD card. Including on Windows when tested with CrystalDiskMark.
When writing comes into play, the cluster size (4kb vs. 64kb) really makes a difference on Android. It is a huge difference when writing on the SD card. On Windows in CrystalDiskMark it doesn't matter.
Graph attached.
Can't figure out why writing on the SD card is faster than reading. Also can't figure out why reading is so slow comparing to the microSD cards.
P.S. I really want to test one of those Sandisk Ultra III class 10 with 30MB/s sustained write speed.
Also, would be great to know stats for the Sandisk microSD class 6 8GB with part number: SDSDQY-8192-E11M
For me (JPM Universal lagfix 0.3 full ext4) :
Internal NAND i9000 8GB
fat 32 :
4.561835 MB/s Write no cache
6.676458 MB/s Write with cache
10.782833 MB/s Read no cache
11.609682 MB/s Read with cache
3C_Pro 16 GB Class 6.
fat 32 :
5.397527 MB/s Write
6.002400 MB/s Write with cache
10.413954 MB/s Read
11.194447 MB/s Read with cache
speedmod-kernel-vC1-500hz-O2-ui
turn on the all tweak in clockwork recovery
/data
ext4
12.80 MB/s
11.01 MB/s
/system
rfs
5.75 MB/s
17.58 MB/s
/cache
rfs
7.25 MB/s
17.60 MB/s
internal SD
fat32
10.74 MB/s
11.24 MB/s
external SD : Kingston 8GB C4
fat32 with 32k block
7.56 MB/s
11.10 MB/s
@arise:
how on earth did u get a non-microSD into the phone ???
Contiguous file transfer speeds don't matter.
andrew_vi said:
/data
/system
Click to expand...
Click to collapse
How do you benchmarked those partitions? What is the free space available on those?
lemmz said:
how on earth did u get a non-microSD into the phone ???
Click to expand...
Click to collapse
With a SD to microSD adapter, obvious.
SetiroN said:
Contiguous file transfer speeds don't matter.
Click to expand...
Click to collapse
I can agree with this one. But what truly matters?
i have 30M+ free spaces in /system and 1.5GB+ in /data
so in /system, i take the test with a 20MB empty file by creat and write
and /data is same as you do, 200MB
though the write speed is not important in /system.
i think the r/w speed in /cache and /dbdata is more important than others
Arise said:
With a SD to microSD adapter, obvious.
Click to expand...
Click to collapse
Why would someone make this?
Because SD has few advantages over the microSD, like capacity size, price and speed. The only downside is the size of the card itself.
You can use such a thing vor various mods (it's up to you to find a way cramming the giant SD card inside your phone) or you can use your phone for backup/view the pictures taken with a REAL photo/video camera.
During some googling I came across this article:
http://windowsphonesecrets.com/2010...micro-sd-and-windows-phone-storage-expansion/
It seems that Microsoft has a bad attitude regarding using microSD cards.
“Even with high end cards, we have seen wild differences in IO and performance,” he said. “There is just no standardization there.” Put simply, if you expand the storage in a compatible Windows Phone device, it may work, and it may not.
Click to expand...
Click to collapse
I don't understand if the stance is regarding microSD cards or also the standard SDHC card. I somewhat believe it is related only to microSD cards. This is one of the reason I would also like to use a normal SD card in my phone.
Also, I found this article:
http://www.bunniestudios.com/blog/?p=918
The article, tells us couple of things:
1. it seems that some microSD cards are plain fakes. (it's not something we don't know)
2. it seems that Kingston is buying the controllers from Toshiba, and the controllers are the same as the ones used by Sandisk. So, when you compare Kingston vs Sandisk, you know who is the king.
OK, I got a class10 micro SD....tried some speed checks after formatting in Windows 7 64bit, using the SD card formatter, and using the phone.
For consistency, I formatted to fat32 and set the block size from default to the largest 64KB size.
Was copying files in Windows from the hard drive (7200speed 16mb cache drive) to the SD card and it never got over 4mb/sec, and usually stuck at 3mb a sec. I have a second class 10 card, but havent messed with it yet to see if it was a bad card or not. I ran a sd card test using the J card test app on the market and when I set it to the 8k size test, I saw 13mb/sec test, but the app said every time it couldnt write to cache, so I didnt know if it could be trusted.
I was just wondering how people were formatting their cards - via phone, windows, etc - and what level they found was the best for performance for class 6+ cards.
Mee too,i read that 32kb allocation is best.Would formating sdcard using Ext4 be faster then fat32/nfs?
I didnt know if I should be smaller (instead of 64 of 32k) since most of the files that we run are smaller ?? maybe it would run faster, I dunno....
also from what i read, ntfs isnt supported in android....right ?
I would be interested in this as well. I have a 16GB class 6 card in my Epic, and depending on the CPU clock speed governor I use I sometime get errors recording HD video ay 720p saying my card doesn't support it. If I put the governor to ondemand it works well though.
I'll try some testing with the Jcard app to see what I'm getting speed wise. I formatted my chip on Win7 default settings. When I was copying my files to it in Win7 I was getting 7 - 9 MB/s speeds. That was with the integrated SD card reader on my laptop.
I did some testing on my Team 16GB Micro SDHC I bought on newegg a while back, its a class 6 chip. I think it matters a lot what program you use to test. I did not find a j card app on the market but I used two that I found called "SD Tools" and "SDCardTester". Wildly divergent results below:
SD Tools:
Write Speed: 13.6 MB/s
Read Speed: 17.4 MB/s
SDCardTester:
Write Speed: 6.32 MB/s
Read Speed: 6.14 MB/s
This card is formatted with the standard 32 KB sectors.
---------- Post added at 11:48 PM ---------- Previous post was at 11:41 PM ----------
By the way, in general larger sectors should make for better performance, but the trade off is that you lose some storage. This is because the smallest amount of storage that can be allocated is going to be one sector. So if your sectors are 64 KB and you write a 8KB file, it will take the whole sector and even though there is only 8KB of data 64KB of space on the chip is used. In Windows, when you look at the properties for a folder, this is why there is a difference between "Size:" and "Size on Disk:" values.
Larger block sizes are generally better because there are fewer reads and writes to the device when saving a large file. For instance if you save a 1MB file on a 64 KB sector FS it needs to write to 16 different sectors, if you save the same file in a 8KB sector file system it needs to write to 128 different sectors.
So.. i was installing RCMixHD Rom yesterday, i partitioned my card as follows (using Gparted in Ubuntu):
FAT32 14GB
EXT2 2GB
This Rom is awfully bad, it crashed few times and freezed that i couldnt even reboot so i had to remove battery when it was still running.
I decided going back to CM7 but i just realised that SD Card size is 12.84GB, and Gparted doesnt show any partitions on it, what the heck?
Use a card reader or connect the sd while in recovery and make sure all the partitions get mounted.
If android is booted the ext partition doesn't get mounted. Also if you created your ext partition while android was booted that probably messed up the ext partition and that's why the rom doesn't work right.
First of all a 16 GB cars is more likely 15 Gb in real life.
Moreover, the phone does not recognizes the ext partiton in the SD card menu (in settings), just the FAT32 one.
So 15GB-2GB-possibly some unpartitioned for data = 12.84 GB
That's OK.
Thanks, i think it's fixed now i got 14.8GB of space available again.
Is that a class 10 card? i am trying to figure out which card should i get for my desire, after bad experience with kingston 16gb class 10.
Its Class 4 Sandisk SD card.
if you want to partition the card try ext 3 for a2sd+
Minitool Partition manager is the way to go to create ext partitions on a sd card
free too..
After, trying many ways to upgrade my DS5 with Micro SDHC > 8GB, finally got the easy way to do it without modifying boot.rom or creating partition manually.
As we know that the maximum Gb can be recognize by DS5 is 8 Gb, higher than that should use modified boot.rom and also need some other step and autostart app to be installed. And the latest boot.rom I could get it is the boot.rom that work for streakdroid 191, I’ve tried for GS243 and it didn’t work (neither to make it work with streadroid 191) .
Here, I would like to share what I've found & how to do it. I use Micro SDHC 16 Gb cl10 for my internal SD, after several failures, then I decided to use Micro SDHC 8 Gb cl10 as for my internal SD. And, since DS5 are able to recognize 8Gb, the process is just simple as it is, just change the old SD card(2Gb) and plug the new one (8gb), start the DS5 and it will automatically create/format the SD with DS5 standard partition. And, DS5 work like the way it should be.
Then I made some experiment with my other 16Gb, I clone my 8Gb into 16Gb using Linux DD command. The process takes hours since DD copy sector by sector and duplicate everything from source to target. When the process completed then, I open both sd card using Gpart, and compare each other. The result is my16Gb has the same partition structure and data as in my8Gb + one remaining unallocated partition (because its size has bigger capacity).
My 8Gb:
1 Extended partition (8gb):
a. Small one partition (ext3) (around 250 mb)
b. Larger one partition (ext3)(around 7.7 Gb for OS)
My 16Gb:
1 Extended partition (8gb):
a. Small one partition (ext3) (around 250 mb)
b. Larger one partition (ext3)(around 7.7 Gb for OS)
c. Unallocated partition (around 8Gb free)
Next, I resize the extended partition on my16Gb to full capacity, apply it, and redo to resize partition for ext3 (the larger one) to max, apply it.
Then my 16Gb partition now has the same structure with my 8Gb (with two ext3 partitions) but with its max capacity.
1 Extended partition (16gb):
a. Small one partition (ext3) remain the same exactly like on a. of 8Gb.
b. Larger one partition (ext3) with maximum capacity of 16Gb.
(Note: the figure above is just to show you the changes have been made, I don’t have a screenshoot of both SD partition structure to show you exactly the allocated size composition).
Last step, I just plugin my 16Gb into my internal DS5, turn it on and,..
Walla,… it work like a charm, my DS5 can see my internal 16Gb Micro SD,..
I tried to install some application into it (push into internal SD via adb) and run it, and it work with no problem.
It might be also work for 32Gb, but I haven’t try it yet. (still enjoying my satisfaction,. )
Hope this can also work for those who want to upgrade their internal MicroSDHC of DS5 to more than 8Gb.
(I'm not responsible for any damage of your device and/or data lost from your SD card please do a backup of your system/SD card before trying to do as described above - especially when using DD command)
Nenda
(Sorry for my bad English)