yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] DirkStorck:
But isn't there an more easy way? I not that familiar with Linux and I even don't have a running Linux PC. Is ther a kind of software I can use witch formates my card the right way....or I will have to wait to X-Mas till I have time to setup a Linux system and try your post :D

What do I have to do if I want first partition fat32 and second partition ext3 with 1GB or 1,5GB
[Desire Android Development] aaargh777:
Maybe this does the same, didn't try it http://www.sdcard.org/consumers/formatter/

I also have nö Linux installed, I did it with an Ubuntu Live Cd
[Desire Android Development] DirkStorck:
Thank you! I will try it but is there a reason why you use Version 2.0 and not 3.0 of that software?

What is about my ext3 partition? Do you have to format that partition too is some way?

Thank you!!
[Desire Android Development] frankoid:
I read http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/ for info about aligning my ext3 partition (in addition to http://www.patriotmemory.com/forums/showthread.php?t=3696 for FAT32 alignment instructions). So now I have both my FAT32 and ext3 partitions aligned on 128k boundaries. However, it hasn't made a noticeable difference to read or write speeds.
[Desire Android Development] sibere:
It can be also done under windows :)
[Desire Android Development] DirkStorck:
And how ? :D
[Desire Android Development] aaargh777:
I only did it with the fat-partition, it really improved my writespeed from 1MB/s to between 4 and 5. Didn't use it on ext because there aren't that many write-operations to do.

Version 2 because 3 is beta, but, as mentioned above I never used any of them myself, a friend of mine did and got a boost.
[Desire Android Development] sibere:
With all the apps in win version in console mode maybe ;)
[Desire Android Development] ilya.glants:
Please be more specific ^_^
[Desire Android Development] sibere:
I think fdisk is available for windows. formatting in fat32 under windows souldn't be a problem too.

Fdisk is even available under android ! :)

Boot you phone into recov mode, adb shell, mount /system and then /system/xbin/busybox fdisk /dev/block/mmcblk0

You can partition and format your SD straight from you phone. no need to open it and put your SD in a card reader :D
[Desire Android Development] Wiper:
Can't install the kernel

I have a stock Froyo 2.2.xxx, phone has been rooted with UnRevoked 3, and recovery is Amon RA's 2.0.0 for Desire. When I try to install that Kernel with RA recovery, I get file missing and verification error. I tried wiping All data (Factory reset), reboot back to recovery, tried installing again and got same error.

Is the problem with RA's unability to install kernels or am I doing something wrong?

The read_ahead_kb is 4 and my 16GB Class 4 performance is poor compared to my 4GB Class 4 and really blows compared to 8GB Class 6 card.

[edit]

Never mind, switched to Clockwork recovery and was able to flash another kernel with read ahead 128

[/edit]
[Desire Android Development] Wiper:
close but no cigar

I jumped the gun. Seems that this frankoid kernel killed my WiFi. After installing it, my WiFi said error and refused to switch on. Thank gawdness restoring nandroid backup saved the day, but now I'm back to 4kb read ahead. Are there any other permanent solutions to change it to 128 kb?
[Desire Android Development] sibere:
There is no need for a special kernel. This is tunable on the fly.

Look for my post around page 19.
[Desire Android Development] Wiper:
You mean the read_ahead file isn't read only at the startup?

That would be rather strange, since why would android need to re-read a file, that is not supposed to change in the middle of the use?
[Desire Android Development] sibere:
No. This can be tuned with an echo command :) see page 19
[Desire Android Development] Wiper:
I've read the whole thread and I did just that... I just wasn't sure if it had any effect after start up. Tho I find it easier to use Root explorer and just edit the file on the fly with the root explorer text editor =).

On the other hand... if I made a script that I could run on the terminal, woud save some time to navigate to the directory and edit the file.
[Desire Android Development] sibere:
If you add a script in init.d with an echo 128 > /path/to/the/read_ahead_kb it should be automatic at boot time.
[Desire Android Development] Wiper:
At this moment I'm still crusing with the stock froyo rom, but as soon as I get some answers I entered here http://xdaforums.com/showthread.php?t=773997&page=194 I'm going to switch to this init.d supported stock rom. After that my life should get a tad easier until I start to patch up the horrifying data2ex or something like that you wrote up there somewhere =D.

I mean how complicated can cell phone usage be?! :D :D :D
[Desire Android Development] Beknatok:
First off, thanks for finding this!

This thread was posted up in the Evo area of XDA, and I took your fix one step further. Not certain it'll work with the Desire or any other ROM that doesn't have an init.d folder. Regardless, I thought I'd share a link back to my walkthrough, in the hopes that it'll help some others in implementing this on their phones.

http://xdaforums.com/showpost.php?p=10760186&postcount=47
[Desire Android Development] frankoid:
Glad to hear it's been useful to Evo users, thanks for letting me know and for the init.d guide. The Desire stock ROM doesn't have init.d support but some custom ROMs do.
[Desire Android Development] hojnikb:
I dont know if its just me or something is wrong with my phone as my transfers got painfully slow.

That started to happen when i flashed the latest radio rom (i also did flashed couttechs kernel in that time) and now my write and read speed just sux.

Before i had read 17MB and write 3.8MB (measured on PC with phone connected) now im down to 4.5MB read 1.5MB write.Is it kernel or what ?

I have Kingston SDHC class 4 8GB card which has normal speeds under normal card read, while on phone, it is just slow.

Ive also formatted my card with panasonics's (also did full erase..) tool but its still slow.

Ive also noticed that it writes few MB's really quickly (with about normal speed) and stops for a few secs and then again...

I dont know whant could be the issue, since i have sdfix enabled kernel...

Anyway, my config

Leedroid 2.3d

couttstech latest kernel

latest radio rom
[Desire Android Development] sibere:
I'm glad too :)
[Desire Android Development] chatfan:
How do I flash kernel_2.6.32-frankoid.zip on my desire? I have CRI: clockmod installed and rooted....

any idea?

thanks
[Desire Android Development] frankoid:
Not sure why your write speed is still so low, I get 3-4MB/s with a class 2 card. Perhaps something else is writing to your SD card whilst you are running the test?
[Desire Android Development] frankoid:
No, the speed that apps read from the SD card should be improved too.
[Desire Android Development] frankoid:
Yes it should. Please can you ask the developer of the Sense HD rom to apply this patch. If that doesn't work out let me know and I'll try to make an HD version.
[Desire Android Development] Daelyn:
At last, somebody found a clue and solution. Lets just hope Adam will include this in his kernel soon enough ;)
[Desire Android Development] hover99:
I think there is something wrong with the write speed.

On my Computer i have the tripple write speed with the same SDHC card..
[Desire Android Development] beanbean50:
very nice work, I can actually use the 3D gallery now...!

lost the UVOC kernel but nevermind I wasn't overly impressed with that anyway

thanks!
[Desire Android Development] yukkio:
Does that work with richard v3 kernel?

BR.
[Desire Android Development] hamdir:
i flashed it over richards kernel, i have a class 2 sd card, but finally new videos don't skip in the gallery

sadly it ruined the wifi, i can no longer enable the wifi, so im back to richards
[Desire Android Development] snark_be:
Runs fine for me on the ROM running on my Desire.

After the kernel installation:

Writing speed is 4 MB/s

Reading speed is 13MB/s

I also see an improvement in the Gallery and the load of apps stored on the SD card (Froyo APP2SD).

Thanks a lot!
[Desire Android Development] yukkio:
That happens because It replaces wifi module. You should overwrite wifi module with richard's wifi module.
[Desire Android Development] hamdir:
i never installed the wifi module from richard
[Desire Android Development] yukkio:
Yes, but this fix replaces your wifi module and that's the problem. Copy the wifi module from zip rom and replace in /system/lib/modules/
[Desire Android Development] Pyr0x64:
nice work!

i might try this when i get home from work.

i don't care about overclocking, but a little concerned about losing the kernel modules such as cifs...

have you included extra modules with this kernel?
[Desire Android Development] hamdir:
which file is the wifi module, thx
[Desire Android Development] Pyr0x64:
bcm4329.ko
[Desire Android Development] bigr1979:
ive tried it on leedroid 2.2d apsd with 8gb kingston class 4, write on phone still terrible with this patch 1-2MB/s but write gone up to 9MB/s from 4MB/s
[Desire Android Development] madman_cro:
well this is not needed on defrost rom just if anybody wonders.

write speed 7MB/s read speed 13MB/s
[Desire Android Development] Pyr0x64:
I know I wasn't wondering...

It clearly states in the first post that this is for sense roms
[Desire Android Development] bobbenedetti:
While that may be possible..I wait until all activity has stopped before running the test. Large fileTransfers via USB tend to support the low reading. When it is connected via USB I understand the phone unmounts the SD card so there is no interference. Large file transfers to card are 3MBs while transfers from card are 14-15MBs. Benchmarking the card on the PC with a card reader the numbers are 12W19R
[Desire Android Development] principale:
I confirm... before 4/6 after 4/13 on AuraxTSense 7.9 :D

ps

My SD card is A-Data class 6
[Desire Android Development] hamdir:
anyone made benchmarks this with a class 2 card?
[Desire Android Development] ddic:
Hi,

I don't have experience on things like this, but i really want to increase the SD r/w speed on HTC Desire.

Can someone explain me, how can i install that .zip file?

I have a HTC Desire, Froyo 2.2 stock.

Thanks and regards,
[Desire Android Development] whittssg:
I just installed this patch and i have a class 2 card:

Write speed after: 2mb/s

Read speed after: 10mb/s

Dont know if it has improved because i didnt do a test before applying the zip.
[Desire Android Development] ecstasyado:
I just di with a lazy SD Class2 with [ROM] [18/10] Pre-rooted Stock Froyo (2.10.405.2) [Optional mods]

Before Patch:

Write Speed is: 1MB/s

Reading Speed is: 3MB/s

After Patch:

Write Speed is: 2MB/s

Reading Speed is: 9MB/s

Thats what I got but it' a slow card a cheap SD card. If you go for a higher class you will see much improvement.
[Desire Android Development] hamdir:
It's still an excellent improvement for class 2 cards, now if only Richard is around :)
[Desire Android Development] ddic:
Guys, please! Nobody's want to explain me how to install that .zip file?

Thanks!
[Desire Android Development] venkig:
This is brillant. Hoping all the sense ROM would include this patch !
[Desire Android Development] kenny king:
My results.

Before patch:

read: 5MB/s write: 5MB/s

After patch:

read: 14MB/s write: 4MB/s

I have a class 2 card. MCR r8 + richardtrip v3 kernel.
[Desire Android Development] capychimp:
i wonder what source is used, cause the lines change i cannot find in the source of htc desire kernel 32 maybe i am blind i dunno
[Desire Android Development] beanbean50:
You have to root your phone first then flash the zip via recovery
[Desire Android Development] yukkio:
The zip is a kernel like richard's kernel or just a patch?

I don't want to lose richard v3 improvement if I flash it.

Br.

Sent from my HTC Desire
[Desire Android Development] zerawk:
I'm using a Class 4 card, 8GB.

Before:

Write 5 MB/s

Read 6 MB/s

Now:

Write 5 MB/s

Read 15 MB/s

That's sick. Thx alot :)
[Desire Android Development] frankoid:
The patch is for the http://dl3.htc.com/RomCode/Source_and_Binaries/bravo-2.6.32-gd96f2c0.tar.gz source.
[Desire Android Development] frankoid:
Since a lot of you seem to want to use richardtrip's kernel with my patch, I've compiled it for you (Kernel_Froyo_cfq_V4_sdfix.zip).

BTW I get 4MB/s read, 13MB/s write with my Sandisk Ultra class 2 16GB SD card.

A question for those of you who get slower write speeds than you expect: do you get better write speeds in non-Sense ROMs, for example Cyanogenmod?
[Desire Android Development] 325i.:
are there any downsides in using this kernal?
[Desire Android Development] ilya.glants:
this is amazing! it worked! (well partially at least)

I have a class 10 card and these are the results:

Before:

Read - 3 MB/s

Write - 2 MB/s

After:

Read -15 MB/s

Write - 4 MB/s

Great Thanks for this fix! Devs should really look into this bug even deeper.

Question:

I see that never mind the class of the card (whether it's 2,4,6 or 10), the max read speed I see people getting here, is about 15 mb/s.

Why is that? Doesn't it supposed to be even more? at least for the class 10 cards? =]
[Desire Android Development] stoned99:
I don't get much better results.

What software do you guys use to do the disk benchmark ? Maybe my app isn't good.

Thanks
[Desire Android Development] LoQo_:
sd Card speed tester is the best program for this
[Desire Android Development] Audioboxer:
Thanks for this, will work until richard updates it himself :)
[Desire Android Development] igor7:
So now it's richardtrip's kernel with your path included?
[Desire Android Development] Ronaldo_9:
my test shows 1mb write and 9mb read

i'm using 8GB class 6(it meant to be class 6) and apps2sd

any one else who is seeing good speed increase using ext partition?
[Desire Android Development] eqstasy:
I am using a Kingston 16gb class 10 card with partition ext3 1gb. I bought this card yesterday. I had not tested the speed of the card before partitioning it.

When the card is inside the phone connected with usb, transfering file speed is less than 1mb/s and 6mb/s transfering files from phone onto PC. SD card inside card reader connected by usb get 2mb/s from PC to card. BUT, if I connect connect the card straight into the card reader of my laptop,I benchmaed with CrystalDiskMark I get 20mb/s read and 10mb/s write. I'm getting my class 10 speed when I connect straight into the laptop card reader and I get class 2 transfer speed when using a card reader connect through usb.

Edit:Turns out, this old card reader i borrowed from a friend eigther didnt support usb 2.0 or sdhc, thats y my transfer rate from PC to card was so slow. I got a new one now, and I'm getting 10-13 mb/s now.Glad it isn't a defective card. I will partition with rom manager this time instead of Paragon.

LeeDroid 2.2d

Before patch

write: 3mb/s

read: 4mb/s

After patch

write: 3mb/s

read: 11mb/s

OpenDesire

write: 5mb/s

read: 11mb/s
[Desire Android Development] remofo:
Massive speed increase here - 16GB Class 10

Before

Write - 2 MB/s

Read - 4 MB/s

Suggests Class 2

After

Write - 9 MB/s

Read - 15 MB/s

Suggests Unclassified
[Desire Android Development] benleong2008:
I'm using sandisk 8gb class 6 with ext3 partition.

Before patch:

Write: 11mb/sec

Read 6mb/sec

After patch:

Write 8 mb/sec

Read 13mb/sec

Pictures in Gallery 3d now loads up really quick.
[Desire Android Development] ecstasyado:
I have use your update is running smoothly, I have SetCPU to max 1113 theres any way to put it on 1.3 with this kernel?
[Desire Android Development] hamdir:
Waw so many thanks

Before 8gb class2

Write 3MB

Read 6MB

After

Write 3MB

Read 15MB

So write didn't change, but still awesome work thx

video stutter gone for good and gallery runs faster, you made my day
[Desire Android Development] stoned99:
I'm using a 8Gb Class 2 MicroSD Card. Here are my results with SD Card Speed test:

before the fix:

read: 2Mb

write: 3Mb

After the fix:

read: 2Mb

write: 9Mb

Impressive but I'll be looking for a class 10, or at least class 6 in sold soon.

Thank you very much for this fix :)
[Desire Android Development] viva.fidel:
are there any negatives to this patch? eg. shorten life of sd card, etc? Sounds great otherwise!
[Desire Android Development] bobbenedetti:
Is it possible there is something else to be tweaked to improve the write speed.

My numbers are as follows

With LeeDroid 2.2d

Write 2MBs

Read 4MBs

After patch

Write 2 MBs

Read 14 MBs

With DeFrost 5.7

