[Tutorial - Updt. 07/07/2012] Installing V6 SuperCharger with BEST config. for GT540!

Search This thread

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
I don't have to defend anything to a troll that doesn't even know which part of the script does the mod, doesn't know what he's talking about, hasn't even tried it and doesn't know the real memory fix.

100% ignorant troll indeed lol

Maybe you can explain rocket science to us because you know just as much about that and you like explaining stuff that you have no clue about and making yourself look stupid ;)

Will somebody finally answer my question?! WHY IS MY PHONE KILLING THE FOREGROUND APPS? This is the third time I'm asking this question.
maybe because its not the script that's causing it.
You don't elaborate at all on what settings you used or what app you have a problem with.
You make it sound like nothing can run.
Can you make a phone call?
If you can, then the foreground app isn't killed, is it?


Sent from my Milestone using Tapatalk
 
Last edited:

maryyo

Member
Jan 13, 2011
32
14
Zagreb
I cant figure out, why on Temp+CPU V2/RAMDroid widget is written lower amount of free RAM then in Settings>Applicarions>Running Services?
(at the moment it's 40MB in Temp+CPU, and 50MB in Running Services)
 

wo0drow

Senior Member
Jan 26, 2011
108
54
Launcher redraw is the smallest problem with GT540. With 256MB ram (-87MB low level radio/system used) you must accept if launcher sometimes redraw because some app need more memory. (you have an option too, to lock it into memory with a launcher setting)

Launcher redraw ISN'T the smallest problem, at least 4 me. I've tried to lock into memory setting, both in launcher and cyanogenmod settings, and neither of them worked, tried AMM too and didn't help.

But this script...oh man! Maybe is magical (if u say so) but my launcher hasn't redraw since i run it. So THANX Malarkey007, maybe it's a bit tricky for script noobies like me to run it, but with this tutorial, if anyone gets lost, is just because he's not paying attention.
 

joe.stone

Senior Member
Jul 28, 2010
502
908
These parameters are set in init.rc.
Let's see what are defaults :
In M6 :
These numbers are in pages (4k).(2048 = 8MB,8192=32MB etc)
setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 4096
setprop ro.SECONDARY_SERVER_MEM 6144
setprop ro.BACKUP_APP_MEM 6144
setprop ro.HOME_APP_MEM 6144
setprop ro.HIDDEN_APP_MEM 7168
setprop ro.EMPTY_APP_MEM 8192
write /sys/write /sys/module/lowmemorykiller/parameters/minfree 2048,3072,4096,6144,7168,8192
module/lowmemorykiller/parameters/adj 0,1,2,4,7,15
Your suggested value differs when closing foreground and visible apps. 8MB vs 6MB and 12MB vs 8MB.
In this case the script is less agressive as default.

in AOSP :
setprop ro.FOREGROUND_APP_MEM 1536
setprop ro.VISIBLE_APP_MEM 2048
setprop ro.PERCEPTIBLE_APP_MEM 3072
setprop ro.HEAVY_WEIGHT_APP_MEM 3072
setprop ro.SECONDARY_SERVER_MEM 4096
setprop ro.BACKUP_APP_MEM 4096
setprop ro.HOME_APP_MEM 4096
setprop ro.HIDDEN_APP_MEM 5120
setprop ro.CONTENT_PROVIDER_MEM 5632
setprop ro.EMPTY_APP_MEM 6144

write /sys/module/lowmemorykiller/parameters/adj 0,1,2,4,7,15
write /sys/module/lowmemorykiller/parameters/minfree1536,2048,3072,4096,5120,6144

In this case your suggested values are more agressive then default.

Less agressive means :
It will kill processes later , and let more tasks to run parallel .
More Agressive means :
It will kill processes earlier and does not let more tasks to run parallel.

Now everybody can decide to use the script or not .
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
So im a troll because you just play memsettings. Nice.
you're a troll because of what you just said.
Or maybe you're just too stupid to figure out what OOM grouping fixes means.

I'll tell you what it means.

It makes people delay upgrading their phone, makes some wish they did wait, stopped them from returning their DX2, etc...
The most common remark is that it feels like they have a new phone.

You're right that only playing with minfree values is easy and basic.
That's why my script kicks AMM's ass.

I basically say the same thing in th OP of my thread anyway - under the before and after screen caps which you never looked at.

Now please, just STFU about it unless you try it and can actaully speak out of experience instead of ignorance.

If you try it and say it sucks donkey balls, then fine.
Some people love slow ass phones.

These parameters are set in init.rc.
Let's see what are defaults :
......................
Now everybody can decide to use the script or not .
Even if you don't choose a preset and choose oom fix + htk launcher only (leaving minfree values untouched), you will still see a performance boost.
Same minfrees but vastly improved performance.

It's just like a car.
Keep the same engine, add a supercharger and that car's performance will be vastly improved.

Only with SuperCharging do you get that. Whether it's a phone or a car ;)

Sent from my Milestone using Tapatalk
 
Last edited:
  • Like
Reactions: pRo_lama

pRo_lama

Senior Member
May 10, 2008
1,407
346
Prague
@ zeppelinrox: You have absolutly truth. Before your script i have test some kind of apps, but any of these apps were useful as your script. I really appreciate your work. :)
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
@ zeppelinrox: You have absolutly truth. Before your script i have test some kind of apps, but any of these apps were useful as your script. I really appreciate your work. :)
Thanks dude.
Today I will probably post a V6 update.
V8 is taking longer than I thought due to added features and less free time.

