yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] spleef:
this is what script says with option 1 now that ive been playing with it oom/lowmemkiller values: 1536,3072,19200,25600,32000,38400 pages which means 6,12,75,100,125,150mb

home launcher priority2

foreground app prioriy0

perceptible app priority2

visible app priority3

launcher is greater than foreground app

is equal to perc. app and is greater than visible app

home launcher is very hard to kill..

ive got it like this by choosing higher option than recommended and by choosing local prop option instead of build prop option with the build prop option launcher stayed weak while the minfrees stuck with choosing the local prop option it sticks and changes my build prop. build prop zip below is the changed zip after v6 using local prop option the build prop bak is what it was before v6 local prop option its also the same build prop that was unaffected by choosing the build prop option. hope this helps
[Android Software/Hacking General [Developers Only]] Leeboy:
Glad to hear it Zepp! Been running your script now for 2 days with no problems and my Evo is soooo much faster than before! Got some hd porn on my sd card that would barely play before. And after using this BAD-ASS script, I can now watch all of them with no stuttering or frameskips. All of my games even play much smoother! Thanks again for all of your hard work and time that is being put into this project;) Will definately be making a donation as soon as my finances will allow:)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks for the detailed explanation of what's going on...

So you have everything working but in an unexpected way... weird...

I looked through the script and I can't see an error which would cause SuperCharging to be applied to build.prop when it's supposed to use local.prop :p

To be honest, I've been so used to doing it all in my head that I haven't even ran any update 9 betas yet! lol

Though I was pretty involved with writing up the OOM Stick script yesterday ;)

And I'm kinda obsessive/compulsive so I know that if I ran the latest V6 Script, I wouldn't have gotten anywhere with the OOM Stick lol

Plus I've been applying bug fixes and been implementing the use of S99SuperCharger for init.d folders that have S* files which was more challenging than I thought it would be :p

So does anybody else have the MEM and ADJ settings in build.prop when they are supposed to be in local.prop?

Thanks for the feedback.

I won't put anything in the OP about it being great for hd porn tho lol
[Android Software/Hacking General [Developers Only]] SGS_elko:
I applyed the script and now my phone bootloops :(. First I updated BussyBox from 1.16.x to 1.18.2 and then applied the script as described in the main Thread.

I had stock ROM (JVQ) 2.3.4 with cf-root and I had the TW4 launcher installed. I hava a Galaxy S.

Now I'm restoring my ROM from CWM :p

What I've do wrong?

I tried again to implement the script and it fails again(Bootloop at Galaxy S I9000 screen). What I've done:

1. Upgrade BusyBox to 1.18.2

2. Run Script Manager with root permissions (more->Advanced options->config-> Browse as root)

3. Run script as Root

4. In script menu chosed Nr. 6. 512HP UnLeeded //

5. Then Nr. 24. Exit

Only Thing that I skiped is to setup the file /data/99SuperCharger.sh in Script Manager to startup at boot, because I want to test the script first.

Can someone Post step by step instructions how to do it? Maybe I chosed the wrong option in step 4.????

Regards
[Android Software/Hacking General [Developers Only]] ZioGTS:
BusyBox 1.19.2 works!

Hey Zep, just wanted to let you know that I upgraded my busybox to the latest stable release, 1.19.2, and it works perfectly with SuperCharger and 3G! :cool:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
To narrow it down, only update busybox and then reboot...

If it bootloops, the phone doesn't like the updated busybox (it happens sometimes) so you can try supercharging with the bb 1.16.x that you have.

You'll get a couple of errors but it should still work.

Just be sure that the entries get put into local.prop or build.prop

---------- Post added at 12:13 PM ---------- Previous post was at 12:10 PM ----------

Hey cool... when I first asked people to test 1.19.2 with Stericson's bb installer, the result was a big fail :p

I guess if I have the beginning test working right (I think I got it now), I can stop worrying about what bb version people are using.

If they get a legit error, then they should know what to do to fix it considering it takes them to market to get bb installer lol
[Android Software/Hacking General [Developers Only]] pulkitjeel:
Yes everything works well..at least it shows in the script..but the launcher is still weak.. I dont knw why... I'm really confused now.

---------- Post added at 10:04 PM ---------- Previous post was at 09:59 PM ----------

I guess I have the same issue....
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep i remember that... I thought of you first lol

So that's at least 2 people that this has happened to so I'm wondering if it happens alot?

That's also weird that the launcher is weak even tho the settings are in build.prop... are they still in there after reboot?

---------- Post added at 12:54 PM ---------- Previous post was at 12:42 PM ----------

OH SNAP!

echo " Do you want to use Build.prop?"
echo ""
$sleep
echo -n " Enter Y for Yes, any key for No: "
read buildpropopt
echo ""
case $buildpropopt in
y|Y)echo " Okay... will try using the build.prop method!";;
*)echo " Okay... will try local.prop method again..."
[B][SIZE="3"]buildprop=1[/SIZE][/B];;
esac

