yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] marcusjt:
Looking at the script in the ZIP reveals the following cleanup operations are executed:

ui_print("Formatting Cache Partition...");
delete_recursive("/cache");
...
ui_print("Wiping dalvik-cache...");
delete_recursive("/data/dalvik-cache");
...
ui_print("Deleting old kernel settings files");
delete("/system/etc/init.d/S_volt_scheduler");
delete("/system/etc/init.d/S70zipalign");
delete("/system/etc/init.d/S90scheduler");
delete("/system/etc/init.d/S99finish");
delete("/system/etc/init.d/89system_tweak");
delete("/system/etc/init.d/98system_tweak");
delete("/system/etc/init.d/S89system_tweak");
delete("/system/etc/init.d/S98system_tweak");
delete("/system/etc/init.d/S90screenstate_scaling");
delete("/system/etc/init.d/90screenstate_scaling");
delete("/system/etc/init.d/98screenstate_scaling");
delete("/system/etc/init.d/S98screenstate_scaling");
...
ui_print("Cleaning up old modules");
package_extract_dir("script", "/tmp/script");
set_perm(0, 0, 755, "/tmp/script/cleaningmodules");
run_program("/tmp/script/cleaningmodules");
...
ui_print("Formatting Cache for security purpose...");
delete_recursive("/cache");
...
ui_print("Wiping dalvik-cache for security purpose...");
delete_recursive("/data/dalvik-cache");
[Galaxy S II Android Development] luxm4n:
work on ICS Official?
[Galaxy S II Android Development] 0verseer:
Download link is down...
[Galaxy S II Android Development] legionxx:
hi all,

Anyone knows if this samsung ultimate kernel cleaning script v2.4 or hawker's GS2BlitzerV1.6 can be use on the galaxy note n7000? :confused:
[Galaxy S II Android Development] DarkNiz:
Yeah. It says it was removed or something.
[Galaxy S II Android Development] buster041284:
I will put new link when i get bk in
[Galaxy S II Android Development] buster041284:
link back online:D
[Galaxy S II Android Development] erezhazan1:
Thanks very much ! this fixed everything ! I've no idea what was the difference but it worked !
[Galaxy S II Android Development] kobi63:
Does it compatible with ICS Siyah kernel?
[Galaxy S II Android Development] maranello69:
yep, works just fine
[Galaxy S II Android Development] stylez:
Couldn't see link on tapatalk http://www.box.com/s/3766345b4e8a7d9e8786 thx for keeping it updated.

Sent from the valley of the shadows......
[Galaxy S II Android Development] eric-filth:
Working on ICS?

Tapatalkado
[Galaxy S II Android Development] xinfinityoO:
can i request to add the support for abyss ics kernel.. its a great kernel..

thanks
[Galaxy S II Android Development] ram3n:
Yes Eric, working without any problem.

:cool:
[Galaxy S II Android Development] buster041284:
Iam sure it works with it
[Galaxy S II Android Development] mecss:
I have looked about abyss kernel but I havent find any kernel parameters by abyss, so the ukcs-options are enough to clean it...
[Galaxy S II Android Development] buster041284:
thank u mecss taking time to find out:)
[Galaxy S II Android Development] eric-filth:
Abyss kernel create folder inside data and system.

Tapatalkado
[Galaxy S II Android Development] mecss:
Thx mate,

as I searched to abyss files, I found nothing because I searched to "abyss" and not to ".abyss"...thank you very much...I will making a update...stay tuned... ;)
[Galaxy S II Android Development] mecss:
Ultimate-Kernel-Cleaning-Script v2.5

Here are the v2.5... ;)

Changelog:

abyss kernel settings included
[Galaxy S II Android Development] buster041284:
great work mecss :)
[Galaxy S II Android Development] buster041284:
2.5 update

2.5 updated first post enjoy :)
[Galaxy S II Android Development] Mario1968:
Thanks for your works:thumbup:

Inviato dal mio Galaxy S2

XWLA4

