[Galaxy Y GT-S5360 General] halnovemila:
Hi all,

I'd like to share my experience with V6 SuperCharger script by zeppelinrox [V6U9RC13] on my Galaxy Y

For those who wonder what V6 SuperCharger is I'd say it's a very long shell script (about 11.000 lines of code) that aims to optimize some system parameters and system/apps files in order to boost the phone performance.

Official thread of V6 SuperCharger is here along with the official downloads:

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

To execute the V6 SuperCharger main script any terminal emulator is suitable, but it's advised to install and use SManager app, available at Google Play store.

So, here is how my story begin.

I ran the script but the SManager paired with the Galaxy Y small screen, doesn't make it quick to go through all the Driver Options without having to tediously use the super small full keyboard, and having hard time to hit the proper keys.

I'm used to use the numeric pad, bigger buttons, but unfortunately on SManager numeric pad only can input number, not letters, and V6 SuperCharger doesn't usually accept numbers as answers to the many options.

So I decided to make a "quick" modification to the script on-the-fly, seeking all the 11 thousands lines for the options answers like y, Y, n, N, a, A etc... and adding a 1, 2, 3,4 at convenience.

After that, going through the Driver Options has been as nice as a breeze, using only the numeric pad to answer to all the options :cool:

Good right? no, not much...

Somehow the script didn't work at all... the Driver options were set but the boot script were not made, and all the main menu options were actually inactive....

Well... I thought it was a problem with my own phone configuration but I finally found out, after many hours of debugging, that zeppelinrox had hidden in the code a check that automatically and silently disable almost all the script functions if the script is been modified in a way that there are more o less lines than the original script. :eek:

Ok, found the problem, fixed, now everything run properly...

The scripts makes and installs its boot scripts and the tweaks are applied at everyboot... fine! :)

I then tried the zipalign function.

Zipaligning the apps packages (apk files) provide quicker access to their contents by system and apps... sounds good... isn't it?

Well... the 1st run of the Zipaligning wasn't a good one.... the script found something like 8 thousands apk files to check for zip alignment... and that was very weird as I don't have more than 200 apk in my phone.

Plus the process to check and eventually zipalign each apk was dramatically slow... something like 8-10 seconds per package (that is about 20 hours needed to process 8000 apk :eek: ).

Something was wrong somewhere... and I found it!

In the script the command used to find all the APKs doesn't work properly on the Galaxy Y stock rom... problably because of some simlinks that makes like a loop between folders.

Anyway the problem has been recognized too by another developer, Black Dog http://xdaforums.com/showthread.php?p=42884332 , who actually fixed it in upd9 RC12, but the latest V6 script, upd9 RC13, from zeppelinrox, unfortunately didn't kept the "fix"... so, after I stumble on the issue, I had to find the source of the problem and make the fix myself :rolleyes:

I just actually found the command used by Black Dog script to seek the APK and copied to the latest RC13 script by zeppelinrox.

Fine... let's try the Zipaligning again...

Ahh... this time the script found 187 apk to check for zipalignment... sounds nice.

But hey!... still processing each apk takes many seconds... and seems that ALL the apks aren't zipaligned... is that possibile?

No, something was wrong again.

And more I was sure it was wrong because repeating the zipalignment didn't report any of the previous zipaligned apk as already aligned, but instead, they were processed and zipaligned again :eek:

I then tried the zipalign command manually on terminal to check it's behaviour on any of the supposed not aligned apk.

Weird enough... the zipalign executable, that I installed with the SuperCharger_Starter_Kit_RC12.zip provided by zeppelinrox in it's official download page http://xdaforums.com/showpost.php?p=18703418&postcount=5021 , when executed it simply didn't do anything... just few seconds of "nothing" and then... nothing!

No output of any kind in the terminal screen.

I then got a zipalign executable from another package (Adrenaline Engine, or Universal v.3.1... very same executable there) and copied to my phone and tried and this time... yeah... that's it! I got output!

# zipalign
Zip alignment utility
Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
zipalign -c [-v] <align> infile.zip
#

Tried again the so called "Wheel Alignment" (the zipalign task) and this time, finally, everything worked as supposed.

Found 187 APKs, 10 were not aligned and so they been aligned.

Repeated the process... 187 APKs found, 0 not aligned :)

I guess that the zipalign executable provided in SuperCharger_Starter_Kit_RC12.zip is been compiled to run on KitKat 4.4 and somehow it broken the backward compatibility with earlier version of Android like the one running on Galaxy Y (GingerBread 2.3.6).

Hope that sharing my own experience in here will help someone :angel: