Close
Advertise Here
Results 1 to 4 of 4
  1. #1


    Scripts for ReRoot?

    So by now you might've stumbled upon the the excellent ReRoot script from Eldon McGuinness
    Among other things it enables cron.d and init.d script execution.
    To make full use of these features, why not collect examples in a thread?

    I found this extensive list on xda: http://forum.xda-developers.com/show....php?t=1227269

    Some seem to be eligible candidates for the ouya (haven't tried them though)

    Init.d
    2. internet speed tweaks
    Code:
    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;
    9. Defrags database files
    Code:
    Code:
    for i in \
    `find /data -iname "*.db"`
    do \
    sqlite3 $i 'VACUUM;'; 
    done
    Also build.prop scripts:
    1. Force launcher into memory
    Code:
    Code:
    ro.HOME_APP_ADJ=1
    3. VM Heapsize; higher the RAM, higher the hp can be
    Code:
    Code:
    dalvik.vm.heapsize=48m
    4. Render UI with GPU
    Code:
    Code:
    debug.sf.hw=1
    12. Net speed tweaks
    Code:
    Code:
    net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960

    Has anyone tried any of these or any other scripts they might want to share?

  2. #2
    OUYA Developer Eldon.McGuinness's Avatar
    Join Date
    Oct 2013
    Location
    www.Progressivethink.in
    Posts
    1,236




    Now these look delicious, I have been itching to do this but just have not had the time.

  3. #3


    so, if you decide to check them out and they seem to be useful, you wouldn't mind adding them to the script would you?
    I know the build.prop can easily be edited through vim, but automagic is better than vim, would it make sense to add that functionality to the script?

    (On a side note, does anyone know if the gui-thing would speed up stuff like xbmc?)

  4. #4
    OUYA Developer Eldon.McGuinness's Avatar
    Join Date
    Oct 2013
    Location
    www.Progressivethink.in
    Posts
    1,236


    I would be happy to, I have not had time to monkey with it as of yet, but if anyone does please to report your results! If there are improvements I'm happy to include then in reroot.

Bookmarks

Posting Permissions

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