Siyah 2.6.14

Jkay 13.6.4
[Galaxy S II Android Development] eric-filth:
Your welcome.

I knew that because i tested abyss kernel and saw files lost after changed kernel
[Galaxy S II Android Development] honming:
thx a lot, as i can't find the download link in the first page ;)
[Galaxy S II Android Development] buster041284:
Press more then change view to browser it be there then
[Galaxy S II Android Development] honming:
strange, i can't see "more" button, :confused:

i am using IE9
[Galaxy S II Android Development] rzat:
try different browser than. He thought u are using your phone with xda app. download link works fine

(big Download button)
[Galaxy S II Android Development] honming:
i think it is my IE problem,

i can see a pic of "download" but no any download link can be generated......:eek: jus a "jpg" file......
[Galaxy S II Android Development] buster041284:
Sorry thought u on your phone I use Google chrome or Firefox works fine pal
[Galaxy S II Android Development] riccardoPolaris:
Hi! Thanks a lot for your work!

Does cleaning script function whit ics kernel? (in the list of compatible)

From Galaxy SII
[Galaxy S II Android Development] buster041284:
Yea people say it works I use it on ics fine
[Galaxy S II Android Development] gh.rohit:
yes it works with ics, i use this in my ICS rom :D
[Galaxy S II Android Development] artbybart:
MicroSD

Does it make a difference if I run that zip file from the external SD and not internal? I'm only asking cuz for some reason in CWM (5.0.2.6) it doesn't show my internal for some odd reason.

Thanks.
[Galaxy S II Android Development] riccardoPolaris:
Nothing difference! I use it with internal/external sd ;)

From Galaxy SII
[Galaxy S II Android Development] mecss:
@buster041284,

perhaps it is better to put the working with ICS in the opener cause the requests if this script is working under ics will be more and more... ;)
[Galaxy S II Android Development] buster041284:
yea i will thank u mecss:)
[Galaxy S II Android Development] RatusNatus:
Do it clean entropys?
[Galaxy S II Android Development] mecss:
No, it does not clean entropys cause he is a human being... :D
[Galaxy S II Android Development] buster041284:
that was funny made my day:) wats that rom your using mecss
[Galaxy S II Android Development] DeshTwo:
I'm waiting your next update for Shun Andromeda ;)
[Galaxy S II Android Development] :
HI

Since the server is down for maintenance from OP, I would like to ask anyone of you would be kind to upload or perhaps just send the script?

THank you?
[Galaxy S II Android Development] kmelkon:
http://www.4shared.com/zip/X1tO_Q1B/Ultimate_Kernel_Cleaning_Scrip.html

there you go ;)
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6 is online*****NEW*****

Changelog v2.6:

Thoravukk parameters added
[Galaxy S II Android Development] doongoo:
what are these Thoravukk parameters?
[Galaxy S II Android Development] Agent_Adodas:
Thanks buster041284,

don't forget to to change version number 2.5 to 2.6 in your print to the screen while script is running.
[Galaxy S II Android Development] c3k:
Thoravukk app remains after cleaning, you could add it to your list
[Galaxy S II Android Development] yupo72:
Hello, does it work for Gingerbread ROM also?

I'm on XXKI3+Root+RageMode1.1b(kernel)
[Galaxy S II Android Development] buster041284:
i dont think so pal
[Galaxy S II Android Development] Fishawy:
Works perfectly on Turkbey GB V33.
[Galaxy S II Android Development] buster041284:
yea but which kernel u using
[Galaxy S II Android Development] Fishawy:
All of them .. Phoenix, N.E.A.K, Phenomenal, RedPill, and even the good old Void Echo.
[Galaxy S II Android Development] doongoo:
It should. It was first made for GB ROM-s, then after some tests was renamed to ICS
[Galaxy S II Android Development] mecss:
Can anyone give me the path where thoravukk-app is installed and what is the exactly name of it...thx a lot... ;)
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6.1 is online*****NEW*****

Changelog:

Some more parameters from abyss kernel

Have fun... ;)
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6.2 is online*****NEW*****

Changelog:

Some more kernel parameters from thoravukk like the app and more
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6.3 is online*****NEW*****

Changelog:

Bugfix for one thoravukk parameter
[Galaxy S II Android Development] buster041284:
as always good job
[Galaxy S II Android Development] lanyco:
Thanks good work

Enviado desde mi GT-I9100 usando Tapatalk
[Galaxy S II Android Development] Radikaal:
Download link doesnt work in OP,

nvm just saw it was in attached file on previous page. Thanks.
[Galaxy S II Android Development] buster041284:
link updated

link i the first page working thank u Radikaal:D
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6.4 is online*****NEW*****

Changelog of v2.6.4:

more neak parameters added

nstools app parameter added
[Galaxy S II Android Development] windowsxelvis:
I remember that UKCS is made for GB ROMs at first time.

How about 2.6.4? Is it okay for GB?

Thanks.
[Galaxy S II Android Development] ram3n:
It's OK sir.

Works flawless on both GB and ICS.

Cheers. :cool:

Sent via my S2 monster
[Galaxy S II Android Development] mecss:
Ultimate_Kernel_Cleaning-Script_v2.6.5 is online*****NEW*****

Changelog of v2.6.5:

LitePro parameter will delete

xxTweaker app from fluxi kernel will delete

In the previous version was a bug therefore I had reupped...sorry! :o
[Galaxy S II Android Development] riccardoPolaris:
Strange... Download don't go

Franky Blue13 v.3 LPD

Kernel Phenomenal 5.5 Extreme

Modem BVKL1 H3G ROMA

Tessera Special n. 31 Mistico della Dottrina Samsung
[Galaxy S II Android Development] 4l3gU:
Ciao my friend...try again... For me work perfectly...

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] sefrcoko:
Thread topic still says 2.6.4.
[Galaxy S II Android Development] injulia:
My SGSII is on:

[ROM][XWLA4][FEB 20] CheckROM RevoHD™ V6 _ Kitchen Pro v2.3 a Masterpiece again!

Now i want to flash ICS ROM,

Do I need a full wipe or flash this script?

If i need to flash this script, in which step i must do?

Thanks
[Galaxy S II Android Development] sefrcoko:
I would make a full backup with CWM Recovery first, as well backups of all your apps with Titanium Backup. Also make sure you have backups of your contacts, etc.Then wipe data, cache, dalvik cache, and system in CWM Recovery. Install an ICS rom and then fix permissions. After that, you should be good! If you decide to flash kernels, then just flash this Ultimate Cleaning Script and then the new kernel. :)
[Galaxy S II Android Development] giajp:
when the S3 version?
[Galaxy S II Android Development] Xardas:
You got it too early m8:D

L'hai avuto troppo presto giajp:D

±Sent from a galaxy far far away®
[Galaxy S II Android Development] buster041284:
Gona update first post today been messing round with sansung galaxy 3
[Galaxy S II Android Development] buster041284:
first post updated:D
[Galaxy S II Android Development] zt_lee:
Please provide more download links...I cannot download.
[Galaxy S II Android Development] blu3angel:
+1
[Galaxy S II Android Development] mchu6am4:
Does this work with AOKP ROM using cm9 kernel?
[Galaxy S II Android Development] THE RED BLUR:
Wherever I go i keep bumping into u. ;)

Yes mate is does its part of my ritual when flashing a new kernel. :)

Using Resurrection Remix AOKP ICS version 2.2 powered by Dorimanx 3.3
[Galaxy S II Android Development] mchu6am4:
We must share same interest in roms and kernels! ;-)
[Galaxy S II Android Development] d3l1:
Just tried to clean my dorimanx settings but it had no effect. Dorimanx 3.3 on Wiui 2.6.8 after running the cleaning script all settings remained.

Sent from here using Tapatalk
[Galaxy S II Android Development] amirsat2012:
file not found
[Galaxy S II Android Development] blu3angel:
More links plss....

