yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] androidindian:
wooohooo! amazing! thank you!!
[Galaxy Note GT-N7000 Android Development] tids2k:
good work !
[Galaxy Note GT-N7000 Android Development] spandsbab:
testing this one now, just in time, thanks!!!
[Galaxy Note GT-N7000 Android Development] schaggo:
I noticed some residue as well, but only the obvious :rolleyes: Thanks for doing this to also clean out the other trash...

#Tapatalk #Galaxy Note
[Galaxy Note GT-N7000 Android Development] robertberma:
edit

Is this a joke? Zip is empty, ony system file. Please explain. Updater script and binaire are different than abyss zip?
[Galaxy Note GT-N7000 Android Development] jayGGjay:
Well it is "only" a script that clean (recursive delete):

- cache

- dalvik-cache

- some init.d scripts

- modules that might be left from older kernel

- cache

- dalvik-cache

So yes the system is empty because it is not to overwrite stuff with new things only to clean up some old stuff

BUT BE CAREFULL WITH IT AS IT CLEAN SOME INIT.D scripts THAT MIGHT OR MIGHT NOT BE USEFULL DEPENDING YOUR KERNEL AND THAT NEW KERNEL FLASH USUALLY ONLY WRITE THE KERNEL AND not the scripts from init.d.

So very good/usefull if your are sur/know your ROM and it custom init.d scripts (or backup your init.d scripts before doing it)

EDIT:

here a the init.d that this scripts try to remove

/system/etc/init.d/S70zipalign

/system/etc/init.d/S90scheduler

/system/etc/init.d/S99finish

/system/etc/init.d/89system_tweak

/system/etc/init.d/98system_tweak

/system/etc/init.d/S89system_tweak

/system/etc/init.d/S98system_tweak

/system/etc/init.d/S90screenstate_scaling

/system/etc/init.d/90screenstate_scaling

/system/etc/init.d/98screenstate_scaling

/system/etc/init.d/S98screenstate_scaling
[Galaxy Note GT-N7000 Android Development] projo69:
Wow, thx bro
[Galaxy Note GT-N7000 Android Development] robertberma:
Great work, every kernel dev should use this sript in there fash zip.

---------- Post added at 03:32 PM ---------- Previous post was at 03:28 PM ----------

I never use init.d scripts, only 99complete. So again great work.
[Galaxy Note GT-N7000 Android Development] The_Steph:
jblanc,

I don't get the follwing part:

ui_print("* Cleaning olds modules... *");

ui_print("*****************************************************");

package_extract_dir("script", "/tmp/script");

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

run_program("/tmp/script/cleaningmodules");

show_progress(0.100000, 70);

There is no script folder in zip file, so no reason for it...
[Galaxy Note GT-N7000 Android Development] jaiiscool:
I was just about to post it.

The zip is missing the script folder, also the system folder can be deleted as it is of no use in the zip.
[Galaxy Note GT-N7000 Android Development] jayGGjay:
lol, i was so focused on the updater-scripts I did not notice the module cleaning scripts was missing from the zip.

He might just add the module script in the updater-scripts and do everythings from there.

OR

He could also make a "external" scripts for the init.d scripts so people/dev might tailor it to theirs needs/rom/kernel

Anyway a corrected update should come now that a few have spot those "issue" ;)
[Galaxy Note GT-N7000 Android Development] robertberma:
Here he explains wy he use system folder
[Galaxy Note GT-N7000 Android Development] robertberma:
Hi jblanc, what do you think of this post? Is he right?

http://xdaforums.com/showpost.php?p=22022693&postcount=7073
[Galaxy Note GT-N7000 Android Development] jayGGjay:
robertberma:

Tx, but i am NOT Jblanc the creator of the scripts only some "guy" with linux knowledge and curiosity that wanted to have a look at it before using it.

