yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] flipper12:
[Q] How to install KAK?

Okay, first off, I want to say I LOVE the Supercharger. It works BETTER than anything (AAM, ATK, whatever you want to call them) I've used previously for my rooted Photon. It's eliminated keyboard lag altogether and made me "Re-fall" in love with my phone again. So for that, THANKS ZEP!

Now, I have a question for how exactly do I install the KAK (I tried doing a forum search but couldn't find an answer). For my Photon, I'm rooted but running a stock ROM. With Supercharger, after selecting the various options from the menu, I had to navigate to the 99SuperCharger.sh script, and select to "Run as root", and "Run as boot" to install on a Stock ROM, but what about the KAK script? http://xdaforums.com/showthread.php?t=1317851

After running the KAK script, it creates a '98KickAssKernel' file in /system/stc/init.d located where the '99SuperCharger' file is. To get this running all the time, am I supposed to select the 98 file and have it 'Run as root' and 'Run at boot' too like I did with the Supercharger file since I'm running a stock ROM? Will there be a conflict with the Supercharger file? Or is it already automatically integrated within the build.prop or some other system file somewhere else?

UPDATE: Never mind - figured it out. I should have read the post in the link I provided more closely.... Moderators, please delete this post if you feel it's necessary.
[Android Software/Hacking General [Developers Only]] korri:
Updated the post with the results after KAK. To me there's really no difference based on the benchmark results. I don't either "feel" the phone different.

HTC Desire has 512MB RAM. The script says 405 MB of RAM and recommends 512 HP settings.

What do you recommend to try next?
[Android Software/Hacking General [Developers Only]] skatin707:
I use the balanced setting (middle option. It works really well for me. I recommend that setting then an engine flush.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Glad you like it and that you got it figured out :)

oh ok. Well they are still higher than without my scripts.

Also for consistent results, I use performance governor so there is no fluctuation of cpu speed.

Its worth noting that the effect isn't always instantly obviouse.

A friend with an atrix at first didn't see anything different.

He had it running for a month or so and was used to how it performed and was satisfied.

After an update, he unsupercharged for a couple of days due to a data connection issue.

I was happy to hear that he was very annoyed with hesitations and unresponive buttons while unsupercharged and he was happy when I figured out why the data stopped working and fixed it so data worked again with supercharging :D
[Android Software/Hacking General [Developers Only]] andyman_187:
Hi, I am on an Atrix running CM7 Ba2tF on faux123's OC 1.3ghz kernel and I recently installed this script. I must say, I am very very impressed. A quick question though, is it alright for me to switch between kernels, since I would like to go back to faux123's enhanced stock kernel, without having to uninstall/reinstall the script? TIA!
[Android Software/Hacking General [Developers Only]] eugenechiuu:
It doesn't work on mine ><.... Phone crashed immediately after reboot, everything had to force close... Had to restore back ><

I am using Xperia Play on 2.3.4 and am on Doom's Kernel....

EDIT* managed to get it work, it seems that beta version didn't work for me, I used back the older version instead...

It's working now, but somehow there's still a lag when pressing home screen to brightening up the screen to show lock screen, is that normal?
[Android Software/Hacking General [Developers Only]] korri:
Hmm...I suppose you have a SAMSUNG-SGH-I997. Do you mean option 6 (Ledded/Balanced):

echo "==================== 512 HP ===================="

echo "5. UnLedded (Multitasking){6,12,40,50,60, 75 MB}"

echo "6. Ledded (Balanced){6,12,55,70,85,100 MB}"

echo "7. Super UL (Aggressive){6,12,75,90,95,125 MB}"

Which ROM/kernel are you using?

---------- Post added 9th November 2011 at 12:19 AM ---------- Previous post was 8th November 2011 at 11:43 PM ----------

I think these are not the same. I've been told that the OOM killer does not kick in till late in the low memory situation, i.e. till all the cache is emptied. Android wanted a solution which would start early while the free memory is being depleted. So they introduced the "lowmemory" driver, which has multiple thresholds of low memory. In a low-memory situation, when the first thresholds are met, background processes are notified of the problem. They do not exit, but, instead, save their state. This affects the latency when switching applications, because the application has to reload on activation. On further pressure, the lowmemory killer kills the non-critical background processes whose state had been saved in the previous threshold and, finally, the foreground applications.

Keeping multiple low memory triggers gives the processes enough time to free memory from their caches because in an OOM situation, user-space processes may not be able to run at all. All it takes is a single allocation from the kernel's internal structures, or a page fault to make the system run out of memory. An earlier notification of a low-memory situation could avoid the OOM situation with a little help from the user space applications which respond to low memory notifications.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Depends on if it overwrites system files.

You can use the resupercharge feature to restore all your settings.

There is a good atrix thread/how to as well.

Did you use rc3.2?

Dunno about scrfeen brightness you're on your own on that one.

Sounds a lot like Taming The OOM Killer

I linked to it on page 19 as well as other resources http://xdaforums.com/showpost.php?p=12436880&postcount=189

However, you missed a little bit...

Anyway... yeah... I had my mind elsewhere yesterday due to somebody stealing my work... so shot off a quick reply to your question without really thinking about it :p
[Android Software/Hacking General [Developers Only]] eugenechiuu:
Yup, rc3.2 didn't work for me.. Crashed the android OS... used v8 and it was fine... So far I still find it quite similar to the autokiller memory app... Let me try it tmr and come back...
[Android Software/Hacking General [Developers Only]] evilRafael:
I recall using this on my Milestone. Modders I talked to were pleased with Supercharger, but I must admit I had mixed results. Sometimes the device would refuse to run games it ran before, so I had it unsupercharged later.

Anyway, now I decided to try this out on the Xperia neo.

First problem I had, the minfrees didn't stick. After boot, it said Launcher was hard to kill, but the minfrees settings were the same as before I ran the script (6,8,16,etc.). So I digged further into the info on post #1.

Off to running /data/99SuperCharger.sh on boot. It took me a while to find it (oddly the root of my internal memory only displayed about 4 folders or so on Script Manager, so I started looking for the folder on Root Explorer, found it, when I came back to Script Manager, it was there all along). When I did find it on Script Manager, it seemed to behave like it should. Rebooted, ran the Supercharger script, there it was, Aggressive 1 was on.

I have a question about MegaRam, perhaps someone can help.

Specs on the Sony Ericsson's website and GSM Arena state the Xperia neo sports 512mb RAM. This is cool but AnTuTu Benchmark and ES Task Manager say otherwise: I get variable readings, from 298mb to 333mb RAM. Great, I can't tell how much RAM my device has. Possibly these readings only include a part of RAM intentionally? Perhaps some of the RAM is reserved for specific tasks? I don't know.

According to the ES Task Manager widget, my device usually has 60-160MB free ram (before supercharging).

So, do you think these readings make my device not eligible to MegaRAM supercharging? How can I find this out?
[Android Software/Hacking General [Developers Only]] GreggoryD502:
Just wanted to say great work zep. Made my vibrant even more buttery smooth. Thank you!
[Android Software/Hacking General [Developers Only]] youngpro83:
What can I do if the settings don't stick after reboot?

Sent from my Beastly EVO.. And did I mention it has 3D?
[Android Software/Hacking General [Developers Only]] vj_dustin:
Lmaooo.. xD

The script was hilarious.. (!!..POOF..!! on restart)

gr88 job btw buddy.. :D
[Android Software/Hacking General [Developers Only]] Drunkpilot:
What does the b represent... oh.. best ever!!

The B_oom stick stands for: "This is my BOOMSTICK!" I'll chalk that up to lack of sleep on your part. But hell yes, it is the best ever and because of this, I don't even think about an upgrade. Well, the leaked Edge pics and quad-core guts do make some blood rush to my nether regions. Speaking of boomstick...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Use U9 3.2.

Read recommendation. Try it. If you don't like it unsupercharge.

Its not that complicated.

read the op or script output or help file.

Yes of course I know BOOMSTICK but too many won't "get it" lol

So buttery (smooth) OOM Stick? lol
[Android Software/Hacking General [Developers Only]] acestars:
sorry for my late reply, my devices still rebooted after lockscreen but sometimes i can open my lockscreen but my devices is hang, and after several minutes it will rebooted.

when i use logcat it will reboot before executing this code

for i in /sys/block/*;
do
if [ -f "$i/queue/rotational" ]; then echo "0" > $i/queue/rotational; fi;
if [ -f "$i/queue/iosched/low_latency" ]; then echo "1" > $i/queue/iosched/low_latency; fi;
if [ -f "$i/queue/iosched/back_seek_penalty" ]; then echo "1" > $i/queue/iosched/back_seek_penalty; fi;
if [ -f "$i/queue/iosched/back_seek_max" ]; then echo "1000000000" > $i/queue/iosched/back_seek_max; fi;
if [ -f "$i/queue/iosched/slice_idle" ]; then echo "0" > $i/queue/iosched/slice_idle; fi;
#if [ -f "$i/queue/nr_requests" ]; then echo "512" > $i/queue/nr_requests; fi; # no exist
if [ -f "$i/queue/iosched/fifo_batch" ]; then echo "1" > $i/queue/iosched/fifo_batch; fi;
if [ -f "$i/queue/iosched/quantum" ]; then echo "16" > $i/queue/iosched/quantum; fi;
done;
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok I think I have it worked out.
[Android Software/Hacking General [Developers Only]] Ciggy33:
Hey guys

I was just wondering whether I'm doing anything wrong but I'm running all the new versions of the scripts and after a while all my sounds seem to stop working.

I have searched the forums and could only find one guy who had the same problem with his droid eris. I'm currently using the wildfire and Cyanogen 7.1.
[Android Software/Hacking General [Developers Only]] seekified:
I ran the script a few minutes ago but the minfrees don't stick after reboot. I tried setting 99SuperCharger to run at boot, but it didn't exist. I think I've found the problem - when I run the installation script, I get:

cp: can't create '/system/etc/init.d/99SuperCharger': Cannot allocate memory

/sdcard/V6_SuperCharger_for_Android-update8.sh.txt: cannot create /system/etc/init.d/99SuperCharger: not enough memory

Unable to chmod /system/etc/init.d/99SuperCharger: No such file or directory

Unable to chmod /system/etc/init.d/99SuperCharger: No such file or directory

Apparently I only have 4.66MB left on /system. :eek: Any ideas on what I can safely delete to make more space?
[Android Software/Hacking General [Developers Only]] indigobv:
I can't manage to make V6 SuperCharger U9 RC3.2 work along with Darktremor A2SD 2.7.5.2-1 on CM7 6.5.8. After the installation of V6, it works well, but when I add DT it stops at second LG logo(I've been waiting more then 20min). I've tried to use V6 with S2E as well, but after reboot S2E doesn't seem to find my SD-EXT partition, even if CM7 has a mountsd script in init.d. If I try to use them one by one, they all work, but never V6 with DT or S2E.

I am going to install V6 Update 8 and DT to find it they get along, but it would be more usefull to make Update 9 to work.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thats enough space.

Which busybox version do you have?

what if you supercharge last?
[Android Software/Hacking General [Developers Only]] seekified:
I used 1.18.2 as instructed. :) I've taken a few APKs off and re-flashed the ROM now anyways, will give it another shot.

EDIT: Put busybox 1.18.0 on this time. Running script now.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok cool.

You can also try the latest U93.2 script as that accounts for a lot more scenarios.
[Android Software/Hacking General [Developers Only]] Drunkpilot:
That seems like enough space for the script, but maybe I'm wrong. You could use titanium backup to backup, then uninstall some apps out of system apps. Or, you could use root explorer and delete some bloat out of the system as well ( maybe some themes you don't use like androidian or cyanobread if you are using a cm7 based rom, a file manager or other app).

Is r/w mounted in script manager? I wonder if that could be an issue. Just my $.02. Donate the other $.98 to Zepp!
[Android Software/Hacking General [Developers Only]] seekified:
Ran the script again, same problem (but this time I have nearly 20MB free on /system). So it's definitely not a space issue then. I'll try the latest version, gimme a few and I'll let you know how it goes!

Ripped a few APKs out of the ROM's installer zip and re-flashed it. No luck. :(

EDIT: Okay, the new script didn't do it either - but did give more information. It seems that, for some reason, the filesystem's read-only. I get a lot of "[1] Segmentation fault busybox mount -0..." and it also says "rm failed for -fr. Read-only file system".

So the script's definitely doing it's job alright, there's just something else blocking it along the way.

EDIT2: Just realized I said "yes" to the question about integrating init.rc - will try again without doing that.
[Android Software/Hacking General [Developers Only]] Jar3112:
3gturbocharger on galaxy ace has problems with wi-fi, which stops working after installing the script. Only way to make it work again is to restore a backup with CWM. Tried wi-fixer but didn't work, even tried deleting wifisupplicant but no effect. Can you fix it Zep?

Sent from my Galaxy Ace on GLSMT 2.1 with XDA app.
[Android Software/Hacking General [Developers Only]] indigobv:
It worked with S2E. Darktremor still makes the phone get stuck at boot, but probably I did something wrong since the other method worked.

The solution was what you said, first S2E, then SuperCharge.

Anyway the problem is solved, so thank you.
[Android Software/Hacking General [Developers Only]] t-pip:
There seems to be done name throwing going on. Just wanted to say thanks for all your hard work Zepp. I'm a V6er all the way!
[Android Software/Hacking General [Developers Only]] evilRafael:
Will do that.

I found that the Xperia neo has 512 MB RAM but about 200MB are GPU-dedicated, which leaves me about 300MB RAM free to work with. Still, the specsheet says 512 MB RAM, so maybe most hi end phones today have the same problem (they count GPU-dedicated memory on the total RAM). The recommendation on U8 says MegaRam is for 512MB RAM+, but doesn't say anything about GPU.

Anyway, as you said, I'll give it a test first and see for myself.
[Android Software/Hacking General [Developers Only]] adude247:
Any one noticing unusaly high battery drain after applying the script?
[Android Software/Hacking General [Developers Only]] evilRafael:
Wow, you were right, U9 has specific recommendations. Great!

At on point, the scripts queries wether or not I have Home locked in memory. In my Xperia neo stock rom, is there a way to know that? What's the standard setting?
[Android Software/Hacking General [Developers Only]] andreas__:
standard not locked

Cyanogen mod has that 'feature'

Sent from my GT540
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Silly question... you're running the script as root, right?

Seems when there are too many changes at once in the init.d folder, some stuff doesn't get initialised properly.

I experienced this while hacking a friend's atrix. I even had to unkernelize so there were no added scripts in init.d then finally his data worked again.

So delete the scripts from init.d and run the scripts in /data with script manager on boot/as root.

This way there is no interference on init while still gettin your kick ass perforformance :)

my pleasure :)

Only 3G TurboCharger can have that effect which is why I added the battery friendly option.

Thanks :)

If anybody wants to steal my proprietary brand names like Hard To Kill Launcher to apply settings that I developed and give no credit and break it and use it to rip people off with a half assed app, they're in la la land...

They mess with the bull, they get the horns... or my boomstick right where it hurts ;)

After all, people can get the REAL Hard To Kill Launcher free anytime they want without getting ripped off with stolen ideas via a crappy app.
[Android Software/Hacking General [Developers Only]] Nutterpc:
Another success here Zepp :)

HTC Desire, 512hp ledded, 3g Turbocharger (batt friendly)
[Android Software/Hacking General [Developers Only]] evilRafael:
Danke. :)

Then I'm all set, will report later on my findings on performance of the Xperia neo supercharged. So far, no home screen redrawings.

While I can see the benefit of avoiding home screen redraw, I must admit I don't quite understand the rest of what happens behind the scenes on the supercharger...
[Android Software/Hacking General [Developers Only]] Flappyraccoon:
Is it okay to use Juice Defender in conjunction with this script? Or does V6 Supercharger eliminate the need?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Keep JD.

My scripts don't anything that JD does and there's no conflict.
[Android Software/Hacking General [Developers Only]] seekified:
Indeed I am. :) I'm pretty sure I'm following the tutorial you linked to step by step. It's a completely fresh ROM install, Busybox installer and Script Manager are the only two apps I've installed from the Market. I ticked the "browse as root" thing in SM as well.

This is a list of the stuff in my init.d at the moment:

00aroc

01start

02modules

03firstboot

04apps2sd

96screenscaling

97optimize

98zipalign

99complete

aroc

Is it a problem that there's already a file that starts with 99?
[Android Software/Hacking General [Developers Only]] Flappyraccoon:
Awesome thanks :). You're 3G nulled value option and beta 6 update 9 V6 work wonderfully on my Droid Incredible 2 I should mention. Wonderful work :D
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nope no problem.

What's in aroc and 00aroc?

Maybe you can post the V6U9RC3.2 output. After it runs use script manager's share feature to copy/paste.

Thanks for the feedback :)
[Android Software/Hacking General [Developers Only]] 07blackwater:
I'm using juice defender with it and it works fine except sometimes the script seemed to disable my jd data widget.

I just bulletproofed jd using that option in the script. It hasn't disabled it since and that was over a week ago.
[Android Software/Hacking General [Developers Only]] bsoplinger:
I've been trying to keep an eye on the thread but in case I missed it...

Is there a fix in place for HTC devices? Specifically, when both the HTC launcher and a market installed launcher are running.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Launchers

Just a dumb question, if you run a market launcher can you delete the original:confused: or are you in for a world of hurt doing that?
[Android Software/Hacking General [Developers Only]] avgjoemomma:
You should keep the stock launcher around just in case you need to roll back to it. You can always freeze it in Titanium Launcher :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Where's the driving test?

Did it pass or did your busybox 1.19.0 fail?

I haven't released it yet.

I wanted to do more stuff like make the /data folder neater when the computer took a dump.

There is only so much I can do with a 4000 line (almost) script on the phone :p

Oh hey, the scripts made it to Linux Journal!

November's cover says "HACK THIS"

heh.
[Android Software/Hacking General [Developers Only]] 07blackwater:
I'm using go launcher. Like was said above I just froze tw launcher and all it's wallpapers with titanium.
[Android Software/Hacking General [Developers Only]] NaViTo:
I'm using Go Launcher on my Hero and I have deleted the original Launcher without any problem. You just have to be sure that you're not going to uninstall your Market Launcher, if you do then I suppose your phone won't be able to boot up because of the lack of launcher.

Salu2
[Android Software/Hacking General [Developers Only]] Huge Noob:
Howdy from a Noob. The answers might be in this thread, but almost 600 pages is a bit to go through, so be kind.

I installed the latest V6 S-C today for the first time. I picked 'balanced' 512Hp for my EVO 4G. I'm running Mik 2.59/Chop Suey. I have a couple of questions.

I too had Juice defender turned off by this script, I saw where someone posted the fix as 'bulletproofing' that app.....how to do that?

I ran the lag nullifier, and my battery life is flat-out AWFUL. I was running JD with my rom/kernel setup and slightly U-clocked, and I was getting awesome life 10-12 hours with moderate use. I did the lag nullifier, I went from 100% to near shut-off in about 5 hours....MOST of that on standby. So, the question is, what did I screw up?

Thanks!

-HN
[Android Software/Hacking General [Developers Only]] seekified:
It passed, and then started on a new page for the rest, if one might out it that way. When the V6 logo loads it erases everything else. I think something must've gone wrong when I rooted. I don't seem to have write access to /system at all. For some reason busybox 1.19.0 is always installed after a reboot (regardless of which version I download), which again makes me think that the busy installer doesn't get the rights it needs. It'd be a pain to RUU back to stock and re-root, but I might if I can't sort it any other way.

I'm going to try a different ROM, though that probably won't help either. Is /system meant to get wiped when you do a full wipe in recovery? Mine says it's only wiping /data, /cache, /sd-ext and one more I can't remember.

Congrats on the Linux journal thing, that's pretty darn cool. :D I -really- want to get this going on mine, the stock memory management never made sense to me.
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Glad things got sorted, Zepp. It was pretty funny seeing HTK somewhere else :eek: Funniest part is how he convinced everyone that the app was so much more special than the script (even his own script). LOL!
[Android Software/Hacking General [Developers Only]] inferno17x:
Hi Zep,

If I can see when running the script OOM sticks and Launcher is DIE Hard.

Can I say that it also applies the KAK and 3G Turbocharge as well?

Do I have to run KAK and 3G Turbocharge Manually?

Currently Im charge to Build.prop with init.rc off.

Thank you!
[Android Software/Hacking General [Developers Only]] 07blackwater:
You have to run 3g and KAK separately, that are different scripts.
[Android Software/Hacking General [Developers Only]] inferno17x:
Hi, Ok thanks I will try to run it on boot.
[Android Software/Hacking General [Developers Only]] 07blackwater:
The 3g and kak are standalone scripts. You don't have to run them on boot like 99supercharger.
[Android Software/Hacking General [Developers Only]] inferno17x:
Hi normally I don't run 99Supercharge on boot it will automatically apply the settings once I reboot my phone.

As 3G Turbocharge is being charge to build.prop so Im not really sure if 99Supercharge will 3G Turbocharge settings applies.

As for KAK it has an individual script in etc/init.d but not sure sure whether how can I check whether it really apply.

For 99Supercharge I can still run the script to check whether OOM sticks and whether Launcher is DIE HARD.