Sent from my GT-I9100
[Galaxy S II Android Development] THE RED BLUR:
Here u go mate.

https://www.dropbox.com/s/y8yjbeug2t1schs/Ultimate_Kernel_Cleaning_Script_v2.6.5.zip

Using Resurrection Remix AOKP ICS version 2.2 powered by Siyah 3.2.7.2
[Galaxy S II Android Development] ChapQuin:
thanks for the link dude ; )
[Galaxy S II Android Development] luchino71:
Hello you can edit the script to make even the wipe data to use when changing a rom?
[Galaxy S II Android Development] apazul:
Thanks..

Saludos

apazul--JOSE MANUEL

Enviado desde mi Galaxy S2 GT-i9100 usando Tapatalk 2.
[Galaxy S II Android Development] invincible authority:
After flashing the script.. I flashed phenomenal Kernel on wanamlite ROM and now I am getting abnormal battery stats.... eg. battery value is increasing instead of decreasing...

What to do. ??
[Galaxy S II Android Development] kpucci:
is this

samsung_ultimate_kernel_cleaning_script_by_lippol94

the same as this

Ultimate_Kernel_Cleaning_Script_v2.6.5

if not, which is newer?
[Galaxy S II Android Development] mecss:
It is not recommended to do this. For this you can do it about cwm recovery...

Make the battery empty and try to in off-mode charge...cause it is not a ukcs problem...

lippol94 had make the script for the sgs1 and my friend MadMurdoc and me has written it for the sgs2, therefore the v2.6.5 is the newest...
[Galaxy S II Android Development] colossus:
Thread Closed at op's request.
[Galaxy S II Android Development] KeesStolk:
Intresting, just flashed it and reflashed DK 2.4.3.

Let's see if this will make any difference in the days to come.
[Galaxy S II Android Development] chetasus:
thanks, just flashed...will report if any issues
[Galaxy S II Android Development] Lownita:
Does it work with cm7 too?
[Galaxy S II Android Development] buster041284:
yea think so not tried myself but should only clean kernel stuff iv used it on miui worked fine
[Galaxy S II Android Development] buzzboy:
Definitely an improvement on Aosp builds for me, more stable, and battery drain has improved.

Will keep monitoring, but so far so good.

Thanks and regards
[Galaxy S II Android Development] buster041284:
iam glad i could share this
[Galaxy S II Android Development] mcdanishdk:
Cleaning script

Sorry for being such a chicken**** (and noob), but when flashing, let's say, Criskelo ROM, do I have to flash a separate kernel after running this script, before flashing Criskelo? I could really use some cleaning up ;=)
[Galaxy S II Android Development] KeesStolk:
I suggest, when you going to flash a new rom, do a full wipe.

If you do so, then there is no need for flashing this script.
[Galaxy S II Android Development] mcdanish:
The reason I ask about the new kernel is that sometimes the old lockscreen lingers, so I was wondering if this would change that??
[Galaxy S II Android Development] buster041284:
if the kernel makes the lockscreen linger then it mite help if its to do wid the rom then it wont help
[Galaxy S II Android Development] KeesStolk:
Then, just try.

There is no data lost when flashing this script or going to give you any other problems.
[Galaxy S II Android Development] mccune:
When I use the Ninphetamine kernel the script reboots my phone.
[Galaxy S II Android Development] androidkid311:
Ive flashed a **** load of kernels using this script and i havent had a single problem! It just works perfectly like iphones ios loool. :D :D.

looks like an iphone but powered by android baby!!!!
[Galaxy S II Android Development] buster041284:
its the rom your on it done the same to me on Krinyo75 SlimRom
[Galaxy S II Android Development] mccune:
I doubt it's the ROM. When flashing SiyahKernel or Void #Echo it works just fine.
[Galaxy S II Android Development] ksantoshh:
No you have to flash this via CWM only. You will still have CWM after flashing. It just removes the residue from last kernal.