So I could NOT explain with he has left the empty system directories. I have only look at the script and understand/try to understand what he was trying to achived with it.
[Galaxy Note GT-N7000 Android Development] robertberma:
Haha nice picture, is that you? Sorry for his spamming jblanc.
[Galaxy Note GT-N7000 Android Development] jaiiscool:
The system folder is not used in this case, the folder i the zip is for copying files over to system drive, and since no files are copied, it can be deleted.

As for the above lines, those are for deleting files present in the system drive.

In whatever case the system folder inside the zip is not required as of now.
[Galaxy Note GT-N7000 Android Development] robertberma:
Can paste in this zip zimage of every kernel i want to flash. Maby again a stupid quastion but than if i flash a kernel it will do all in one go.
[Galaxy Note GT-N7000 Android Development] hgyut:
this Zip Should be in developer section

thx Blanco
[Galaxy Note GT-N7000 Android Development] jaiiscool:
Script can be updated to flash zImage as well.

Let me know if you wanna learn.
[Galaxy Note GT-N7000 Android Development] robertberma:
This dev section right?
[Galaxy Note GT-N7000 Android Development] jaiiscool:
Yup
[Galaxy Note GT-N7000 Android Development] robertberma:
So if i delete system folder and paste zimage in zip than i can flash kernel and cleanup in one go?
[Galaxy Note GT-N7000 Android Development] jaiiscool:
Yes but u will need to modify updater-script

Process:

Paste the desired zImage in the zip (7zip recommended)

Add the following lines to the script:

ui_print("Flashing kernel");

assert(package_extract_file("zImage", "/tmp/zImage"),

write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5"),

delete("/tmp/zImage"));

show_progress(0.100000, 0);

ui_print("Finished");
[Galaxy Note GT-N7000 Android Development] reinbeau:
Thread cleaned - stop the childishness. Stick to the subject.
[Galaxy Note GT-N7000 Android Development] jblanc:
Thanks for cleaning Reinbeau.

Envoyé depuis mon GT-N7000 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] Dr. Narinder:
will try it before flashing new kernel.
[Galaxy Note GT-N7000 Android Development] T.Muller:
@jblanc

u could give credit to LIPPOL94.

u've clearly been "inspired" by his ultimate kernel cleaning script :rolleyes:
[Galaxy Note GT-N7000 Android Development] eliashadow:
As we know the most of kernel devs said that is not necessary to wipe anything before instal a kernel, but my kernel working better for me after running this script and install abyss kernel again.

So, thank you and keep up mister...
[Galaxy Note GT-N7000 Android Development] Sultan.Alkhuzaie:
thanx very much
[Galaxy Note GT-N7000 Android Development] HISOON:
Bravo

Thank you ​
[Galaxy Note GT-N7000 Android Development] Notified:
Comes in very handy, many thanks :)
[Galaxy Note GT-N7000 Android Development] drakal:
So, i'm on CheckROM. I just have to run this tool and flash abyssnote?
[Galaxy Note GT-N7000 Android Development] eliashadow:
Yes...Its working like this in every rom.
[Galaxy Note GT-N7000 Android Development] sudisk:
Does the patcher work on ICS AOSP ROMs ?

I see that JBlanc released an ICS 4.0.4 ROM with JBroid included. Is it using the patcher?
[Galaxy Note GT-N7000 Android Development] eliashadow:
And if it works and you clean the ics stock kernel, which one you will install after???:confused::p
[Galaxy Note GT-N7000 Android Development] Rebel242:
great job ! ;)

Merci, sympa le partage :D
[Galaxy Note GT-N7000 Android Development] arulvelk:
Thanks mate !

That was a really useful script...Keep it up....Cheers ;)
[Galaxy Note GT-N7000 Android Development] prana_Sky:
Thanks! I feel cleansed:D
[Galaxy Note GT-N7000 Android Development] DirgeExtinction:
I'm curious, and sorry for bringing this thread back, but can this script be flashed on other phones such as the Galaxy Nexus?
[Galaxy Note GT-N7000 Android Development] jblanc:
YEs but you must edit script for a compatibility with Galaxy Nexus partition.
[Galaxy Note GT-N7000 Android Development] ZeCoder:
Thank you very much.