Should be...

echo " Do you want to use Build.prop?"
echo ""
$sleep
echo -n " Enter Y for Yes, any key for No: "
read buildpropopt
echo ""
case $buildpropopt in
y|Y)echo " Okay... will try using the build.prop method!"
[B][SIZE="3"]buildprop=1[/SIZE][/B];;
*)echo " Okay... will try local.prop method again...";;
esac

Indeed, the opposite of what is selected would happen.

Sorry...

The bright side is that it didn't really cause undue bootloops due to using build.prop this time.

Fixed in next update obviously :o
[Android Software/Hacking General [Developers Only]] Roman-Kumori:
Sorry for that post if I repeat some question but the search option on the site gives me 997 results, and they don't even have results, so that's why I'm asking.

My problem is that the launcher got strong, but the memory setting don't persist.

Samsung Galaxy Tab 10.1 Broodcomb XXKI1

Thanx in advance indeed.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hi, yes there is actually a galaxy tab thread for the V6 SuperCharger that I've posted in.

Seems that you have a disappearing minfree file so the script can't even detect your current memory setting, correct?

So find that thread because if there is a solution to be found, it will be there...
[Android Software/Hacking General [Developers Only]] Xairo:
Hey

Im using lighting rom where all init. All scripts start with "S" and there is a script called "S99complete" do i have to rename it to "S98SuperCharger" or doesn't it matter if there a 2 scripts with a priority of 99?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes that's fine.

I will be adding support for that and if there are S* scripts, it will be named S99SuperCharger.

All the scripts in the folder will run even if they all start with S99 :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Re: Milestone CM Help!

Received this via PM but I'm replying here so it can assist others.

Do you have more than one launcher?

There is no way ADW would have such a low priority if it's the only launcher.

And yes, when you set an app to Keep Alive or increase its priority, it's not permanent - that's why I came up with the bulletproof launcher command.

It shouldn't matter, but I'm on CM612 and I don't see ADW anywhere in AMM's process list on my phone.

It's just lumped in with android.process.acore and in the process details it doesnt say ADW either - it's referred to as "com.android.launcher"

Also, be sure to have a

blank line at the end

of local.prop after the bulletproof launcher entry and be sure the

set the permissions of local.prop

properly. ie.

chmod 644 /data/local.prop

Also, you can take a look at the screen cap at the end of the OP to see what the permissions look like in SuperManager so you can do it graphimagically. :D
[Android Software/Hacking General [Developers Only]] latino147:
After a reboot the settings are defaulted again (after opening autokiller)

Anyone knows how to prevent that?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try applying via AMM's advanced menu.

Close AMM

Open it again to check if the main screen reflects the change.

If it does, reboot and check again.

I've never experienced that situation tho
[Android Software/Hacking General [Developers Only]] n3n00:
I did this :).

Uninstall AMM and put 99complete file (zeppelin attached it few posts before) in system/etc/init.d ... than change permissions of the file to :

You can do this with Root Explorer. Settings in that file are 6,8,16,40,50,60 written in

pages

, but you can change them how you like.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Doh!... actually no, they aren't kilobytes - they're pages. 1 page = 4 kbytes.

Remember AOR's mem management thinks the same thing...

