yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] zeppelinrox:
Did the last one used have the calculated setting?

Anyway its easy to unsupercharge.

To answer the first question, it works.

The very first tester, a rom/kernel dev with a sgs II had 49 apps running.

I link to his post on my download page.
[Sprint HTC EVO 4G LTE] flex360:
Sgs 2 doesn't use sense 4.1

How can u expect the same results on a completely different Rom

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] bog3nator:
That's what I am trying to find out, sense 4.1 kills apps no matter what it seems
[Sprint HTC EVO 4G LTE] flex360:
That's what this guy fails to understand. It has to do with how much memory is available. Believe me I know. Ask anyone who uses my Rom. :)

Sense is completely structured differently. Samsung stays real close to google's code. HTC completely redesign their os. And break multitasking for UI smoothness

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
Edit: Doesn't your thread say that you can run up to 8 apps and that you still have about 100mb free at that point? That means it ain't the ram.

I know that your setting is a 10 app limit. Most ROMS are set to 15. I saw one set to 20. But that's the highest I've seen.

Hexadecimal works the same on all roms.

And guess what, ive already done what you consider to be impossible.

And I did it again.

In my thread, users of any device are seeing it work.

Froyo, JB. Sense.

Evo, Droid, SGSIII.

It just works. OS version or device dont matter. Not the way I do it.

Its ALL Android to me.

Not bad for a construction worker, eh?

http://xdaforums.com/showpost.php?p=31153302&postcount=5115
[Sprint HTC EVO 4G LTE] bog3nator:
Hmm I will try it but I just had the xda app close after I opened 1 more app and I have been using the app most of the night
[Sprint HTC EVO 4G LTE] zeppelinrox:
If it doesn't work, just supply me with the smali files that the windows exe produces (don't do clean temp files)

I've only come across 3 different configurations (ie the way the setting is applied) and the mod accomodates all 3.

So there very well can be other variations that I haven't seen before.

Oh yeah... windows exe version here http://xdaforums.com/showthread.php?t=1869663
[Sprint HTC EVO 4G LTE] flex360:
no one really cares if you do construction. but anyway...sense 4.1 runs differently. thats a fact. once i get closer to perfection ill provide a detailed "how-to" so that other rom devs can put it into their sense 4.1 roms

im just trying to get it nice and proper before release it to the public
[Sprint HTC EVO 4G LTE] zeppelinrox:
Hey I got it... I see the 8 limit.

You're right... it's a bit different and there's another limit in place.

Wanna know what to change? It's just one edit.. heh

edit: ok the answer is no. I'll just post a patched services.jar with Maximum Overdrive + Non-Sense Limit - for MeanROM-ICS-v42-jewel-ltevo
[Sprint HTC EVO 4G LTE] scottspa74:
Please nevermind flex360. Not worth your time.

Also, PSA, stop using sense, people. Using sense on hardware this nice is somewhere between silly and foolhardy.

via xda premium on my AOKP'd Evo LTE
[Sprint HTC EVO 4G LTE] zeppelinrox:
Well I tried to bury the hatched and make nice but whatever.

SO... here you go... supercharged and not supercharged but both with Maximum Overdrive and Non-Sense Limit :p

So I increased the limit from 8 apps to 50.

If you don't have the ram for 50 it don't matter.

You will just run as many apps as ram permits until it gets down to whatever your lowmemorykiller settings are.

If it works... there's only me to thank lol

From MeanROM-ICS-v42-jewel-ltevo

As il Duce says below, if you're on a Rom that disabled sig check in services jar and uses non stock sigs, this will bootloop

To install...

1. Copy the new services.jar into your /system/framework folder.

2. In terminal type: su, enter, cd /system/framework, enter, chown 0.0 services.jar, enter, chmod 644 services.jar, enter.

3. Reboot. This will take awhile since it will optimize apps the first time.
[Sprint HTC EVO 4G LTE] ckoadiyn:
What's the diff w supercharged and not supercharged
[Sprint HTC EVO 4G LTE] bog3nator:
so is this working for people?
[Sprint HTC EVO 4G LTE] fernando sor:
I really don't see the need flex to keep this personal. You seem like a good dude in our interaction but that comment about his work just comes off as petty. If the goal is to find a solution than find a solution. It's a good idea to have a separate thread on this. That's usually where fixes are found.