---------- Post added at 01:09 PM ---------- Previous post was at 01:06 PM ----------

Its independant of ROMS. Just to clean up residue from previous kernals.flash it through CWM before flashing any new kernals.
[Galaxy S II Android Development] buster041284:
it must be Ninphetamine kernel then i don't use it so could't tell u why
[Galaxy S II Android Development] mecss:
Hi dudes,

we, from german forum Android-Hilfe.de, have noticed that after flashing this script the reboot is very quick. Can anyone confirm this? Well, I have a doubt about the real formatting from the cache and dalvik cause normally after an manually wiping of the cache and the dalvik the reboot is slower as a normal reboot, what is ok and it should be, but in this case with this script it is quick. That cant be in our case...what are you thinking?...
[Galaxy S II Android Development] buster041284:
it was took from the galaxy thread i flash this every time i change kernel i some times use to have problems wid changing kernels but since i use this seams better and my battery life didt do down as much as it use to that's why i put it on here iv heard of some people that it works wonders for them and some say it does not do anything but something iv come to understand on xda everybody phones are different when flashing roms some people flashing the same rom the same way have different problems
[Galaxy S II Android Development] KeesStolk:
Interesting comments.

I have read some posts where people said that there is need for wipen anything when flashing a kernel.

They are right?

I have used the script a couple of times now and did not wiped anything manually and all is running well.

But before using the script, i wiped cache, dalvik and battery stats and i gives me pretty much the same results.

If the script is handy, but not made for the S2, can someone make modification to it, so that it will proper does it's job on the S2?
[Galaxy S II Android Development] mccune:
The mounting part of the script seems to make the Ninphetamine kernel to reboot the phone. This is probably due to the wrong mount destination.

As far as the rest of the script it seems to just clean the cache and Dalvik etc.

When you do this manually I see no real reason to use this script.

Or is there something we're missing here?

- Sent from my mobile phone
[Galaxy S II Android Development] iscio:
are you able to update the script to GS2? thanks
[Galaxy S II Android Development] mecss:
My mate from the android-hilfe.de forum MadMurdock has written a corrected version of this cleaning script for our sgs2. I have only translated in english. It should work now cause the mountpoints are correct after my investigation. Some kernel settings files are included. If you have some more kernel files in the init.d folder, you can post it here and I or MadMurdock will include it again.
[Galaxy S II Android Development] buster041284:
do u want me to put on main post and thanks to u
[Galaxy S II Android Development] KeesStolk:
Txs, next time when I am going to flash a kernel, going to try it.
[Galaxy S II Android Development] wicked245:
For me its not working it just says installation aborted.
[Galaxy S II Android Development] KeesStolk:
Same here, aborted.
[Galaxy S II Android Development] mecss:
Sorry mates, the first version was incorrected zipped by myself...I have zipped correctly now and you can use it now...sorry again...:(;)
[Galaxy S II Android Development] KeesStolk:
txs, just tried it, seems to work now.
[Galaxy S II Android Development] kotty:
can this script work on galaxy note?
[Galaxy S II Android Development] mecss:
Perhaps yes, but I don't think so or you try it...maybe I know the mountpoints then it does sure....
[Galaxy S II Android Development] mecss:
Kernel-Cleaning-Script v1.1

I have updatet to 1.1 cause the siyah parameters are now included...enjoy it!...;)
[Galaxy S II Android Development] KeesStolk:
Txs, so if i understand this correctly, the first one was targeting stock like kernels?

Arggh, still a noob with android stuff...
[Galaxy S II Android Development] iscio:
I think it could be usefull update the first post
[Galaxy S II Android Development] mecss:
Hey mates, it is so, that there are many kinds of kernels and if you give me the special files of these kernels, like void - speedmod - hellcat etc., I will include this files which is in the system/etc/init.d-folder in this script...
[Galaxy S II Android Development] KeesStolk:
Nice, iám currently using the DarkKnight 2.5.2 kernel, as far as i know, it's based on Siyah, but with modifications made by Gadgetcheck.