Sent from my Milestone using Tapatalk
 
  • Like
Reactions: Calcobrena

eoghan2t7

Inactive Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
Thanks dude.
Today I will probably post a V6 update.
V8 is taking longer than I thought due to added features and less free time.

Sent from my Milestone using Tapatalk
cant wait for the update mate i have noticed with AMM it took ages for the screen or exit apps but with the script its really made a difference the screen wakes now and exiting apps is a whole lot smoother :)


Sent from my GT540 using XDA Premium App
 

fdespotovski

Senior Member
Jan 5, 2011
561
145
Skopje
I don't have to defend anything to a troll that doesn't even know which part of the script does the mod, doesn't know what he's talking about, hasn't even tried it and doesn't know the real memory fix.

100% ignorant troll indeed lol

Maybe you can explain rocket science to us because you know just as much about that and you like explaining stuff that you have no clue about and making yourself look stupid ;)

maybe because its not the script that's causing it.
You don't elaborate at all on what settings you used or what app you have a problem with.
You make it sound like nothing can run.
Can you make a phone call?
If you can, then the foreground app isn't killed, is it?


Sent from my Milestone using Tapatalk


No,my phonecall isn't killed,and I didn't mean to insult you or anyone here. When I play some games like Froggy Jump and Angry Birds the system kills them.

Sent from my GT540 using XDA App
 
Last edited:

MalarKeY007

Senior Member
May 21, 2011
161
163
NEW Download Link Added with the Script Updated
Somes Screenshots updated!

If anyone want to know, I tested, just for curiosity the MegaMemory option from new V6 Script, and the Balanced 3 option continue the best for our case!


See the first Post to see the Updates!
 

edy4sure

Senior Member
Dec 7, 2010
247
67
London
Big thanks to you for this tutorial. However, I'm having an odd one problem after installing this tweak though, my notification persistently tells me that my swpe-installer.apk has finished downloading. I've tried to delete it but it stops my swpe app from working. Any solution to this would be gratefully welcome. Thanks in advance.
 

MalarKeY007

Senior Member
May 21, 2011
161
163
weres the mega memory opt i have or i think iv downloaded the updated version but mega memory isnt there :confused:

Sent from my GT540 using XDA Premium App

Are you sure you have downloaded the new version and deleted the old one from the MicroSD card?

