Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
tylermaciaszek
Old
(Last edited by tylermaciaszek; 22nd October 2011 at 04:16 PM.)
#1  
tylermaciaszek's Avatar
Senior Member - OP
Thanks Meter 263
Posts: 1,418
Join Date: Jul 2011
Location: Selden
Default Init.d Tweaks

Here are some scripts that will increase overall user experience on your sidekick!

I do not take any credit for these tweaks i found them all over XDA and i put them together nicely for you so you can use them yourself.

Quote:
Strict Mine Free handler
echo "2048,3072,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree


Internet
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;

Battery
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs

Vm Management
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
These tweaks will increase performance speed and battery life.

To add these just download the file below and then extract the 77tweaks file inside, then using adb or a file manager push them to system/etc/init.d and name them 77tweaks.

Please let me know if you see any difference.

I will be adding some more as time passes and i will also add build.prop tweaks
I want to make your phone better for you to use so please enjoy and leave feedback!
Attached Files
File Type: zip 77tweaks.zip - [Click for QR Code] (514 Bytes, 206 views)
Don't forget to thank me if I say something helpful

If you're gonna troll, at least be good at it.
The Following 2 Users Say Thank You to tylermaciaszek For This Useful Post: [ Click to Expand ]
 
ChoctawT
Old
#2  
ChoctawT's Avatar
Senior Member
Thanks Meter 14
Posts: 448
Join Date: Dec 2010
Thanks bro.. I give you feedback as soon as I throw these in... does it matter if your on kg1 or kg2?

Sent from my SGH-T839 using xda premium
Rom: Ink'd(Beta)

Follow me @Who_Choc
 
tylermaciaszek
Old
#3  
tylermaciaszek's Avatar
Senior Member - OP
Thanks Meter 263
Posts: 1,418
Join Date: Jul 2011
Location: Selden
Quote:
Originally Posted by ChoctawT View Post
Thanks bro.. I give you feedback as soon as I throw these in... does it matter if your on kg1 or kg2?

Sent from my SGH-T839 using xda premium
no that wont matter at all! im gonna release some build.prop tweaks later that will make some improvement too! let me know how it goes thanks
Don't forget to thank me if I say something helpful

If you're gonna troll, at least be good at it.
 
ChoctawT
Old
#4  
ChoctawT's Avatar
Senior Member
Thanks Meter 14
Posts: 448
Join Date: Dec 2010
Quote:
Originally Posted by tylermaciaszek View Post
no that wont matter at all! im gonna release some build.prop tweaks later that will make some improvement too! let me know how it goes thanks
Gotchu

Sent from my SGH-T839 using xda premium
Rom: Ink'd(Beta)

Follow me @Who_Choc
 
tylermaciaszek
Old
#5  
tylermaciaszek's Avatar
Senior Member - OP
Thanks Meter 263
Posts: 1,418
Join Date: Jul 2011
Location: Selden
Quote:
Originally Posted by ChoctawT View Post
Gotchu

Sent from my SGH-T839 using xda premium
these wont due as much as the build.prop likely will but you can try them and see a little improvement
Don't forget to thank me if I say something helpful

If you're gonna troll, at least be good at it.
 
ChoctawT
Old
#6  
ChoctawT's Avatar
Senior Member
Thanks Meter 14
Posts: 448
Join Date: Dec 2010
They work great bro

Sent from my SGH-T959 using XDA App
Rom: Ink'd(Beta)

Follow me @Who_Choc
 
HC13
Old
#7  
Senior Member
Thanks Meter 5
Posts: 132
Join Date: Aug 2011
hey help. well i dnt have init.d i have init. goldfish.sh.. any idea why?

Sent from my SGH-T839 using XDA App
 
tylermaciaszek
Old
#8  
tylermaciaszek's Avatar
Senior Member - OP
Thanks Meter 263
Posts: 1,418
Join Date: Jul 2011
Location: Selden
Quote:
Originally Posted by HC13 View Post
hey help. well i dnt have init.d i have init. goldfish.sh.. any idea why?

Sent from my SGH-T839 using XDA App
what rom you on?
Don't forget to thank me if I say something helpful

If you're gonna troll, at least be good at it.
 
HC13
Old
#9  
Senior Member
Thanks Meter 5
Posts: 132
Join Date: Aug 2011
stock KG2..

Sent from my SGH-T839 using XDA App
 
tylermaciaszek
Old
#10  
tylermaciaszek's Avatar
Senior Member - OP
Thanks Meter 263
Posts: 1,418
Join Date: Jul 2011
Location: Selden
just make an init.d folder and it should be fine!
Don't forget to thank me if I say something helpful

If you're gonna troll, at least be good at it.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more