yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tiktakt0w:
well i have the fastest........

Well my sd can reach write speeds of 8 mbps and read speeds of 80 mbps+ look.. at my sig
[Android Apps and Games] CoffeeCone:
I'm on the same boat as you. But, Link2SD already created this script and added its own. So where do I put the read ahead code? Before, or after the Link2SD code?
[Android Apps and Games] The-Droidster:
For that you need a rom with init.d support. http://xdaforums.com/showthread.php?t=633246 head here.
[Android Apps and Games] wantabe:
If I'm not mistaken you just need a kernel with init.d support which is what I'm using on a stock rom.
[Android Apps and Games] .xxx.:
@brainmaster- i have more than 12000 pics on my sd card of 16gb class 10. Any idea about the cache size that i should flash..?
[Android Apps and Games] Dilesh Perera:
just now flashed with CMW to my Xperia Ray . value remain 128. :(

Edit - :) i manage to fix it to work. now 2048 stays after reboot. thanks
[Android Apps and Games] igorgsrv:
help me to change the script to MIUI V.4 for U8800
[Android Apps and Games] Bhups:
You might be able to use this tool to do this.

https://play.google.com/store/apps/details?id=de.mehrmann.sdbooster

Also S2E does this.

I was facing pissed off experiences with my new SanDisk microSDHC UHS-I Card 32 GB, but now that I set the buffer size to 4MB with S2E, it seems to be flying.
[Android Apps and Games] hakaz:
Does it make any sense to set different read ahead cache sizes for internal sd (179:0) and external sd (179:8)? Do they actually use different cache areas?:confused:

Currently I set mine to 512 (179:0) and 2048 (179:8) by init.d script.

Cheers!
[Android Apps and Games] evrod20:
Can't install it with CWM...

If I try to install it manually, just copy/paste the script with 777 permissions?. Do I have to do it everytime I reboot?
[Android Apps and Games] reddvilzz:
If there is rom that provide changing sd card value like this is it compatible? Like an aokp rom there is an option like this
[Android Apps and Games] zealouszee:
found this and set it to 2048 in my u8150...i have read the posts that it is safe to do so..but i have another question..if i go for 4096kb would it make it even faster? or it depends on the handset or something? plus, does doing so means more wear n tear for the sd card?

thanks.
[Android Apps and Games] Theonew:
It depends on your device. No major negative effect should come of it ;).
[Android Apps and Games] GalaxyS3III94:
By doing this will it brick the phone or anything like that ??

i'd rather have the slow speed and not brick my phone
[Android Apps and Games] guitardoc64:
No, it won't brick your phone. Hence, the lack of " I did this and it bricked my phone!" type posts...:D
[Android Apps and Games] y_v_89:
Where is the cache located ? Internal memory or in the SD card ?
[Android Apps and Games] boysha8:
Is there a zip that can change to 8192kb. total noobie here, would like things setup in a nice zip package.

Thanks
[Android Apps and Games] guitardoc64:
Download the free app in your quoted post. There again, going past 2048 won't make a real difference.
[Android Apps and Games] silentwitness1:
mine is set to 256 in omega rom and i am getting speeds of 5.8MB/s write and 15.5MB/s Read speeds, so u think this would make it much faster?

edit:-

i tried installing it on my s3 but i keep getting installing update then installation aborted(error in /sdcard/sdcardspeedfix2048kb.zip (status 0)).
[Android Apps and Games] sk8trix:
Will this work on the Galaxy S III on CM 10 ? or Stock Nexus 7 ????
[Android Apps and Games] leap_ahead:
i can use this on nexus ??? nexus not have sd card ...
[Android Apps and Games] DarkhShadow:
Yes it still works

Sent from my Jelly Nexus 4
[Android Apps and Games] leap_ahead:
my rom use 2048...which one i must use ?
[Android Apps and Games] guitardoc64:
2048 seems to be the magic number. I've tried higher but it made no noticeable difference.
[Android Apps and Games] lateral18:
I have a question, if I made a script , do I have to put 99whatever , for the values to apply on boot ?

