tweak collections for build.prop/init.d (android only) - TUNIZZZ tweak collections for build.prop/init.d (android only) - Tunizzz
02/05/2013

tweak collections for build.prop/init.d (android only)


Build.prop tweaks

before if you want to install this tweak on android open build.prop and edit then copy one of the code below and paste it in the bottom line of your build.prop and save! Use the app to edit build.prop

sebelumnya jika anda mau menginstall tweak ini di androidmu buka build.prop dan edit lalu copy salah satu kode dibawah dan paste di baris paling bawah build.prop kalian lalu save ! Gunakan aplikasi untuk edit build.prop 

1 VM Heapsize; higher the RAM
Code:
dalvik.vm.heapsize=48m
2 Good JPG quality
Code:
ro.media.enc.jpeg.quality=100
3 Render UI with GPU
Code:
debug.sf.hw=1
4 Best Scrolling
Code:
windowsmgr.max_events_per_sec=150
5 Decrease dialing out delay
Code:
ro.telephony.call_ring.delay=0
6 battery Saving
Code:
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
7 Disable debugging notify icon on statusbar
Code:
persist.adb.notify=0
8 Increase touch responsiveness
Code:
debug.performance.tuning=1
video.accelerate.hw=1
9 Awesome photo and video recording quality
Code:
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
10 Network tweaks
Code:
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=10 
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
11 Internet fast tweaks
Code:
net.tcp.buffersize.default=6144,87380,1048576,6144,87380,524288
net.tcp.buffersize.wifi=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.umts=6144,87380,1048576,6144,87380,524288
net.tcp.buffersize.gprs=6144,87380,1048576,6144,87380,524288
net.tcp.buffersize.edge=6144,87380,524288,6144,16384,262144
net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
12 Fix some application issues (FC)
ro.kernel.android.checkjni=0

13 Phone will not wake up from hitting the volume rocker
Code:
ro.config.hwfeature_wakeupkey=0
14 Disable boot animation for faster boot
Code:
debug.sf.nobootanimation=1
15 faster streaming
Code:
media.stagefright.enable-meta=true
media.stagefright.enable-record=false
16 Miscellaneous Tweaks for performance
Code:
ro.config.hw_menu_unlockscreen=false
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1        
dalvik.vm.dexopt-flags=m=y
ro.mot.eri.losalert.delay=1000
17 Use Google DNS
Code:
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Init.d tweaks

(needs ROM with init.d access and busybox, open empty file, insert header "#!/system/bin/sh" and put these there, save in /system/etc/init.d and name it something like tweak1)

1 strict minfree handler tweak
Code:
echo "2048,3072,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree
2 internet speed hack tweaks
Code:
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;
3 kernel tweaks
Code:
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
4 vm management tweaks
Code:
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
5 battery tweaks
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
6 removes journalism
Code:
tune2fs -o journal_data_writeback /block/path/to/system
tune2fs -O ^has_journal /block/path/to/system
tune2fs -o journal_data_writeback /block/path/to/cache
tune2fs -O ^has_journal /block/path/to/cache
tune2fs -o journal_data_writeback /block/path/to/data
tune2fs -O ^has_journal /block/path/to/data
7 increases cache size and increases speed
Code:
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
done
8 SD card speed tweak
Code:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
9 Defrags database files
Code:
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;'; 
done
10 Ondemand governor
Code:
SAMPLING_RATE=$(busybox expr `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency` \* 750 / 1000)
echo 95 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
11 Governor Best: Minmax , SavagedZen , Smoothass , Smartass, Interactive
Code:
echo "governor-name-here" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
12 Move dalvik-cache to cache partition
Code:
CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
 then
 echo "Large cache detected, moving dalvik-cache to /cache"
 if [ ! -d /cache/dalvik-cache ]
  then
  busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
  mkdir /cache/dalvik-cache /data/dalvik-cache
  fi

 busybox chown 1000:1000 /cache/dalvik-cache
 busybox chmod 0771 /cache/dalvik-cache

 # bind mount dalvik-cache so we can still boot without the sdcard
 busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
 busybox chown 1000:1000 /data/dalvik-cache
 busybox chmod 0771 /data/dalvik-cache
 else
 echo "Small cache detected, dalvik-cache will remain on /data"