They certainly don't wait for aosp to fully function without posting a beta or nightlies
[Sprint HTC EVO 4G LTE] mrlakadaddy:
I wonder if this will work for viper 4g....EVO LTE
[Sprint HTC EVO 4G LTE] il Duce:
Beware if you're on a Rom that disabled sig check in services jar and uses non stock sigs, this will bootloop.
[Sprint HTC EVO 4G LTE] mrlakadaddy:
Is there a way around it...seems interesting....
[Sprint HTC EVO 4G LTE] zeppelinrox:
Oh damn... I was so tired I didn't specify again that it was for MeanROM-ICS-v42-jewel-ltevo

I mentioned it on my prevous post but not on the one with the attachment.

Sorry about that...

I chose that ROM because that's what you're using lol

Try and let us know?

Just reflash the rom if you don't like.
[Sprint HTC EVO 4G LTE] jeffsanace:
Zep wouldn't mind a version for our rom to test out.

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] bog3nator:
o haha, let me take a look and will report back.
[Sprint HTC EVO 4G LTE] zeppelinrox:
sure dude.

just post the services.jar

SuperCharge it too?

Cool... I'd be interested to know results :cool:
[Sprint HTC EVO 4G LTE] jeffsanace:
Pm sent with link

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] bog3nator:
the browser seems to be good, but HTC said they fixed that in the newest update. still getting some reloads with just a few apps open... :confused:, i just wished it worked right from the start
[Sprint HTC EVO 4G LTE] jeffsanace:
Just out of curiosity, by reload, you mean sense reloads? With just a few apps opened, example please. Reason I'm asking is because I don't have this behavior. I don't seem to have a lot of the behavior I see described in many threads I read.

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] zeppelinrox:
The mod should let you run more than 8 apps unless I missed something

Which one did you try?

Do you know what your minfrees are and how much free ram you have when that happens?
[Sprint HTC EVO 4G LTE] bog3nator:
for example when i open facebook, and go to another app and go back to facebook the app will come back up, then begin to refresh my friend stream. it wont stay on the same page i was looking at...another ex. when i look at my apps in the play store and leave it for a few min. then come back to it, it will refresh itself.

i did the one without super charge. generally i run about 150 meg to 200 meg of free memory. flex360 posted something about 2 weeks ago testing a services.jar file that changes the max from 8 apps to something else, that one didnt seem to do much either.

sometimes this problem even happens after only having a few apps open
[Sprint HTC EVO 4G LTE] zeppelinrox:
What are your minfrees?

Also check to see if these apps are actually killed off or they're just being sluggish.

Attached :)

Did SuperCharger with Die-Hard Launcher, MaxOD and the sense hack (increased the limit from 8 apps to 50).

If you don't have the ram for 50 it don't matter.

You will just run as many apps as ram permits until it gets down to whatever your lowmemorykiller settings are.

To install...

1. Copy the new services.jar into your /system/framework folder.

2. In terminal type: su, enter, cd /system/framework, enter, chown 0.0 services.jar, enter, chmod 644 services.jar, enter.

3. Reboot. This will take awhile since it will optimize apps the first time.
[Sprint HTC EVO 4G LTE] bog3nator:
question...can i reinstall this services.jar that you provided with your script?

my oom settings are 10-16-22-28-34-40

---------- Post added at 11:45 AM ---------- Previous post was at 11:38 AM ----------

trying now with the supercharged one
[Sprint HTC EVO 4G LTE] zeppelinrox:
Ya option 25 do manual install it will search for newest jars first.
[Sprint HTC EVO 4G LTE] bog3nator:
alright let me try that sense just restarted during install, so it wouldnt boot but i went into recovery and wiped cache and dalvik if that doesnt fix it i will reinstall the system

edit: ok finally got everything back up with the supercharged file, let me do some testing

just checked the script my launcher is bulletproof and it says everything is patched in

---------- Post added at 12:36 PM ---------- Previous post was at 11:54 AM ----------

so the recent app list shows only 8 apps at a time, the last app seems to refresh
[Sprint HTC EVO 4G LTE] zeppelinrox:
How many apps show up in the boomstick with adj 5 and above?
[Sprint HTC EVO 4G LTE] bog3nator:
i am confused were i am suppose to be looking in the script manager for that?
[Sprint HTC EVO 4G LTE] zeppelinrox:
Its on the supercharger menu.

Option 15
[Sprint HTC EVO 4G LTE] bog3nator:
ok i did that...and i get a bunch of oom grouping info which one should i be looking at?
[Sprint HTC EVO 4G LTE] zeppelinrox:
See how many apps are running with adj 5 or above

Or post the output here.

Use the code tag so its easy to read and doesnt take up an acre of screen space.
[Sprint HTC EVO 4G LTE] bog3nator:
i counted about 60 but only 5 of those were apps that i use, they rest was htc sense related stuff
[Sprint HTC EVO 4G LTE] flex360:
Sorry if I came across as petty lol. I just meant no matter what u do for a job doesn't determine how u think :)