I've made one , but only some of the values stick offer reboot , (there are like 4 values out of the 16 that are not sticking I have to change it manually)

The name that I have for the script is 05performancetweak does it need to to be 99performance tweak . But there is another one already in the folder with 99cmplete

By the way , I increase the read ahead speed to 3027 , the clad 10 sd card I have is performing way better !!!

Thanks
[Android Apps and Games] bluxe:
Woow! :D Excellent !! I've tried all different options and I got excellent results with 4096 Kb. it's amazing for Class 4 SD Card ^^

4096 Kb.
[Android Apps and Games] bswann:
My external SD read speed is 281.63 MB/s and my write speed is 5.56 MB/s.

Is that right? Is my read speed really that high? Where is the file located to change the write speed. I'm running SlimBean beta 1 (4.2.1) on a Galaxy S2 with a Kingston 16GB class 6 SD card. Thanks.
[Android Apps and Games] DarkhShadow:
Lol that read speed is very inaccurate, never seen speeds that high from top of the range SSDs let alone a MicroSD

EDIT: also what app is that?

Sent from my Jelly Nexus 4
[Android Apps and Games] bswann:
Yea, I figured it was wrong. The app is A1 SD Benchmark. I just ran it again and the numbers are more normal looking now. My write speed is only 4.13 MB/s now and read speed is now 13.00 MB/s
[Android Apps and Games] pippoaacc:
wear and tear

How can I set different cache values for internal/external memory on SGS3 I9300? Cause I can't find which 179:x the external/internal are in the sys/devices/virtual/bdi folder.
[Android Apps and Games] DarkhShadow:
Thanks, was looking for one that actually worked on JB xD

I got this 0.0

Sent from my Jelly Nexus 4
[Android Apps and Games] pippoaacc:
Anyone? By the way, I was wondering: where is the cache physically built? I mean: does the buffer reside in the card or in the RAM?
[Android Apps and Games] DarkhShadow:
Don't know about 2nd bit, but I'm pretty sure the internal/external use the same cache

Sent from my Jelly Nexus 4
[Android Apps and Games] lexobys:
Deleted - sorry wrong post
[Android Apps and Games] mckeviin:
look at mine. Its in Swedish so i will translate. The first is before i changed. the second and third is after. but sadly i dont remember which Value i wrote in the file :(

http://puu.sh/1SMhb/e8b4e01410/ss (2013-01-26 at 06.43.51).jpg
[Android Apps and Games] JockeII:
In my custom ROM (NXT 1.3) on my Xperia Play the ROM creator set it for 1024, any reason one would want to have that instead of 2048? Does 2048 drain more battery?

I presume that if I want to change it I have to apply the script in this thread even though it is already applied as standard in the ROM?
[Android Apps and Games] smokerman:
yes..you have to flash in every rom you install ..:good:
[Android Apps and Games] Benz83:
hi guys, sorry but this change can damage over time the sd?
[Android Apps and Games] CtrlAltDelIrl:
Short answer - No.
[Android Apps and Games] oceanserv:
Hi guys,

want to ask, On Galaxy Ace2 there 2 Storage, thats is Usb storage and SD card

the path /sys/devices/virtual/bdi/179:0 is for sdcard0 that is USB Storage.

what is the path for SDCARD1 and how to change the speed using the script from page one ?
[Android Apps and Games] jimworm:
Installation aborted

Installation aborted on ICS custom rom. Help anyone?:laugh: TIA!
[Android Apps and Games] navolmixa:
Thank you for this script!

I tested 2048, 3072, 4096 and get almost the same result:

write speed 7-7.3 mb/s

read speed 25-25,6 mb/s.

That's why stoped on 2048)))
[Android Apps and Games] bellus_charm:
Read Speed shot upto 40 MB/s

Thanks a lot for this script !

My HTC Chacha had 128 kb initially which I changed to 2048 after trying out a couple of values. :highfive:

And you can check amazing increase in speed for yourself in the screenshots ! :)

HTC Chacha using CM10

SD Card : Sandisk Micro SD HC 8GB Class 4
[Android Apps and Games] narflynn619:
QUICK NOOB QUESTION:

Besides increasing Gallery loading speed (which all of you are so happy about), does this tweak also improve gaming performance for games with SD Card files?
[Android Apps and Games] xanda143:
good question. antbody? and is there a easier way to so this mt4g 4ext recovery. can i flash via recovery?
[Android Apps and Games] avemt1:
Faster load time with dangerous HD.
[Android Apps and Games] Akusari:
SD-Booster 2.0 makes it smart

Hello folks,

I just released SD-Booster 2.0 on Google Play.

Features:

-MMC detection framework to support any SD-Card and SD-Memory

-Speedup every external and internal SD-Memory

-Configure each SD-Card/SD-Memory separately (New!)

-Set on system start (boot) feature

-Device monitoring (New!)

-Notification system (New!)

-Color based suggestion terms of current cache size

-Multi-Language support (New!)

I want to show you the advantages of SD-Booster:

Well, every card is a different - Right! I'm not only talking about size or manufactor,

i'm talking about classes (2-10) and the filesystem which is used. Finally the content,

your data files are importent anyway.

So, there are a lot of possible constellations and each one needs a perfect cache size

for the best result. SD-Booster used for every single card a unique signature.

So, SD-Booster knows your setting for each single card. This feature together with

the "monitor" (insert/eject/mount card) feature makes SD-Booster very good for any

case of tuning.

However, i hope you'll test my little app and i have a open mind for any feedback. :o

Link: https://play.google.com/store/apps/details?id=de.mehrmann.sdbooster

Regards,

Akusari
[Android Apps and Games] niko22225:
Got bit confused on recovery part..can I flash it with TWRP?

Sent from my LG Optimus 3D XBSA VR3D with AC!D Audio Engine
[Android Apps and Games] LuigiBull23:
thanks for this. very useful.
[Android Apps and Games] copitlory:
The Downside to Higher Reach Ahead Cache Sizes

Many people are wondering why higher read ahead cache sizes aren't used in stock ROMs since they show significantly higher read speeds in benchmarks. Well the reason is because a benchmark is just a benchmark. The benchmarks applied to test the SD card speeds tend to test SD cards under maximum pressure. However this is not usually the case. This means that in normal use, where the device is accessing a few small files, as opposed to one large file during a transfer or download, a smaller read ahead is better to reduce lag. A large read ahead means that even when accessing extremely small files, the read ahead size must be met, which creates wastefulness and reduces performance. This is the reason why just placing the read ahead size at maximum is not the best and shows slower speeds sometimes.
[Android Apps and Games] mpjoe2000:
higher read ahead cache just makes my phone not battery friendly, since mmcqd process starts to eat more cpu resources. After a while the phone becomes laggy. A benchmark is not a good final test instrument.
[Android Apps and Games] darkknightma:
thanks
[Android Apps and Games] SagiTHORus_:
Just asking, Will doing this degrade sd card life ... ?
[Android Apps and Games] -CALIBAN666-:
just a answer,NO ;)
[Android Apps and Games] demoncamber:
So if you have class 10 you can safely go over 4096?
[Android Apps and Games] coolpixs4:
DO all the guys try with this APP on google play

SDCard Booster (root)

Simple, Light weight, and may work perfect
[Android Apps and Games] pupakota:
Do all?

I have simple question then: does it change settings for sdcard0 AND sdcard1?
[Android Apps and Games] coolvipcandy:
Hello,

great app as it seems,, but i've seen few people on play store saying that increasing write speeds destroys the card.

" THIS WILL DESTROY YOUR MICROSD CARD READER/CARD! WARNING! Speeding up the read/write speeds of your MicroSD card WILL and HAS burned out two of my SD card readers using this exact application. It WILL destroy them, so fair warning. This is a serious problem that doesn't seem to be discussed much. Has burned out the SD card reader on my Samsung Galaxy S4 as well as my HTC Rezound."

"Dont download It destroy your sd card write speed "

etc.

No offense or doubt on app part but just curious to know that whether these people really are noobs or messed up in app setting by setting up very high values or there is actually some risk of it ??