Does flashing a fresh Complete Rom with Re-Partiotion enabled in Odin make the same desired effect "Kernel Cleaning" as this script?

And can I run this script with the official recovery mode directly before installing a ROM with Odin (without the Re-Partion option)?

Thanks again :)
[Galaxy Note GT-N7000 Android Development] jonpaslim:
Thanks jBroid my kernel now is lick clean.:D
[Galaxy Note GT-N7000 Android Development] karmakula:
Thanks, This is a great work
[Galaxy Note GT-N7000 Android Development] StaticGTF:
Hi!

I own an old S-E Xperia X10. Could this script be adapted to clean out any remaining kernel left-overs of my device?

Any help in this woould be very welcome!
[Galaxy Note GT-N7000 Android Development] skyhew:
Thanks, any risk for the kernel with eMMC bug to use this?

Thanks.
[Galaxy Note GT-N7000 Android Development] MikeFRG:
+1
[Galaxy Note GT-N7000 Android Development] chikess:
+1
[Galaxy Note GT-N7000 Android Development] ngocdao:
gotta clean em kerns, boy!

thanksman.
[Galaxy Note GT-N7000 Android Development] brockyneo:
Hi just woundering can this be used with ics roms ie from cf root kernel, jbroid cleaner,franco kernel or is they a risk of bricking or just not compatable with ics thabks
[Galaxy Note GT-N7000 Android Development] Crash:
+1
[Galaxy Note GT-N7000 Android Development] drashish36:
deleted
[Galaxy Note GT-N7000 Android Development] Note_E:
You could, you know paste the link to the post as evidence...

What version of CWM was this user using considering CF has updated it once from 5.3 to 5.5 and recently from 5.5 to modified 5.6...cause that would help too.

Fear mongering does not help
[Galaxy Note GT-N7000 Android Development] jkgtan:
Pls get the fact right. I do not want to scare people.

I hv been flashing since Omnia/ Omnia 2/ SGS and know the note.

I hv been flashing up and down trying Kings, Rocket, Criskelo, 9220 break.

I know my mistake.

I clean up the kernel and reboot into recovery, that's the root cause of the problem. The phone cannot boot because there is already no kernel in the system.

Got nothing to do with ics cwm.
[Galaxy Note GT-N7000 Android Development] LordManhattan:
Works fine flashing this on CM9/Thor kernel. Thanks :)
[Galaxy Note GT-N7000 Android Development] despine:
I did the install zip from sdcard option in cwm, and after that,

I tried to install abyss kernel 4.2 but it hangs at installation part, and I have to force power off or the phone reboots after few minutes of waiting.
[Galaxy Note GT-N7000 Android Development] emoskremo:
What actually this script for..:confused::confused::confused:

Is it use to clean cache when install new kernel?
[Galaxy Note GT-N7000 Android Development] stesteste:
gives you clean install for kernal changes

This script will do cleaning your phone and remove any residue of previous kernels installed.

From time to time when you want to change or flash a kernel, apply this script before ...
[Galaxy Note GT-N7000 Android Development] xelir13:
Is this safe to use on TW ICS Roms?
[Galaxy Note GT-N7000 Android Development] soloilmeglio:
if you previously flash a gb kernel....

follow these steps:

flash abyss 3.9 kernel DO NOT REBOOT SYSTEM

advanced>reboot recovery

flash jBdroid script DO NOT REBOOT

flash an ics kernel

reboot system

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] jermitano:
it cuts its slices it juliens...seriously dude 7 pages too much for you??? :confused:

here maybe this will help...

http://xdaforums.com/showpost.php?p=22020953&postcount=8
[Galaxy Note GT-N7000 Android Development] tstrooper:
I am on rocket rom 5 ics how do i flash this script? directly via recovery or 1st have to flash abyss 4.2 kernel
[Galaxy Note GT-N7000 Android Development] TivAk:
Query: I'm on Alliance rom note ICS v1 with ficeto's note core ics 0.5 kernel.

