yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh the v5 I don't think would work on droid.

You'd have to use the v4 ALL ROM scripts for the time being.

But V6 SuperCharger will be good for any rom without issue - even ones that don't run boot scripts from init.d.

Each script will actually install 1 of 3 methods depending on what it finds ;)
[Android Software/Hacking General [Developers Only]] hearts king101:
Where is this v6 supercharger? can't find it in 1st post

Does it work on stock roms ? if not, which one of your scripts is better for stock ones ?

and what is the best gscript lite or Script manager ?

Thanks in advance. ;)

By the way, did u find any way to get NFS and worms work on MS ?
[Android Software/Hacking General [Developers Only]] CronusStrife:
I think he still testing it before post it!
[Android Software/Hacking General [Developers Only]] Basian Mile:
I have not yet test any of that scripts. Maybe i will give it a try.

But with FroyoMOD, there is no need.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I'm forever making V6 better :P

Now I'm making it so the user, if they have the nerve, can simply edit 6 numbers in the script (in MB) and the script will convert to pages and use those values everywhere.

It will work with ALL android roms - because Script Manager can run a supercharge script on boot in the event that you don't have init.d boot scripts working.

Script Manager is amazing.

The only advantage in gscript is that you can make a shortcut on the desktop to run a script.

But Script Manager has an interactive option where it would accept user input... however, I'm not using that feature... yet... lol

Luca used my scripts as a base but I haven't confirmed whether the OOM groupings got fixed so that the launcher is hard to kill.

I'm attaching a teaser... the status script. Just remove the .txt extension.

It will compare your home launcher priority against foreground and visible apps and tell you:

If it's a BulletProof Launcher, a Hard To Kill Launcher, or Weak Ass Launcher.
[Android Software/Hacking General [Developers Only]] sharkerbaby:
lol, sure feel free to quote me wherever you see fit

ahh, thanks for the advise and update. things continue to run well but I will try out the balanced scripts just to see
[Android Software/Hacking General [Developers Only]] dpaine88:
Hey man, how's the progess on V6 coming? Really looking forward to your latest work!!
[Android Software/Hacking General [Developers Only]] lanza_david:
@zeppelinrox, to complement my private message, I am attaching some screenshots. This may help to figure out why the scripts are running like that on my phone. Thanks!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Sorry I forgot to answer previously... yes I did get both games working just fine :)

Are you on a milestone?

If not, you need to use ALL ROM versions and not CRom versions.

... ummmm... I don't think you've seen anything like this before...

This is all ONE single script... 750+ lines... well... 767 at this point lol...

It will do ANY Android ROM and give instructions and has error checking... It will check to see if you're using Script Manager or not... give instuctions on setting it up...

For example, it give tips on using Script Manager because it knows that I am using it.

If you're not using SM, it would have a different message. ie. "V6 SuperCharger is Optimized for display on Script Manager... Try it! :)"

Pretty snazzy, eh?

Before...

During....

After...

Bonus....

Say Buh Bye to AKMO or any app that has to load on start up to change minfrees...

So did you notice the difference in groupings?

By default, CM7 has nearly all the apps in slot 5 and the launcher in slot 3.

Slightly aggressive settings will kill any chance of multitasking in that situation.

After SuperCharging, the apps get moved to slot 3 while the launcher is in slot 2 but the most important item in slot 2.

I've read, "oh you don't need to run any scripts for memory management..."

Well that's not true.

Playing with minfree values is one thing... it's playing with minfree levels... it's not memory management...

Look at the pics above... now THAT's memory management...

NO app does that!

Edit: Well, unless I make it... heh
[Android Software/Hacking General [Developers Only]] hearts king101:
That is Great.

How did u do that ?

Thank u so much
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I they worked with all sorts of different sttings.

Big vm and small vm

Jit on and off

Messaging app locked in memory all the time...

Hard to kill launcher on all the time too.

They just worked.

I didnt try it without supercharging though.

Just to be sure, it was NFS Shift and worms by team17
[Android Software/Hacking General [Developers Only]] ILLnar:
Great work, man.

