• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Speed Up SDCard Read Access

I am running the Azrael Rom. When I run "ls /system/etc/init.d" I get this:

02dalvik2cache
05zipalign
99complete

According to the thread on xda, I should see something like this:

c:\Incoming\Android>adb shell ls /system/etc/init.d
00banner 02firstboot 04apps2sd 99complete
01sysctl 03modules placeholder

Can I run the flashable file?
 
I am running the Azrael Rom. When I run "ls /system/etc/init.d" I get this:

02dalvik2cache
05zipalign
99complete

According to the thread on xda, I should see something like this:

c:\Incoming\Android>adb shell ls /system/etc/init.d
00banner 02firstboot 04apps2sd 99complete
01sysctl 03modules placeholder

Can I run the flashable file?

What ROM are you running? Developers can put whatever they want in there, so that really doesn't matter that much. It should be fine as long as you're not on stock (though there's a modified stock kernel for this now.)
 
What ROM are you running? Developers can put whatever they want in there, so that really doesn't matter that much. It should be fine as long as you're not on stock (though there's a modified stock kernel for this now.)

I'm running Azrael v3.1.
 
Well, it worked for me. Increased my read speed.

Before:

snap20110122_153818.png


After:

snap20110122_154452.png


That is with a Kingston Class4 16GB card I bought right before Christmas.
 
wow akazabam to the rescue again. went from 4 Mb/s to 10 using zip. do you fight crime at night as well?

thanks
 
so, I flashed this and it increased my read speed...BUT, now, I notice that when I move files from my pc to the card, the speed is SUPER SLOW; I used to be able to move a 80 meg ROM from my pc to the card in about 10 seconds; not it takes about 5 minutes!!

Is there a way to "undo" this fix? I dont like how slow it has made if for me to move files to the card...

thanks!
 
Does this need to be reapplied when changing kernels or roms?

1) If you just flash another ROM that doesn't already have this done at the kernel level, you will not need to reapply it. It's a script that lives in /system/etc/init.d/. If you flash a normal modular kernel, it won't touch that.

2) If you flash a kernel that already has this done (ziggy's for example), you may want to remove the script yourself, but really, it just won't do anything as it's already been done.

3) If you flash a new ROM, you will most definitely need to reflash this (again, unless you flash a kernel that already does it) since /system gets wiped out. Keep in mind that you must flash Calkulin's stock HTC kernel with this mod applied to it if you plan on going back to the stock ROM.

so, I flashed this and it increased my read speed...BUT, now, I notice that when I move files from my pc to the card, the speed is SUPER SLOW; I used to be able to move a 80 meg ROM from my pc to the card in about 10 seconds; not it takes about 5 minutes!!

Is there a way to "undo" this fix? I dont like how slow it has made if for me to move files to the card...

thanks!

That seems strange. If you'd like to remove it to see if that was the cause of the problem, it's pretty easy to do. You can do with this root explorer, a terminal emulator, adb, etc. Simply remove /system/etc/init.d/10sdreadaheard. If using root explorer or the terminal emulator, you must mount /system as rw. Let me know if you need more instructions on a specific method. If you get really stuck, I'll make a flashable zip for you.
 
well, I just checked with root explorer, and, I do NOT have the file 10sdreadahead in my init.d directory.
Last night I flashed the latest cm7, rls11, but only cleared cache and dalvik, did NOT do a full wipe..
Is it possible that I do not have the "fix" on my phone anymore?
If not, what could have suddenly caused my sd card to have such slow transfer speeds from my pc?

thanks!
 
well, I just checked with root explorer, and, I do NOT have the file 10sdreadahead in my init.d directory.
Last night I flashed the latest cm7, rls11, but only cleared cache and dalvik, did NOT do a full wipe..
Is it possible that I do not have the "fix" on my phone anymore?
If not, what could have suddenly caused my sd card to have such slow transfer speeds from my pc?

thanks!

Let me see if I understand what all you did. You flashed this mod on some other ROM, then flashed CM without wiping data, and you're now having transfer speed issues. Is that correct?

1) What ROM were you on before? If CM, I don't think you need this mod.
2) Even if you don't wipe data, this mod goes to /system, which gets wiped out. Not wiping data just affects /data. /system *has* to be wiped out to flash the ROM.
3) Again, what ROM were you coming from that prompted you to not wipe data? That's not always a good idea depending on what you had before.
 
well, thats not the issue, since I have been on CM for the last month; when I moved from 6.1, I wiped everything, and, have been on cm7 nightly ever since release 0.
I flash each new nightly over the previous nightly, wiping cache and dalvik only, and have had ZERO issues with pretty much everything else except this.
The slow down of transferring data from my hard drive to my sd card only began AFTER I flashed this file..BTW, I just reflashed it to see if it would make a difference, and it did NOT change the slow transfer speeds..:-(
 
Did it slow down after the last nightly, or specifically not until you tried this? If it wasn't in your init.d directory, then you must have flashed it before flashing another nightly. It makes sense that it would get wiped out. Have considered flashing the previous nightly to see if it's a CM problem? Like I said before, I don't believe you need this if you're using CM, but I'm not positive (especially with CM7).
 
I am not 100% certain which happened first; a rom flash or using this fix.Since I have been flashing the newest release every night, I dont know if it happened on version3 or version 8, or if after I applied the "fix"

I tried reflashing the fix, and now I see that file in the directory that it should be, but, the data transfer speed from my pc to my phone is still very slow..
 
I would suggest you try reflashing one of the older nightlies if you still have it laying around. This sounds more like an issue with CM.
 
It looks like Netarchy just made 4.3.1 stable, and released 4.3.2 beta. According to the changelog, it now includes the fix for sd readahead, so if you upgrade to that kernel, you shouldn't need to flash this anymore.
 
Awesome find thanks for the zip. I was getting 7 MB/s write speed (avg) and 10 MB/s read speed (avg) now I'm getting 10 MB/s and 18 MB/s :D Average just awesome. Using Fresh 3.5 ROM with net 4.3.1 cfs-havs-sbc kernel Thanks again
 
Anyone having issues with this mod in MIUI? I keep getting reboots since I applied this. Im running 1.2.11 with 2.6.32.25 bcbland kernel.
 
Back
Top Bottom