thank you,

I'm using samsung galaxy s5 i9505, with 64gb class 10 sandisk ultra card.
[Android Apps and Games] vikrantgmail:
Curious !!

Hello , just looking something like this ... i have problem in a ported rom for my device . Specificly only 15 songs loaded in 10 min :( .. i have total of 599 Songs :D :p . . i dont get such bug in stock rom . Will this fix my bug in ported rom ? Eagerly waiting to give you some credits .... :)
[Android Apps and Games] Zeuszoos:
Hi,

Thank you in advance for your time (Dev and/or others)!

I tried this by manually editing the file and it definitely works! :)

A question though; Does this affect just the Internal Storage? Or does it also affect the External SD Card as well?

Also, I would like to set the Scheduler to Deadline. There are many apps (SD, CPU, etc.) that will do that, but when I look at my setup (sys info app), it shows for every one of them, that it is only setting it for the Internal Storage, but not my External Storage. Who wants to run one (Internal) using Deadline and the other (External) using the Default CFQ? :)

Is there some way, editing a file, or an app (pay is fine) that can/will handle this? Does anyone have any type of solution for this issue, please?

To be 100% accurate, I should have said that JRummy's ROM ToolBox will do it, but it's an entire package of (great) apps/functions and I really don't want to install an entire suite of things that I already have covered with other apps individually, which is how I prefer it, so that I can purchase the best one there is for each function. And that method has worked well for me, so why change it now? :)

Thank You Again! :)

---------- Post added at 12:09 PM ---------- Previous post was at 11:49 AM ----------

Hi,

I will state emphatically that under every day usage:

No Boost = Crawl

Boost = Big Boost!!!

TTYL

---------- Post added at 12:20 PM ---------- Previous post was at 12:09 PM ----------

Daniel,

I have used this/your app for years and loved it!

However, with the brand new (verified genuine) 64GB, exFAT, Class 10 External SD Card, SD-Booster sees it when I boot my Rooted, SG Mega 6.3", KitKat 4.4.4 on MegaKat ROM (tweaked Stock OEM).

But after a few minutes, it just loses it. It even disappears from the app when you open it and reading from my Ext SD Card slows WAY down!

I'd be happy to test any (install Apk's) for you if you so desire to see what's going on and report back quickly (same day!). Again, if you're so inclined. :)

Just FYI; Yes, I was using the latest version.

Thanks!

---------- Post added at 12:29 PM ---------- Previous post was at 12:20 PM ----------

Hi! :)

Just FYI for everyone, I use Philz Touch Recovery 6.48.4, which is based on CWM 6.0.5.0 (and even uses the same backup folders), so I figured I'd give flashing the 2048KB Zip a shot.

Unfortunately, the installation fails, so save yourself the time and just use the app referenced in the OP. :)

TTYL
[Android Apps and Games] Zeuszoos:
Dev,

I have been using the app version (set at 2MB) and it definitely makes a huge difference! Much, much smoother!

Thanks! :)
[Android Apps and Games] Zeuszoos:
BrainMaster,

I tried the Zip on my SGH-M819N Samsung Mega (MetroPCS), KK 4.4.4, Factory OEM ROM, with PhilZ Touch Recovery (CWM based).

It didn't work (error) and I don't even know what "RA 1.7" is, so I didn't try that one.

I'm not experienced with making scripts, but I did make my device init.d capable now. That way at least I could pretend I know what I'm doing. <lol>

What do you suggest for me? I'd like to be able to use a Zip to Flash it, but don't know what to change in the one you provided, or if it's because it won't work on a Samsung, or something?

I'm not a noob to Android, just to scripts (although I do know *what* they are).

I would be grateful for any help that you or anyone could give me!!!

THANK YOU!!!
[Android Apps and Games] Bosssirsi:
why you limit this cache storage 3072KB what happen if this value set 512000KB ?

official roms limit cache size 128KB for increase quick speed suggestion is this value set to 3072Kb

what happens if i set this value to more then 500MB (512000KB)