Second favorite kernels for me are the ones from Speedmod.
[Galaxy S II Android Development] mecss:
I can help you if you help me when you give me the content from init.d folder. It is in system/etc/init.d and there I need the kernel settings files...okidoki?...:D
[Galaxy S II Android Development] buster041284:
UPDATED FRONT PAGE THANKS TO Mecss
[Galaxy S II Android Development] mecss:
Hey dude, I have updated it and now its for samsung based and aosp roms...here you are...
[Galaxy S II Android Development] karendar:
Just took a look at your updater-script structure and thereare a few inconsitencies in there that could be cleaned up. For example, you're trying to run a script that just isn't in the zip file:

package_extract_dir("script", "/tmp/script");
set_perm(0, 0, 755, "/tmp/script/cleaningmodules");
run_program("/tmp/script/cleaningmodules");

This does nothing because the script folder doesn't exist. Also, you wipe cache and dalvik twice on this script, once at the beginning and once at the end. It'd be much cleaner to only wipe it once. Also, why are you deleting files individually instead of doing one recursive delete of init.d?

Another nice addition to this would be to backup the deleted scripts to the SD card before wiping them for historical purposes. Just my two cents. ;)
[Galaxy S II Android Development] buster041284:
ill ask mecss if he can look in to this for u pal
[Galaxy S II Android Development] Astegal:
It would be great to update first post with change log.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Vandercoolie:
THNXS it worked great for me my WIFI issues are solved
[Galaxy S II Android Development] buster041284:
glad it worked for u pal
[Galaxy S II Android Development] mecss:
Ok, I will look for and report later...

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] iscio:
any news about this script?
[Galaxy S II Android Development] zikarus:
v. 1.3 (30.12.) is the latest...

http://www.android-hilfe.de/showthread.php?t=179936

GT-I9100 Tapatalk
[Galaxy S II Android Development] buster041284:
UPDATE

Updated 1.3
[Galaxy S II Android Development] iscio:
mecss whera are you?
[Galaxy S II Android Development] buster041284:
its been updated 1.3
[Galaxy S II Android Development] iscio:
Yes I know but mecss found the errors in the previous release and I like to know what he is thinking about this release
[Galaxy S II Android Development] manishdev:
Will this cript work with samsumg galaxy s2 I9100G? if not can you make one please.
[Galaxy S II Android Development] nicregi:
Nice! Thanks for sharing this buddy!
[Galaxy S II Android Development] zikarus:
Update to v. 1.4 and even 1.5 (at the end of the thread) released

http://www.android-hilfe.de/showthread.php?p=2413346

GT-I9100 Tapatalk
[Galaxy S II Android Development] buster041284:
thank u pal
[Galaxy S II Android Development] Igor 3:
Can someone please write whats changeing with each update?
[Galaxy S II Android Development] buster041284:
first post
[Galaxy S II Android Development] zikarus:
Beware:

Do not use v. 1.5 with AOSP ROMs ( CM MIUI) since the script may delete some entries in their init.d which have the same name as some thunderbolt entries.

Only use with Samsung based Roms till update to v. 1,6 will be out.

GT-I9100 Tapatalk
[Galaxy S II Android Development] veyka:
This script:

Deletes dalvik twice (??)

Deletes cache twice (??)

Removes a selection of init.d scripts, mostly thunderbolt! scripts, zipalign and other ram/etc tweaks, also removes voltage control's script.

Most of the scripts it removes have nothing todo with the kernel, most come with your rom.

Also it removes lights.default.ko and sensors.default.ko which I dont think are even used on stock i9100 roms, and can cause problems if removed on CM/miui.

Also the modules cleaning script, doesn't touch anything that's used in the SGS2.

At best this is a waste of time, at worst it could degrade performance by removing tweaks your rom dev put in.

But hey, at least they got the mount points right :)

ps (If they want to clean out the init.d folder, why not just delete everything in there? Why hardcode a random selection of scripts)