yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tuxor1337:
I am overclocked (800 ~ 250) and if it was a general problem of sluggishness in screen redrawing, it would appear more often. But I know what I'm talking about. What I'm experiencing from time to time ARE definitely launcher redraws caused by a launcher kill!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I hope that I didn't offend as that wasn't my intention.

So it might help to edit the init.rc and change the ro.HOME_APP_MEM to something like 1536
[Android Software/Hacking General [Developers Only]] tuxor1337:
Don't worry, I didn't feel offended :)

Now I'm having (just for testing purposes):

# getprop | grep HOME
[ro.HOME_APP_ADJ]: [-5]
[ro.HOME_APP_MEM]: [1536]

I don't think this will be stable, but it should be worth a try :)
[Android Software/Hacking General [Developers Only]] hrdnhvy:
Im a regular over at droidforums, but I drop in here daily as well usually just to read, but I felt the need to post a thanks to this thread, Ill admit, I had used autokiller memory manager in the past, probably off & on ever since I rooted my droid, but I really had no clue on exactly how it work, so I would use the presets & hope for the best, but then I got tired of guessing & uninstalled it, but the past few days I have been reading this thread, soaking it all in, then it happened yesterday, when I had an "ah ha" moment, when it all clicked, it all makes sense now...lol...so Im back to using autokiller memory manager again, but this time educated & I know how & understand how it works...

One comment I would like to make about the default setting, factoey setting, is that ever since the first time I was rooted & used autokiller memory manager, back In froyo & even before that, & now in gingerbread, after a fresh reboot, my default settings always showed up as: 8, 12, 24, 28, 32, 32 thats using autokiller memory manager, & in the market app "android system info" however in auto memory manager, the default setting is totally different, I guessing the default in that app is the apps default, not the actual android OS default...

Either way, thanks for learning me on the topic.
[Android Software/Hacking General [Developers Only]] hrdnhvy:
The only thing that I wish I had a little bit understanding of, is what apps, types, specifically fall into each catagory...
[Android Software/Hacking General [Developers Only]] tuxor1337:
Since I made this change, I tried to use my phone in all-day use with these ... rather unconventional settings. But the milestone turned out to be unexpectedly stable and didn't have any launcher redraws since:)

Does anybody know, which problems these settings might cause in the long run?

// hum, this statement was too early :-/ had a launcher redraw a moment ago after surfing with Opera...

btw, I'm suffering from all this while using minfree=6-8-24-26-28-30
[Android Software/Hacking General [Developers Only]] zeppelinrox:
With the launcher nailed down in memory like that, the only issue would be that multitasking wouldn't work very well (but we're probably used to that anyway) and if want to load a big app, android will be unable to unload the launcher to make more memory available.

So that would suck for gamers.

You're welcome :)

When AutoKiller Memory Optimizer first loads, it will show what is currently inside the minfree file ie. what the setting is at right now.

But if you load system defaults, I think it loads info from init.rc. I'm not really too sure on that one.

When you load AMM, it shows you it's own settings.

I've never installed a rom that has a 24 as the third number though.

The only exception being the new telus froyo update a couple of days ago. I still can't believe that they stole my settings! ;) :D :p lol

Even if you load the most aggressive settings in either AMM or AKMO, the highest it sets for slot 3 is 16mb.

Well, it's easy to see where the apps are located and with what OOM value with AMM.

But if you want to get an idea of how an app gets where and with what priority... here you go...

http://androidforums.com/sprint-hero-all-things-root/40338-androids-built-low-memory-taskkiller.html

http://swcai.blogspot.com/2009/02/lowmemorykiller-in-android.html

http://lwn.net/Articles/317814/

Lots of stuff about badness scores and whatnot.

The first link is a forum thread. It has alot of interesting info but the best part is the pissing contest between 2 brainiacs.

Grab popcorn because that's a good read :D
[Android Software/Hacking General [Developers Only]] hrdnhvy:
Interesting, I am now a bit baffled regarding slot 3? It does not typically allow a setting higher than 16mb? I am able to set mine significantly higher ! I just did so now using AMM, just to test this I set it at 25mb i selected apply at boot, rebooted & setting remained the same, then I verified it by going into (market app) "android system info" & in the "low memory killer levels" confirmed it at 25mb, I even refreshed it, & still showed it at 25mb....
[Android Software/Hacking General [Developers Only]] hrdnhvy:
NEVERMIND the post above....lol...had a brainfart after re-reading your reply I realized u were referring to the apps preset levels...oops...lol
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes when using AMM, the permanent minfree settings (from init.rc) are unchanged but AMM will load the values directly into the minfree file on boot.

