DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56

Thread: Simply STUNNING 5.4 tweaks for all

  1. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #1

    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.
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  2.  
     
     
     
  3. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #2
    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.
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  4. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #3
    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
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  5. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #4
    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
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  6. Master Droid
    666ogre666's Avatar
    Member #
    41110
    Join Date
    Feb 2010
    Location
    New Jersey
    Posts
    585
    Liked
    9 times
    Twitter
    Gil_Smash
    Phone
    Galaxy Nexus
    #5
    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
  7. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #6
    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
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  8. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #7
    And I'm actually hoping Chevy himself could chime in and see what he thinks

    Sent from my Droid using DroidForums
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  9. Senior Droid
    Sixonefour's Avatar
    Member #
    117326
    Join Date
    Sep 2010
    Location
    Ohio
    Posts
    212
    Liked
    3 times
    Phone
    OG Droid
    #8
    How about a quick 'how-to' for us less knowledgeable folks?
  10. Master Droid
    Jasko's Avatar
    Member #
    32987
    Join Date
    Jan 2010
    Location
    South Florida
    Posts
    328
    Phone
    Droid 1
    #9
    Quote Originally Posted by Sixonefour View Post
    How about a quick 'how-to' for us less knowledgeable folks?
    lol, I second this.

    But thanks for all your help though, MS.
  11. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #10
    Quote Originally Posted by Sixonefour View Post
    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.
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
Page 1 of 6 123 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. simply stunning
    By gunftr in forum Android General Discussions
    Replies: 1
    Last Post: 02-09-2011, 02:44 AM
  2. Simply Stunning 4.8
    By Cdjones187 in forum 928Droid
    Replies: 19
    Last Post: 10-26-2010, 10:10 PM
  3. Simply Stunning to BB?
    By Fault in forum Bugless
    Replies: 4
    Last Post: 08-15-2010, 09:49 AM
  4. Simply Stunning
    By kruizin in forum ChevyNo1
    Replies: 4
    Last Post: 07-17-2010, 10:31 AM
  5. [2.1 OC ROM] Simply Stunning V1.0.1 (2/17/12)
    By ChevyNo1 in forum Android Roms
    Replies: 194
    Last Post: 03-10-2010, 03:59 PM

Search tags for this page

android normalized sleeper
,

android tcp tweak

,
android tcp tweaks
,
cfs tweaks
,
cfs tweaks droid charge
,

disable normalized sleeper

,
droid 4 tweaks
,
droid charge cfs tweak
,
net.tcp android
,
tcp tweaks android
Click on a term to search our site for related topics.
Find us on Google+