I wanted to try franco kernel #6

When I flashed the jBoid cleaning script cwm rebooted without running the script...

I flashed without cleaning script.

Phone was overheating an big battery drain and verry slow charge speed.

I'm back on notecore ICS 0.5 much beter performance on all points.

But back on topic...

Someone got an idea why cwm reboots when trying to clean??
[Galaxy Note GT-N7000 Android Development] wildestpixel:
Boy that commercial was great.

-Abyss

-jBroid

-New Kernel
[Galaxy Note GT-N7000 Android Development] barathan:
I've not tried this yet but I guess the proper way would be:

Flash Abyss than run this scrpt and install your kernel again and viola...nice purrrring engine for you.

I know some people will never admit they made a mistake and just say that what they flashed was the cause of their misery....

Please anyone, correct me if I'm wrong.
[Galaxy Note GT-N7000 Android Development] ravi_buz:
Tried this with gl notecore kernel and

Works perfectly.
[Galaxy Note GT-N7000 Android Development] routey:
Anybody else getting an error of cache recovery log after flashing this? It cleans good but always have this error even after I flash a new kernel...
[Galaxy Note GT-N7000 Android Development] kopitalk:
Manually format /cache does the trick.
[Galaxy Note GT-N7000 Android Development] routey:
So what you're sayin is I need to do a format cache first before flashing this script? I've actually tried that before but am sill getting.the error thanks
[Galaxy Note GT-N7000 Android Development] kopitalk:
Usually I will get that error when switching from speedmod to others and vice versa, which I think it's due to external internal sd issue with speedmod. Formatting /cache is the last step before I flash the new kernel, and reboot afterwards. Sorry if it doesn't work for you. Maybe others will help.
[Galaxy Note GT-N7000 Android Development] jblanc:
Edition 1.1 out !
[Galaxy Note GT-N7000 Android Development] eidros:
Where is the link for the latest version?
[Galaxy Note GT-N7000 Android Development] Le Ch@land:
Hi

Is this version of the script safe with the ics cf kernel 5.6 ? (Shi.... emmc caps command disabled)

The last version 1 is safe, no need additional kernel during cwm clean.

I think to the brick bug specially of course :rolleyes:
[Galaxy Note GT-N7000 Android Development] jblanc:
sybr kcs 1.0 is new version. I fortget chanfe file name.

Envoyé depuis mon GT-N7000 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] AhmadOkda:
Do we still need to flash gb kernel and boot in recovery to flash the new script or will it work with ics kernels now?

Thanks
[Galaxy Note GT-N7000 Android Development] jblanc:
Works with ics kernel yes.

Envoyé depuis mon GT-N7000 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] Le Ch@land:
Tested and worked fine with stock ics 4.0.4 with the according kernel made by Chainfire without flash of a new kernel, just cleaning, no brick here :good: but with a stock unmodified kernel i don't think try this script a day ... until samsung provide us a safe kernel :confused:
[Galaxy Note GT-N7000 Android Development] dsmas:
My device is N7000 KD5.1.1 kernel speedmod 3.9. Can I run this script and flash NoteCore kernel. Thanks.
[Galaxy Note GT-N7000 Android Development] tugas2khas:
suddenly i cannot find sybr ROM thread.... what happened??
[Galaxy Note GT-N7000 Android Development] hamma:
He "stole" from Asylum.
[Galaxy Note GT-N7000 Android Development] kopitalk:
To be exact, "busted". Btw the cleaning script cleans siyah, fluxxi, neak, etc. Do we need them? Hope the script to be effective, efficient and specially tailored for our Note.

PS: I don't mind if those kernels are made available for our Note :p
[Galaxy Note GT-N7000 Android Development] Leechoonhwee:
How can someone "stole" when it is open sourced?
[Galaxy Note GT-N7000 Android Development] kopitalk:
Using other's hardworks without permissions and taking credit, even monetary gains for oneself. Open source doesn't mean it's free or cheap skate.
[Galaxy Note GT-N7000 Android Development] jblanc:
Sybrwar back today on aokp source, be quiet ...