Write 7MBs

Read 14MBs
[Desire Android Development] eqstasy:
yea, Class 10 card getting 3mb/s write :(
[Desire Android Development] AndroHero:
has anyone got a problem with the op's modded version of richardtripps kernel, that data connection is disconnected shortly after boot? i have to keep going in to settings and turning it on again :(
[Desire Android Development] miyu-hitori:
it's ok,I have test it,I have no issue like yours
[Desire Android Development] bubble:
Why does the flashable zip includes modules?
[Desire Android Development] Pyr0x64:
for additional functionality.

they are the same modules included with richards kernel

they are included because modules need to be compiled for the particular kernel

meaning the modules included with richards kernel would not work for this kernel
[Desire Android Development] vnvman:
Exact same for me, many thanks :D
[Desire Android Development] pina_:
does it work with modaco R9?
[Desire Android Development] paolo.mactux:
sorry, i'm a noob :) Just reboot by device, enter into clockwork recovery and select "flash zip" and then reboot? thanks :)
[Desire Android Development] Anakha56:
Tested on the latest Pays ROM and:

Old:

Write: 2MB/s

Read: 3MB/s

New:

Write: 2MB/s

Read: 10MB/s

Rom seems stable with everything working, thank you OP for the fix! :D
[Desire Android Development] radiohitec:
Hai there your patch works like a charm, can you make the Kernel_Froyo_cfq_V4_sdfix.zip also with Audiomod?

Thousend times thanks!
[Desire Android Development] LuffyPSP:
what are the txt file means? i dont need it right? just take the zip only and flash?
[Desire Android Development] alonso_7:
does the kernel v4 with sd card fix also has wifi pm fast and wifi n included?
[Desire Android Development] ilya.glants:
after using your kernal, I tried to disable Perflock for the Setcpu app and it tells me that, it can't find the perflock so I don't need to disable it.
[Desire Android Development] vnvman:
Which was you previous kernel? Any oc kernel has no perflock...
[Desire Android Development] radiohitec:
Update: After install this one, I'm happy , it's the one with audiomod!

Happy weekend
[Desire Android Development] martino2k6:
You don't need it, unless you want to compile the kernel from the source with the fix yourself.
[Desire Android Development] littlej:
Excelent, just flashed it. Using Leodroid ROM 2.2b and a-data class 6 sd card

before

write speed 4mb/s

read speed 6mb/s

afther

write speed 5mb/s

read speed 11mb/s

thanks a lot gallery it sure feels much faster :)
[Desire Android Development] LuffyPSP:
cool. thanks mate. Flashing mode ON!
[Desire Android Development] Heppieboeddah:
Thank for sharing. Works great. Desire with Teppic74 base rom, class6 Transcend 16GB.
[Desire Android Development] paolo.mactux:
just a little up... :(
[Desire Android Development] LoQo_:
yes.

reboot in recovery mode.

select flash zip from sd

quit toogle verification.

select the zip

and turn on the mobile
[Desire Android Development] yukkio:
Yes, that's right or you can download rom manager from market and install the zip file.

BR.
[Desire Android Development] karimayubar:
LeeDroid 2.2b a2sd here.. applied the patch for richardtrip kernel..

From:

Write: 3 MB/s

Read: 4 MB/s

To:

Write: 4 MB/s

Read: 11 MB/s

Using Kingston Class 4 16GB SD Card. Thank you so much for this fix.
[Desire Android Development] ilya.glants:
I'm using AuraxTSense 7.6.1 . Not sure about its native kernal, but I know that when I used the Disable Perflock there, it didn't say that there is no perflock, but said that it disabled it successfully.
[Desire Android Development] yka:
LeeDroid 2.2b a2sd

From:

Write: 4 MB/s

Read: 6 MB/s

To:

Write: 6 MB/s

Read: 12 MB/s

Using A-Data Class 6 16GB SD Card. Thank you so much for this fix. :)
[Desire Android Development] zerawk:
Guys, could anyone try and turn on the flashlight during video recording?

