sk8dayfuknight
Well-known member
this tweak changed my writing speed from 8.8 to 20.8 and my reading speed from 7.4 to 7.8, big jump in the writing speeds.
Grrr, not very happy at the moment. Some things stick, but not all of it.
Well, I was planning on some changes to the roms anyhow, so...
There isn't much you can do by way of changing build.prop.
init.thunderc.rc from the kernel will always overwrite them. You'll need a custom kernel if you don't want a diy script to run on each boot.
Don't you mean writing is 7.4 to 7.8 and reading 8.8 to 20.8?this tweak changed my writing speed from 8.8 to 20.8 and my reading speed from 7.4 to 7.8, big jump in the writing speeds.
Two questions- Do I have to reinsert after swapping or updating roms?
Also, I can execute through root explorer but when I try to use gscript > create new script> load> *no files show under "select a file" even though my afterboot.sh is on the root of my sdcard.
Ok...so I rebooted my phone and in the status bar it is stuck with sd card symbol saying checking for errors. I thought that was weird so I ran afterboot in gscript and all I see is "stderr:" line by line. Results pre script- write9.7 read 8.6 post script- write4.6 read 14.1 What did I do wrong?
I am using Aosp's 415 rom, no extra kernels. I did not download libsqlite (I know that). After 15 minutes the sdcard symol went away- done checking for errors and loaded. I also have no data2ext partition on the sd. Is the "stderr:" what you see line by line when you run afterboot on gscript? My phone is running fine now, hard to tell initially what the large differences are.Which kernel and rom are you using?
It is not supposed to effect write speeds, only read speeds. Anything that happens on a reboot is not the fault of the script. All it's effects are cleared on a reboot. It sounds like you have corruption on your micro sd card.
FYI, the libsqlite.so file I posted is meant for Froyo only (ie Stock, Aphrodite, Rodimus).
I am using Aosp's 415 rom, no extra kernels. I did not download libsqlite (I know that). After 15 minutes the sdcard symol went away- done checking for errors and loaded. I also have no data2ext partition on the sd. Is the "stderr:" what you see line by line when you run afterboot on gscript? My phone is running fine now, hard to tell initially what the large differences are.
thanks. Well your way, combining the battery/performance tweak post and the readahead sdcard tweak made me feel motivated to write it out. I wish the battery & performance guy would've explained what each tweak does because he just says 'google them' basically.
I wish all of these were just some android market app because they become onerous. Or if people are incorporating these into ROMs I wish they'd specify that they did in their release notes.
that'd be great if they look good.
I've installed his before his way and it didn't seem to bad. Are you saying his way will run more of them at startup instead of your script scheduler way?
I verified the sdcard readahead portion worked because I had that SD Speed Increase app still on my phone when I was testing yours.
yeah. i just found that after testing my steps:-[
ah... so your way gets all the scripts applied
The default setting is 60 if I remember correctly, setting it to only work every 6000 centisecs (every 10 minutes I think) so there's no lag coming from that, it even helps not to stress the CPU.from Liquidplacidity: If you notice any lag in your phone from these tweaks, take this out of the init.d .. echo "6000" > /proc/sys/vm/dirty_writeback_centisecs;
@mmarz
You said not all of my tweaks were applied because they run before the ramdisk. Care to specify which ones don't get applied?
EDIT: I was looking at your .sh file and I didn't see any difference between mine (appart from the setprop lines that I took out because they were getting overwritten on boot).
The default setting is 60 if I remember correctly, setting it to only work every 6000 centisecs (every 10 minutes I think) so there's no lag coming from that, it even helps not to stress the CPU.
for j in $DM $MTD $LOOP $RAM;
do
echo 0 > $j/queue/rotational;
done