Simply STUNNING 5.4 tweaks for all
This is a discussion on Simply STUNNING 5.4 tweaks for all within the ChevyNo1 forums, part of the Custom Roms category; I have discovered a number of different performance and battery enhancement tweaks throughout the forums here and I'm bringing all of them into one thread ...
-
Simply STUNNING 5.4 tweaks for all
I have discovered a number of different performance and battery enhancement tweaks throughout the forums here and I'm bringing all of them into one thread for easy access...I take no claims on making these, I'm merely passing on the info
Credits to Zeppelinrox for most of these tweaks, also credit to overmind for many of the build.prop tweaks
***BE SURE TO DO A BACKUP BEFORE THESE JUST IN CASE***
First is an 01sysctl mod just erase everything in the /etc/init.d/01sysctl file and copy/paste this in and make sure to return the permissions back- they should match all the other files permissions in there and a blank line at the end
#!/system/bin/sh
#ChevyNo1
echo 4096 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug;
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features;
#
# Memory management
# http://forum.xda-developers.com/showthread.php?t=813309
sysctl -w vm.swappiness=0;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.dirty_background_ratio=60;
sysctl -w vm.dirty_ratio=95;
sysctl -w vm.min_free_kbytes=4096;
sysctl -w vm.vfs_cache_pressure=10;
sysctl -w kernel.panic=0;
sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.msgmni=2048;
sysctl -w kernel.msgmax=64000;
sysctl -w kernel.shmmax=268435456;
sysctl -w kernel.sem='500 512000 64 2048';
sysctl -w kernel.sched_features=24189;
sysctl -w kernel.hung_task_timeout_secs=0;
sysctl -w kernel.sched_latency_ns=18000000;
sysctl -w kernel.sched_min_granularity_ns=1500000;
sysctl -w kernel.sched_wakeup_granularity_ns=3000000;
sysctl -w kernel.sched_compat_yield=1;
sysctl -w kernel.sched_shares_ratelimit=256000;
sysctl -w kernel.sched_child_runs_first=0;
sysctl -w kernel.threads-max=5000;
sysctl -w net.core.wmem_max=524288;
sysctl -w net.core.rmem_max=524288;
sysctl -w net.ipv4.tcp_tw_recycle=1;
sysctl -w net.ipv4.tcp_rmem='6144 87380 524288';
sysctl -w net.ipv4.tcp_wmem='6144 87380 524288';
# Tweak cfq io scheduler
# http://forum.xda-developers.com/show...php?p=12445735
# http://intl.feedfury.com/content/470...oid-spica.html
# http://forum.xda-developers.com/show....php?p=4806456
for i in $(ls -d /sys/block/*);
do
echo "cfq" > $i/queue/scheduler;
done;
for i in $(ls -d /sys/block/*);
do
echo "0" > $i/queue/rotational;
echo "1" > $i/queue/iosched/low_latency;
echo "1" > $i/queue/iosched/back_seek_penalty;
echo "1000000000" > $i/queue/iosched/back_seek_max;
echo "0" > $i/queue/iosched/slice_idle;
echo "512" > $i/queue/nr_requests;
echo "1" > $i/queue/iosched/fifo_batch;
echo "16" > $i/queue/iosched/quantum;
done;
for i in $(ls -d /sys/block/*);
do
echo "noop" > $i/queue/scheduler;
done;
# Remount all partitions with noatime
for k in $(busybox mount | grep relatime | cut -d " " -f3);
do
sync;
busybox mount -o remount,noatime $k;
done;
# Misc tweaks for battery life
sysctl -w vm.dirty_writeback_centisecs=2000;
sysctl -w vm.dirty_expire_centisecs=1000;
Last edited by metalspring; 06-18-2011 at 05:13 PM.
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
-
Part 2 is the /system/build.prop same way as the sysctl tweaks just return the build.prop permissions to rw--r---r--- and be sure to leave a blank line at the end
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=FRG83D
ro.build.display.id=Simply Stunning v5.4 Built from Source Code - 05-31-2011
ro.build.version.incremental=75603
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.4
ro.build.date=Sun May 29 17:29:15 EDT 2011
ro.build.date.utc=1289367602
ro.build.type=user
ro.build.user=chevyno1
ro.build.host=chevyno1-ubuntu
ro.build.tags=release-keys
ro.product.model=Droid
ro.product.brand=verizon
ro.product.name=voles
ro.product.device=sholes
ro.product.board=sholes
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Motorola
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=omap3
# ro.build.product is obsolete; use ro.product.device
ro.build.product=sholes
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=voles-user 2.2.1 FRG83D 75603 release-keys
ro.build.fingerprint=verizon/voles/sholes/sholes:2.2.1/FRG83D/75603:user/release-keys
# This defines the max event window manager can
# handle in 1 s. We may adjust this # for performance
# reason later
windowsmgr.max_events_per_sec=260
# end build properties
#
# system.prop for generic sdk
#
rild.libpath=/system/lib/libmoto_ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
# Optimize TCP Stack for faster speeds
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
# Battery Savings (Sleep Mode)
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
# Render UI through GPU instead of CPU
# Comment out if this causes laggy UI (it should speed up UI)
debug.sf.hw=1
# Proximit sensor screen off delay
mot.proximity.delay=75
# Default network type.
# 4 => CDMA / EVDO.
ro.telephony.default_network=4
# When moving through zones or losing signal, having a delay
# smooths out constant disconnects and reconnects, which in turn
# saves a ton of battery life!
ro.mot.eri.losalert.delay=1000
wifi.interface = tiwlan0
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
wifi.supplicant_scan_interval = 360
# Indicate carrier OTA SP number schema
# refer to frameworks/base/telephony/java/com/android/
# internal/telephony/cdma/CDMAPhone.java for the schema:
ro.cdma.otaspnumschema=SELC,1,80,99
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version = 131072
# This is a high density device with more memory, so larger vm heaps for it.
dalvik.vm.startheapsize=10m
dalvik.vm.heapsize=44m
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.f eedback
ro.setupwizard.enterprise_mode=1
ro.com.google.clientidbase=android-verizon
ro.com.google.locationfeatures=1
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.cdma.data_retry_config=default_randomization=20 00,0,0,120000,180000,540000,960000
ro.config.vc_call_vol_steps=7
ro.cdma.otaspnumschema=SELC,1,80,99
ro.telephony.call_ring.multiple=false
ro.telephony.call_ring.delay=500
ro.url.safetylegal=http://www.motorola.com/staticfiles/Support/legal/?model=A855
ro.setupwizard.enable_bypass=1
ro.media.dec.jpeg.memcap=20000000
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
keyguard.no_require_sim=true
ro.rommanager.developerid=ChevyNo1
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=Simply Stunning 5.4
ro.kernel.android.checkjni=0
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
# Begin SimplyStunning Settings
default.color=black
ro.compcache.default=18
ro.HOME_APP_ADJ=1
# End SimplyStunning Settings
Last edited by metalspring; 06-17-2011 at 02:40 PM.
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
And lastly add these lines to the beginning of /data/local.prop for an extra boost in 3g speeds and returning the permissions back again making sure to leave a blank line at the end
ro.ril.hsxpa=3
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=28
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 9
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
These may take a few reboots to take effect btw...and sorry if its a little messy, I posted from my phone
Sent from my Droid using DroidForums
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
Isn't that what Chevy does for his rom? I feel like that's the point of a custom rom to begin with.
Sent from my Droid using DroidForums
Rom: SteelDroid Nexus 1.0
Theme: Stock
Kernel: franco.Kernel Nightly
Launcher: Nova
-
Yes and no, these type of modifications are quite as universally compatible like the build.prop ones in particular but they mostly work for everyone, the local.prop 3g tweaks he might not have even known about since they have to do more with the radio rather than the rom itself and the sysctl mods are from a lot of different sources and many have tested and tweaked them, so, for one he might not have had time to mess with them much anyway and secondly lots of Linux knowledgeable people have had plenty of time to tweak them
Personally the 3g tweaks are awesome...I went from 1.1Mbps-1.5Mbps download speeds up past 2Mbps and even some 2.6Mbps speeds (tested with speedtest.net app and website)
Sent from my Droid using DroidForums
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
And I'm actually hoping Chevy himself could chime in and see what he thinks
Sent from my Droid using DroidForums
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
-
How about a quick 'how-to' for us less knowledgeable folks?
-

Originally Posted by
Sixonefour
How about a quick 'how-to' for us less knowledgeable folks?
lol, I second this.
But thanks for all your help though, MS.
-

Originally Posted by
Sixonefour
How about a quick 'how-to' for us less knowledgeable folks?
Ok ignore the second post then, that one has a few less stable edits...
For the first post make sure to have root explorer or similar root file manager. Copy the lines, then use your file manager to go to /system/etc/init.d and long press on the file 01sysctl and open it in the file editor and delete everything in it, then paste those lines in and saving it (make sure system is mounted rw first) then double check they stuck by viewing the file as text...if they did then reboot
Depending on your file manager you might have to change the files permissions to others rw and user rw before editing and then change them back after you've edited...should look like rwxr-x---
Sent from my Droid using DroidForums
Last edited by metalspring; 06-17-2011 at 06:31 PM.
tweaks, hacks, and other goodies here
current phone The GALAXY NEXUS LTE
all
the 
stock-for now...

previous phone the trusty ol' droid 1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By gunftr in forum Droid General Discussions
Replies: 1
Last Post: 02-09-2011, 02:44 AM
-
By Cdjones187 in forum 928Droid
Replies: 19
Last Post: 10-26-2010, 10:10 PM
-
By Fault in forum Bugless
Replies: 4
Last Post: 08-15-2010, 09:49 AM
-
By kruizin in forum ChevyNo1
Replies: 4
Last Post: 07-17-2010, 10:31 AM
-
By ChevyNo1 in forum Android Roms
Replies: 194
Last Post: 03-10-2010, 03:59 PM
Search tags for this page
a855 build.prop tweaks
,
android normalized sleeper
,
android tcp tweak
,
droid charge cfs tweak
,
net.tcp android
,
normalized sleeper
,
normalized sleeper android
,
ro.comcache.default
,
ro.compcache.default battery drain
,
ro.compcache.default=0
,
setprop ro.mot.eri.losalert.delay
,
simply stunning 5.4
,
simply stunning kernels
,
simply stunning og droid
,
swappiness build.prop
Click on a term to search our site for related topics.