Envoyé depuis mon GT-P5110 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] Formhault:
Wait... isn't this jBroid Cleaning Script?! The OP name and date seems to coincide...

Sent from my GT-N7000
[Galaxy Note GT-N7000 Android Development] jblanc:
Yes it is. But change nickname

Envoyé depuis mon GT-N7000 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] @denny:
Well if it is this dev needs to be treated like mr thor...as in banished...bad enough the rom was stole from a decent dev as it is antiochasylum works tirelessly on that rom
[Galaxy Note GT-N7000 Android Development] FabreFaction:
Jbroid as in J Blanc......... The owner of this thread.....
[Galaxy Note GT-N7000 Android Development] @denny:
Dont matter. ..still got no repect for ya if you stole from anti! !!
[Galaxy Note GT-N7000 Android Development] FabreFaction:
This thread is for a script not a ROM.

What has been stolen?
[Galaxy Note GT-N7000 Android Development] jblanc:
Stop talking about rom, and let this thread for my script. Thanks.
[Galaxy Note GT-N7000 Android Development] Formhault:
I don't know what jblanc did about whatever ROM this fuss is all about... but I do know one thing : this script he's made is the only such script I've seen for the Note, so... I don't think he copied that from anyone :) .

And... the script he made is quite good, since we use it to clean up before flashing a kernel... RIGHT?

Hence... jblanc perhaps deserves punishment for the copying he did with the ROM, whatever that might be, but he deserves some applaud for the script right here :) . So thank you, jblanc.

Now... what's with the name change? I also see a v1 in the name. Is there going to be any updates on this? Are there any chances between jbroid cleaning script and this one? Or it's the same, just with a different name?

Oh and... don't copy/steal anything in the future, unless it's about exams or tests or stuff like that :D .
[Galaxy Note GT-N7000 Android Development] jblanc:
Thanks bro :)
[Galaxy Note GT-N7000 Android Development] ricardowec:
where is version 1.1 please?
[Galaxy Note GT-N7000 Android Development] jblanc:
Edition 1.1 is on OP now ;)
[Galaxy Note GT-N7000 Android Development] ricardowec:
thank you

Sent using Chanook 300
[Galaxy Note GT-N7000 Android Development] letters_to_cleo:
when I ran this cleaner my phone just stuck in 'Samsung' logo mode? what gives?
[Galaxy Note GT-N7000 Android Development] routey:
Just used the latest 1.1 before flashing new kernel working very well thanks
[Galaxy Note GT-N7000 Android Development] alxwlc:
Thanks jblanc for updating to new Kernel Cleaning Script Edition 1.1.. Downloading now and shell use it when flashing CM10 on Galaxy Note..

Cheers :)
[Galaxy Note GT-N7000 Android Development] tugas2khas:
got to recovery, wipe cache and dalvik...reboot.
[Galaxy Note GT-N7000 Android Development] Leechoonhwee:
+1 would like to know any difference too..
[Galaxy Note GT-N7000 Android Development] badjaguar007:
Can it be used for any CM?

I mean for eg can it be used for CM7.2 cleaning?
[Galaxy Note GT-N7000 Android Development] jblanc:
Yes you can
[Galaxy Note GT-N7000 Android Development] ThaiDai:
In different forums and threads there were hints that this script is absolutely useless:

The best and even humorous analysis from antiochasylum. But the first analysis I read before was from nobnut.

But even more it seems to be a simple copy of a script by buster041284 for Galaxy S2 which is a clone from script by lipol94 for Galaxy S. Surprisingly no credits given here - not really fair (even for a placebo).

In the original there is the file "cleaningmodules" which isn't in the Sybr script - simply forgotten to copy it. The script would clean the modules:

#!/system/bin/sh
rm -rf /system/lib/modules
rm -rf /system/etc/glitch-config
rm /data/local/logger.ko

From busters script resulting are the strange kernel entries like Thoravukk, Siyah.... These are S2 Kernel (I assume). The thread is closed.

