CrackUC Posted March 13, 2012 Report Share Posted March 13, 2012 PHONE MUST BE ROOTED IF ALL OF THIS IS JUST GIBBERISH TO YOU THAN DON'T DO ANY OF THIS!!! This is a simple little tweak that will increase loading speeds and in most cases fixes all scroll lag. There are 2 methods of doing this. Use method 2 only if the 1st one didnt work for you. METHOD 1: Create a simple text file with note pad and write the following code: #!/system/bin/sh if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ] then /system/xbin/echo "XXXX" > /sys/devices/virtual/bdi/179:0/read_ahead_kb; fi; NOTE: WHERE "XXXX" put you desired cache size in KB... E.G. 128 or 256 or 512 or 1024 or 2048 Next save it as anything WITHOUT a file extension, E.G. "cachefix" Now using Root Explorer or a similar app, copy this file to "/system/etc/init.d" folder. (you may also push it across with ADB) REBOOT now go to Root Explorer and open "/sys/devices/virtual/bdi/179:0/read_ahead_kb" and see if its changed METHOD 2: If method one doesn't work you may try following code, the process is identical: mmcfolder="/sys/devices/platform/msm_sdcc.2/mmc_host/mmc1" cd $mmcfolder folderlist=`ls -1` mmcresult=`echo $folderlist | grep -o '\bmmc1:\w*' | sed 's/mmc1://'` echo XXXX > /sys/devices/platform/msm_sdcc.2/mmc_host/mmc1/mmc1:$mmcresult/block/mmcblk0/queue/read_ahead_kb cd / NOTE: WHERE "XXXX" put you desired cache size in KB... E.G. 128 or 256 or 512 or 1024 or 2048 An App to exist that does the same work on every boot:HERE And you can flash the ZIP files with CWM.. files below7974_.zip7975_.zip7976_.zip7977_.zip7978_.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.