[MOD]Data Speed Tweak [ICS/GB][Wifi/3g/4g]>Flashable ZIP<

Search This thread

josh451

Member
Jan 26, 2011
36
3
Holy crap, this really boosted me up, seeing speeds I hadn't since around here short of being on a wifi.

Thanks!

Sent from my PC36100 using xda premium
 

madunix

Senior Member
Jan 16, 2009
571
70
New York
im googling how to change owners and change permissions, but i don't understand any of it.. someone please type out the commands i need to have this running properly? i went into root explorer and long pressed sysctl.conf and checked read write where owner was. thats the only change ive made.. good? bad?
 

fiddy619

Senior Member
Nov 2, 2010
781
324
San Diego
im googling how to change owners and change permissions, but i don't understand any of it.. someone please type out the commands i need to have this running properly? i went into root explorer and long pressed sysctl.conf and checked read write where owner was. thats the only change ive made.. good? bad?

definitely use root explorer it is the easiest way, just do a long press on the file, and the menu will come up to adjust permissions and to adjust ownership. If you use the .zip, then it will do it for you...
 
  • Like
Reactions: madunix

madunix

Senior Member
Jan 16, 2009
571
70
New York
definitely use root explorer it is the easiest way, just do a long press on the file, and the menu will come up to adjust permissions and to adjust ownership. If you use the .zip, then it will do it for you...

ty, i tried the .zip and i dont think it worked right, so i decided to do it manually but i figured it out.. under change ownership, root/root means even the group should be root correct?

for every /, that means owner/group/others.. and i choose for each whether i want it to be r,rw,rwx for each? i know this is not making much sense, but am i understanding this correctly?

---------- Post added at 10:04 PM ---------- Previous post was at 09:48 PM ----------

my speed test results dropped dramatically.. but im browsing the internet and everything seems to be flying.. am i missing something?
 

fiddy619

Senior Member
Nov 2, 2010
781
324
San Diego
ty, i tried the .zip and i dont think it worked right, so i decided to do it manually but i figured it out.. under change ownership, root/root means even the group should be root correct?

for every /, that means owner/group/others.. and i choose for each whether i want it to be r,rw,rwx for each? i know this is not making much sense, but am i understanding this correctly?

---------- Post added at 10:04 PM ---------- Previous post was at 09:48 PM ----------

my speed test results dropped dramatically.. but im browsing the internet and everything seems to be flying.. am i missing something?

Permissions should be rw-r-r, and yes ownership should be owner root, and group root. You could also use the terminal to change permissions to 644, running

$su
#cd /system/etc
#chmod 644 sysctl.conf




Sent using my Cyanogized Monster EVO via Tapatalk 2
 
  • Like
Reactions: BuddaBelly

MTsol

Senior Member
Nov 16, 2009
259
50
OnePlus 10 Pro
Google Pixel 7 Pro
Running AlterRom rc2 with the Verizon prl 52515. Oddly the zip definitely does not help the data speeds. It actually did the complete opposite. The first 2 tests are before the tweak. Then the next 2 are after.
Remember this is based off the Verizon prl, not sprint's network.

Sent from my PC36100 using xda premium
 

Attachments

  • uploadfromtaptalk1338297377325.jpg
    uploadfromtaptalk1338297377325.jpg
    97.9 KB · Views: 507

BuddaBelly

Senior Member
May 2, 2010
457
51
Guthrie, OK
I had the same exact problem until I figured out the zip wasn't working and hadn't updated the file. I'm on ICS so I manually added the info and set permissions and rebooted. That's when I saw the big improvement with the browser rendering in the stock ICS. The improvement in my case was major. I'm not familiar with your rom so the file may be updating fine as some folks have said they have seen no improvement.

Sent from my HTC Evo 4G using Tapatalk 2
 
Last edited:

jerry43812

Senior Member
Feb 27, 2010
929
28
www.market4android.com
I'm running CM7 on my Hero. Baseband 2.42.01.04.27, PRL 60677, and received a noticable decrease in speed and increase in latency. Saddened by this :(

Any suggestions are highly welcomed. I personally think Sprint is trying to make me leave them... I called them Friday about the deteriorating speeds in my area for the last year now and my speed has gotten worse.
 

fiddy619

Senior Member
Nov 2, 2010
781
324
San Diego
I'm running CM7 on my Hero. Baseband 2.42.01.04.27, PRL 60677, and received a noticable decrease in speed and increase in latency. Saddened by this :(

Any suggestions are highly welcomed. I personally think Sprint is trying to make me leave them... I called them Friday about the deteriorating speeds in my area for the last year now and my speed has gotten worse.

I noticed that there is a memory tweak applied to the zip. Did you copy and paste the data to a sysctl.conf file, and then copy that file to "/system/etc/", or did you run the .zip? If you ran the zip, then go to the /system/etc/sysctl.conf with root explorer, and edit the file to read the same as the data in the OP. You will have to delete like the first 4-5 lines.
 

jelive

Senior Member
Nov 7, 2008
1,721
388
San Antonio, Tx.
Google Pixel 6
Technical question...Notice that script lines in my current sysctl.conf have a semi-colon after each line...if I manually add your tweaks to my current file is there any need to have a semi-colon after each line in the tweaks? Can tell how little I know on scripts...:)
 

fiddy619

Senior Member
Nov 2, 2010
781
324
San Diego
Technical question...Notice that script lines in my current sysctl.conf have a semi-colon after each line...if I manually add your tweaks to my current file is there any need to have a semi-colon after each line in the tweaks? Can tell how little I know on scripts...:)

Just copy the code from the OP and paste it to your sysctl.conf, the ";" will be bad in that file... It should look like this