It does this because the minfree file is not a permanent file and gets recreated on each boot.

If your rom loads files from /system/etc/init.d on boot, then you can probably use my scripts.

The scripts will feed the values to minfree on boot so an app like AMM or AKMO isn't needed for that.

I still find AMM useful though just to see what's going on with OOM groups and priorities.

I've discovered a way to make any app bulletproof.

Handy to ensure a music app or sms app or security app doesn't get killed off in the background...

So I'm using AMM to make sure this works... lol

That's okay.

But I'm leaving my post intact I like hearing myself talk sometimes :D
[Android Software/Hacking General [Developers Only]] n3n00:
I locked the launcher on oom 0, didn't use any minfree tweaks, and everything runs great on Cronos :) I think I'll use this one for longer time :D.

I play Angry Birds, Seasons, Rio, NFS Shift, AC Altair's Cron., PES 2011, PewPew 1 and 2. All of them are running great.

However, they are not playing good on default ROM settings (as usual -.-) so I clocked to 900@60, turned JIT and dithering off, raised VM Heap to 40 and ... thats it xD. And my governor is Smartass (I don't know whats the difference between the governors, any links with explanation pls?)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I was looking for a particular page but these 2 will do nicely.

http://www.android-hilfe.de/945003-post437.html (google translates it really well)

http://xdaforums.com/showthread.php?t=843406

Yeah I think your minfrees are the same as CM7 right?

6, 8, 12, 16, 24, 32

If you have alot of apps installed, you typically have about 25 mb free, yeah?
[Android Software/Hacking General [Developers Only]] j3n660:
I'm using d1 with rooted FRG83D stock ROM. My launcher is launcher pro with 3 home screen, a weather widget, scrollable photo contact, messenger widget, and few other widget. I try AMM with your suggested value (6, 10, 24, 40, 50, 60). Then tick keep-in-memory in launcher-pro setting.

I try to reboot, and the memory setting still in configured value and android.process.acore is foreground app with a priority of 0.

What still confusing is appear I don't have /system/etc/init.d folder. I use root explorer and i only found /system/etc. I would like to use your 99complete instead of AMM...

thanks
[Android Software/Hacking General [Developers Only]] Der_Xte_Mensch:
Can I use these scripts (I would only use the script that makes the launcher priority 0) also with the German stock 2.2 on my Milestone (I'm using ADW Launcher EX as Home Launcher)? (I wouldn't want to use a custom ROM right now)

I would have to install an OpenRecovery therefore, right? Can you tell me which one and where I can find it?

Thanks a lot!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
As far as I know, for bulletproofing the launcher, you would need to

disable

any settings in android or launcher settings to keep home/launcher in memory because it would over ride the setting in local.prop.

I could be wrong though.

Does your launcher show up inside the details for android.process.acore (with priority 0)?

If it does, then it's ok and it's working.

I will look into getting a stock OS to use custom minfree values.

The 99complete won't work as your rom isn't configured to run scripts from the init.d folder.

Most likely, init.rc would have to be modified.

Heh, actually, that would work for every ROM then... hmmmm....

If you only want to bulletproof the launcher, you can probably just edit the file directly (data/local.prop) to add the bulletproof line and an empty line below it.

You may have to root it with Universal Androot and good free root explorers are ES file explorer and Super Manager.

But it's a good idea to to have AOR installed just for flexiblilty as long as you don't touch stuff when you are not sure what they do.

Read this post http://xdaforums.com/showpost.php?p=12271864&postcount=3

Basically, you copy AOR to your sd card.

Then patch your current OS with RSD Lite and the small 5 mb sbf file.

Your rom won't be effected except it makes "a crack in the front door" which will let you run AOR when you boot up into recovery mode (by hold the X or Camera button.)

When you see the triangle, you press volume up + camera to load AOR.

Edit: I don't know why I didn't think of this before... but I will be updating with a Gscript!

....... This means that

you won't need to go into open recovery

at all to apply the tweaks!
[Android Software/Hacking General [Developers Only]] thedroidmonkey:
will these processes about supercharging and bulletproofing work on any rom? i see a lot of CM posts with launcher pro. i run a D1 with pev5.0.1 with go launcher ex. i was forwarded due to the lagging in my phone when i return to the home screen. the home screen seems to take a while to full load. i run a weather widget, clock widget,power widget, calendar, baseball, pandora, and power amp on 3 screens. am i in the right place? if not could someone direct me to the right place?

thanks for you time and patience. and yes im a noob! :D
[Android Software/Hacking General [Developers Only]] neudof:
Just wanted to say thank you again!

Virus Kingdom Sprint HTC Evo
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
Thanks for the info!

What standard do I start? (values)

Thank you for the reply but still not sure I know the run!? :)