can u post the v6 script?

or it's not finished yet?
[Android Software/Hacking General [Developers Only]] CronusStrife:
How about launching an app on Market that does what your v6 scripts do? Have you thought about it? And please, make a free app! ;)
[Android Software/Hacking General [Developers Only]] hearts king101:
OK.

Worked from the 1st time u launched them ?

Or after some modifications u made ?

Anyway

Can u link me to the 2 games by team17 ?

Thanks for everything u did for our MS. ;););)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It's almost there...

Worms was no problem.

NFS shift got stuck on the EA logo a couple of times then suddenly was fine

Try wiping caches if you hadn't tried that.

Yep I got sidetracked looking into making an app but when considering Script Manager's versatiliy, I decided that it could wait for now.

It would indeed be free... since thats about all I use - free appz rulez teh worldz!

But i may accept donations :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I'm on Rogers Cable... probably different from what you have at home?

But yeah.. Roger's upload speed is pretty lame lol
[Android Software/Hacking General [Developers Only]] avgjoemomma:
I don't think increasing the heap size would be useful for most of the apps on our phones as they're so lightweight. Now things would be different if we wanted to run an application server :p. One of the things I'm interested in looking at is tuning the VM options. If it's anything like Java, a few tweaks would really help out.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Ohhh that was from home, I thought you were talking about the phone..... at home I just tested 46mb down 2.9 up:D
[Android Software/Hacking General [Developers Only]] LamboDroid19:
KAK Test 12 caused my SGS2 to hang near the end of the script. So I pulled the battery and tried to boot and it hung at the kernel boot screen. I did not apply IO tweaks either. I had to boot into recovery and remove it via ADB.

What went wrong?
[Android Software/Hacking General [Developers Only]] gatorz77:
Hey I tried setting it to run at boot as you said and it didn't work. I'm still losing memory pretty fast. Any suggestions?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Damn... does it help if you clear caches?

Thanks for the report... I'll make a change... I should be able to safely leave the noatime tweak but not the other additions.... *sigh*

You try launching a widget for it?

PS Currently adding wiping dalvik and cache partition and adjusting the non 256HP settings... consensus is that they are too aggressive...
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Zepp, have you played around with turning the verification off for Dalvik VM? In theory, this should save us a few seconds or milliseconds when starting apps up for the first time. In build.prop

dalvik.vm.dexopt-flags=m=y,v=n
[Android Software/Hacking General [Developers Only]] sag7392:
Are you using a custom kernel? And I assume your device is rooted.

Was that using Script Manager to run the 98 SC script at root and boot?

---------- Post added at 07:26 PM ---------- Previous post was at 07:23 PM ----------

Now that's something that peaks my interest!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I tried that out... I didn't really notice a difference :p

Maybe some people would though... did you notice a difference?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Gotta minute... lemme try something...
[Android Software/Hacking General [Developers Only]] avgjoemomma:
You'll only notice it when you wipe the dalvik cache or when you start an app that hasn't been cached yet. Those of us with slower CPUs will notice it for sure:p
[Android Software/Hacking General [Developers Only]] sag7392:
What about those of us that underclock? I'm interested in this...can you provide some more info...where to place the code, etc.?
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Yep, you might notice a difference since you're underclocking unless your governor ramps up. In your build.prop you probably already have

dalvik.vm.dexopt-flags=m=y

comment it out and add in

dalvik.vm.dexopt-flags=m=y,v=n

Make sure to wipe your dalvik cache and give it a go :)
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Okay just tried kak test 12, got into a bootloop, pulled battery and rebooted, it is fine now. Most interesting thing is upload is now in the 9200 range and down is 3600+

I think you have winner here Zep Thanks!!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah I was getting it mixed up with this one...

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

setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v

Which can break apps... which can also give me a headache if I were to be breaking apps :p

Or is that the same thing because both have the "v=n" bit?

v=n is verification=no maybe?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Did you do the io scheduler tweak or no?

I was just about to upload test 13 :p

