Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,528 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
fiddy619
Old
(Last edited by fiddy619; 21st November 2012 at 05:07 AM.)
#1  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

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

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

Quote:
Originally Posted by ratkiley
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...
Attached Files
File Type: zip DataSpeedBoostUndo_signed.zip - [Click for QR Code] (155.9 KB, 1921 views)
File Type: zip DataSpeedBoost_signed.zip - [Click for QR Code] (156.1 KB, 2902 views)
File Type: zip DataSpeedBoost+mem_signed.zip - [Click for QR Code] (156.1 KB, 3596 views)
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.
The Following 30 Users Say Thank You to fiddy619 For This Useful Post: [ Click to Expand ]
 
sclarktay4
Old
#2  
sclarktay4's Avatar
Senior Member
Thanks Meter 141
Posts: 529
Join Date: Jan 2011
Location: Here
/system/etc/ does not seem to be the location on Sense based Roms. Do you have any information on where it is on Sense Roms?
Current Device
Phone - LG G2
Rom - OpTimuS DE V2.3{Furnace Kernel}{Stock Optimized}
Baseband - ZVC

Old Phone
Phone - Samsung Epic 4G Touch
Rom - Re-Calked in Jellybean ROM V1.4
Baseband - GB27
 
mkc90
Old
#3  
mkc90's Avatar
Senior Member
Thanks Meter 114
Posts: 1,466
Join Date: Jun 2009
Location: Dallas
Can somebody make it a flashable zip))

Sent from my PC36100 using Tapatalk
 
fiddy619
Old
#4  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

 
DONATE TO ME
Quote:
Originally Posted by sclarktay4 View Post
/system/etc/ does not seem to be the location on Sense based Roms. Do you have any information on where it is on Sense Roms?
I'm currently not using a sense rom, but i will see what i can find...
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.
 
fiddy619
Old
(Last edited by fiddy619; 27th May 2012 at 03:30 AM.)
#5  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

 
DONATE TO ME
Quote:
Originally Posted by mkc90 View Post
Can somebody make it a flashable zip))

Sent from my PC36100 using Tapatalk
Added a flashable zip, Let me know if you have any problems.

Forgot to sign the zip, should be good now...
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.
 
yarmock
Old
#6  
yarmock's Avatar
Senior Member
Thanks Meter 13
Posts: 185
Join Date: Jul 2009
Quote:
Originally Posted by fiddy619 View Post
Added a flashable zip, Let me know if you have any problems.

Forgot to sign the zip, should be good now...
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.
 
fiddy619
Old
#7  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

 
DONATE TO ME
Quote:
Originally Posted by sclarktay4 View Post
/system/etc/ does not seem to be the location on Sense based Roms. Do you have any information on where it is on Sense Roms?
I extracted a sense rom (Derps), and i did see a /system/etc directory, however, i did not see a sysctl.conf file. You could try putting the file in that directory, and it may do the needed adjustments upon boot. Again, i'm not a sense user, but It is still a linux base, so the adjustment "should" still be possible...
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.
The Following User Says Thank You to fiddy619 For This Useful Post: [ Click to Expand ]
 
fiddy619
Old
#8  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

 
DONATE TO ME
Quote:
Originally Posted by yarmock View Post
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...
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.
The Following 4 Users Say Thank You to fiddy619 For This Useful Post: [ Click to Expand ]
 
HipKat
Old
#9  
HipKat's Avatar
Recognized Contributor
Thanks Meter 1813
Posts: 5,080
Join Date: Feb 2011
Location: Peoria-hell, IL via Buffalo, NY

 
DONATE TO ME
Quote:
Originally Posted by fiddy619 View Post
I'll make a undo .zip, just give me a minute...
Cool beans, Fiddy., I was gonna create the file, but you just saved me time and that's always a good thing
Samsung Galaxy S4 SCH-R970
Android 4.4.4
ROM OctOS 0712
KERNEL Alucard v2.6.9.b
GAPPS PA Modular Full 4.4.4 20140629
RADIO R970TYUFND1
RECOVERY Philz Touch 5.06.6

My Life Is Committed To Jesus!


 
fiddy619
Old
#10  
fiddy619's Avatar
Senior Member - OP
Thanks Meter 312
Posts: 750
Join Date: Nov 2010
Location: San Diego

 
DONATE TO ME
OK, both flashable zip, and flashable undo zip are in the OP. The flashable zips are based on a stock file, so if you are using a modified sysctl.conf file, this will set you back to stock, so I would suggest just adding the lines manually if you are using a modified sysctl.conf file. You can easily check this by just navigating to your /system/etc/ location with a file manager (i suggest root explorer), and just checking the size of your sysctl.conf file, if it is 0kb, then it is stock, and flash away. If it has any size value at all, then it is modified in some way, and as stated earlier I would suggest manually modifying your file.
Device - Rooted and Unlocked Sprint LG Optimus G
Current Rom - OpTimuS DE V5.0 ZVC
Kernel - Viper Kernel (Included in OpTimuS Rom)
Radio - Stock ZVC
Recovery - TWRP 2.6.3.0

Retired, but still owned - Unlocked and Rooted Supersonic <EvO> OG of course...

We become wise by failure rather than success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes