1. Download our Official Android App: Forums for Android!

Root Excalibur - The Power Of 3G

Discussion in 'Android Devices' started by niteNarmor, Mar 26, 2013.

  1. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Tonite I bring you Excalibur - The Power Of 3G...

    This is not a ROM.
    This has been discussed thoroughly with help from an IT/networking friend.
    This will work with both Sprint, Boost and Ting or any other phone manufacturer as long as you are rooted.


    This has proven to have mixed results. For myself with two devices and poor signal - It has been proven better. With 3g speeds close to if not exceeding 1mb. Video stream no longer buffers. Constant, stable connections.

    This has been tested by people in different environments with mixed results. Some work in a steel or concrete building with weak signal and have seen major increase in speed (from low 500kb to 1.3mb). While others have seen very slight increase (and I do mean slight. Like .01kb to .1kb increase).

    I am not saying this will turn the world on its side. I AM SAYING THIS IS JUST ANOTHER 3G TWEAK. The results will speak for itself but if you have connection issues it would not hurt to try. This may or may not help everyone.

    Now for the good stuff...

    Code (Text):
    1. [COLOR=red]Disclaimer: Even though this will NOT prevent you from
    2. starting your phone on fire, get your phone eaten by the
    3. dog or you running your phone over with a car - If you do
    4. not follow the steps provided or if you modify the code,
    5. this can and will cause undesired affects. [i][U]THE TESTERS
    6. NOR MYSELF ARE IN NO WAY RESPONSIBLE FOR WHAT
    7. YOU FLASH OR MODIFY TO YOUR PHONE[/U][/i][/COLOR]


    Please follow the steps below:

    1. Make a backup.
    2. Make a backup..
    3. Make a backup...
    4. Did I forget to mention - MAKE A BACKUP...
    5. Download ----> [SIZE=+2]Excalibur [/SIZE]<---- and place on the root of your sdcard
      Skip next step if you have the apk already.
    6. Download Speedtest.net from the Google Play Market.

      • Run Speedtest with 3G
      • Run Speedtest with just Wifi.
      Megatron users ---> you do not have this file. Verified and confirmed by
      dmcjr22 and myself. You can skip #7.​
    7. Go into your root file explorer of choice. If you have sysctl.conf in /system/etc then please rename the file to ---> sysctl.conf.bak...
    8. Reboot into CWM.
    9. Flash Excalibur.zip by being in the CWM menu scroll (pressing volume down button) to "install zip from sdcard".
    10. Press power.
    11. New menu comes forward - Select choose zip from sdcard (1st option) and press power.
    12. Scroll down and find Excalibur.zip and press power button.
    13. Let if finish.
    14. Reboot.
    15. Run Speedtest with 3g only.
    16. Run Speedtest with Wifi only.
    Below is the the explanation of what the file is and what each function represents IN EXTREME DETAIL.


    Code (Text):
    1. [FONT=Comic Sans MS]What is sysctl.conf?
    2.  
    3. [LIST]
    4. [*][FONT=comic sans ms]Change the kernel parameters. Most of the values are
    5. entered in the file /etc/sysctl.conf such as IP
    6. forwarding, system security and virtual memory
    7. configuration.[/FONT]
    8. [/LIST]
    9. VM or virtual memory:
    10.  
    11. [LIST]
    12. [*][FONT=comic sans ms]Memory, often as simulated on a hard disk, that
    13. emulates RAM, allowing an application to operate as
    14. though the device has more memory than it actually
    15. does.[/FONT]
    16. [/LIST]
    17. overcommit_memory:
    18.  
    19. [LIST]
    20. [*][FONT=comic sans ms]This value contains a flag that
    21. enables memory overcommitment.[/FONT]
    22. [/LIST]
    23. [/FONT]
    24. [LIST]
    25. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]When this flag is 0, the kernel attempts to estimate
    26. the amount of free memory left when userspace
    27. requests more memory.[/FONT][/FONT]
    28. [*][FONT=Comic Sans MS][FONT=comic sans ms]When this flag is 1, the kernel pretends there is
    29. always enough memory until it actually runs out.[/FONT][/FONT]
    30. [*][FONT=Comic Sans MS][FONT=comic sans ms]When this flag is 2, the kernel uses a "never
    31. overcommit" policy that attempts to prevent any
    32. overcommit of memory.[/FONT][/FONT]
    33. [*][FONT=Comic Sans MS][FONT=comic sans ms]This feature can be very useful because there are a
    34. lot of programs that malloc() huge amounts of
    35. memory "just-in-case" and don't use much of it.[/FONT][/FONT]
    36. [*][FONT=Comic Sans MS][FONT=comic sans ms]The default value is 0.[/FONT][/FONT]
    37. [/LIST]
    38. [FONT=Comic Sans MS]panic_on_oom:
    39.  
    40. [LIST]
    41. [*][FONT=comic sans ms]This enables or disables panic on out-of-memory
    42. feature.[/FONT]
    43. [/LIST]
    44. [/FONT]
    45. [LIST]
    46. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If this is set to 0, the kernel will kill some rogue
    47. process, called oom_killer.  Usually, oom_killer can
    48. kill rogue processes and system will survive.[/FONT][/FONT]
    49. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If this is set to 1, the kernel panics when
    50. out-of-memory happens. However, if a process
    51. limits using nodes by mempolicy/cpusets, and those
    52. nodes become memory exhaustion status, one
    53. process may be killed by oom-killer. No panic occurs
    54. in this case. Because other nodes' memory may be
    55. free. This means system total status may be not
    56. fatal yet.[/FONT][/FONT]
    57. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If this is set to 2, the kernel panics compulsorily even
    58. on the above-mentioned. Even oom happens under
    59. memory cgroup, the whole system panics.[/FONT][/FONT]
    60. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]The default value is 0.[/FONT][/FONT]
    61. [/LIST]
    62. [FONT=Comic Sans MS]oom_kill_allocating_task:
    63.  
    64. [LIST]
    65. [*][FONT=comic sans ms]This enables or disables killing the OOM-triggering task
    66. in out-of-memory situations.[/FONT]
    67. [/LIST]
    68. [/FONT]
    69. [LIST]
    70. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If this is set to zero, the OOM killer will scan through
    71. the entire tasklist and select a task based on
    72. heuristics to kill. This normally selects a rogue
    73. memory-hogging task that frees up a large amount of
    74. memory when killed.[/FONT][/FONT]
    75. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If this is set to non-zero, the OOM killer simply kills
    76. the task that triggered the out-of-memory condition.
    77. This avoids the expensive tasklist scan.[/FONT][/FONT]
    78. [/LIST]
    79. [FONT=Comic Sans MS]dirty_background_ratio:
    80. [/FONT]
    81. [LIST]
    82. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Contains, as a percentage of total system memory,
    83. the number of pages at which the pdflush
    84. background writeback daemon will start writing out
    85. dirty data.[/FONT][/FONT]
    86. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If panic_on_oom is selected, it takes precedence
    87. over whatever value is used in
    88. oom_kill_allocating_task.[/FONT][/FONT]
    89. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]The default value is 0.[/FONT][/FONT]
    90. [/LIST]
    91. [FONT=Comic Sans MS]dirty_background_bytes:
    92.  
    93. [LIST]
    94. [*][FONT=comic sans ms]Contains the amount of dirty memory at which the pdflush background
    95. writeback daemon will start writeback.[/FONT]
    96. [/LIST]
    97. [/FONT]
    98. [LIST]
    99. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Note: dirty_background_bytes is the counterpart of dirty_background_ratio.
    100. Only one of them may be specified at a time. When one sysctl is written it
    101. is immediately taken into account to evaluate the dirty memory limits and
    102. the other appears as 0 when read.[/FONT][/FONT]
    103. [/LIST]
    104. [FONT=Comic Sans MS]tcp_ecn:
    105.  
    106. [LIST]
    107. [*][FONT=comic sans ms]Enable Explicit Congestion Notification (ECN) in TCP. ECN is only used when
    108. both ends of the TCP flow support it. It is useful to avoid losses due to
    109. congestion (when the bottleneck router supports ECN).[/FONT]
    110. [/LIST]
    111. [/FONT]
    112. [LIST]
    113. [*][FONT=Comic Sans MS][FONT=Comic Sans MS] Possible values are:[INDENT][INDENT]0 disable ECN
    114. 1 ECN enabled
    115. 2 Only server-side ECN enabled. If the other end does not support ECN,
    116. behavior is like with ECN disabled.[/INDENT][/INDENT][/FONT][/FONT]
    117. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]The default value is 2.[/FONT][/FONT]
    118. [/LIST]
    119. [FONT=Comic Sans MS]
    120. route.flush
    121. [/FONT]
    122. [LIST]
    123. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Flushes all routes, and is only temporary – ie, one must run this command
    124. every time the cache is to be emptied.[/FONT][/FONT]
    125. [/LIST]
    126. [FONT=Comic Sans MS]tcp_rfc1337:
    127. [/FONT]
    128. [LIST]
    129. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If set, the TCP stack behaves conforming to RFC1337. If unset, we are not
    130. conforming to RFC, but prevent TCP TIME_WAIT assassination.[/FONT][/FONT]
    131. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]The default value is 0.[/FONT][/FONT]
    132. [/LIST]
    133. [FONT=Comic Sans MS]ip_no_pmtu_disc:
    134. [/FONT]
    135. [LIST]
    136. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Disable Path MTU Discovery.[/FONT][/FONT]
    137. [/LIST]
    138. [FONT=Comic Sans MS]tcp_sack:
    139. [/FONT]
    140. [LIST]
    141. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Enable select acknowledgments (SACKS).[/FONT][/FONT]
    142. [/LIST]
    143. [FONT=Comic Sans MS]tcp_fack:
    144. [/FONT]
    145. [LIST]
    146. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Enable FACK congestion avoidance and fast retransmission. The value is not
    147. used, if tcp_sack is not enabled.[/FONT][/FONT]
    148. [/LIST]
    149. [FONT=Comic Sans MS]tcp_window_scaling:
    150. [/FONT]
    151. [LIST]
    152. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Enable window scaling as defined in RFC1323.[/FONT][/FONT]
    153. [/LIST]
    154. [FONT=Comic Sans MS]tcp_timestamps:
    155. [/FONT]
    156. [LIST]
    157. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Enable timestamps as defined in RFC1323.[/FONT][/FONT]
    158. [/LIST]
    159. [FONT=Comic Sans MS]tcp_rmem:
    160. [/FONT]
    161. [LIST]
    162. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Vector of 3 INTEGERs: min, default, max[INDENT]min: Minimal size of receive buffer used by TCP sockets. It is
    163. guaranteed to each TCP socket, even under moderate memory pressure.
    164.  
    165. default: initial size of receive buffer used by TCP sockets. This value
    166. overrides net.core.rmem_default used by other protocols. This value
    167. results in window of 65535 with default setting of tcp_adv_win_scale and
    168. tcp_app_win:0 and a bit less for default tcp_app_win.
    169.  
    170. max: maximal size of receive buffer allowed for automatically selected
    171. receiver buffers for TCP socket. This value does not override net.core.rmem_max.[/INDENT]Calling setsockopt() with SO_RCVBUF disables automatic tuning of that socket's
    172. receive buffer size, in which case this value is ignored.[/FONT][/FONT]
    173. [/LIST]
    174. [FONT=Comic Sans MS]tcp_wmem - vector of 3 INTEGERs: min, default, max
    175. [/FONT]
    176. [LIST]
    177. [*][FONT=Comic Sans MS][FONT=Comic Sans MS][INDENT]min: Amount of memory reserved for send buffers for TCP sockets.
    178. Each TCP socket has rights to use it due to fact of its birth.
    179.  
    180. default: initial size of send buffer used by TCP sockets.  This
    181. value overrides net.core.wmem_default used by other protocols.
    182. It is usually lower than net.core.wmem_default.
    183.  
    184. max: Maximal amount of memory allowed for automatically tuned
    185. send buffers for TCP sockets. This value does not override
    186. net.core.wmem_max.  Calling setsockopt() with SO_SNDBUF disables
    187. automatic tuning of that socket's send buffer size, in which case
    188. this value is ignored.[/INDENT][/FONT][/FONT]
    189. [/LIST]
    190. [FONT=Comic Sans MS]
    191. tcp_mem - vector of 3 INTEGERs: min, pressure, max
    192. [/FONT]
    193. [LIST]
    194. [*][FONT=Comic Sans MS][FONT=Comic Sans MS][INDENT]min: below this number of pages TCP is not bothered about its
    195. memory appetite.
    196.  
    197. pressure: when amount of memory allocated by TCP exceeds this number
    198. of pages, TCP moderates its memory consumption and enters memory
    199. pressure mode, which is exited when memory consumption falls
    200. under "min".
    201.  
    202. max: number of pages allowed for queueing by all TCP sockets.
    203.  
    204. Defaults are calculated at boot time from amount of available
    205. memory.[/INDENT][/FONT][/FONT]
    206. [/LIST]
    207. [FONT=Comic Sans MS]tcp_no_metrics_save:
    208. [/FONT]
    209. [LIST]
    210. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]By default, TCP saves various connection metrics in the route cache when the
    211. connection closes, so that connections established in the near future can use
    212. these to set initial conditions.  Usually, this increases overall performance,
    213. but may sometimes cause performance degradation.  If set, TCP will not cache
    214. metrics on closing connections[/FONT][/FONT]
    215. [/LIST]
    216. [FONT=Comic Sans MS]tcp_moderate_rcvbuf:
    217. [/FONT]
    218. [LIST]
    219. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]If set, TCP performs receive buffer auto-tuning, attempting to automatically
    220. size the buffer (no greater than tcp_rmem[2]) to match the size required by
    221. the path for full throughput.[/FONT][/FONT]
    222. [*][FONT=Comic Sans MS][FONT=Comic Sans MS]Enabled by default.[/FONT][/FONT]
    223. [/LIST]
    224.  
    Thank you to dmcjr22 for testing this along side of me.
    MARCUSANT for the program.
     

    Advertisement

    Lumed, smith058, obliv23 and 4 others like this.
  2. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
  3. Slayer72

    Slayer72 Android Expert
    Rank:
    None
    Points:
    323
    Posts:
    2,672
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    2,672
    955
    323
    Male
    Troy NY
     
  4. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Yes this should work for any phone. Instead of install zip, you would just have to manually input the text into the file.
     
  5. Slayer72

    Slayer72 Android Expert
    Rank:
    None
    Points:
    323
    Posts:
    2,672
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    2,672
    955
    323
    Male
    Troy NY
    You mean manually move the file into /system/etc, right?
     
  6. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Yes, You could do that. Don't know why I was thinking about actually writing it. Lol. Afterwords, just make sure to reboot so the changes take affect. And as always, make a back up!!!!! But you know that.
     
  7. Slayer72

    Slayer72 Android Expert
    Rank:
    None
    Points:
    323
    Posts:
    2,672
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    2,672
    955
    323
    Male
    Troy NY
    Well we don't have CWM for the Hydro and there was no original file there so I should be good... :p
     
  8. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    You should be good. Let me know.
     
  9. Slayer72

    Slayer72 Android Expert
    Rank:
    None
    Points:
    323
    Posts:
    2,672
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    2,672
    955
    323
    Male
    Troy NY
    I haven't noticed any improvement in 3G speeds...

    On another note I paypaled Psycho4us4 the payment for his and his wife's Ultra and he's shipping them out to me in the morning so look out, Slayer will be returning to this forum!!! :D :car:
     
  10. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Sorry to see that. No increase at all? Did you test before and after with speed test?

    Glad to see you are returning to the STU. Don't like the Hydro?
     
  11. Slayer72

    Slayer72 Android Expert
    Rank:
    None
    Points:
    323
    Posts:
    2,672
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    2,672
    955
    323
    Male
    Troy NY
    Nope, it doesn't even have CWM only root and that's not good enough for me, so STU it is... :p
     
  12. dmcjr22

    dmcjr22 Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    818
    Joined:
    Jul 13, 2012

    Jul 13, 2012
    818
    309
    113
    Syracuse Ny
    Been running this for a week now no complaints....just watched louisville get handed the win on phone 98%smooth 2%could of neen streams lag but whatever....good work nite!! GO CUSE
     
  13. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    That's what I'm talking about :thumbup:
    Thanks for the input. At the very least, it helps with the streaming of videos. Which is always a major plus....
     
  14. dmcjr22

    dmcjr22 Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    818
    Joined:
    Jul 13, 2012

    Jul 13, 2012
    818
    309
    113
    Syracuse Ny
    No problemo
     
  15. skiptharippa

    skiptharippa Member
    Rank:
    None
    Points:
    16
    Posts:
    58
    Joined:
    Jan 24, 2012

    Jan 24, 2012
    58
    7
    16
    Good job nite, for reals bro noticed a huge difference, My moms place is like a dead spot, I usually gotta leave my cell in the car when I visit, I get no bars in her house, after I applied the zip tested it by going over and I get 3 to 4 bars now inside, Awesome work, Keep it up.....:thumbup::thumbup:

    Sent from my SPH-M930BST using Tapatalk 2
     
    niteNarmor likes this.
  16. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Thank you for the post. As I stated, it helped with my signal and buffering of videos.

    Glad it worked for you.
     
  17. obliv23

    obliv23 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Apr 25, 2013

    Apr 25, 2013
    4
    2
    6
    USA
    Thanks! I just installed this. My speeds at work were usually a consistent 0.98-1.1Mb/sec... all with 5 bars. Well now, I still have 5 bars, but I just got my first 1.9Mb/sec thanks to this mod! I use VNC to remotely connect to my home PC, and it is much smoother now. Thanks a ton!

    Edit: just hit 2.07Mb/sec down, 0.74Mb/sec up
     
    niteNarmor likes this.
  18. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Thank you for your post.
     
  19. shezzy

    shezzy Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    278
    Joined:
    Aug 2, 2012

    Aug 2, 2012
    278
    46
    43
    Does this work for the Boost galaxy s2? I'm running the GB27 - TW Jellybean

    does it basically increase buffer size and remove the sprint proxy?
     
  20. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Basically yes.

    As long as you are rooted you can use it.
     
  21. powerkane

    powerkane Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    284
    Joined:
    Oct 18, 2011

    Oct 18, 2011
    284
    70
    53
    To try and be as much help as possible
    MI
    **** i forgot to make a back up XD i was like back up back up back up and when i got into cwm i flashed it right away XD im on megatron 6.1.1 but.....

    before
    3g ping 131ms down 882kbps up 662kbps
    wifi ping 42ms down 2488kbps up 874kbps

    after
    3g ping 183ms down 344kbps up 306kbps
    wifi ping 42ms 1494kbs up 797kbps
     
  22. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Well that didn't help you any. I have seen seen similar results from others. But for some the results were totally the opposite. Guess it depends on your area.
     
  23. skiptharippa

    skiptharippa Member
    Rank:
    None
    Points:
    16
    Posts:
    58
    Joined:
    Jan 24, 2012

    Jan 24, 2012
    58
    7
    16
    Is this still good to use....
     
  24. niteNarmor

    niteNarmor Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    804
    Joined:
    Jun 28, 2012

    Jun 28, 2012
    804
    242
    93
    Male
    Jacksonville, NC
    Yes this should be good to use still. Let me know if the download is good or not. It should be but you never know.
     
    skiptharippa likes this.

Share This Page

Loading...