6144 is not 6 mb - it's 24 mb! ie. 6144*4/1024=24!

That's why AOR's mem management is fubarred lol

6 mb = 6*1024/4 = 1536 pages... so you put 1536 in your settings for 6 mb ;)
[Android Software/Hacking General [Developers Only]] n3n00:
Yh I didn't know should I put kb or pages so I guessed xD but Im wrong lol.

There u go, edited, bolded and underlined xD (coloured also!)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
lol good stuff!
[Android Software/Hacking General [Developers Only]] latino147:
ok, added the 99-file and uninstalled AMM. Also went back to the older kernel.

If the freezes and reboots don't quit I'll throw the phone away!! :(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
What memfree values (pages) are you using?

What is your overclock and vsel?

You can always go back to cm6 if need be
[Android Software/Hacking General [Developers Only]] latino147:
I am using your numbers 6, 10, 24, 40, 50, 60

900mhz, vsel I actually don't know, it's the CM7 default.

I've had 2.1, CM6, several Cronos Froyo's but they all had freezes and reboots.

I'm now using the most basic stuff, maps, dolphin browser, calling and whatsapp, that's not too much too ask isn't it? :p

how can I check my current vsel?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya you need more juice if all roms are acting like that

You can check in the 10overclock file. Everything you need to know is there

It's in /system/etc/init.d
[Android Software/Hacking General [Developers Only]] clmta:
Hi zeppelinrox

using dalvik cache to 32m into build.prop now I have only one Launcher Pro running. And this value does not modified the total free memory.

Using Agressive mode in AAM frees more than 40M of RAM, and works fine.

Regards,

Claudio.
[Android Software/Hacking General [Developers Only]] afadel:
Actually I see that low priority too. If I don't set in local.prop or enable keep home in CM settings, when I enter AMM the LPP OOM priority is 6 too. I do have ADW and GO installed, but they are not running. LPP is the only launcher running at the time. But anyway, I have it set to 1 in local.prop
[Android Software/Hacking General [Developers Only]] afadel:
I think so, that's what it seems, but still, they are not really sure too. :D

The VM inner workings seem to be a bit of a mistery to the mortal ones, like myself...
[Android Software/Hacking General [Developers Only]] GokuH12:
Im using this settings with 48vm and so far so good and 24 for the third number and it feel really stable and fast, no redrawn so far with adw ex, and usually with 50~60 of free ram.

Using Ho!No Rom.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
By accident, a few minutes ago I rebooted and was having aweful redraws... worse than I've ever had.

I looked at local.prop and my bulletproof line was missing :P

Earlier I had been testing with gscript to make the edit easier and when I went to revert locla.prop manually, I forgot to put in the blank line LOL

So it turns out that, on my phone, the launcher process has a default value of 4.

Wow that's alot of free ram!

Thank you very much for letting us know :)

I'm really glad to hear this!

For those that are noticing nice results, I think it would be great if you were to post Smartbench scores. The link is in my signature.
[Android Software/Hacking General [Developers Only]] latino147:
I have a 60 vsel with 900mhz, 49 with 700 and 44 with 500.

Should I up the 60? And if so, to what number to be sure to have a stable situation? Battery performance is not that important as I have a charger at work too so I never run out of power.
[Android Software/Hacking General [Developers Only]] n3n00:
60vsel is for 1ghz(atleast on my phone)! I'd lower it on 900 lol. On 900 I leave stock AOR vsels.

Btw with all the settings and optimizations, I still get a reboot when, lets say, im playing angry birds few hours after I turn on the phone :$. It starts with lag and bootanimation comes up.
[Android Software/Hacking General [Developers Only]] latino147:
I guess this is the CM7 default as I haven't changed the overclock file manually. I only changed the settings to max 900 in the CM7-settings menu.