fi
13 Disable normalize sleeper
Code:
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features





Other tweaks (not build.prop,init.d)

1 v6 supercharger
Code:
http://forum.xda-developers.com/attachment.php?attachmentid=591730&d=1305000576
Credit- zeppelinrox

2 Use CyanogenMOD's APN list file (fully , for every operator)
Its in system>etc

3 Use uot kitchen for Theming your rom
Code:
http://uot.dakra.lt/
4 Never use Task killer...........

14 comments

Anonymous delete 22:09

Hello there! This post could not be written any better!
Reading this post reminds me of my good old room mate! He always kept chatting about this.
I will forward this page to him. Fairly certain he will
have a good read. Many thanks for sharing!

Also visit my blog need for speed world boost hack

Anonymous delete 05:15

Thanks , I've just been searching for info about this topic for a long time and yours is the best I've came upon so far.
But, what in regards to the bottom line? Are you sure concerning the supply?


Here is my weblog; novostar gngen

Anonymous delete 00:03

Hey there just wanted to give you a quick heads up
and let you know a few of the pictures aren't loading correctly. I'm not sure why but I think its a linking issue.
I've tried it in two different browsers and both show the same results.

Check out my web site :: todozimbabue

Anonymous delete 01:38

I know this site provides quality depending content and other
stuff, is there any other site which offers these kinds
of data in quality?

Here is my homepage ... novoline automaten tricks

Anonymous delete 06:03

Attractive element of content. I simply stumbled upon your
weblog and in accession capital to assert that I acquire in
fact enjoyed account your weblog posts. Any way I'll be subscribing on your feeds and even I fulfillment you get right of entry to constantly fast.

My blog ... msi pci express

Anonymous delete 17:52

An intriguing discussion is worth comment. I believe that you ought to publish more about this topic,
it might not be a taboo subject but generally people don't discuss such topics. To the next! Many thanks!!

my blog post; book of ra download apk

Anonymous delete 00:42

Greetings, I do believe your site may be having
browser compatibility issues. Whenever I look at your site in
Safari, it looks fine however when opening in I.E., it's got some overlapping issues. I simply wanted to provide you with a quick heads up! Besides that, wonderful site!

Also visit my web blog ... http://home.rayfme.com/space.php?uid=120161&do=blog&id=288418

Anonymous delete 23:25

This is a topic which is close to my heart.

.. Take care! Exactly where are your contact details though?


my blog post: web site

Anonymous delete 03:05

Gгeat post.

Here іs my blog post lloyԁ іrvin - -

Anonymous delete 03:25

It's actually a great and useful piece of info. I am satisfied that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing.

Also visit my web blog ... reputation management

Anonymous delete 08:58

Appreciating the commitment you put into your blog and in depth information you provide.
It's good to come across a blog every once in a while that isn't the same
old rehashed material. Excellent read! I've bookmarked your site and I'm
adding your RSS feeds to my Google account.

Also visit my webpage; Brook Of Ra

Anonymous delete 00:05

I always emailed this webpage post page to all my contacts, because if like to read
it after that my friends will too.

My blog buy youtube views :: http://www.socialblast.co.uk/youtube-views/ :
:

Anonymous delete 18:22

There is certainly a lot to learn about this issue. I really like all the points you've made.

Feel free to visit my web-site book of ra download chip

duh mumet

Berkomentarlah dengan bijak NO SARA !!
Blogger yang baik selalu meninggalkan jejak & Jika Anda Punya Pertanyaan, Silahkan Anda Bertanya Di Kolom Komentar , Jika Ada Broken Link, Silahkan Anda Beritahu Kami Lewat Kolom Komentar ^_^