The new V6Script link is on the end of the thread and in the middle of it too. :D
 

eoghan2t7

Inactive Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
Did you bulletproof?
If so, that's probably the cause...

Oh... and I've just updated the V6 SuperCharger... :)
hi mate maybe in the next update could you use less sleep commands or add code to keep the screen awake because when i run the script my screen times out and im worried in case it cause errors lol thanks again.

Sent from my GT540 using XDA Premium App
 

MalarKeY007

Senior Member
May 21, 2011
161
163
Big thanks to you for this tutorial. However, I'm having an odd one problem after installing this tweak though, my notification persistently tells me that my swpe-installer.apk has finished downloading. I've tried to delete it but it stops my swpe app from working. Any solution to this would be gratefully welcome. Thanks in advance.

You have tried to install and configure Swype Installer and make it working and then apply the V6 Script?

I Suppose you have SuperCharged already.



  • UnSuperCharger it choosing the option number 14 and reboot your phone;
  • Now, make all the way to install and configure the Swype Installer as described here on official site and get it working;
  • Reboot your phone again, just for make sure the Swype keeps working;
  • Now, you can make the Tutorial here. Re-download the V6 script, just to make sure you have the update version.
EDIT: I Registered and Installed Swype Installer with no problems running the Script. The Swype Keyboard is working perfectly, I don't use it because don't have PT-BR dictionary yet, but it is very good for English!