Mine stopped working but I'm not sure if it happened applying richardtrip's kernel or

with this one.

Thx
[Desire Android Development] paolo.mactux:
thank you! :)
[Desire Android Development] karimayubar:
Mine is working well mate.. Richardtrip kernel w/ sd fix..
[Desire Android Development] lewnidasv:
GREAT fix....!!!! :) :)

LeeDroid v.2.2b a2sd SD Toshiba Class4 4gb

Before fix :

Write speed : 2mb/s

Reading speed : 5mb/s

After fix :

Write speed : 4mb/s

Reading speed : 9mb/s :) :)
[Desire Android Development] ilya.glants:
What's an audiomod?
[Desire Android Development] zerawk:
Aw that sucks...gonna try another rom then :|

Thx for checkin tho :)
[Desire Android Development] mobilio:
Thanks!!!

KingMax Class10 16GB

Before 6MB read/8MB write

After 15MB read/8MB write
[Desire Android Development] LuffyPSP:
mine is working. before and after using this one...:D
[Desire Android Development] BashyUK:
Hi can I run this with the Alex-V 1.7 Overclocked ROM? It's the one with the flohimself kernel...http://xdaforums.com/showthread.php?t=745919
[Desire Android Development] vnvman:
Well ofc you can, but the kernel will be overwritten, so you'll end up using the v4 instead of the flohimself...
[Desire Android Development] frankoid:
I'm not sure. To make Kernel_Froyo_cfq_V4_sdfix.zip, I downloaded the kernel source from http://github.com/richardtrip/bravo-2.6.32, applied my patch (bravo-2.6.32_sd_speed_fix.diff.txt), grabbed the kernel config from http://xda.richardtrip.org/kernels/Kernel_Froyo_cfq_V4.zip and compiled.
[Desire Android Development] frankoid:
Yes, I turned off CONFIG_PERFLOCK in my kernel.
[Desire Android Development] chr15gb:
LeeDroid 2.2d a2sd

From:

Write: 4 MB/s

Read: 5 MB/s

To:

Write: 4 MB/s

Read: 13 MB/s

8Gb Class 6 Sandisk

Great but the odd thing is prior it told me my card was Class 6, now it tells me my card is Class 4 !!
[Desire Android Development] Undesirable:
Well, the write speed was the same in both tests, so looks like class 4 in that test. I'm not sure how reliable that SD Card Speed Test is. You might get better results with a card reader and H2testw or some other benchmarking tool.
[Desire Android Development] pina_:
can I flash the zip with Modaco R9?
[Desire Android Development] knights191:
Amazing! Went from 6mbsec read/8mbsec write to

15mbsrc read

8 mbsec write

What a community over here :-)
[Desire Android Development] harvestdroid:
Work flawlessly on AuraXTsense 7.8.1 with modded V4 kernel..

Before: Read 5 / Write 8

After: Read 5 / Write 12

I use transcend Micro SDHC 8GB Class 6, tested using SST from market.. :D

PS: The speed is affecting my boot time, i don't know if this normal...
[Desire Android Development] reudyfam:
Just did mine about 15 minutes ago, seems fine. :)
[Desire Android Development] dziegiel:
Tested on LeeDroid 2.2d:

write: 2MB/s (before 2MB/s)

read: 8MB/s (before 2MB/s)

but I lost overcocking, smartass and interactive governor - restored nandroid backup
[Desire Android Development] Baccer:
goto page 3

and flash that one

worked for me. still got the oc and uv

only the smartass is missing

but good values class 2 sandisk 16gb

write: 2MB/s (before 2MB/s)

read: 6MB/s (before 14MB/s)
[Desire Android Development] viva.fidel:
smartass is the best governor for me.. are you sure it's missing? It was part of the v3 kernel
[Desire Android Development] Undesirable:
It's missing for me with the patch on page 3.
[Desire Android Development] freeman_108:
I have backup the bcm4329.ko and replace it after kernel update but WiFi still not working.

Can anyone please explain thanks.
[Desire Android Development] Pyr0x64:
did you flash the kernel from the first post, or post #54 ?