yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok well I dug up something interesting...

lowmemorykiller.c https://android.googlesource.com/ke...3c6/drivers/staging/android/lowmemorykiller.c

static struct shrinker lowmem_shrinker = {

.shrink = lowmem_shrink,
.seeks = DEFAULT_SEEKS * 16
};
static int __init lowmem_init(void)
{
task_free_register(&task_nb);
register_shrinker(&lowmem_shrinker);
return 0;
}
static void __exit lowmem_exit(void)
{
unregister_shrinker(&lowmem_shrinker);
task_free_unregister(&task_nb);
}
module_param_named([SIZE=3][B]cost[/B][/SIZE], lowmem_shrinker.seeks, int, S_IRUGO | S_IWUSR);

vmscan.c https://android.googlesource.com/ke...2f8b0d4e3f1e1a7f47eddd0c0f7a644d9/mm/vmscan.c

#define SHRINK_BATCH 128
/*
* Call the shrink functions to age shrinkable caches
*
[COLOR=Red]* Here we assume it [SIZE=3][B]costs[/B][/SIZE] one seek to replace a lru page[/COLOR] and that it also
* takes a seek to recreate a cache object. With this in mind we age equal
* percentages of the lru and ageable caches. This should balance the seeks
* generated by these structures.

Cost is mentioned both code snippets.

The logic seems to mean that if the cost is high, seeks would occur less often and therefore have a less active/lazy ass lowmemorykiller.

On my phone the cost file contains the number 32.

The only way to be sure is to increase it to some stupid amount like 100 or more and run a crap load of apps :p
[Android Software/Hacking General [Developers Only]] acideater:
I haven't touched the lag nullifier yet.

I updated my ROM (Slim Bean 2.9.0) and kernel (Semaphore JB 2.5.0sv), used Supercharger Update 9 RC 11 Test 9 script. I ran the script (Busybox v1.20.2 installed) and followed everything step by step. Service.jar patched correctly, 3g and Misc tweaks installed without problems, kernel/virtual memory tweaks are rock hard, zipalign installed, fix emissions, wheel alignment, detailing... everything except OOM fixes and custom minfrees. My network service works great, maybe even better than before. No problems whatsoever.

Now... when I try to use Cust-OOMize, and OOM Grouping Fixes are in effect... I lose my network service. WiFi works fine, but my data shut off. I can't turn it on by any means.

I'm new to all this stuff so it's hard to connect the dots and locate the problem and I am reading the help file! :laugh: Thank you for your patience.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Firstly, thank you for your work on this as I used it before when using FREEGS3 Rom from teamsonic and it worked great. Is it normal for my GS3, now on FrostyJB, to be stuck on the SAMSUNG logo screen after running this script with a repeated vibration pattern occurring consistently the same way? I took out the battery and it just resumed after reboot.
[Android Software/Hacking General [Developers Only]] Kitschki:
Well it says something like 'your services. jar is patched anyway so who cares'. That confused me.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Apply one thing at at time with a reboot inbetween changes.

Did you use the latest script?

Did you patch services.jar?

I can't have a clue without any clues

Ah well that's what I abhor making changes... it requires going thru a 7000+ line script to update :p

That was written before I created Ultimate Jar Power Tools script and therefore, there was only 1 launcher strength patched in - Die-Hard and that was usually done with the now out dated webapp.

This is your launcher...

1 12576 de.foobarsoft.calendareventreminder

Your reminder will never die. Works perfect dude :)

From Google Play's description:

HAHA you suck at debugging lol

But then again, that freaking app sneakily hijacks home status as it seems it takes over the home key and immediately launches a launcher.

I may change the detection so that if it's patched and there is only 1 process with ADJ1, then that's what your default launcher is and therefore no need to search by name.

I couldn't do that before because detection wasn't as good as it is now.
[Android Software/Hacking General [Developers Only]] mixednuts:
Try wiping Dalvik / cache within recovery and reboot.
[Android Software/Hacking General [Developers Only]] zerkai:
Strange... I'm still able to reach as low as 80MB free ram and it gets laggy at around 100mb. Despite the script telling me I'm 100% supercharged and my minfrees matching up, it feels as though it's not using them. One main reason why I think this is that before I supercharged, my stock lmk values were: 32, 40, 48, 56, 64, 80 [\b]. Yeah, I don't know lol. What do you think zep? Oh well?
[Android Software/Hacking General [Developers Only]] sino8r:
Mahahhahahaha! I suspected that damn app last night but I checked Nova as default and it still didn't work. This time (since I knew it was the culprit), I unchecked it as default, disabled home helper option in calendar reminder app, rebooted, and voilà! Thanks for help, man! I feel like such a newb but am glad to have figured this out before hair loss, nervous breakdown, straight jacket, and becoming a resident in an insane asylum occurred ;) I guess it might be a good idea adjust detection IF this type of stuff happens a bit. It might be helpful for 3rd party lockscreen users and other calendar apps probably use this method. I don't know though... It's your call. Thanks again for all the hard work!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
hmm... ok try 100 and 125 in slots 1 and 2... weird indeed

Yeah I'm gonna see about actually detecting the situation.

But still... you should have double checked the boom stick days ago like the script says :p
[Android Software/Hacking General [Developers Only]] sino8r:
Hehehehe! I know! I was just staring at the darn com.teslacoilsw.launcher on adj=5 and was flabbergasted. (Warning! corny Zelda analogy approaching:p) Like when Link throws the boomerang at the moblin and it becomes all dizzy. I was the moblin :eek: If I was cool-headed and suave like Link or Zep... I could have actually looked at what was on adj=1 hahahha! As any good technician will tell you, the problem 90% of the time is always the most obvious, simple thing. I may need to rethink my profession lol!
[Android Software/Hacking General [Developers Only]] ludanatic:
bricked my Nexus

I bricked my Nexus S by using the Battery Calibrator i guess and dont have any idea what i can do now because i cant even boot into bootloader, it does nothing…

The Procedure:

I charged my Nexus up till it read 4185mV and then clicked Calibrate, i read that Nobol Trick but didnt tried that out, so i just left my phone with the battery inside and the charger plugged in. Then it should reboot but the power turned off and now its dead:crying:

Hope you got some ideas of what happenend exactly and whether i should use it as a paperweight or not…

EDIT: Found a Tut for unbricking in Nexus S Thread, trying it out now…
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Thanks, so I've tried everything I know to do, wiped Dalvik, wiped cache, tried restore from backup on sdcard but it says it cannot find data or image so I did a factory reset/wipe but still, the phone sits on the Samsung logo screen and repeats the vibration pattern. What can I try next?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
That's a new one.

Hey did you try pressing the POWER button?

Since you ignore my response I'll ignore this and pretend it never happened.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
My apologies, I didn't see your response Zepp. I forgot to check instant email reply so I had to come back and check manually. Yes I did use the latest Script and I did patch services.jar through the install process.
[Android Software/Hacking General [Developers Only]] ludanatic:
Are u kidding me?! Of course i tried everything, thats not the right situation to make fun of me.

And with everything i mean, pulled of Battery put it back again and tried to turn it on, tried to boot into bootloader etc.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Did you patch it yourself or get it from somewhere?

Did you try reflashing the rom?

Well I think it's funny whenever somebody over reacts and say it's bricked for any simple thing.

Anyway, simply deleting battery stats wouldnt hurt anything anyway since it gets recreated automatically.

The only other thing is if you wiped dalvik cache it sometime effects links2sd.
[Android Software/Hacking General [Developers Only]] zerkai:
No go. Still went under 100mb free ram. Any other suggestions? As of now I just need to manage my Recent Apps list and manually close things out before I reach the lagging point.
[Android Software/Hacking General [Developers Only]] ludanatic:
I think you didnt understand me. My phone does not react on anything, i can press the Power Button to start it up normally but it keeps turned off, the same when trying to get into the bootloader, my phone keeps turned off so that does mean it has no function at all. Or in other words: it is bricked.

EDIT: Figured out that my Battery is broken after trying a friends battery
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Actually there is one other thing.

A few pages ago somebody asked about the /sys/module/lowmemorykiller/parameters/cost file and how it may effect the lowmemorykiller.

Open up that file and change the value to 1 and see if it results in a more active lowmemorykiller.

If not, change it to 100.

It would be interesting if there is a noticeable effect indeed.

The battery just suddenly stopped working out of the blue?

To me it sounds like it somehow got totally drained.

If you plug in the phone with no battery, do you get the no battery graphic (with a question mark) show up after the logo?

If so, what happens when you put in the dead battery?

If the battery is indeed fubarred, I'd guess that the empty battery graphic wouldn't change.

Normally the phone would see it and start charging the battery starting at 0%.

So if the phone sees the battery and it doesn't charge, it may be worth looking at getting an external battery charger.

OH btw, don't charge via USB. Use a wall charger.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
I ended up fixing the issue myself by reflashing the stock rom through Odin and once I get another custom ROM running will try V6Supercharger again from scratch. But at least I managed to remedy my boot issue.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
That's what I suggested you do.

And you didn't answer an important question:

Did you patch it yourself or get it from somewhere?

I get the feeling that don't pay attention to detail.

nvm you're on ignore list now.

Next time you need help, forget it.

From now on, its your questions that get ignored, not mine.
[Android Software/Hacking General [Developers Only]] zerkai:
Default value: 32. Changing it to "1" didn't really seem to change anything. Got laggy around 90MB free ram. And "100" was doing some weird stuff... At around 140MB free ram (got no less than this), it just stopped letting me open new apps. I'd click an app and it just doesn't do anything. Then when I attempted to open an app from the Recent Apps list it would black out the screen.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Well, despite your rude responses to me, and even though you've got me on ignore I will still respond. I believe I did answer your question and that I installed it myself using your script and not from somewhere else, in my first post. Anyways, I still thanked you and am appreciative of your hard work with V6. Thanks
[Android Software/Hacking General [Developers Only]] mixednuts:
Correct me if I'm wrong, but I believe zep was talking about your services.jar - how did you patch it?
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Yes I do know he was talking about the services.jar

I'm not trying to be a **** here, it looked to me like part of the process of the V6 script offered to patch the services.jar file, which I said yes to, hence why I thought my response of using his script indicated my method of patching said file. Did I just see something wrong instead if so then all I did was run the V6 script with the default options through the process.

Again, I'm not trying to be difficult here.
[Android Software/Hacking General [Developers Only]] mixednuts:
The online / web way - via the script - of patching the services.jar is outdated. Using the windows patch tool is preferred, and after that running the most recent smali patcher on the patched services.jar is even better, but that's too complicated for some.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Yeah, I was wanting to use the windows patcher instead but I couldn't find a way to get my T999v GS3 to switch to mass storage mode so I used this method instead.
[Android Software/Hacking General [Developers Only]] mixednuts:
You mean switch mass storage mode, right? It has to be switched off.
[Android Software/Hacking General [Developers Only]] X-Nemesis:
Yes, my mistake, in the instructions it said:

[optional] the USB connection mode is NOT "mass storage" (for the online mode) - please set it to "Charge only" or "None" (varies from device to device)

So since I couldn't find that option to set to Charge only or None I opted for the ScriptManager method.
[Android Software/Hacking General [Developers Only]] mixednuts:
OK - well, for now, using the V6 script for patching services.jar can lead to weirdness.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Funny how putting someone on ignore for a bit makes them more alert and give more detail, eh? :p

Tho the webapp/auto transmission really shouldn't lead to a bootloop or do harm since it would do nothing on jb services.jars and do what it always has on ics services.jars - apply 6 basic changes.

Only wiping caches causes issues in some instances which is usually due to links2sd but I'm really not sure why else it could be if it's not that.
[Android Software/Hacking General [Developers Only]] mixednuts:
Honestly, I can't even remember what his initial issue was... was it boot loops?? :o

Yep... I keep forgetting that - one needs to be careful with all these app-2-SD type scripts / apps when attempting to clear Dalvik / cache. Though I'm not quite sure why they would pose a problem with SuperClean since it runs within Android?? For example, for my storage challenged phone I'm using IN2EXT+ and to wipe in recovery it's recommended that you use a separate flash tool (posted by the same dev) or else funny things might happen... like bootlooping. But, within Android... IDK??
[Android Software/Hacking General [Developers Only]] servabat:
What are differences between HTK, Die-Hard and BulletProof ? What should we choose ?
[Android Software/Hacking General [Developers Only]] mixednuts:
From what I remember the script explains their differences, doesn't it?
[Android Software/Hacking General [Developers Only]] servabat:
Sure it does, but it's not really helpful for kinda novice users as me. I can't really understand what is better for me. So I think I will use Die-Hard, but what do you use ?
[Android Software/Hacking General [Developers Only]] dark_knight35:
Bulletproof always stays in RAM, the others can get killed. Just use what fits your usage/phone best.
[Android Software/Hacking General [Developers Only]] mixednuts:
I believe zep posted guides for those who seek more information. I'm more interested in multitasking and I'm not too sure how stable my kernel is, so I use Die-Hard.
[Android Software/Hacking General [Developers Only]] riahc3:
This is going to be the stupid question of the thread but it says that sometimes compcache should be disabled.

What is and how do I disable it?

Sorry about the question :)
[Android Software/Hacking General [Developers Only]] a-id:
SuperCharger at Devil kernel

I've found it's really so, I increased delay to 120 second and now it works! Thanks! Can you increase delay by default? It will be useful for Devil kernel users...
[Android Software/Hacking General [Developers Only]] babylonbwoy:
Hi, I experience some freeze since I supercharger my Xperia S (Stock ROM .50 w Advanced Stock Kernel v16 by Arakamar). I'm 100% superchaged (patched jar with the windows automated tool).

No matter how many time I wait there's nothing to do but removing battery (power + vol up on XS) when it happends. I runed KAK too.
[Android Software/Hacking General [Developers Only]] ludanatic:
Now im quite confused because again it does nothing. I plugged it in without the battery as you said and there is no battery graphic or anything else at all. The only thing i see is that the light on my charger lights as usual when i plug my phone in to charge it.

Guess i have to wait till next tuesday to get a Nexus 4 asap:rolleyes:
[Android Software/Hacking General [Developers Only]] a-id:
I think it's too much of tweaks, remove KAK and try again, SC that's all you need (no offense to zeppelinrox :))
[Android Software/Hacking General [Developers Only]] Melidian:
Hi Zepp,

Sorry for the late answer.

The KAK output gives the following :

"================================================

| The... |

| -=Kick Ass Kernelizer=- |

| by: |

| -=zeppelinrox=- |

| zOOM... zOOM... |

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

\\\\ Update 3 RC10 ////

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

KAK applies DOZENS of integral...

...Memory and System Optimizations...

...regarding Kernel, Virtual Memory and Net!

...I/O Scheduler Tweaks Are Optional!

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

See /sdcard/!KickAssKernel.html for more info!

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

Current I/O Scheduler is in [square brackets]!

dm-0 noop [deadline]

dm-1 noop [deadline]

dm-2 noop [deadline]

mmcblk0 noop [deadline]

mtdblock0 noop [deadline]

mtdblock1 noop [deadline]

mtdblock2 noop [deadline]

mtdblock3 noop [deadline]

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

Make Foreground AND Background Apps STAY FAST!

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

With The MFK Calculator!

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

Key Setting That Impacts Typical Free RAM...

6 = Secondary Server ADJ

3 = Secondary Server Slot

75 = Secondary Server LMK MB

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

Balanced MFK Calculation Complete...

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

15360 = Customized MFK (min_free_kbytes)

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

Warning: Users say "Whoa, that's some good KAK!"

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

(K)ick Ass, Chew G(U)m, KAK (S)tick, E(X)it:"

Instead of "deadline", shouldn't it go to "sio" ?

Bye for now,
[Android Software/Hacking General [Developers Only]] mixednuts:
Depends on your kernel... not all kernels have the SIO governor.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya no problem

What minfrees are you using.

Any idea how much free ram you have when this happens?

That happened to me once. Reflashing the rom made it behave normally ie. the question mark battery would show up if it's plugged in with no battery.

Something in the boot/startup process must have been fubarred.

Flash a kernel with sio :p

You only have noop and deadline available.
[Android Software/Hacking General [Developers Only]] joefrank:
Hey zepp figured out what was the problem with my media. for some reason when ai updated my busybox, I couldnt read my pics. But I have some apks that need busybox to be updated:banghead:

Flashaholic Brotherhood
[Android Software/Hacking General [Developers Only]] zeppelinrox:
which busybox version/build causes the issue?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hey so... check it... http://xdaforums.com/showthread.php?p=33748269#post33748269
[Android Software/Hacking General [Developers Only]] DroidofSpades:
Speed increase differences?

Hi zeppelinrox!

First, I would just like to say thanks to you! Anyway, I just got my very first android phone (xperia u), and updated to official ICS. I'm actually interested in rooting it just for the sake of running your V6 supercharger script. You said that it makes the phone faster, but may you please explain/define what you exactly mean by that? Obviously, yes, it will be faster, but what I mean is what will it make faster? An article at xda says " One of the perks of using this tools is that you will not longer have to wait for your home launcher (whichever this may be) to finish redrawing your screen." I already have Nova Launcher installed and the home UI is pretty fast and responsive. How can V6 improve my phone? Will it make my phone open apps faster? Open from sleep mode faster? Which aspects of the phone will be faster? I have read some of the comments and users say "it made my phone faster". How would you measure the speed increase? Like I said, I just have a new phone and its pretty good. I'm just not sure what aspects of the phone would be faster and how noticeable is it? APOLOGIES if I asked too many questions! I just wanted to clarify before trying it out! :)

BTW, other users could jump in and tell me about their experiences with v6! :)

Thank you all!
[Android Software/Hacking General [Developers Only]] orbital_71:
Pls delete the op quote
[Android Software/Hacking General [Developers Only]] Amel.Spahic:
Well, I am sure that our "Merlin" will answer the questions you asked, but don't make him angry, he could snap and call you names :D..Seriously..

There is about 16000 posts with experiences about v6 supercharger, so just read and read and read..and you will find some interesting stuff..or you can "Search this thread" for Xperia U and maybe find experiences related to your phone model..

Anyway, good luck with rooting and ULBL-ing :D..

EDIT: Please don't quote such big posts. A lot of us are using XDA apk, so we have to scroll a lot through those posts :/
[Android Software/Hacking General [Developers Only]] Pitbull_Raven:
I'm trying to figure out if the Die-Hard battery calibrator will work on a HTC Desire, but I can't find the documentation for the script. Can anyone please help me? I'm trying to find a way to either calibrate the battery or get rid of the annoying 15% shutdown problem. Was told maybe this script could help.
[Android Software/Hacking General [Developers Only]] DroidofSpades:
Thanks

Hey man,

Thanks for reply and feedback. I only asked this because although I have read a lot of the comments and found out that it actually works and "increases" performance, I was only wondering what kind of speed and performance increases are the users talking about? Do they mean apps open quickly? I already have nova launcher and find it pretty snappy, so I am unsure what V6 could increase in my new phone, and how noticeable it is.

What about you? What are your experiences? I'm sure you are enjoying zeppelinrox's script? :)
[Android Software/Hacking General [Developers Only]] noradoor:
My friend,why not just give it a shot then you'll realize how it works.(but carefully read the caveat and follow the instructions)

And I do think you still need to find out the answer yourself by browsing this thread.

Anyway,for me,I'm using Xperia mini pro with FXP CM10,and after supercharging my phone,it's getting more responsive.

for instance,it's faster while opening apps,setting my settings and browsing files and so on and so on.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Here's an idea - Don't ask so many ignorant, lazy questions.

I'm not your mom.

D on't bother me with your lazy attitude of entitlement.

Take a year to get your head out of your ass, then come back with something that isn't annoying beyond belief.

Oh I woke up this morning first thing I did is write up a user manual just for your device and emailed to you. Check your goaway@gmail.com email address.