Me and zep has been communicating via pm and there was no bad blood or anything. Zep I embrace thee lol

So did it work for you guys?

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
That answers none of my questions.
[Sprint HTC EVO 4G LTE] fernando sor:
I'm at work havnt been able to test
[Sprint HTC EVO 4G LTE] flex360:
I'm not home so I can't run it. I'll be back home tomorrow. Minfree values has something to do with it also.

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
Oops. you posted as i was.

I added a quote :p

i only patched mean rom and bad seed tho.

Not sure how interchangeable they are but might work on yours.

They seem very similar.
[Sprint HTC EVO 4G LTE] bog3nator:
Hmm alright, I will look at it when I get home from work I tried to run a screen shot but it wasn't working
[Sprint HTC EVO 4G LTE] zeppelinrox:
Screen shot wouldn't show enough.

Coyp/paste would be easier :p
[Sprint HTC EVO 4G LTE] zeppelinrox:
interesting.

Can you run any more apps?

You still have 260 mb free
[Sprint HTC EVO 4G LTE] bog3nator:
On the recent app list it only shows a max of 8 apps. Once an app gets to about the 6th or 7th spot...it will refresh itself when I click on it

So yes I can run New apps all day long but the others HTC sense closes
[Sprint HTC EVO 4G LTE] zeppelinrox:
I'm not sure if recent app list is the way to go to check properly.

So you can't get lower than 260 mb free and have more apps in ram?

I'd try running a whole bunch of apps and then check the boom stick again and see if there is less free ram/more apps in ram.
[Sprint HTC EVO 4G LTE] zeppelinrox:
Ah.. that could be because your minfree in slot 3 is 150 currently.

It would be cool to see the boomstick output during those 5 minutes when you're at about 100mb free
[Sprint HTC EVO 4G LTE] flex360:
Get Minfree manager and set everything to 0 :)

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
oh yeah... that could work.

In past testing I've accidently ended up with 0s a few times... when you dont have much ram, it grinds to a halt pretty quick.
[Sprint HTC EVO 4G LTE] bog3nator:
I tried to get it down to 100 but since I supercharged again I can't get it, that low
[Sprint HTC EVO 4G LTE] zeppelinrox:
ah... ok use setting 2... those minfrees should be low enough
[Sprint HTC EVO 4G LTE] bog3nator:
Alright set to settings 2
[Sprint HTC EVO 4G LTE] mrlakadaddy:
Need u to hook up viper Rom....thanks
[Sprint HTC EVO 4G LTE] bog3nator:
so after this mod it definitively worked better with the lowest oom settings your phone would handle
[Sprint HTC EVO 4G LTE] flex360:
When I get home ill put up a zip for stock roms. I got it working 100% with over 12 apps and maybe more. I've only tested 12 apps so far and they all loaded instantly.

I'll also make zips for most of the popular roms out there. I'll be home in 3 to 4 hours

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
So just to confirm, it does indeed break the 8 app limit.
[Sprint HTC EVO 4G LTE] flex360:
I already broken that a long time ago. I know exactly how this works

I just don't wanna make it too aggressive cuz it will make the phone crash. So I gotta find that right balance

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
Don't start this again. You broke nothing.

8 is all you had.

Read your thread.

Now you post that you got 12 going... with the change that I made.

Plus I have your latest smali's, remember.

And the ones from your multitasking/test thread.

NONE of those variations have the sense edit that I made.

I even made you an offer and you said no.

I ONLY made an offer because you dropped a hint about an addition layer of BS by Sense.

I did not make an offer because of any non-working edits that you made.

il Duce already has all the PMs and the code that I changed.

You don't got this... I already put it out there without any changes you made in the past which never worked.
[Sprint HTC EVO 4G LTE] bog3nator:
its wierd b/c sometimes it worked like it should and other times my last app refreshed...
[Sprint HTC EVO 4G LTE] vader860:
Can't everyone just work together? Whether its 8,12, or however many apps, if talents are pooled, everyone will benefit.
[Sprint HTC EVO 4G LTE] zeppelinrox:
Despite past events, I made the offer anyway.

Read the thread.

The answer was no.

So anything based on my work, without credit, is kanging.
[Sprint HTC EVO 4G LTE] flex360:
Let's be friends man :)

U need a hug? Lol

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
You're only being nice nice because you're squirming after shooting yourself in the foot with greed.

Before that, you weren't very nice nice.

But me... I'm consistently intolerant of your antics.
[Sprint HTC EVO 4G LTE] vader860:
You guys should go one the xda version of meet the press. Talk out the differences in a fair civilized manner. :)
[Sprint HTC EVO 4G LTE] flex360:
I have no time. Most of my free time im i with my gf. That's why u see I post so much from my phone. Calm down man....come get a hug

Sent from Stock with Goodies 2.05. Multitasking Goodness
[Sprint HTC EVO 4G LTE] zeppelinrox:
Ok... seems there was a "logical error" in my previous attempt.

If this works, you should have the app limit bumped from 8 to 50

recent apps bumped up to 50 as well.

Don't worry about if you can't run that many apps - the lowmemorykiller will kick in according to your minfrees...

Just crank them up if you need more free ram... lower them for more multitasking :)

SuperCharged Die-Hard Launcher and Maximum Overdrive included.

It's a modded services.jar from ICS Tranquility... its a TEST so cross your fingers and have a backup plan!

To install...

1. Copy the new services.jar into your /system/framework folder.

2. In terminal type: su, enter, cd /system/framework, enter, chown 0.0 services.jar, enter, chmod 644 services.jar, enter.

3. Reboot. This will take awhile since it will optimize apps the first time.

Click thanks (for trying) anyway LOL

Edit: YES! il Duce reports that it boots (lol) and runs good!
[Sprint HTC EVO 4G LTE] whiterider13:
I can also confirm that it boots. I will put it through the paces tomorrow and see how it does. Thanks for your hard work.

Sent from my EVO using Xparent Blue Tapatalk 2
[Sprint HTC EVO 4G LTE] mrlakadaddy:
Looks like the one true multitasking mod...I'm waiting for viper Rom to be updated to the new base, once that's done, I'm taking this baby for spin...thanks for the hard work!!
[Sprint HTC EVO 4G LTE] zeppelinrox:
Off to work... any feedback appreciated.... back in about 12 hours :p
[Sprint HTC EVO 4G LTE] zeppelinrox:
wow... nothin?
[Sprint HTC EVO 4G LTE] jeffsanace:
So far seems to be a little zippier, reloads still but not as noticeable. Only been running a few hours, but ram is running less(150 opposed to around 185)unless I kill all apps then stays at about 250 or so free. No noticeable lag or slow downs so far. So far for me, not that noticeable a difference. Battery life will tell the tale for me. Otherwise, I guess it depends on the user.

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] zeppelinrox:
Ok... I was hoping that you'd be able to load alot more apps than before.

But maybe you are since your normal free ram is lower than before.

I take it that your minfrees are unchanged
[Sprint HTC EVO 4G LTE] jeffsanace:
Yeah everything else right now is stock. I have noticed apps running in background that previously didnt. Example.. I have HTC ime disabled and never use it. But it consistently shows running in the background as well as sprint voice mail that I also have disabled. A few other apps that are never used as well. Seems to run nice and smooth, but it ran smooth before. Still waiting to see if there's any affect on battery life.

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] zeppelinrox:
That's weird that disabled apps are running :p

I don't see how the mod would change that behaviour...

Did you use the pm disable command?

But it does seem to be working :)

Just to show it's not placebo... I ran your original and modded jars through dex2jar to get the java class version... and this is what jd-gui shows...

Stock Sense:

Non-Sense Mod:

ooOOOooohhhh... the 50s... four of a kind...

Winner Winner Chicken Dinner!

I decided not to mess around...

So made sure 50s got applied... No Ifs, Ands, or Butts!
[Sprint HTC EVO 4G LTE] jeffsanace:
What I see through a series of testing is that the current and last app don't reload, but all others do. Right now I have 7 apps running and switching between them all reload except the current and last. I'm showing 177 mb free with those running so that's a plus.

Bad Seed Customs

Just Sick!
[Sprint HTC EVO 4G LTE] zeppelinrox:
hmm... would they normally reload like that on your device?

Can you run more than those 7 apps?
[Sprint HTC EVO 4G LTE] il Duce:
Yes they normally reload sometimes. The recent apps menu only shows 8,even if you open 50.
[Sprint HTC EVO 4G LTE] flex360:
of course its gonna reload

you need to edit the low memory killer

thats whats killing the apps. a simple services.jar edit wont do

set your minfrees to a lower value so that apps take a longer time to get killed
[Sprint HTC EVO 4G LTE] il Duce:
Thanks for the tip, also any values you'd suggest, also why did you post 2 extra jars in your mod?
[Sprint HTC EVO 4G LTE] flex360:
nothing major.