Good Luck. I hope that helped you.
;)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 142
    TUTORIAL EM PORTUGUÊS? BAIXE O DOCUMENTO NO FIM DESSE POST! :D

    Well, the V6 Supercharger Script is an excellent tool created by zeppelinrox to fix memory management for any Custom ROM based on Android 2.3+ Type, that we install on our little phone! Android 2.2 or less don't needed, because they got LG's original support.



    PAY ATTENTION TO DO THE TUTORIAL CORRECTLY!


    Why I recommend that we users of the GT540, the use of this script?

    • Because we have only 156MB of RAM, and Android 2.3 is very aggressive on memory management, closing any application that is in the background, such as music player, streaming music, to let free RAM. But in practice this does not happen very well.


    • With this script running on the GT540, you will be able to browse the Internet using any browser with multiple tabs opened and listening to music (I use the MixZing) or play Angry Birds listening to your favorite music, without closing the applications and Widgets in the background.


    • This is also good for those with Widgets that need to be running in the background to be refreshed, such as Gmail Notifier, Digital Clock Widget and Extended Controls.


    • And another important thing, is that the Home Launcher is not closed (NO MORE LAUNCHER REDRAWS), even after you've played Angry Birds listening to MixZing or PowerAMP, if you need, you're back to Home Launcher without waiting to it being restarted or to load the items and Widgets again!! (IMPORTANT NOTE: UNCHECK THE "LOCK HOME IN MEMORY" on Settings> CyanogenMod settings> Performance)


    • You don't need to kill your process and apps anymore. Its NOT recommended to use Task Killers!

    Here are some Screens. Note that applications are running since they were started without having closed, since Android was restarted.

    screenshot1vk.png
    screenshot2amq.png



    INSTRUCTIONS


    • You must be root of course!
    • Using ANY custom ROM.
    • Root Explorer Installed (Come's with CyanogenMod!)
    P.S. When Installing Programs, MAKE SURE Script Manager are installed on PHONE and NOT in the MicroSD Card!


    Step 1: Download and Install Busybox Installer



    • Run the Installer Busybox
    Select the version 1.18.2, the Version 1.18.3 or newer are VERY much a hassle with errors that should NOT be errors! (From Original Zeppelin Thread)

    screenshot3v.png


    Step 2: Download and Install Script Manager


    screenshot3zv.png



    • After installing, run the app, press the MENU button and go to MORE and then in ADVANCED OPTIONS and now in CONFIG and leave the options marked exactly as shown in the screen below:

    screenshot4jx.png


    Step 3: Download the Script V6 SuperCharger Update 8 HERE
    (Right Click, then Save as .txt or download it in the end of this post)


    • Put it in the root of MicroSD card.

    screenshot5ne.png


    Step 4: Run the Script Manager


    screenshot6rs.png



    • Open the "V6-SuperCharger_for_Android-update8.sh.txt" and check the option "Run as root" ONLY
    screenshot7dc.png



    • Now, run the script!

    screenshot2qn.png



    • Firstly, choose the Scrolling text Speed, from 1 to 3
    • Touch the screen and tap the number 6, Balanced 3, the best choice for GT540, and hit ENTER .... The script will work .... after finished, touch the screen again and tap the number 16, to exit, and press the HOME button.

    NO NEED TO DO STEP 5 AND STEP 6 ANYMORE.
    ZEPPELIN FIXED, AND NOW THE SCRIPT RUN AUTOMATICALLY AFTER THE BOOT!!


    Step 7: REBOOT YOUR PHONE!

    Step 8: Now let's take the test, if it worked or not:



    • Run the Script Manager again;
    • Run the script "V6-SuperCharger_for_Android-update8.sh.txt". Do not forget, "Run as ROOT"
    • And see if it is exactly as picture below, if written "Launcher is .... HARD TO KILL!" and just above "NOTE: Current Minfrees = 6, 8, 26, 28, 30, 32 mb" its WORKING!

    screenshot2qn.png



    • Now, just enjoy the new GT540! LOL!

    Thanks to zeppelin, for creating this wonderful and excellent script!

    Any questions post here I we will try to resolve it in the best way possible.


    And Sorry for my bad English...
    5
    ****in A... I like it :D

    Although steps 5 and 6 shouldn't be necessary.
    If you have an init.d folder, 99SuperCharger *should* run automatically when you boot up without Script Manager doing it again.

    If you reboot and run the install script and the setting don't stick, then do steps 5 and 6.
    Most of the time it does stick automatically.
    But it seems to be an issue with some roms with some versions of busybox.
    I think older busybox versions like 1.16.2 might be more reliable.

    And if you change the font using the font button, it actually looks better.

    The formatting was perfect until the Script Manager dev changed all the font stuff they did add the font button with my SuperCharger script in mind, which I was really surprised to learn lol

    However, V8 SuperCharger will be even better...
    3
    About the script.......
    Increase the battery life??
    Its reversible??
    When I upgrade to M7 (for example) I need repeat the entire process??

    Good work, and thanks for sharing!!!!

    This doesn't change the battery life.
    Yes, it's reversible, in the Script have a option to "unSuperCharge"
    When you upgrade to M7, YOU HAVE to repeat the entire process again, because are changed the minfree values.

    Thanks! :D
    2
    ****in A... I like it :D

    Although steps 5 and 6 shouldn't be necessary.
    If you have an init.d folder, 99SuperCharger *should* run automatically when you boot up without Script Manager doing it again.

    If you reboot and run the install script and the setting don't stick, then do steps 5 and 6.
    Most of the time it does stick automatically.
    But it seems to be an issue with some roms with some versions of busybox.
    I think older busybox versions like 1.16.2 might be more reliable.

    And if you change the font using the font button, it actually looks better.

    The formatting was perfect until the Script Manager dev changed all the font stuff they did add the font button with my SuperCharger script in mind, which I was really surprised to learn lol

    However, V8 SuperCharger will be even better...

    LOL, thanks for you feedback! I am really happy you enjoyed the tutorial!

    The steps 5 and 6 must have to be done on our case... I don't know why, because the Cyanogen modification or Busybox version... but works very well.

    The font doesn't is a problem LOL, just put in landscape mode and it looks perfect!

    V8 version? waiting for the news!

    And thanks again for your feedback zeppelinrox, I really enjoyed it.

    Sent from my GT540 using Tapatalk
    2
    It's applied to whatever is set to be your default launcher.

    Sent from my Milestone using Tapatalk