So 60vsel is too much for 900? I prefer stability to battery life.
[Android Software/Hacking General [Developers Only]] n3n00:
Ok then :p
[Android Software/Hacking General [Developers Only]] mousiope:
adw ex has nothing to do with adw launcher i also used to hate adw launcher and always used launcher pro, after getting the ex version never went back to lpp ...
[Android Software/Hacking General [Developers Only]] skadude66:
What was different that made you go to ADW EX? What makes you choose ADW EX over LPP? Because right now I'm running a modded version of LPP and I LOVE it. But the black screen issues are a bit annoying..
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Right so the challenge is to have 100% stutter free, bulletproof launcher but not have it bulletproofed with 0.

I did get a very quick pause after loading and closing Angry Birds with home set to priority 2 using the v5 gscript.

So... here is something for you guys to test out.

This was quite a challenge but I think I got it... so I called this script SUPERTEST.

I was also testing out different minfree values for somebody so I used those in this script: 6, 8, 25, 30, 35,35

This GScript is for ALL ROMS!

Even though this uses the init.d boot script folder, I was still able to make all the adjustments that I did in the v5 custom rom scripts :D

If you are using a custom rom script and you don't uninstall it, this script will still have priority.

Of course this means that I have to update the custom scripts to automatically remove the soon to be released ALL ROM versions like this one.

So in this one, the launcher has a priority of 1.

And if you select "Lock Home in Memory", the launcher will get a priority of 2, instead of 1!

That's what I get for screwing with OOM groupings.. heh...

But this not the same as Locking Home at priority 1 at all... you just gotta check this out...

Because in this script, it's not locked in memory

with priority 1

- it's

BulletProof.

:cool:

1. Uncheck Lock home in memory

2. Put the attachment in /sdcard/gscript folder

3. Change the extension from .txt to .sh

4. Load, save, and run the script in gscript lite

5. REBOOT! - Even if you already have v5 installed - because this has different oom groupings.

5. zoom zoom...

fasten your seatbelts

and

enjoy the ride!

:D
[Android Software/Hacking General [Developers Only]] skadude66:
Would this script work with a custom ROM? I just placed it into OpenRecovery/Scripts, but I'm not sure if it will change anything ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try the sdcard/gscript folder as per instructions...

It works for All Roms including custom roms.
[Android Software/Hacking General [Developers Only]] skadude66:
I don't have an sdcard/gscript folder on my sdcard, I've been flashing all of your scripts via OpenRecovery/Scripts.. :/
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh so you've been using v3 scripts then.

You can just make a gscript folder on your sdcard.

Anyway, If you put:

#!/sbin/sh

at the top of the file, it will probably work in open recovery.

But you need to edit it on your phone or use notepad++ on your computer and save as unix script file.
[Android Software/Hacking General [Developers Only]] GokuH12:
So this version its actually better? I should update?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It worth the test... please try and let me know.

The minfrees are a little bit on the aggressive side but this has the launcher bulletproofed with priority 1 instead of 0 so I want to be sure it's working perfect for all roms and custom roms before I make up a bunch of new scripts.

But I do think this is getting to be near perfect... :D
[Android Software/Hacking General [Developers Only]] skadude66:
I just applied it to my Cronos GB 1.2.0 ROM, is there anything you want me to be looking for in specific?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
if you get any launcher redraws, let me know...
[Android Software/Hacking General [Developers Only]] skadude66:
Can you define a launcher redraw? I never knew what it was.. :P
[Android Software/Hacking General [Developers Only]] CronusStrife:
After another launcher redraw with balanced1 script i'll try the SUPERTEST script. Your work is amazing zeppelinrox. Every script release is better. So soon you will make the SUPERPERFECT script!:D Thanks!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
When you goto the home screen and you wait for your icons to show up.

Heh, thank you very much CronusStrufe :) I editing the post and attached an UNSUPERTEST script. http://xdaforums.com/showpost.php?p=12883386&postcount=379

Sorry I forgot to attach it last night I was pretty tired.
[Android Software/Hacking General [Developers Only]] w4tchout:
Thanks for yet another update there zeppelin.. I also contacted the guys over at Tasker to check with them about my problem with the launcher being set to 0.

This was his response:

In all fairness, he's probably right. He would have to fix a problem that we, users here @ XDA, created ourselves. I'm gonna try your new superscript thing and let you know :D