set all your minfrees to 20,20,20,20,20,20 using minfree manager for on the fly edit so u can test without restarting

all 20s will make each memory threshold low enough to keep apps open, plus keeping it running smoothly

plus there is an edit which has to be made in framework.jar also

remember htc added their own code on top of vanilla android

i copied some code from jellybean to get it to work properly. it takes alot of time and patience

lots of logcatting, lots of smali files comparisons and sleepless nights. but try setting all 20s

get minfree manager from the play store.

i would also recommend running a max of 8 to 12 apps. speaking from experience, sense 4.1 is bloated enough already. but your phone wont crash if you load too many apps, because those minfree values will kill them anyway if it goes below a certain memory limit
[Sprint HTC EVO 4G LTE] zeppelinrox:
Ah I spoke in haste... I was meant to ask if more than 7 apps can be loaded.

Yeah low minfrees help but if they are lower than 100, then you should be able to load apps until there is less than 100mb free.

Recent apps only shows 8... I changed it to 50... did you count right? LOL

geez... this Sense stuff is starting to get on my nerves :p
[Sprint HTC EVO 4G LTE] flex360:
Haha lol

See now I was right huh :)
[Sprint HTC EVO 4G LTE] vader860:
Under which circumstances would someone want to run 50 apps? Assuming that one could get 50 and still have some ram left over, performance would take a significant hit.

Wouldn't it be more practical to reach a balance between available memory and simultaneous apps? And instead of hardcoding a number have it be dynamic as it should?
[Sprint HTC EVO 4G LTE] flex360:
i doubt it will still work

the 50 will get overridden as soon as minfree kicks it :)
[Sprint HTC EVO 4G LTE] vader860:
Minfree should be overwritten unless its value comes from a function that computes a value based on other performance factors.

It is sort of like declaring a static array in programming when you don't know how much you will need. Either you hog too much resources, or you don't have enough. Dynamic dynamic dynamic! That will truly be multitasking.
[Sprint HTC EVO 4G LTE] flex360:
maybe you could do your own mod :P
[Sprint HTC EVO 4G LTE] vader860:
It would take hours to get an understanding on how multitasking would work because there are likely many dependencies and things to consider and account for.
[Sprint HTC EVO 4G LTE] flex360:
on to play some battlefield 3 :)
[Sprint HTC EVO 4G LTE] zeppelinrox:
The point is not to have a limit at all.

It's stupid to have an app limit anyway. It can never work consistently because some apps use more ram than others.

So I set a nonsensical limit (get it yet?) and let the lowmemorykiller do its job - you know... like how it's supposed to work.
[Sprint HTC EVO 4G LTE] zeppelinrox:
Under which circumstances would you like to be hampered by an app limit?

The point is not to have a limit at all.

It's stupid to have an app limit anyway. It can never work consistently because some apps use more ram than others.

So I set a nonsensical limit (get it yet?) and let the lowmemorykiller do its job - you know... like how it's supposed to work.

Performance would probably be better anyway.
[Sprint HTC EVO 4G LTE] vader860:
From a programming perspective that does not make sense, no pun intended. :)

Precisely because different apps use different amounts of memory, there should be no hardcoded limit, I agree there. But at the same time to allow memory to.get dangerously low that the low memory killer has to kick in is not good either.
[Sprint HTC EVO 4G LTE] il Duce:
Fyi "dangerously" doesn't apply here. That's the point of it, if you set a system limit (say 150mb) then it's never bad.
[Sprint HTC EVO 4G LTE] flex360:
You sounded pretty sure that you could get the 50 apps limit. Even tho I kept telling everyone that its not possible for sense 4.1. Everything has a limit. If you run a pc ram all the way max, it will freeze, same thing with a phone.

I kept telling people that the 50 limit will never be reached. Yet you made fun of my measly 8 to 12 apps limit and even made fun of my noobiness in deving. There was a reason why I recommended 8 to 12.

So I guess now I have redeemed myself that the script does nothing for sense 4.1 multitasking.

I know most of the devs on here have such huge egos that they would never pm me and ask me to help them. Again we appreciate you, no need to be on a high horse. I still will never claim to be a dev.
[Sprint HTC EVO 4G LTE] il Duce:
Please put that to bed. I'm pretty sure the 50 was to allow lowmemorykiller to control it, not to actually run 50 apps.
[Sprint HTC EVO 4G LTE] vader860:
Are you guys considering process priority so that apps are not closed at random when the lowmemorykiller is invoked? True multitasking should take this into consideration. And again, lowmemorykiller is an emergency situation when memory gets critically low. Modifying this to allow more apps is not true multtitasking since it can lead to instability.