Code:
net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
 
  • Like
Reactions: BuddaBelly

savannahmick

Senior Member
May 22, 2010
158
5
Savannah Georgia
I have struggled with speeds in my area and I want to know if I can just flash this or what?I am a Sprint victim is there other steps needed before or after? Thanks! Oh yeah I am running Dirt CM9 and newest Radio combo which seem to make it worse!
 
Last edited:

RuckusDecay

Senior Member
May 22, 2012
392
83
Los Angeles
All I'm saying is I'm running your old one in the init.d with the correct permissions and getting great battery improvement so....

From my powered Shooter.
 

fiddy619

Senior Member
Nov 2, 2010
781
324
San Diego
I have struggled with speeds in my area and I want to know if I can just flash this or what?I am a Sprint victim is there other steps needed before or after? Thanks! Oh yeah I am running Dirt CM9 and newest Radio combo which seem to make it worse!

Mazda ran this tweak and stated a noticeable speed gain, btw, I have updated the zips, and for those of you that want to try it with the slight memory tweak (was actually a mistake on my part, but I guess some liked the results), I've added it as well (***+mem***.zip file)...

Sent using my Cyanogized Monster EVO via Tapatalk 2
 
  • Like
Reactions: rodohmes

SoCalSpecialist

Senior Member
Jan 17, 2009
2,890
532
San Diego
FYI zips wont install on a GNEX running the latest MIUI.

im sure if i was on AOKP id be able to flash them, considering system files are diff.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    This is a known Linux speed tweak, and i found it on the epic 4g thread (my son has one, and I loaded CM9 on his phone) that was started by marcusant. So, i'm really just sharing the info with the Evo community, but I truly think it is quite valuable info, and will likely work on any Android based device since as stated earlier it is a Linux tweak. This has only been tested on ICS, and GB, but I'm pretty sure results will be the same with Sense...


    This is what i did, and for those of you that want to add it yourself, just add this code...

    Code:
    net.ipv4.tcp_ecn=0
    net.ipv4.route.flush = 1
    net.ipv4.tcp_rfc1337 = 1
    net.ipv4.ip_no_pmtu_disc = 0
    net.ipv4.tcp_sack = 1
    net.ipv4.tcp_fack = 1
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_timestamps = 1
    net.ipv4.tcp_rmem = 4096 39000 187000
    net.ipv4.tcp_wmem = 4096 39000 187000
    net.ipv4.tcp_mem = 187000 187000 187000
    net.ipv4.tcp_no_metrics_save = 1
    net.ipv4.tcp_moderate_rcvbuf = 1
    to a file sysctl.conf (you can use root explorer to make a new file, or whatever file manager tool you like) then using root explorer copy the file and navigate to /system/etc/ mount as r/w and rename the original sysctl.conf file to sysctl.conf.bak, then paste the one you originally copied (you can add the lines of code to the original file if you are using a edited one already). Then change ownership to root/root, and permissions to rw/r/r, then mount back to r/o, and exit root explorer, and reboot. If it works you should notice your browser opening pages faster, the market much faster, and of course speed test will be faster.

    I was pm'd this as a way to get this properly working on ICS. Thanks ratkiley

    ratkiley said:
    You can ignore my previous email because I found the solution. I am sharing it with you so you could update your original forum post with the missing information.

    At first, I was not able to install the data speed tweak zip files through my ClockWorkMod recovery ROM on my Ice Cream Sandwich / Android 4.0 phone. After various experimentation, I figured out the solution.

    To install the zip from the SD card,

    1. Copy the zip file into the root of your SD card
    2. Boot into Clockwork mod recovery rom on your phone.
    3. Mount the /system/ folder. (So you don't flash the files into the Recovery ROM's /system/ folder instead of your android ROM's system folder. Otherwise, you won't see the /system/etc/sysctl.conf file appear in the file system after installing the zip file.)
    4. Choose "install zip from sd card" -> "choose zip from sd card", then find the zip file.

    * The /system/etc folder does not exist on the clockwork mod ROM's file system, but it does on other android ROMs. ADB shell exposes the clockwork mod /system/ folder to you unless you first mount the /system folder. So apparently, "Mount /system" means mount your phone's Android ROM's /system folder in the running Clockwork Mod unix file system.

    This is highly unlikely, but if this somehow breaks your device I am in no way responsible... Just had to put that out there...

    For ICS users you might need to use THIS method, or you can update your services.jar file HERE (compliments of Papa Smurf151 Thread).

    Flashable Zips are below...
    4
    So just flash, how would we undo? Just make a backup of the original file?

    Thanks.

    Sent from my HTC EVO 4G using xda premium.

    I'll make a undo .zip, just give me a minute...
    4
    For those on ICS I have noticed the zip doesn't always stick. I just manually created a second file and pushed it to system/etc then set permissions then rebooted. That's when I finally noticed the vast improvement in speed. Only after a reboot did I get the increased speed.
    I was one of the doubters early on because every time I tried it, it wouldn't work and my speeds never improved. After adding the text manually though its all working perfect. Also don't forget the reboot.

    Sent from my HTC Evo 4G using Tapatalk 2
    2
    Question: Why are the values in the flashable file different from what's posted in the OP?
    1
    It was working :/ but now everytime I reboot it remounts to r/w and my speed is super slow

    sent from my reloaded evo

    Go into root explorer, and mount system as r/o, then go to a terminal app, and type

    $su
    #fix_permissions

    The "$" and "#" are the prompts, so don't type those. Once it gets done either type reboot, or reboot however you wish...

    Sent using my Cyanogized Monster EVO via Tapatalk 2