-----------------------------------------------------------------------------

Obrigado pela informação!

Qual padrão posso começar? (valores)

Muito obrigado pela resposta, mas ainda não sei me certificar do funcionamento!? :)
[Android Software/Hacking General [Developers Only]] stankyou:
Thank you for this. I just tested this a couple of hours ago and everything is working fast! Zoom zoom. :D

I was a bit adventurous and opted not to downgrade Busybox. I am currently using Busybox 1.18.4. So far so good. I didn't get any errors whatsoever when I ran the script several times trying to see which settings worked best.

Great work.
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
I need to rename 99supercharger S99supercharger system in / etc / init.d?

Thank you.
[Android Software/Hacking General [Developers Only]] bluzermajstor:
Hi!

First of all... great script... and I was wondering... what Supercharged minefree would be best for Desire pvt4??

Tnx for reply!

------------------------------

Desire PVT4, S-OFF, CM7 Hboot, Villain ROM 2,8, android 2.3.5, Ra recovery, MANU 2.1.1 kernel
[Android Software/Hacking General [Developers Only]] demoicurn:
First off, i am not sure of what i am doing.

Second, i am sporting Mosaic 6 w/DarkCore 3.0.

I read the tutorial and have a basic sense/understanding.

Questions--does the more aggressive settings kill battery life?

Is this a battle between speed vs battery?

Once a setting has been selected and phone rebooted, when would i have to reapply script? for example, after rom flash?

Thanx
[Android Software/Hacking General [Developers Only]] Jason Black:
Yeah... Well it isnt always good to have free ram on a linux system right?
[Android Software/Hacking General [Developers Only]] schtuka:
Curious about that too and yes I have read OP. Everything runs and applies, but upon reboot and opening script in Script Manager it is asking you to run it again.

I assume it didn't stick. There is no tutorial reference to this.

Thanks.
[Android Software/Hacking General [Developers Only]] sixstringsg:
No, everything in /etc/init.d gets run at boot, it doesn't matter the name.

Anytime /etc/init.d gets wiped, you will need to re-apply. So yes, usually after ROM flash.

It isn't a battle between speed and battery, it's memory management. How much RAM does your device have?

It will always do that. If Current minfree and prior V6 minfrees are the same, then it worked if I remember correctly.
[Android Software/Hacking General [Developers Only]] demoicurn:
i have a samsung captivate. 512mb
[Android Software/Hacking General [Developers Only]] schtuka:
Thanks and I figured it out with config and Script Manager.
[Android Software/Hacking General [Developers Only]] silberj:
Drunkpilot, what setting do you use for the Heroc? I have been using Option 6 (Balanced 3?), which I understand is optimal for some phones. Thanks!
[Android Software/Hacking General [Developers Only]] xxjustin24xx:
This works without having cyanogenmod right? On the image tutorial it says that its required to have cm7.
[Android Software/Hacking General [Developers Only]] hazard209:
Then you should try the MegaRAM settings. MegaRAM 2 is more agressive than MegaRAM 1. So if you want better multitasking use 1, if you want more free ram use 2.
[Android Software/Hacking General [Developers Only]] demoicurn:
thanx... checking out MegaRAM now... just when i thought i have tweaked my phone to the fullest, something else comes along...
[Android Software/Hacking General [Developers Only]] hazard209:
I know exactly what you mean. Just from following this thread, I've had something new every 3 to 5 days to add/change to build.prop or something.

Yes. This should work with any ROM or device.
[Android Software/Hacking General [Developers Only]] mjben:
Been trying this out for several days on my Epic running SFR 1.2 and the twilight zone 1.1.1 kernel. Tried various settings between the balanced, multi tasking, and aggressive options.

Honestly, I don't really feel any difference in my phone with this script, or with different settings. Was smooth before. I'm betting the ACS team just did a pretty good job of tweaking their rom, and this script isn't making much more of an impact than what was already done. Just my thoughts / ideas.

That said, I noticed that my music player started skipping after I ran this. Even through various settings the skipping persists. My next test is to "unsupercharge" my epic and observe.

Sent from a secret underground bunker
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I'm not sure if this is a script issue or a Script Manager issue but has anyone else had a problem scrolling when you open Supercharger? When I try to scroll up to look at the options the motion is somehow read as an entry. I have uninstalled, wiped dalvik and reinstalled SM but it didn't help.
[Android Software/Hacking General [Developers Only]] mcord11758:
back out of keyboard before you scroll
[Android Software/Hacking General [Developers Only]] onlyred:
This happens to me too. I just backspaced to the beginning of the line, which was as far as it would let me, and typed in whatever number anyway. Sometimes it laughs at me, sometimes it does as I ask. :D
[Android Software/Hacking General [Developers Only]] Awt67:
Won't work help

I'm have issues getting this to work on 4.2.2 on two different Rom/Kernal combinations

Htc One - Rom Trickdroid 5.4 Kernel - Bullet proof 3.4

Htc One X Rom Carbon JB 1.7 Kernel - n3o kernal v39
[Android Software/Hacking General [Developers Only]] zeppelinrox:
use ultimatic to patch.

What's the name of the link2sd script?

Rename it with a small z in front.

Next teaser is related to the title... and the graphic posted on this page...
[Android Software/Hacking General [Developers Only]] RedGoblinz:
Hm, okay. I'll remember to do this if I ever flash my ROM again, will let you know :) Thanks!
[Android Software/Hacking General [Developers Only]] gu5t3r:
Enable relinking on boot in app...
[Android Software/Hacking General [Developers Only]] ruelericsapalaran:
Killing the process of Bluestack worked. Now, the issue I'm having is all the apps that I have are getting FC'd. What I'm doing now is to reboot the device. I noticed that the updating whenever it reboots is ongoing. What does it mean?
[Android Software/Hacking General [Developers Only]] hisname:
Hi zep,I found a dead link in the OP. the link:http://www.rt-embedded.com/blog/archives/linux-memory-consumption/ gives me

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@rt-embedded.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at www.rt-embedded.com Port 80

it seems that your supercharger script killed those links lol
[Android Software/Hacking General [Developers Only]] RedGoblinz:
Hm, it was already enabled. Its okay, I won't be facing this problem any time soon, at least until I wipe again!

EDIT: Funny bug I faced, the browser was randomly opening the HTML, even though I don't do anything, tho I think there is a trigger that caused it, dont know what.

I had the sqlite and zipalign binaries installed.
[Android Software/Hacking General [Developers Only]] E43JAP:
[MENTION=3357461]zeppelinrox[/MENTION]

DUUUUUDE! BEST THREAD TITLE EVER!!!:thumbup::thumbup::thumbup::thumbup::thumbup::D

NTT DoCoMo SC-02C

AOKP Milestone 1

KBC 20130405
[Android Software/Hacking General [Developers Only]] killersloth:
+1 thread title

Sent from my Galaxy Nexus to all you wonder nobodies!
[Android Software/Hacking General [Developers Only]] androizers:
But Use of Ultimatic Patch starts a link to the OP.....

Now how can I patch n install service.jar...

Can anyone help me out here!!! Pls
[Android Software/Hacking General [Developers Only]] Jar3112:
There is a separate thread for Ultimatic

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] androizers:
I know, bt I just need a setup process....

Rest I'll manage myself...

If u cud help me, pls PM me...

Lets keep this thread a developmental project.. :)
[Android Software/Hacking General [Developers Only]] GuneetAtwal:
First Time ever i liked anyone's thread title

Hit Thanks if you like it as well ;)
[Android Software/Hacking General [Developers Only]] hoholee12:
Awesome thread title "Said The Way U Move":thumbup:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
And the only thing that connects the 2 setups is the user.

