DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 19 1 2 3 11 ... LastLast
Results 1 to 10 of 185

Thread: Memory Performance Tweaks

  1. Senior Droid
    vvildcard's Avatar
    Member #
    205041
    Join Date
    Jun 2011
    Location
    Oregon
    Posts
    201
    Liked
    2 times
    Twitter
    vvildcard
    Phone
    Droid X2 (Eclipse ROM)
    #1

    Memory Performance Tweaks

    These are the same steps that were posted in the "Dude.....my X2 absolutely screams after doing this...disappointing before but no more" thread. I've stripped them down and reworded a few that seem to be causing some confusion.

    These steps are intended for use on the stock Droid X2 running 2.2.2... I'm sure they will be close to the same on other phones, but if your phone is not a stock Droid X2 (2.2.2), know that the steps may be different.


    Before even considering this, READ ALL THE STEPS. Then READ IT AGAIN.

    There are two tweaks recommended here: V6_Supercharger and SD Speed Increase.


    Requirements for V6_Supercharger:
    1. Rooted Phone (Gingerbreak 1.20)
    2. Script Manager (free on Market)
    3. BusyBox 1.18.2 or earlier

    Installing/Using the script:
    1. Install BusyBox. There are a number of ways to get this... it comes as part of Titanium Backup, for example. If you're not sure if you have it, or not, you can use BusyBox Installer (free on Market) to detect whether or not you have it and install it if you don't.
    - Note: BusyBox Installer tells you which version you have installed on the main screen after it loads... it should be in a list that starts with "Your device is Rooted"
    - Note: Make sure you don't install BusyBox 1.19 or anything newer than 1.18.2
    2. Download the script. Save it in a place where you'll be able to find it.
    3. Launch Script Manager and find the downloaded file (usually in /mnt/sdcard/download). Long-press no it and select rename, then delete the .txt from the end. You should have a file named "V6_SuperCharger_for_Android-update8.sh"... Press once on the script file to load it into Script Manager, check the 'Run as Root' box (DO NOT select "Run at Boot") and push "Run" to execute the script.
    4. The script will run and ask for a speed. Touch anywhere on the screen to open your keyboard. Type 1 if this is your first time running the script, 0 if you're a fast reader or you are in a hurry. Next, it lists 17 options and gives an input prompt. Type 8 and push Enter. (This selects the called MegaRAM 1 preset, but feel free to try others, if you're so inclined)
    5. Once script finishes, type 17 and push enter to end the script. Push the phone's Menu button and select 'exit' to return to the list of scripts.
    6. Pushing the phone's Back button should bring you to a file browser. Push the '..' line (second from top) until the top line reads '/'.
    7. Push the phone's Menu button, push 'More' and then 'Config'. Check the box 'Browse as root'. Push the phone's Back button to return to the file browser.
    8. Browse to /data and select '99SuperCharger.sh' (This script was created by the first script and makes sure the settings from the first script are re-applied on boot)
    9. Select both 'Run as root' and 'Run at boot'. Push 'Save' and then 'Run'. If it says "Exit code 0" at the top of the screen, the script ran successfully. Any other Exit codes should be reported.
    10. Almost all the settings are now in place... but reboot your phone to get the last ones implemented.
    11. After reboot, launch Script Manager and run V6_SuperCharger_for_Android-update8.sh (the first script). Select 0 at the first prompt, look for the current minfrees values... it should say "Launcher is HARD TO KILL!" and "Current minfrees = 6, 12, 40, 60, 80, 100". If the settings are correct, type 17 to exit and you are done. If not, re-read steps because you missed something.

    Credit goes to Zeppelinrox, see this thread for more info on this script.


    Requirements for SD Speed Increase:
    1. Rooted Phone (Gingerbreak 1.20)
    2. SD Speed Increase (free on Market)

    Configuring SD Speed Increase:
    1. Open the app and adjust the memory slider to 2048
    2. Check 'Set on every reboot'
    3. Push the red button
    4. Reboot the phone


    3G TurboCharge (beta)
    - I'll post full step-by-step instructions soon, but for now, here are two more scripts from Zepplinrox that will boost 3G performance... Run 3GTurboChargerInstaller.sh and 98KickAssKernelTweaksInstaller.sh once each. The second script creates this boot script: /system/etc/init.d/98kickasskernel, so you will have use this thread to get init.d created (Side note: I haven't been able to get it to actually run the scripts that are placed in init.d... we're stuck with Script Manager for now). Run all scripts as root, obviously.
    - NOTE TO DROID X2 USERS: There have been reports of these two scripts causing trouble on pre-rooted GB. Use at your own risk!


    Questions, Comments & Corrections are always welcome!


    To Do:
    Update SuperCharger to update7 (need to test it myself first)
    Test and implement AutoStart script

    Edit:
    06/27/2011 - Removed ro.Home_app_adj tweak. It's handled by the SuperCharger script.
    06/27/2011 - Updated SuperCharger script instructions to use v4 of the script.
    07/14/2011 - Updated SuperCharger script instructions to use v5 of the script.
    07/18/2011 - Added BusyBox requirement to the SuperCharger script.
    07/25/2011 - Updated SuperCharger script instructions to use v8 of the script. Rewrote most steps for improved clarity.
    Last edited by vvildcard; 08-01-2011 at 05:38 PM.
  2. Senior Droid
    vvildcard's Avatar
    Member #
    205041
    Join Date
    Jun 2011
    Location
    Oregon
    Posts
    201
    Liked
    2 times
    Twitter
    vvildcard
    Phone
    Droid X2 (Eclipse ROM)
    #2
    Why do I need the V6_SuperCharger script? What does it do? What is the difference between the different settings?

    Well... here's my understanding. If someone who has some real, working knowledge of how this works wants to set me straight, please do.

    There are different 'compartments' in Android memory management. Each program, when it gets loaded into memory, is assigned to one (or many) of the compartments. The compartments are given a priority that determines how important the stuff in them is. Stuff that you can't run without, like the kernel and core android services are loaded into the first compartment... stuff that you only need temporarily is loaded into the last compartment. When there is no more memory, Android goes through the compartments, starting with the last one, and starts clearing memory.

    The SuperCharger script is adjusting how big each compartment is... so by default, the compartments are really small. Android sets aside a (relatively) small amount of memory for the core stuff and leaves a big chunk for everything else. The problem is that the 'everything else' isn't being managed very well and it eventually crashes. Also, some of the compartments are too small, so when we load a lot of programs that all need a part of those compartments, they fill up quickly, then start fighting with each other for the limited space. With SuperCharger, you're giving each compartment more room so those 'fights' don't happen as often.


    So, to give a more 'hands-on' example, lets say you have a warehouse with 512 square feet of floor space (ie: 512 MB of RAM) that you are going to use to store different things. You would want to have an office area, a place for your receptionist and a few other dedicated spaces... lets say a loading bay, break room, lobby and bathrooms. Everything else is for general storage. Now, using the settings from our phone, lets see how our warehouse works out.

    With default settings...
    Office: 6
    Receptionist: 2
    Loading Bay: 4
    Break Room: 4
    Bathrooms: 4
    Lobby: 8
    General Storage: 484

    Great! You have tons of storage... except your receptionists keep quitting, you have to hire a new one every week (reboot!). And the guys down in the loading bay keep complaining about such tight spaces... they can barely turn their fork-lifts around when they're unloading the trucks (crash!). And nobody likes sharing the single-stall bathroom because the guys from the loading bay pee on the seats (lag!).

    So lets do some re-arranging... here are the MegaMemory settings:
    Office: 6
    Receptionist: 6
    Loading Bay: 63
    Break Room: 50
    Bathroom: 25
    Lobby: 25
    General Storage: 337

    This is a lot more comfortable for everyone... the receptionist feels respected with her office (it's the same size as the bosses!), the guys in the loading bay have plenty of room to work, the break room is no longer cramped, and best of all, we have enough room for 3 restrooms... Male, Female and one for the Docking Bay guys, who still pee on the seats.
  3. Junior Droid
    Ravyn's Avatar
    Member #
    111526
    Join Date
    Aug 2010
    Posts
    14
    Phone
    DX2
    #3
    Quote Originally Posted by vvildcard View Post
    Why do I need the V6_SuperCharger script? What does it do? What is the difference between the different settings?

    Well... here's my understanding. If someone who has some real, working knowledge of how this works wants to set me straight, please do.

    There are different 'compartments' in Android memory management. Each program, when it gets loaded into memory, is assigned to one (or many) of the compartments. The compartments are given a priority that determines how important the stuff in them is. Stuff that you can't run without, like the kernel and core android services are loaded into the first compartment... stuff that you only need temporarily is loaded into the last compartment. When there is no more memory, Android goes through the compartments, starting with the last one, and starts clearing memory.

    The SuperCharger script is adjusting how big each compartment is... so by default, the compartments are really small. Android sets aside a (relatively) small amount of memory for the core stuff and leaves a big chunk for everything else. The problem is that the 'everything else' isn't being managed very well and it eventually crashes. Also, some of the compartments are too small, so when we load a lot of programs that all need a part of those compartments, they fill up quickly, then start fighting with each other for the limited space. With SuperCharger, you're giving each compartment more room so those 'fights' don't happen as often.


    So, to give a more 'hands-on' example, lets say you have a warehouse with 512 square feet of floor space (ie: 512 MB of RAM) that you are going to use to store different things. You would want to have an office area, a place for your receptionist and a few other dedicated spaces... lets say a loading bay, break room, lobby and bathrooms. Everything else is for general storage. Now, using the settings from our phone, lets see how our warehouse works out.

    With default settings...
    Office: 6
    Receptionist: 2
    Loading Bay: 4
    Break Room: 4
    Bathrooms: 4
    Lobby: 8
    General Storage: 484

    Great! You have tons of storage... except your receptionists keep quitting, you have to hire a new one every week (reboot!). And the guys down in the loading bay keep complaining about such tight spaces... they can barely turn their fork-lifts around when they're unloading the trucks (crash!). And nobody likes sharing the single-stall bathroom because the guys from the loading bay pee on the seats (lag!).

    So lets do some re-arranging... here are the MegaMemory settings:
    Office: 6
    Receptionist: 6
    Loading Bay: 63
    Break Room: 50
    Bathroom: 25
    Lobby: 25
    General Storage: 337

    This is a lot more comfortable for everyone... the receptionist feels respected with her office (it's the same size as the bosses!), the guys in the loading bay have plenty of room to work, the break room is no longer cramped, and best of all, we have enough room for 3 restrooms... Male, Female and one for the Docking Bay guys, who still pee on the seats.
    LOL +2

    Awesome VvildCard
    Well done.

    Also zeppelinrox.. is the friggin man.
  4. Droid Sensei
    tgyberg's Avatar
    Member #
    16974
    Join Date
    Dec 2009
    Location
    Minneapolis, Minnesota
    Posts
    3,752
    Liked
    712 times
    Phone
    D1/DX/DB/Nex/Note2
    #4
    Awesome! I feel like I just watched an episode of The Office!

    *edit: British version rules!
  5. Junior Droid
    Mavic's Avatar
    Member #
    205569
    Join Date
    Jun 2011
    Posts
    29
    Phone
    Droid X2
    #5
    This is good stuff! Thanks for the walkthrough!

    Cheers!
  6. Droid Ninja
    kptphalkon's Avatar
    Member #
    155133
    Join Date
    Dec 2010
    Posts
    1,389
    Liked
    14 times
    Phone
    Droid 2 Global
    #6
    I just wanted to note that while the settings may differ, these tweaks will help EVERY phone
  7. Droid
    turboteal's Avatar
    Member #
    38306
    Join Date
    Feb 2010
    Posts
    50
    Phone
    Enter Current Phone Model Here
    #7

    question

    freaking awsome !!!!!!!!!!!!! love the explanation

    answered my questions as well,

    but should we do this or wate for gingerbread ????????????
  8. Droid
    Wongway's Avatar
    Member #
    58327
    Join Date
    Apr 2010
    Posts
    62
    Phone
    Motorola Droid
    #8
    If you feel comfortable, do it. Waiting for gingerbread is... umm... well, let's just say I will never hold my breath waiting on a company's updates...
  9. Master Droid
    zeppelinrox's Avatar
    Member #
    161034
    Join Date
    Jan 2011
    Posts
    512
    Liked
    4 times
    Phone
    SuperCharged Milestone
    DroidForums.net Developer
    Premium Member
    #9
    heh... the cause of lag kinda makes one gag...
    Blazing Fast Milestone Powered by my V6 SuperCharger Script

    If you're a SuperCharger too, consider clicking the button
  10. Droid
    wrxman17's Avatar
    Member #
    203070
    Join Date
    Jun 2011
    Posts
    71
    Phone
    Motorola Droid 3
    #10
    So I am very tempted to do this it seems pretty easy, but I have never had a smartphone before let alone rooted one. What could go wrong if I try to do this?
Page 1 of 19 1 2 3 11 ... 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. Imoseyon tweaks
    By ksalce in forum Liberty ROM D2
    Replies: 26
    Last Post: 07-05-2011, 10:38 PM
  2. Gingerbread tweaks
    By tattooz in forum Motorola Droid Pro
    Replies: 1
    Last Post: 06-05-2011, 07:49 PM
  3. Status Bar Tweaks
    By azpilot in forum Android Themes
    Replies: 0
    Last Post: 09-08-2010, 10:59 AM
  4. X Performance / Memeory tweaks
    By DiscoStu9 in forum Droid X General Discussions
    Replies: 2
    Last Post: 07-18-2010, 06:25 PM
  5. Advanced tweaks?
    By apeshitninja in forum Android Hacks and Help
    Replies: 3
    Last Post: 11-16-2009, 02:22 AM

Search tags for this page

android memory tweak
,
android tweak net.core.wmem max
,

droid x2 performance tweaks

,
droid x2 speed tweaks
,

droid x2 tweaks

,

hstcmd

,
memory tweak android
,
ram tweaks for android
,
ro.ril.gprsclass=32
,
ro.ril.gprsclass=34
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+