Friday, 6 April 2012

Supercharger V6 Script

The Supercharger V6 Script is a complete memory management fix. It promises to solve lag and launcher redraw problems on devices.

It solves lag by editing the default minfree values. Minfree being the minimum amount of RAM before Android starts closing apps itself. Android comes with good memory management, but in Gingerbread it's quite aggressive. The minfree values are relative to the respective OOM (Out Of Memory) group. The groups are FOREGROUND_APP, VISIBLE_APP, SECONDARY_SERVER, HIDDEN_APP, CONTENT_PROVIDER and EMPTY_APP. The minfree values, could be for example, 6, 8, 16, 20, 22 and 24MB. When the amount of free RAM reaches 24MB, then any apps in the EMPTY_APP group are closed, then it reaches 22MB then CONTENT_PROVIDER apps are closed, and so on.

The script allows these values to be increased, so apps are closed sooner to prevent any lag.

The launcher redraw problem is fixed by moving the launcher process to a higher priority OOM group, such as the FOREGROUND_APP group. If you use a Cyanogenmod ROM, then this is similar to their "Lock Home in Memory" option.

The thread with all information on how to download and run the script can be found here. Ice Cream Sandwich users need to do an extra step and mod their services.jar file before running the script. All information about this is in the second post of the linked thread, and it's simple as there's an automated website that does it all for you. All you need to do is upload your services.jar file from the ROM you use and it'll modify it and let you download a flashable .zip file with the modded file.

18 comments:

  1. I'll try it seems promising

    ReplyDelete
  2. I use CM7 on my Galaxy fascinate and Kindle fire that option works pretty well way less lagg when closing apps. I'm super excited some people have gotten hardware acceleration to work in CM9 for kindle fire I'll be flashing that soon

    ReplyDelete
  3. Hell yeah, finally a way to fix this.

    ReplyDelete
  4. I wonder that this patch will be in next version of CM?

    ReplyDelete
  5. If any ROM devs deem it good enough to add to a ROM then possibly. I know the Oxygen ROM devs shrugged it off, because that ROMs about as optimised as you can make it, but the ICS ROM I'm using it on certainly helps keep things running smooth as it gives extra free RAM to cache the file system etc.

    ReplyDelete
  6. Should try that, my milestone is getting slower and slower

    ReplyDelete
  7. great blog, will check out for apps for my galaxy S+

    ReplyDelete
  8. Nice will check more for my Evo Shift 4g

    ReplyDelete
  9. This is pretty rad, I like the tech-ier style apps like this one.

    ReplyDelete
  10. I like the android logo too much :)

    ReplyDelete
  11. Very old and useless scripts :D

    ReplyDelete
  12. Frees up more RAM to cache things like the file system though.

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete