yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Topogigi:
Here you go:

================================================
vrOOM Stick Verifier (Verbose) selected...
================================================

=================================
----=== zeppelinrox's bOOM Stick Verifier ===---
=================================

Using vrOOM Stick Mode (Verbose)...

ADJ PID Process/Path (APK)

FOREGROUND_APP OOM GROUPING
===========================
-16 1	/init (/system/app/OneTimeInitializer.apk)
-16 1420 /sbin/ueventd
-16 2010 /system/bin/servicemanager
-16 2011 /system/bin/vold
-16 2012 /system/bin/netd
-16 2013 /system/bin/debuggerd
-16 2014 /system/bin/rild
-16 2015 /system/bin/surfaceflinger
-16 2016 zygote/bin/app_process-Xzygote/system/bin--zygote--start-system-server
-16 2017 /system/bin/drmserver
-16 2018 /system/bin/mediaserver
-16 2019 /system/bin/installd
-16 2020 /system/bin/keystore/data/misc/keyst
-16 2021 /system/bin/bintvoutservice
-16 2022 /system/bin/gpsd-c/system/etc/gps.xm
-16 2025 /sbin/adbd
-16 2718 system_server
-12 5409 com.android.systemui
-12 5572 com.android.phone
-16 7259 /system/bin/sh-
-16 7266 sh-
-16 9363 /system/bin/sh/system/xbin/v6sc

HOME LAUNCHER IS IN HERE! (ADJ=0)

0 8661 com.google.android.gm

VISIBLE_APP OOM GROUPING
========================
2 5531 com.android.inputmethod.latin
1 5594 com.teslacoilsw.launcher (/data/app/com.teslacoilsw.launcher-1.apk)
3 5677 com.android.smspush
9 5712 com.google.process.location
9 5733 com.android.location.fused
6 5750 com.google.process.gapps
3 5845 com.android.bluetooth
8 6451 android.process.acore
9 6597 ccc71.bmw.pro (/data/app/ccc71.bmw.pro-2.apk)
2 6619 neldar.bln.control.pro (/data/app/neldar.bln.control.pro-1.apk)
6 6885 com.asksven.betterbatterystats (/data/app/com.asksven.betterbatterystats-1.apk)
11 7485 com.anddoes.fancywidgets (/data/app/com.anddoes.fancywidgets-1.apk)
15 7575 com.android.calendar
13 7824 com.google.android.googlequicksearchbox
13 7956 com.google.android.apps.maps:LocationFriendService
15 8354 com.google.android.gsf.login
9 8700 nextapp.systempanel.r1 (/data/app/nextapp.systempanel.r1-1.apk)
5 8747 com.android.contacts
15 9048 com.android.providers.calendar
6 9081 com.google.android.apps.maps (/data/app/com.google.android.apps.maps-2.apk)
6 9138 com.bel.android.dspmanager
6 9157 com.teamhacksung.tvout
15 9172 com.rdr.widgets.core.greader (/data/app/com.rdr.widgets.core.greader-1.apk)
15 9187 com.google.android.apps.reader (/data/app/com.google.android.apps.reader-1.apk)
6 9219 android.process.media
6 9249 com.google.android.apps.maps:GoogleLocationService
15 9271 com.google.android.apps.maps:FriendService

SECONDARY_SERVER OOM GROUPING
=============================

HIDDEN_APP OOM GROUPING
=======================

CONTENT_PROVIDER OOM GROUPING
=============================

EMPTY_APP OOM GROUPING
======================
================================================
zOOM Stick Complete!
================================================

This is with the following adj parameters:

#> echo 0,3,6,10,12,15 >/sys/module/lowmemorykiller/parameters/adj

gives:

#> cat adj

0,176,352,588,705,1000

these are the corresponding oom_score_adjs
[Android Software/Hacking General [Developers Only]] skezza:
OK so im slowly getting there. I've run the script and its done its thing. Very nicely written by the way :D

Now im doing the patcher. I'm getting permission denied at the end when it needs to do the Services odex and services_new odex etc.

Can I simply go ahead and rename services_new to services???

Edit: ohhh. do I need to De-Odex?

Thanks

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

I also get the error

adbd cannot run as root in production builds... sounds like it could be that.