official roms Cache size limit to 128kb may be some reasons behind this for their limit
[Android Apps and Games] royitoroy:
hello well i have mi lg g4 stylus h630 loolipop 5.0.2 rooted stock firmware and would like to increase the sdcard speed so...

which way do u thinks its better, safer or stable?

the cwm way (i dont have it so i would install it if it need)

the script by root explorer

or the akusari (sdbooster) app

pd: my cache size in the file /sys/devices/virtual/bdi/179:0/read_ahead_kb its

512
[Android Apps and Games] LordAlberto:
Thanks for this. Just updated from CM14 to Lineage on Oppo R7S and had constant skips and jumps playing FLAC from usb, whereas CM13 was silky smooth. :good:
[Android Apps and Games] Sephiroth79:
Hello.

I am trying to increase sd card read/write speed on a rooted Honor 6X with no luck.

I am using sd card as "adoptable storage".

I've tryed to flash appropriate file using TWRP but it does not work, sdbooster app won't run (starting and immediatly closing).

Any idea on how to fix it?

Thanks,

Andrea.
[Android Apps and Games] Sephiroth79:
Is not working on my rooted honor 6x.

Maybe because I am using the SD as adoptable storage?
[Android Apps and Games] bhavtosh76:
Hi,

I tried both solutions, Flashing via recovery & writing both files. After reboot 128 remains there. I have proper rooted phone Xperia C2305 5.1
[Android Apps and Games] JM143636:
i dont have an init.d file on my device..using sony xperia m2
[Android Apps and Games] AlaisterLeung:
For those who have no CWM and no init.d on their rooted phone, you may try Termux to run the script on boot. Learn more here: https://wiki.termux.com/wiki/Termux:Boot

Here is my Termux script:
[Android Apps and Games] sheepdog elite:
Ya, stock card is class 2, but the write speeds went really high, and empirical testing supports it, as well as my gallery loads a full level of magnitude faster so I'd say the script is helping even if the benchmark doesn't show improved read.

I'm impressed as hell man. Very nice work. I'll run another day or 2 and check back in. You should get ahold of adrynalyne over on the fascinate forum and share this with him. I'll be keeping these files around for sure.
[Android Apps and Games] JR_de:
Just flashed the 2048 one with Amon_Ra Recovery. Speed improved dramatically with my 16GB Class2 SDCard. Thanks a million!
[Android Apps and Games] icbless:
so..is it alrite to use sd card speed booster app? (paid) isit the same?
[Android Apps and Games] JR_de:
Yes it seems to be the same.
[Android Apps and Games] BikerBoy030:
Works for Nexus One

Nice work @ brainmaster...

before one year you tuned my acer neotouch with your great roms :D....and now you pimp my nexus one with your nice script!!!!

Benchmark results:

stock: 4.7 19.3

4mb: 3.1 99.3

2mb-------- 3mb

3.9 wr:42.3----4.2 wr: 20.6

6.8 wr:109.6----6.4 wr:141.5

6.6 wr:110.2----6.2 wr:130.1

7.5 wr:93.4----6.7 wr:133.3

7.2 wr:98.6----7.0 wr:115.6

7.5 wr:137.5----7.0 wr: 87.6

7.7 wr:87.2----6.8 wr:138.4

6.6 wr:123.1---- 6.2 wr:143.8

nice work!!!:)
[Android Apps and Games] brainmaster:
I am glad to hear that.
[Android Apps and Games] Bnorus:
Really good fix @brainmaster !

Nexus One stock SD card (Didn't get the will to buy a new one lol)

stock cache: w~5 / r~18

with the 2mb cache: w~6.5 / r~60

That's approximately the mean on 5 tries...

+1 to add that on custom ROM :)
[Android Apps and Games] jayfallen:
I am currently using default cache setting, and the test result using SD Tool is write 11MB/s, read 20.5MB/s...

N1 CM 6.1 with data2ext, sandisk C6 ultra mobile 8GB...

I'll try the 2048 setting and test again...

LOL,,,

with 2048 cache

1st run, write 14.2 MB/s, read 60.4 MB/s