Ok it's attached now...
[Android Software/Hacking General [Developers Only]] sag7392:
Zepp, what are the changes in 13 vs 12?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Removed the 6 "if [ -f "$i/iosched/**" commands if you select no to io scheduling tweaks.

But moved the

if [ -f "$i/rotational" ]

if [ -f "$i/nr_requests" ]

if [ -f "$i/iostats" ]

to no section so they still get applied.
[Android Software/Hacking General [Developers Only]] sag7392:
Well, I can't really feel a difference in app loading speed. But then again, I am using Smartass as a gov and that may play a role in it. Oh well...worth trying.
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Yeah, this just turns off verification which should not break anything. At least in my experience with Java, it's never ever broken anything and I'm talking about Enterprise Java Apps:eek:

So v=n means verification=no

I don't think you need to set the property dalvik.vm.verify-bytecode as that was used for older Dalvik VMs. dalvik.vm.dexopt-flags is the preferred flag.
[Android Software/Hacking General [Developers Only]] sag7392:
Zepp is it worth upgrading or was this part of the 3 new updated scripts?
[Android Software/Hacking General [Developers Only]] avgjoemomma:
I'm using SmartAssV2 as well which ramps up pretty fast so we're not good test subjects. We need someone with a G1, Hero, or another model with a slow CPU :p
[Android Software/Hacking General [Developers Only]] sag7392:
I think I'm going to keep the change in place, just for sh*ts and giggles.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well my milestone is pretty much an OG Droid but right now overclocked to 1200mhz :p
[Android Software/Hacking General [Developers Only]] LamboDroid19:
KAK 13 still a no go for me still hangs exactly like 12. Again still no IO tweaks and a battery pull. Exactly the same. Removing it now via ADB.
[Android Software/Hacking General [Developers Only]] avgjoemomma:
I figure a few milliseconds here and there add up over time :p
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
@ Zepp, KAK and V6supercharger not load at startup like you said yesterday!

Damn, but they make a huge difference while running, because it always had before installing a maximum of 50MB free and I now have an average of 97MB!

They seem to be running even not loading at startup!

Is that really likely?

I'm using version 12!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hey it happened to me before while testing the wipe dalvik and cache partition...

Of course it was taking a long time on the animation after wiping but then it froze...

I pulled the battery and tried again and it froze again... but the next time it kept going...

I think the first time the phone has to go through some kind of "learning" process when it first sees these changes...

The next reboot was lightning fast

Edit: btw, previous KAK tests were ok for you?
[Android Software/Hacking General [Developers Only]] Gage_Hero:
No scheduler.....
[Android Software/Hacking General [Developers Only]] LamboDroid19:
Still a no go. Wiped cache and dalvik cache, multiple battery pulls. Nothing Still sits at kernel boot screen(Not bootanimation). Anything else I could try?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Geez... did prior KAK's work?
[Android Software/Hacking General [Developers Only]] sag7392:
13 runs just fine as 12 did...no hiccups. And this is using the I/O scheduler.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I have a feeling test 9 would actually work... http://xdaforums.com/attachment.php?attachmentid=757077&d=1319239097

Yep... your's is indestructible lol
[Android Software/Hacking General [Developers Only]] sag7392:
I guess so, lol.

Edit- I'm hitting hay and I'll catch you all on the flip!
[Android Software/Hacking General [Developers Only]] LamboDroid19:
The last Known KAK to work was 5(long time I know). I was away for a while and I come back and I was like wow so many new versions. Trying test 9, will let you know if it works. Great job BTW :)

Edit: KAK 9 Works :) Still wondering why 12 and 13 did not work though.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks for putting up with the freezies... I'm about ready to at least get RC1s up for V6 and 3G uploaded... I was hoping to get all 3 up though...
[Android Software/Hacking General [Developers Only]] LamboDroid19:
Sorry for any delays I may have caused. Cant wait til final releases of All. Take your time though no hurry :)
[Android Software/Hacking General [Developers Only]] blakki73:
Test 9 is working also for me! 10,11,12 didn't worked, so the mistake may be introduced in 10 ;-)

Inviato dal mio LG-P990 usando Tapatalk
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Awesome... I think I can add KAK to the top of this page soon...
[Android Software/Hacking General [Developers Only]] sinnedone:
Does the rc include that debug graphic script tweak you mentioned?
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Zep is the supercharge RC1 different from the earlier RC1?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok I think this will work based on test 9...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes the other was a test.. I tweaked user output regarding init.rc integration, added wiping caches and adjusted minfrees for the presets higher than 256HP

Oh yep... I totally forgot about that due to this KAK... added this to local/build.prop while supercharging...

debug.sf.hw=1

persist.sys.purgeable_assets=1

wifi.supplicant_scan_interval=120

windowsmgr.max_events_per_sec=75
[Android Software/Hacking General [Developers Only]] bsoplinger:
Re: wifi speeds...

I tried the link you suggested and got values around .92 Mbps and 5.9 Mbps which are close to what I get from my MacBook Pro. Before I was consistently get half the download speed using the speed test app from the market which is why I had initially asked about any improvements. I bookmarked the site so I'll have it handy and use that instead of the app in the future. I figured the app would be a better choice over a browser since browsers often aren't the most efficiently coded apps but in this case looks like I was wrong, a feeling I'm getting used to.
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
hahaha Congratulations animation!
[Android Software/Hacking General [Developers Only]] avgjoemomma:
K, time to drop some more addons :p Maybe you should remove all the networking tweaks to a new script and call it KickAss Underutilized Networking Tweaks:eek:

I have this added to my own init.d script

sysctl -w net.ipv4.tcp_congestion_control=cubic

You can check out the different algorithms. I'd go with either Vegas or CUBIC over the default Reno. CUBIC is now default for most modern Linux installs:cool:

If anyone is paranoid about network security try this

# Hardening the TCP/IP stack to SYN attacks
# See http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
sysctl -w net.ipv4.tcp_syncookies=1
sysctl -w net.ipv4.conf.default.rp_filter=1
sysctl -w net.ipv4.tcp_synack_retries=3
sysctl -w net.ipv4.tcp_syn_retries=3

# Ignore pings
sysctl -w net.ipv4.icmp_echo_ignore_all=1

Note that tcp_syncookies is not available on all kernels
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Do you mean KAK, 3G or V6? ;)

oh interesting... so "Underutilized" meaning nobody uses them, yes?

I guess I will have to find info about the cubic thing and the ignore ping...
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Hey Zep applied all 3 new Rc's all worked np..... thanks man
[Android Software/Hacking General [Developers Only]] blakki73:
RCs World great! Good job man!

Inviato dal mio LG-P990 usando Tapatalk
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nice... the KAK is still testing due to a couple of people getting freezes without the io tweaks... bummer they went offline... for now I can work on a change log anyway :p

Thanks dude!

So the KAK RC1 test works for you?
[Android Software/Hacking General [Developers Only]] avgjoemomma:
I just put underutilized so the acronym would be K * N T but in all seriousness I don't think many people have these settings on their Android as it's not often thought about. The SYN settings might help with the WiFiKill app but I haven't been able to test it myself. The ping ignoring will help against basic nmaps, etc
[Android Software/Hacking General [Developers Only]] blakki73:
Yeah ;-)

Inviato dal mio LG-P990 usando Tapatalk
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
Edit: indeed at all, but especially in v6! ;)

Choosing the option in v6 supercharger applications include init.rc bootloops caused me!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OK... sounds good to me!

I like having stuff that set my script apart :D

Ah... crap... maybe I was too ambitious to try integrating init.rc... it's iffy if it will succeed on many devices...
[Android Software/Hacking General [Developers Only]] noobhero:
hey zeppelinrox,

will having two 99* scripts in init.d have any confilct?

awesome stuff btw. ;)
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
Relax Zepp, nandroid me is easy! ;)

Edit: When loading the widget 99supercharger got this done to exit, what would it be?
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
Screenshot below
[Android Software/Hacking General [Developers Only]] zeppelinrox:
There is a problem writing files... can you post the 99supercharger file
[Android Software/Hacking General [Developers Only]] inferno17x:
Hi Zep,

I have tested KAK update 3 RC1 is working fine for me without installing the I/O tweaks.
[Android Software/Hacking General [Developers Only]] D@rekills4:
Anyway to determine if script is running successfully?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
YES!

Nah all the files run...

If it executes and settings are applied, the script will tell you if there is anything wrong when you run it.
[Android Software/Hacking General [Developers Only]] adrianyujs:
Thanks!!! just done it on my DHD ARHD 6.1.3 ^^ everything work like charm!!!
[Android Software/Hacking General [Developers Only]] maneken25:
If meant on Supercharger script, yes you can check. First way: run script again and wait that script printout information, read what it says. Example: "launcher is hard to kill... " and rest info.

Second way: download Android system info app, run app, go to system and check what it says under Low memory killer levels, if numbers are as you choose then it works.
[Android Software/Hacking General [Developers Only]] 12gage:
if we have shortcuts saved (like bulletproof apps) and we upgrade to the new version, will it work for the new version or will it try to run the old script?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
They work the same.

You can actually "resupercharge" to transfer everything over from the sd card. (ie 97BulletProof_Apps or custom minfrees)

To prevent the possiblily of overwriting current rom files with a different rom file, resupercharger will ask you to choose a launcher so that your current system files are supercharged and the files on the sd card get refreshed.
[Android Software/Hacking General [Developers Only]] Jar3112:
I updated to new KAK and Supercharger versions, but on reboot I lost CRT animation... Never happened before, with previous versions.

Sent from my Galaxy Ace on GLSMT 2.1 with XDA app.
[Android Software/Hacking General [Developers Only]] inferno17x:
Hi Zep,

Regarding the 3G TurboCharge I found that the ROM includes 3G Tweaks in build.prop.

Do I have to remove the 3G Tweaks which came with the ROM and then install the 3G TurboCharge?
[Android Software/Hacking General [Developers Only]] sag7392:
@Zepp

Updated all scripts to include I/O scheduler and integrating init.rc without one single issue. I even tested experimental 1 in the 3G script and have had zero issues with WiFi as well. Great job!!!!
[Android Software/Hacking General [Developers Only]] D@rekills4:
And what if nothing's wrong? o.O

I bet it will show nothing wrong cause the script is freaking awesome!!!!
[Android Software/Hacking General [Developers Only]] bigdanmeys13:
Hey, zep. Just wanted to let everyone know all 3 updates are working perfectly on my Casio commando. Great work! Thank you!
[Android Software/Hacking General [Developers Only]] quadjacks:
Will this work on the Moto Droid X2 and what would be the correct steps to implement? Thanks so much for all the hard work you do for us.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Do you mean the gingerbread animation when the screen turns on and off?

You may have fiddled with window animation speeds - those have to left at "normal" and not fast...

Nah... I put them at the TOP of build.prop... any ro.ril* setting that gets applied first, stays and can't be changed ;)

I kinda cheated that way... it lets me ignore any pre-existing 3g settings hehe...

You can confirm what is in effect by typing in terminal:

getprop | grep ro.ril

LOL thanks!!

But if there is a discrepancy, it will say minfrees don't match or that the oom grouping fix didn't get applied :)

Hell yeah... there are a ton of DX2 users :D

There is a good thread in the DX2 forum as well.
[Android Software/Hacking General [Developers Only]] wraithdu:
There's still that lingering bug where init.rc is modified every time the script is run. I think I found it, starting line 2695:

if [ "$opt" -ne 15 ]; then
if [ ! -f "$rcpath" ] && [ -f "$initrcpath" ]; then
cp -fr $initrcpath $initrcpath1
fi
echo " Backing up Re-SuperCharger files to SD Card... "
echo ""
$sleep

Here, /data/init.rc is copied over /init.rc regardless of option setting.
[Android Software/Hacking General [Developers Only]] Jar3112:
Yes, mean the animation when turning off the screen. I didn't touch anything! How to put them back?

Sent from my Galaxy Ace on GLSMT 2.1 with XDA app.