---------- Post added at 12:02 PM ---------- Previous post was at 11:38 AM ----------

Is it because I'm using a rooted stock ROM?
[Android Software/Hacking General [Developers Only]] TheDynamiteGuy:
hey everyone,what is recommended minfree setting for hard gaming 350mb ram
[Android Software/Hacking General [Developers Only]] sweeds:
Is there a method to prevent specific apps from being killed too quickly/easily?
[Android Software/Hacking General [Developers Only]] kbraiza:
Make the apps you require to survive bulletproof, it's option 16 on Driver's Console.

Edit: Almost forgot, just like we are bulletproof, we survived the end of the world yet again. It's getting quite boring, what was it, 5 times this year?

Xperia Pro mk16 @ Tapatalk
[Android Software/Hacking General [Developers Only]] skezza:
Anyone got suggestions for what I said above?
[Android Software/Hacking General [Developers Only]] kbraiza:
Patience, you will eventually get your answer from zep or someone else who either knows about it or has gone through that before.

From what I remember you don't need to deodex. The adb not being able to run as root I'm quite sure it's been answered before, try searching for it (would do it for you but I hate tapatalk's search on my tinny winny screen).

Xperia Pro mk16 @ Tapatalk
[Android Software/Hacking General [Developers Only]] skezza:
Thanks for your reply. Yeah, Ive tried searching, as with any forum, the larger the thread, the more broken the search becomes, so searching for individual words throws up huge results, searching for the whole string throws up no results and one or two words throws up totally unrelated results :(

Im starting to think I'll have to flash a non-stock kernel, run the script, then reflash another kernel, but that could **** everything up :( fun hey? I'd rather avoid deodexing.

---------- Post added at 03:18 PM ---------- Previous post was at 02:56 PM ----------

If I flash a CF kernel, then flash back to stock, will this work?
[Android Software/Hacking General [Developers Only]] moparfreak426:
I must ask.... I used this back on gb and loved it lowered my ram and now i wish to lower ram on my samsung epic 4g touch running jb. Is there just a flashable zip?

Sent from an Apple killing JellyBean
[Android Software/Hacking General [Developers Only]] mixednuts:
Nearly... zep's worked hard on his new Ultimatic patcher. Give that a try. Although, I believe there are still some quirks that need to be sorted out for JB and odexed ROMS, but in either case give it try and report your results.
[Android Software/Hacking General [Developers Only]] da__beast:
No - when you flash a kernel you have to re-supercharge. Kinda defeats the reason for your flashing kernels.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
HEY no swearing!

So what if it made me lol... don't matter :p hehe...

Why they gotta make more work for me :p

1. Ok so the app's /proc/<pid>/oom_adj is still the same in that it give's it's ADJ priority #

2. What happens if you do:

#> echo 0,1,2,4,7,15 >/sys/module/lowmemorykiller/parameters/adj

#> cat adj

I'd like to see what spits out so I can compare.

3. Is there an oom_score_adj file anywhere? If so where would it be

4. Do:

ls /sys/module/lowmemorykiller/parameters

cat /sys/module/lowmemorykiller/parameters/*

And for one of the running apps, such as the launcher do:

ls /proc/<pid>/

ls /proc/<pid>/*

So basically, I need to know all the files and the contents of each file located in:

/sys/module/lowmemorykiller/parameters

and an apps pid folder

As mentioned above, and app's pid folder would have an oom_adj file.

There would be a cmdline file too but need to know what else is in there.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No I'm not junking anything.

First thing's first - gotta refine the mod so that the memory management isn't hampered and works how it's supposed to while supercharging the launcher and I'm pretty sure I have it now.

Some parts of the code should indeed stay the same such as the memory trimming and the calculation to determine if there is a lowMem condition.

In the source, they specify the memory level belonging to home.

But in the smali, what matters is the memory level belonging to ADJ 6.

So if I leave that alone, it's still working the way that it's supposed to - using the memory level corresponding to ADJ 6 - it doesn't matter if ADJ 6 belongs to home or server apps - as long as it's using the right memory level to determine a lowMem condition.

Same goes for trimming apps - it wants to trim apps according to the memory level corresponding to particular ADJs - and it don't matter what group that ADJ belongs to.

That's probably why the smali is coded that way. It doesn't grab the ADJ all the time from ProcessList and instead sets a value each time.

The

only

ADJ that can be changed once and it will have an effect everywhere is HIDDEN_APP_MIN_ADJ.

It gets fetched from ProcessList every time.

So that's THE the setting that everything else revolves around.

So in other places, ADJs can be changed so long as it doesn't have a bearing on things like trimming memory or killing background tasks.

Of course, after patching services.jar, if it wants to trim ADJs 6 or 7... it will be still be trimming those same ADJs - but it will be trimming server and backup groupings instead of home and previous app.

You don't like that idea but that's the whole point of SuperCharging the launcher - it don't get killed until it's needed to get killed :p

So the apps you used awhile ago get killed before the launcher instead of the other way around.

As for the bootloops, I've been making alot of changes and haven't had one yet.

I had them when I was first trying to figure things out because of "logical" errors that occured due to changing one thing but totally messing up the logic of related if/else conditions like the code above.

Of course I was also more cautious and not wanting to change too much because I wasn't that confident that I wouldn't bootloop.

Now I'm bypassing stuff, changing if/else conditions and whatever... as long as it makes sense it boots :cool:

And like I said before - it's entirely possible to customize ProcessList.smali to put the minfrees you want in there by changing the first array - and disabling the scaling factor.

No need to mess with the second array because with scaling disabled, the first array gets applied as is.
[Android Software/Hacking General [Developers Only]] sdojoin:
Its weird u're still not an RD/RC yet zepp. Sriously, weird..;)

Regards,

sdojoin
[Android Software/Hacking General [Developers Only]] zeppelinrox:
What's weird is how the OP is empty and I have 3,000 thanks for post 4
[Android Software/Hacking General [Developers Only]] skezza:
Ok, ill avoid that then.

Any idea what I can do ? Otherwise ill have to reverse the V6 script, basically the first step lol :( I am still getting abdb can't run as root on release build or whatever.

Please help anyone :(
[Android Software/Hacking General [Developers Only]] mixednuts:
Did you wipe it out, or was it always like that?? :confused:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I noticed it today. I kinda freaked.

Then I noticed that the OP is in post 4 for some reason. Then I kinda laughed.

Lets see how many complain about how messy it is now :D

Edit: OH YEAH... so if you already clicked the thanks button on the OP... you can do it again lol
[Android Software/Hacking General [Developers Only]] sdojoin:
With that all been figured out, zep i got a Q, how do i supercharged 2 launcher??

Let me elaborate, Xperia Play got 2 primary launcher. 1 the potrait app drawer launcher, 2 xperia play suite launcher. But since x-play suite didn't came up as a launcher the v6 supercharger only detects the potrait launcher. Only the potrait launcher got supercharged. So now i can't play games without having lags when i'm supercharged. Ergo, the Q.:(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Whatever is default is protected.

Its name doesnt matter.

What is the process name? Looks like I gotta add that to the list so the detction routine looks for it.

Soon there will be an update which would resolve the lag that some users report.
[Android Software/Hacking General [Developers Only]] skezza:
Damn ok :(

Hey zep,

can you help me? I'm getting this adb refusing to run in root issue as I noted in the original post? Is it because I'm on a stock kernel ?

Any help would be great, I really want to try this supercharger
[Android Software/Hacking General [Developers Only]] da__beast:
After a quick Google search there are two things to try...

run this command from a command prompt

you must be in your tools folder (example: C:\sdk\tools\)

adb shell

mount -o rw,remount -t yaffs2 /dev/block/mtdblk4 /system

This should allow you to run in root.

Second is....

The terminal app may be requesting SU access and it isn't getting approved (either timeout or persistent denial).
[Android Software/Hacking General [Developers Only]] skezza:
Bad news :( :( I did keep my on the screen and it seemed to be granted every time :( this is the output

Creating new services.odex...

Unable to create '/system/framework/services_new.odex': Permission denied

Applying "special sauce" to services.odex...

dd: can't open '/system/framework/services_new.odex': Permission denied

remote object '/system/framework/services_new.odex' does not exist

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

Installing patched services.odex!

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

failed on '/system/framework/services_new.odex' - No such file or directory

rm failed for /system/framework/services_new.jar, Permission denied
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Dunno how but the OP and post 4 got switched.

Figure it's nice and neat now.

Plus, the 3,000 people that clicked thanks before have the chance to click thanks again :p

Ah yeah somebody else had that problem and was working on a fix but then they flashed a different rom so that kinda killed the testing.

You're using RC5 right?

It might have to do with the mounting system, rw tho.

do in terminal or adb:

mount | grep system

mount | grep framework

Just in case framework is somehow mounted on a different partition.

Not likely but I've seen weirder things.
[Android Software/Hacking General [Developers Only]] Kitschki:
Wait.. Why does the buildprop entry still say that my services.jar isnt patched yet.. And why do the settings in the script stick then o. O please dont snap and call me names cuz i think that its okay to waste your time :(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No that's just information saying that the ADJs that used to go there don't work anymore.

Just go with the the V6 Script tells you.

The reason that I put that information in there is that some *ahem* devs were still putting ADJ entries in build.prop or local.prop and making users believe that they still do something when they really don't :p

Some tweak packs (intended for ICS and JB) are still putting ADJs in there telling users that it will lock home in memory... what a joke.

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

btw my brain just turned to mush... testing the new changes in the ultimate jar power tools script... on over 20 services.jars...

It looks like jellyicebreadyo... god..
[Android Software/Hacking General [Developers Only]] Kitschki:
Oh i see always these "devs" -_-
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep!

Ok Check it... updated the OP...

lulz
[Android Software/Hacking General [Developers Only]] warhead1978:
Hello

and first thanks for the script ...

I have a question for build.prob entries ...

from script :

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=48m

is double in there, from original

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

what should I do ? remove the old one ?

or isn't it necessary ?

MfG
[Android Software/Hacking General [Developers Only]] skezza:
OK, well I won't be flashing a new ROM because I have to use a stock ROM but I'm glad that you've seen this before. Is it to do with the adbd not running in root??

Anyway, tried your suggestions, no luck I get this:

Is it possible to push the files manually via root explorer or something, if you could tell me where they are temporarily stored?

I really want this script working grrr lol :D
[Android Software/Hacking General [Developers Only]] elzafir:
Lord Zep,

Thank you for your mod. It has been the potion that keeps my Motorola Droid R2-D2 bearable to use. Now i finally can afford a new phone and will be getting the Nexus 4 in a couple of weeks. My question: would the nexus 4 benefits from applying the V6?

Thanks brah.

Sent from my DROID R2-D2
[Android Software/Hacking General [Developers Only]] bbrad:
Please guuuuuuurl every phone can benifet from this mod. So yes it will benifet from it on what extent IDK
[Android Software/Hacking General [Developers Only]] zeppelinrox:
My build.prop entries come later, correct?

If so those are the ones in effect since they run last.

But if you want you can test and take mine out and see if it works better for you with dalvik.vm.heapsize at 48m or 128m

Well services.odex has to be created on the device itself with the dexopt-wrapper tool.

At first it was done on the sdcard and it would get created and get pushed to framework just fine but some user has bootloops :p

Then I read up some more on possible quirks and stuff so I can do up a test for you to have it done on the sdcard but with my newer knowledge :p

btw are you using the latest windows exe?

Probably :)

Load it up with apps and see how well it multitasks - users with the newer phones still patch and supercharge for the multitasking mods.
[Android Software/Hacking General [Developers Only]] skezza:
Yeah, used both the exe and the bat version. Both rc5. I don't mind running the risk of boot loops lol :) I can always reflash stock and I take titanium backups lol, so yeah I'm happy for any suggestions. I think with step 1 only complete my phone is running fairly similar to before Lol :p

I'm really hoping we get it working though hehe :D
[Android Software/Hacking General [Developers Only]] PATRiOT96:
If I don't patch services.jar I am only going to get 50% supercharged right?

Sorry to ask, but I find your thread really confusing... Still your work is amazing, keep it up.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] rico13:
apparently it's as easy as 1,2,3

lol
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Read the script output and learn. It's not a race.

Ok try this.

If that don't work, I'll try doing the odex part on the /data partition.
[Android Software/Hacking General [Developers Only]] skezza:
Hey thanks dude, I'll give it a try now :D

Im not too worried if I nail my phone lol, like I say, its a reflash away from being alive again xD
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well I hope it works because this odex stuff on some devices is really annoying :p
[Android Software/Hacking General [Developers Only]] skezza:
No luck again buddy :( Thanks very much for trying though, I'll keep trying see if I can push it in the right direction, heres the output so far:

Ends at this point, goes no further.

Do you think its worth simply deodexing my ROM?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh it may be something wrong with the exe lemme check it out

Attach the ultimatic_lot.txt

edit: ran fine over here. Which windows version are you on?

Maybe you have to run it as admin?

edit 2: ok try the batch version in the attached
[Android Software/Hacking General [Developers Only]] PATRiOT96:
I was following this tutorial: http://xdaforums.com/showthread.php?t=1603953

When I finished part II, I try to run Script Manager I get FC. What can I do? :/
[Android Software/Hacking General [Developers Only]] skezza:
Windows 7 Home Edition 64bit
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Script manager ran fine before?

Fix permissions usually fixes it.

You can try running the script in terminal emulator too.

If the V6 script is on the root of the sdcard you can type in terminal

su

sh /sdcard/V6*.sh

Yeah try admin but I also attached a batch file version in my prior post.

So try that too.

edit: If the previous zip batch version doesn't work either it must be the sh.exe that your windows doesn't like.

So if that errors the same way, this one should work... it's just that the sh.exe in this test is HUGE :p
[Android Software/Hacking General [Developers Only]] aventu:
Is there a known bug with Android 4.2.1? I only get 75% (missing oom grouping fix). I tried CyanogenMod and stock (de-/odexed).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh yeah i still need more info tho.

Read this

http://xdaforums.com/showthread.php?p=35737497#post35737497

Maybe you can answer my questions found in that post.
[Android Software/Hacking General [Developers Only]] shantam:
How can i manually select nova launcher as default launcher
[Android Software/Hacking General [Developers Only]] UpInTheAir:
Maybe Nova has it selected in its settings,

Or,

Phone menu / settings / applications / all / nova > set as default (you may have to clear default from your current launcher first, then try)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I previously mentioned that I'm fixing all those if/else conditions.

ya but that's a memory trimming routine. So I left that as is so it effects server apps instead of home.

I went over it top to bottom and fixed everything that didnt "add up".

as peviously stated I made changes on a case by case basis while looking at the big picture.

As for the hidden app min adj, its treated different because they always put it in the static construcor in processlist.smali.

Its intentional.

Some roms put max hidden apps in the constuctor so to change max hidden apps in those roms, only 1 edit is needed and gets applied everywhere just like hidden app min adj.

Have you ever seen post 2? Youre nearly a year behind plus you're telling me what ive taught you.

And how can it be half baked when you just said the processlist entry has no effect?

As for what diectly makes the launcher hard to kill, read post 2 because you no idea that it already supercharges because youve never actually supercharged.

so what part of "I fixed the if conditions" is confusing?

wrong again.

If you ever read page 1, you'd know that "keep home in memory" merely gives the launcher the same ADJ as visible apps on pre-ics roms.

Now it applies a ADJ 2 on ICS and JB.

Ever read anywhere that you can use that keep home in memory featue as a tool to make the launcher weaker if needed?

Please... do your homework.

You don't have the experience so now you're spreading misinformation due to ignorance.

Clearly, you're not qualified to speak about that topic.

No.

I make the scale 0 and the only thing left in the equation is the low value - the lower set of minfrees ie. the first array.

Correction.

YOU can't

I CAN.

The only reason that you think that is because you don't listen and because you think that you know everything already.

I just proved you wrong.

You don't know everything.

The test zips I posted yesterday actually have the new changes.

Compare before and after smalis.

You wont find anything broken, and that's a fact.

Talk after patching your services.jar.

Otherwise, whatever you say about it will be all wind with no real experience to back up your hypothesis.
[Android Software/Hacking General [Developers Only]] Cristiano Matos:
Do I need to run supercharger in script manager or just put it in init.d folder will work?

I'm using in i9300.
[Android Software/Hacking General [Developers Only]] da__beast:
Start by reading the first post - see where it says to do what.
[Android Software/Hacking General [Developers Only]] jr_718:
Welcome to the jungle..lol

Answer is yes.. Use script manager.