2nd run, write 16.1 MB/s, read 54.6 MB/s
[Android Apps and Games] davrave:
I am using AmonRa for backups and tried flashing this file in recovery as I would with a new rom e.g. All that happens, is I get a message saying "failed". I have a Transcend 8GB card class 6.

Can anyone tell me what I am doing wrong or how to get this working.
[Android Apps and Games] cwill0303:
Thanks Brainmaster, but even the updated script still didnt work for my sorry phone. Ill get with the guy who wrote the updates to my phone and see if he can change the hard code. Thanks anyway for the work! The idea is now in my head and I will have to find a way!
[Android Apps and Games] :
Darky'9.5 here... 4gb class 2 sandisk card, the write speed has increased to 7.2 MB from 4.9 but reading speed doesn't change(17-18 MB)....any suggestion? Thanks guy for your intuition! ;)
[Android Apps and Games] KilL3r!:
B4

After

No difference in reading .. used 2048kb one..
[Android Apps and Games] kenshinta:
Question:

Assuming you have fat and ext/ apps2d protion on the sdcard, does this improve performance (if it works at all) for FAT protion only or both fat and ext2/ app2sd portions?
[Android Apps and Games] brainmaster:
Already answered - the whole SD Card.
[Android Apps and Games] brainmaster:
Info for ROM Cookers - add this line into init.rc file:
[Android Apps and Games] SiNJiN76:
Toggle Verification...2nd screen. Assuming your are using 2.2.1.
[Android Apps and Games] Sharro:
I have a DHD running leedroid V2.2.2 with the 2.2.9 kernell, I've tried all possible ways:

+Flashed with newer/older CWM versions

+tried both scripts

Still stuck with 128 :-(
[Android Apps and Games] davrave:
Thanks for the response. I am using 2.2.3 GB. Is this the reason that it does not work for me. Excuse my ignorance :-)
[Android Apps and Games] Dirk:
Nice find! I'd like another App to verify the results we're seeing in SD Tools before jumping with joy though. Can anybody suggest one?
[Android Apps and Games] brainmaster:
Android Gallery.

Quadrant.
[Android Apps and Games] richua:
I'm not getting cool and crazy results like everyone else. Might it be because my class 10 card is already pretty fast?

Nexus One with CM7 RC3

Kingston class 10 16GB SD

Default baseline:

3.7 w , 11.4 r

4.9 w , 17 r

1024:

2.8 w , 10 r

4 w , 17.8 r

5.7 w , 2x.x r (forgot to note it because I was in a hurry to flash the next one)

2048:

2.4 w , 62.5 r

5.3 w , 13.3 r

6 w , 12.9 r

(what happened on those last two?)

3072:

4.8 w , 82.1 r

5.3 w , 25.4 r

5.3 w , 14 r

5.7 w , 72.2 r

4096: (currently selected)

2.3 w , 89.1 r

5.5 w , 70.7 r

5.7 w , 22.4 r

Checking the file parameters confirms it's set at 4096. Gallery "feels" quicker. Did I perhaps select the wrong setting?
[Android Apps and Games] Sharro:
It's boring to quote myself but I prefered this than editing my first post.

After a few attempts I was about to quit when I visited irc #leedroid-roms user Sylaan gave me a precious help.

As I had flashed the zip without changes, I then created myself the files with the scripts, adb push, etc...never worked.

Sylaan suggested:

chmod 755 77xxxxx

chown 0.2000 77xxxxx

Didn't work either.

My only difference to Sylaan is that my files were first created with Notepad, latter with Notepad++ but both files had ^M at the end of the each script line (checked with VI), when Sylaan sent me his file (my VI knowledge is as good as Democracy), I pushed it with adb, did the ch's mentioned above, rebooted et VOILÀ!!!

After checking with CAT finally I had 2048.

Hope it helps anybody and a million thanks to Sylaan for the precious help.

All the best,

Sharro
[Android Apps and Games] cwill0303:
Care to share said file? Pretty please? Also, just in case, how is this done?

Sylaan suggested:

chmod 755 77xxxxx

chown 0.2000 77xxxxx

Sorry for being a noob!