edit1: first testing results conclude that Tasker is working fine again. But, I was able to kill my launcher again too (not sure whether that means anything or whether that's the intention)

edit2: so far no launcher redraws with the new superscript. I've been doing a bit of browsing and started some other ram hungry apps, so the script seems to work :) I just need to make sure I don't press the back button for too long when I am on the home screen :D
[Android Software/Hacking General [Developers Only]] skadude66:
When I flip from portrait to landscape, my icons in LPP slowly refresh, I do not see them automatically appear. I guess that might be a launcher redraw?
[Android Software/Hacking General [Developers Only]] n3n00:
No, I think that's usual when changing from Portrait to Landscape. Redraw is, when you are playing game or doing something in browser, that is hungry for RAM, and than u get back to homescreen, and it reappears because it got killed while playing/browsing.
[Android Software/Hacking General [Developers Only]] CronusStrife:
After playing Angry Birds Rio, the launcher redraw. But I think that's is your intention, it isn't zeppelinrox? Cause killing the launcher is better to get more ram for the game. Except games, the laucher is fine with all other things. Using SUPERTEST script!
[Android Software/Hacking General [Developers Only]] w4tchout:
Actually, I just played some Angry Birds Rio too but the launcher didn't redraw here. Might be because I am using apps2ext now (thanks zeppelin for that one too btw :D)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok I got it figured out.

The redraws do happen.

But I bet CronusStrife has JIT disabled.

You just don't see it with JIT enabled.

I did find a way to keep the same priority order with the launcher being less important than foreground app, but without redraws even without JIT.

I just tested with the foreground app as -1 and launcher at 0 again.

The order of importance is still the same as SUPERTEST (foreground is a 0 with launcher at 1) but the result is much better.

What do guys prefer?

I figure with launcher at 0, people can use lock home in memory to make it a 1 so tasker can work properly.

But for people on stock roms, that's not an option.

But they would have JIT enabled anyway so its better for them to use the SUPERTEST priority levels with the launcher set to 1.
[Android Software/Hacking General [Developers Only]] mitsakhs:
sorry if this already replied but whats the best minfrees for zte racer 256 mb ram ? thnx^
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Which version are you running?

Use Balanced 3 or 256HP UnLedded... depending on what's on your menu

Oh it's been awhile so for some entertainment... http://xdaforums.com/showthread.php?p=17662995#post17662995
[Android Software/Hacking General [Developers Only]] Marksta5:
Bricked my droid 2 global : / did the Int.D boot thingy with Glite, then ran this setting scroll to 1, picked option 7 and typed 16 to restart and my phone is now dead. Just turns on to a fully black-lighted screen and does nothing.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Uh.. the init.d boot thingy isn't meant for droid 2?

It's meant for milestone but will work on droidx.

Dunno about droid2.

Did you check to see if you have a mot_boot_mode file beforehand?

---------- Post added at 10:03 PM ---------- Previous post was at 10:01 PM ----------

Since the light comes on you should be able to get to recovery by pressing your phone's particular button configuration
[Android Software/Hacking General [Developers Only]] roofrider:
Does setting high minfree values cause some lag..meaning process getting killed frequently or something like that?

shows my ram is 279(shows 512 hp recommended) n i'm using 256 super unledded..wen i go higher ex:512 unledded i get considerable lag.

??
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try the Engine Flush when that happens.

Sounds like you currently have a large system cache which uses up ram.

So when you crank up the minfrees to make more free ram, there isn't much room for apps to run because of the system cache.

That is the most logical explanation I can come up with.

When was the last time your phone was rebooted?

If it's been awhile, say a day or two, then this is probably what is happening.

If Engine Flush doesn't fix it, then a reboot will.
[Android Software/Hacking General [Developers Only]] roofrider:
thankx...i've been playing with the script and so had to do some nandroid restores...still trying to find my sweet spot.

also i understand wen i do an Engine Flush then there is no need for a reboot..unless it doesnt work.

but in the scrips y does it say:" This Engine Flush will give u a Quick Boost!....so need to reboot!"

typo? got me confused
[Android Software/Hacking General [Developers Only]] liv4evr:
Is there an evo forum for this stuff?