This script doesn't do anything, so it doesn't do dangerous things.

But: if a member just copies and adds entries without even checking what they'll do or wether they might work I would be afraid that he might add dangerous things by "nescience (or even ignorance?)" in new versions.

And when I see ROMs that use this script without any control I'm even more surprised.

So maybe the OP should check this script and clean it - even if the resulting content is NULL:
[Galaxy Note GT-N7000 Android Development] BashyUK:
So there's no point in this script then? I''m trying to find the jbroid script as per Chrack's installation instructions, does this exist any more or is this the replacement and if so, back to my first q :)
[Galaxy Note GT-N7000 Android Development] Formhault:
I thought Sybr is an improved version of jBroid's? Proves to be useless, while jBroid's was good?

Scribbled from my Note coupled with the best (CleaNote) ROM and (NoteCore) kernel by g.lewarne
[Galaxy Note GT-N7000 Android Development] ThaiDai:
Renaming something doesn't change the content. And the analysis from nobnut and antiochasyslum was made with jBroid.
[Galaxy Note GT-N7000 Android Development] Formhault:
So... Conclusion... jBroid and Sybr kernel cleaning scripts are completely useless...?

Scribbled from my Note coupled with the best (CleaNote) ROM and (NoteCore) kernel by g.lewarne
[Galaxy Note GT-N7000 Android Development] hamma:
Yep
[Galaxy Note GT-N7000 Android Development] Formhault:
Jejowkhfpkldirkqljtpdkfneoqlajdllldkapqbue

Scribbled from my Note coupled with the best (CleaNote) ROM and (NoteCore) kernel by g.lewarne
[Galaxy Note GT-N7000 Android Development] chasmodo:
In a nutshell, all this script really does is cache and dalvik wipe. And nothing else.

And how hard it is for any user to do it himself?:)
[Galaxy Note GT-N7000 Android Development] w0nderwall95:
I used this kernel-script in all of my flash and all it's perfect... Not one bug... Perfect. Thanks You :D
[Galaxy Note GT-N7000 Android Development] w0nderwall95:
Oh i talked :( when i used this kernel the last times i've got this error:

e:can't open /cache/*recovery*/log

e:can't open /cache/*recovery*/log

e:can't open /cache/recovery/last_log

e:can't open /cache/recovery/last_log

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] antiochasylum:
its perfect because it prints some useless context on your screen and nothing else. ITS ****ING USELESS. Learn to do **** yourself.

That's why 85% of xda can't do ****, everything is auto, 1 click root, 1 click unlock, blah blah. Learn to do it the old school method.
[Galaxy Note GT-N7000 Android Development] w0nderwall95:
i don't speack english very well, and when i use it seemed to me make my phone more fast... it's only my impression... i can't understand why did you get ungry...

Ps: i use this script when i flashed speedmod and all times when the notecore do a update... only the last update i had a problem...

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] antiochasylum:
In no way, shape, form or function does it have anyway of making your phone faster.

I'm not angry. You just don't understand that this script does not do anything for you. Wipe cache and dalvik in recovery and its the same thing.

But hey what do I know, I only build for 4 different devices, have 2 successful roms for the note itself. Keep thinking your phone is *faster*
[Galaxy Note GT-N7000 Android Development] chasmodo:
You're wrong there. You have three successful Roms: one ICS and two JB ones.

And three kernels of your own to boot.;)
[Galaxy Note GT-N7000 Android Development] w0nderwall95:
Now i read all post on this thread, and i understand why you tell my that. But for me this conversation it's only useful becouse the next time, before flash and before saying "OMG it's the most useful thing i ever try!" I read all the post and take all the topics for learn and do better the next time ;) i think that is that what do you mean for "old school".

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] ThaiDai:
This thread could be closed for a few obvious reasons:

Useless

No own development

Taken from scripts of other developers without giving credit
[Galaxy Note GT-N7000 Android Development] reinbeau:
Thread closed

For this ^^^^^