Obviously you need to work on your attention to details - because you posted absolutely nothing relevant - not even revealing the meaning of some mysterious "issues".

Permissions probably didn't get applied to services.jar if it optimizes apps on each boot - or something is wiping dalvik on boot.

Do fix emissions or fixalign for FCs.

Well at least that one worked when I just clicked the link.

I should save that page somewhere as that's one of the best pages for reference.

Do:

which sqlite3

which zipalign

It may also be that minfrees don't match.

Thanks... :cool:

That's not even the title that I was planning on... I kinda came up with it by accident when looking for the graphic that I posted on the last page... some the lyrics in "black and white"and it just hit me lol

oh maybe I should change "Said" to "sed" :p

============================================

Anybody have a problem with the BulletProof_Apps test script I posted on the last page?

@GermainZ hurry up and test it :p
[Android Software/Hacking General [Developers Only]] defiant07:
lol, where else could bash humor be appreciated :D.

and yeah GermainZ please hurry up...

I gotta roll, can't stand still, got a flaming heart, can't get my fill

Eyes that shine burning red, dreams of updates all through my head!
[Android Software/Hacking General [Developers Only]] stevae:
ok, so i have run the step 2 and 3 about ten times where it says that it is supercharging the services.jar. it says it finds the services.jar each time. i click the install option, and it goes through everything, and tells me it will take a long time to restart. but then nothing is changed when i go back to the v6 script. it still says only 50% sc, because of adj and sc launcher. why isn't it supercharging the launcher?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
lol.

Nice :)

just do ultimatic patch.

Reboot.

Run V6.

If not 100%, post ultimatic log and boomstick log
[Android Software/Hacking General [Developers Only]] GermainZ:
Device still hangs, should I test it with a delayed startup and see if it freezes the device later on (99SuperCharger alone does that, BTW, didn't test the rest yet)?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It must be the if condition.... Do

ps | grep android | grep -v grep

which ps

ps --help
[Android Software/Hacking General [Developers Only]] Hpsgill:
Latest script is rc 12 test 6???

Or zep only changed thread name
[Android Software/Hacking General [Developers Only]] GermainZ:
# ps | grep android | grep -v grep
system 2110 1579 129716 31040 ffffffff afd0c5bc S com.android.systemui
radio 2145 1579 134040 23748 ffffffff afd0c5bc S com.android.phone
app_73 2296 1579 127108 31936 ffffffff afd0c5bc S net.dinglisch.android.taskerm
app_18 3326 1579 122772 22792 ffffffff ffff0520 S com.noshufou.android.su
app_34 3522 1579 121288 21052 ffffffff ffff0520 S android.process.media
app_32 3533 1579 124656 22264 ffffffff ffff0520 S com.android.mms
app_36 3549 1579 122332 22920 ffffffff ffff0520 S android.process.acore
app_33 3602 1579 121744 18940 ffffffff ffff0520 S com.google.android.apps.uploader
app_53 4684 1579 117908 19860 ffffffff ffff0520 S com.android.providers.calendar
app_74 10667 1579 117428 18500 ffffffff ffff0520 S net.dinglisch.android.ipack.holdlightmd
app_125 13431 1579 120796 21340 ffffffff afd0c5bc S com.android.lmt
system 13728 1579 122916 22884 ffffffff afd0c5bc S com.android.settings
# which ps
/system/bin/ps
# ps --help
USER PID PPID VSIZE RSS WCHAN PC NAME
# ps -h
USER PID PPID VSIZE RSS WCHAN PC NAME

Toolbox's ps doesn't have a help option? Still, it seems fine. I can't understand why the kernel seems to be panicking, tho (ADB shouldn't get cut off unless the kernel panicks AFAIK).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
that's right... No help. Just checking lol.

Looks normal that output tho.

Try switching the condition in the test so its elif ps
[Android Software/Hacking General [Developers Only]] stevae:
cool, that sounds like a plan.. so i have already ran the ult patch and done the superclean afterwards several times. every time i run it, it says it was successful. i checked the date of services.jar, and it says today, and within the last five minutes or so. but then i run v6 sc, and it says only 505. so where do i get the logs so that i can post them?