yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Patrics83:
Yes its correct. However recovery says you are running the script in a emulator not on a device. :O
[Desire HD Android Development] myxcon:
I don't think cwm oficially suports the htc chacha, that could be why.
[Desire HD Android Development] Patrics83:
Ok listen now!

Did you run it in a emulator on your PC?
[Desire HD Android Development] myxcon:
No. On the phone. The recovery is flashed on the phone.
[Desire HD Android Development] Patrics83:
Well then your recovery is not supported since it's not a offcial CWM Recovery.
[Desire HD Android Development] myxcon:
So there is nothing that can be done to flash the cleaner script?

I'm using a port of the CWM that can be found here : http://xdaforums.com/showthread.php?t=1164468
[Desire HD Android Development] Patrics83:
Not from my side I'm affraid :(

I spent many many hours to find the most ultimate solution and I guess I found it, but if the recovery even cant handle that inital installation of the script I can't do anything about it...

You see I even extract Busybox to your /tmp folder to make sure you have all needed commands during install but that part fails also.

Sorry, I think you need to buy a new phone soon anyway so :D

However you could test an old version in first post, it's unsupported but you can always try it. Good luck!

See you some other time and thanks for testing ;)
[Desire HD Android Development] Thedonk13:
The new PM'd script rebooted my phone, but it did not remove things like FM radio and such. Here are the logs.
[Desire HD Android Development] Patrics83:
Great! Join my irc channel. And ask for mikg romcleaner.txt
[Desire HD Android Development] Patrics83:
Updated ROM Cleaner to v1.0.4

Removing Temp Folders From SD Card

*/Android

*/.android_secure

*/Bugreports

*/rosie-scroll

*/LOST.DIR

*/.adobe-digital-editions

*/tmp

*/data

*/LazyList

Now with "easier" updater-script
[Desire HD Android Development] Dude360:
Definitely

dont

use the scripts I posted lol They were written during a time of (self)development/testing so may contain other stuff ;)

Always use the one from the first post, its mint :D

I see you've got mikes attention as well :)
[Desire HD Android Development] Patrics83:
LOL I would call it self destructive testing :p

Nah just kidding but you might wanna delete that updater-script from your old post so ppl ain't get confused.
[Desire HD Android Development] Whiskey103:
Of course.. the whole TEAM is paying attention :) We test his great stuff mate. And never had a single issue btw.

If I wouldn't like it, I wouldn't host it :)

Only hi rated top quality stuff is coming from www.androidrevolution.nl

Sent from my Desire HD using Smoke Signals, Morse Code and Pigeon Post.
[Desire HD Android Development] Dude360:
Hehe. Well as they say, in for a penny, in for a pound :D

Good idea, tis deleted :)

I think everything the team has done so far is 100% quality work. My DHD wouldnt know what to do without you all! Well, apart from be laggy, bloaty and just suck in general lol :D
[Desire HD Android Development] Patrics83:
Update

I reuploaded ROM Cleaner v1.0.4 because of an error in the script.

The only thing how it affected was the deleting of Temp folders on SD card.

Thanks lukogriffioen for letting me know :D
[Desire HD Android Development] Spaghetti-XRY:
This is my updater-script... i've just added some lines to delete more things.

The other attachments is my System folder in which I've added differents apps from others .zip

I've tried to .zip my folder and flash it from CWM after flashing ARHD (without reboot) and it tells "installation aborted". Then I tried to add apps from local disk to the original rom cleaner, upgrading the updater-script with mine and when flashing it stops with "status 6" (wrong format text).

Any help is appreciated. Thanks
[Desire HD Android Development] Patrics83:
First of all please remove the attached files :D ppl might get confused.

Regarding the updater-script all seems ok. except this "delete("/sdcard/Android");"

Make it like this delete_recursive("/sdcard/Android");

Folders seems ok also. PM me a link with your zip and I can take a look at it.
[Desire HD Android Development] lukogriffioen:
Try copying it to an other folder on your sd card. Sometimes a file gets corrupted and cwm wont flash it anymore no matter how many times you copy it again (to same location/filename.)

So copy it to another folder on your sd and try renaming it.
[Desire HD Android Development] Spaghetti-XRY:
It doesn't worked to rename or execute file from another folder... still status 6

Patrics I've sent my modified zip to ur inbox.
[Desire HD Android Development] nitr00:
Don't know if this has been mentioned already.. but ive found out that by removing TtsService.apk will break google maps navigation and resulting in a FC
[Desire HD Android Development] Patrics83:
Thanks for your input. However it's not causing FC on Google Maps.

TtsService is an app how taking care of the voice directions.

I have made a lot of tests before uploading the script here so if you don't edit the updater-script all will work just fine...

Did you delete it with ROOT Explorer on a running system?

If you use that function and want to try my script just open zip in Winzip or 7z find updater-script and open it with Notepad++.

Remove this lines.

When done, click save then exit.

The zip is now going to be updated.

Follow the instructions in first post.

Good luck / Patric :)
[Desire HD Android Development] Patrics83:
I will take a look at your zip. Will send it back to you when it's up and running. :D

What compression software are you using?

Edit check your inbox ;)
[Desire HD Android Development] craacK:
i just tried the no-sense version with ARHD 5.1.7 and wasnt so impressed without sense ^^

but then i found your ROM Cleaner (yeah, noticed it before, but never tried it) and its amazing.. normally after installing ARHD i just deinstall a lot like you v(but via titanium backup) but this is a way more comfortable.

i will try this setup now (fresh install of 5.1.7 and your 0.4 version)

is your version still usable if mike get 5.1.8 out?
[Desire HD Android Development] Patrics83:
I'm happy you liked the idea. :D

This script will always be compatible with sense ROMs

Please leave feedback after you have tried it ;)
[Desire HD Android Development] Coblica427:
Just a heads up...if you plan on editing the script, make sure you use notepad++ and NOT Wordpad from Microsoft, it corrupts the script and results in the Status 6 error.
[Desire HD Android Development] Patrics83:
Yeah you are so right!

That's why I wrote it in the first post.

"You can easily edit the script with notepad++ to fit your demands."

I think everyone will see it now :P
[Desire HD Android Development] chardd23:
where can i DL the scrpt?
[Desire HD Android Development] Patrics83:
First post mate... Under Downloads ;)
[Desire HD Android Development] zepp3lin:
Hi Patrick,

I like your scriptz. I have one question. Usually I love themes to go along with Mikes rom like in Kalagas Themes. All of us know that normally themes contains all those unwanted apps and widget..

So my question is about the sequence in flashing.

Do I do this?:

1. Flash Mike's Rom, don't reboot..

2. Flash ROM_Cleaner_v.1.0.4.zip, 1st reboot and phone setup..

3. Flash Kalagas Themes and reboot again.

or

Below

1. Flash Mike's Rom, don't reboot..

2. Flash Kalagas Themes, still don't reboot

3. Flash ROM_Cleaner_v.1.0.4.zip, 1st reboot and phone setup..

Do I need to reconfigure the Themes before flashing to suit the Rom Cleaner?

Your Wise Advice is appreciated Sir...thks
[Desire HD Android Development] slickrick54:
Here's my log Patrics83 and Dude360. Thank you guys for trying everything possible to get this to work for us Mikg EVO users.
[Desire HD Android Development] Patrics83:
Thanks, how ever I have one more idea. But I'm not sure when I have time to "fix" it. I keep you informed.
[Desire HD Android Development] uafridi_1179:
will this work on sense 3.0 roms...?????
[Desire HD Android Development] Patrics83:
Yes ofc mate :D
[Desire HD Android Development] reynierpm:
Ok here is my recovery log because the log under /sdcard/ROMCleaner never was created, hope you can help me
[Desire HD Android Development] Patrics83:
Update!

Flashable ROM Cleaner v2.2 - 2011-08-14

-Many new apps added to the list. (See App List).

Should be 100% Sense 3.0 compatible now.

-Added more directories.

-Added a known working Busybox to the zip. It will be more compatible with diffrent ROMs now.

-Minor changes to updater-script.

Backup Apps to SDCard v1.2 - 2011-08-14

-Added more directories.

-Added a known working Busybox to the zip. It will be more compatible with diffrent ROMs now.

-Minor changes to updater-script.

Folder Creator v1.2 - 2011-08-14

-Added more directories.

-Added a known working Busybox to the zip. It will be more compatible with diffrent ROMs now.

-Minor changes to updater-script.

Mods and App Installer v.1.2 - 2011-08-14

-Added more directories.

-Added a known working Busybox to the zip. It will be more compatible with diffrent ROMs now.

-Minor changes to updater-script.

Please enjoy! :D
[Desire HD Android Development] Wacco001:
Thanks !! :D
[Desire HD Android Development] MarckX:
Please enjoy????? Surely we do!!!!!!! :D

I'm going to use it today with ARHD 5.2.4.

Thanx mate!! :cool:
[Desire HD Android Development] Patrics83:
Your welcome mate!
[Desire HD Android Development] Patrics83:
Well, I think it's better to say please enjoy then.. Download and flash this **** now! :D

Yeah since 5.2.4 is coming today we saved the update, plus we even had some versions how never saw the light from HTC sense sun... Since we added Busybox to the zip's we jumped one version. I hope you guys thinks that's ok :p
[Desire HD Android Development] MarckX:
LOL....... but it's what people should do, right? :D

I'm ok with that ofc..... although it sounds like I've missed an opportunity to flash something last week..... :p
[Desire HD Android Development] Patrics83:
Haha yeah great point of view!

Regarding updates, they where ready one day after release of 2.0 so we figured we should hold back and see what came up.

Sent from my Desire HD
[Desire HD Android Development] fidoedidoe:
Really like what you guys are doing here. Can't wait to try out the next itteration against ardh 5.2.4. :)

One minor suggestion, I tend to flash a lot and generally keep a number of downloads on my SD card that are useful / handy to have during flashing (rom cleaner, super wipe, roms, radios, etc). wld it be an idea to prefix all Rom cleaner related downloads with rom-cleaner or similar, so they are easy to visually relate and/or list together in recovery and/or within a file manager app.

Keep up the great work, most appreciated!
[Desire HD Android Development] Dude360:
???????

You mean like rename the zip?

Theres several ways you can do that from you PC or even with a filemanager on your phone...
[Desire HD Android Development] MarckX:
Just tested new scrips to be ready for 5.2.4 :)

00 Flashed Backup Apps to SD v1.2 (with nice remark after 10 secs ;) --> working

01 Flashed Superwipe

02 Flashed ARHD 5.2.3

03 Flashed Rom Cleaner v2.2 --> working

04 Rebooted and skipped HTCSetupWizard except Wifi (like Dude30 does)

05 Rebooted into recovery and flashed HTCSetupRemover v4.0 --> working

06 Flashed Mods and App installer v1.2 --> Working

All is working -again- just like you guys meant it tbe.....

What can I say...... works like a charm...... :D

Only comment I can think of is: @Patric you can update your sig.... :)
[Desire HD Android Development] Patrics83:
Thanks for your feedback mate!!!

I will update it now LOL!

Edit: Done :D

Oh, BTW we posted this thread in Sensation section also :D
[Desire HD Android Development] MarckX:
I don't know if this helps, but in my previous post I've numbered my flashed. This is the way I keep 'm on my SD-card so if I have to, I can flash it the same way.... and it won't be a mess in the dirs.

Because not everyone uses the files I'm flashing, the numbering can't be "standard" for everyone...
[Desire HD Android Development] MarckX:
That was quick!! :cool:

I don't have a Sensation (yet), but I'm waiting for HTC to bring us the Puccini (tablet). If I can get my hands on that one, and HTC is keeping up their open policy, I'm going to make sure to try these scripts as well. Just got to have a little patience...... and that's one of my strongest virtues.. :)

I think you should expand to more Sense-related threads. But It's going to be a hell of a job to keep up with that... :)

PS Just subscribed to you Sensation thread as well....
[Desire HD Android Development] clouds5:
So :)

I downloaded the romcleaner_v2.2.zip and went to

ROM_Cleaner_v.2.2.zip\META-INF\com\google\android\romcleaner.txt

I extracted it and opened it with notepad++

Then I deleted all the lines from apps/widgets that i want to keep and updated the zip. (I really deleted them instead of placing a "#" at the beginning of the line - hope that is no problem?)

Can i do this like that?
[Desire HD Android Development] Dude360:
You dont even have to mess about with zips anymore mate, its all done for you from a list on the SD card ;)

Pull the one from the op, run Folder Creator, place it in /sdcard/ROMCleaner/ and make sure its named ROMCleaner_User.txt, edit then run the cleaner.

You keep this user file as your own and the cleaner will ignore the built in one and use yours :)
[Desire HD Android Development] clouds5:
Hm but it'll work my way too?

I'm used to mess around with zips the other method seems more complicated to me :D
[Desire HD Android Development] MarckX:
In stead of editing the txt file in the zip, you can edit only one txt-file on your sd-card and use it over and over again. If there's an update, the only thing you have to do is download it and flash it and your modifications are read from your SD-card. No need for modifications anymore.

Should be easier and quicker in my opinion because you don't have to open the zip-files at all to customize your cleaning script.... :)

Your method should work as well.... only it's not meant to be that way ;)
[Desire HD Android Development] Patrics83:
Mate listen, do what ever you want but to ensure everything will work. I think you should stick to the guide and what Dude360 just told you., because next time we update you will have to compare old romcleaner.txt with you non user romcleaner.txt.

So you really should just add that romcleaner_user.txt to your sdcard/ROMCleaner folder to ensure you don't mess it up for yourself. :D

And why you think this method is more complicated is because you maybe rather do it your way then our way :p

But you know what, do like you want. The main thing for us is to make ppl happy over our hard work ;)
[Desire HD Android Development] fidoedidoe:
Yes I did mean rename the zip(s), but I agree with you - I guess I can do that in file manager. Oops! Lazy me ;)
[Desire HD Android Development] fidoedidoe:
Just used the version 2.2 and all works perfectly for me. customising the process to my liking with RomCleaner_user.txt was a breeze. Not used the other features yet (app install) but I'm sure that will feature on my to-do list soon.

An excellent concept made beautifully simple. Thanks guys!
[Desire HD Android Development] CpN82:
Am I getting this right?

If I add lines to the v.2.0 romcleaner_user.txt and you update the romcleaner.txt. The ROMCleaner script will use what I've updated in romcleaner_user.txt v.2.0 and what you updated in the new v.2.2 romcleaner.txt?
[Desire HD Android Development] Patrics83:
Thanks for your feedback! :D

When you do find time to dig in to it you can't be without it :p its like a drug haha...

Sent from my Desire HD
[Desire HD Android Development] Patrics83:
In download section there is a ROMCleaner_user.txt inky diffrens whit that one is you don't have to rename it. Just edit it. When a new update is out the script will still use your list. Not the new one, unless you edit your list. Maybe sounds a bit stupid but not everyone wants to delete backgrounds for example and the main reason for this new method is to eliminate all (status 6) issues and corrupted zip files.

I hope that answerd your question.

Sent from my Desire HD
[Desire HD Android Development] CpN82:
So basically I have to download the new romcleaner_user.txt 2.2 and ad the lines from my own romcleaner_user.txt to the new romcleaner_user.txt v.2.2 ?

Sorry if I'm a bid thick :p Just want to get it right ;)
[Desire HD Android Development] Xenova:
Hi,

Thank you for your great tool.

Would like to ask if i still want to keep "plate" theme, is it i must also keep the "skinpicker" in order for i to choose the theme correctly?
[Desire HD Android Development] Patrics83:
1, You should always use the latest version of Flashable ROM Cleaner.

We do a lot of changes to it to make it better, faster etc.

2, Take your own user list and if you want add stuff from the newest romcleaner.txt to your own. Always use your list as your base.

3, If you add apps to your user list. Please send them to us and we can add them as available optional deleteable apps.

Follow instructions given in firstpost regarding sending in new stuff.

Sent from my Desire HD
[Desire HD Android Development] Patrics83:
Your welcome mate! :D

Yes that's correct.

Sent from my Desire HD
[Desire HD Android Development] PakRatt:
Nice work guys!! Love to have a clean system to dirty up...LOL
[Desire HD Android Development] Patrics83:
Thanks!

Well as I see it.

It's better you make it dirty, then letting HTC do it for you ;)

Sent from my Desire HD
[Desire HD Android Development] semiseko:
Sorry for not reading the whole thread, but let me get this straight. If I use rom cleaner with ARHD rom I could still for example put kalagas theme and sense 3.0 all in one and it would look the same with or without rom cleaner? Also, where can you choose if you don't want to remove calendar widget etc. I downloaded rom cleaner zip but don't know where you could choose those?
[Desire HD Android Development] Patrics83:
Yes you can use themes and sense 3.0 addon's, no problem.

If you dont merge the theme and other mods in firstboot folder or secondboot folder you might need to flash ROM cleaner twice.

Or you can try this.

*Flash ROM

*Flash theme

*Flash sense 3 addons

*flash ROM cleaner.

Then you will be sure everything is deleted. How ever I night not be the guy to answer your question since I never flashed a theme :p

Regarding editing what is going to he deleted and not I have to refer to second post where the guide is. It has also been discussed a few times today. ;)

Sent from my Desire HD
[Desire HD Android Development] semiseko:
Ok, but in the first post there we're couple of "optional" in front of some removable item's. Because there was "optional" in front of calendar widget, so does that get removed or not? Or does it ask if you want to delete or something etc?

if I try the rom->theme->sense 3.0->rom cleaner where do I reboot? Or do I reboot after all of these processes?

Thanks for you're answers, seem's like this could be a sweet toy:)
[Desire HD Android Development] chrischiang:
should i flash ARHD --> sense all in 1--> honeyhd theme with sense 3.0 component --> then rom cleaner

or

arhd -- > sense all in 1 --> rom cleaner --> then theme?
[Desire HD Android Development] Patrics83:
Optinonal apps is also has a (#) hash symbol in front. So they will not be deleted by default. You need to remove those hash symbols to be able to delete them. ;)

Nothing will be asked during this flashing process.

ROM Cleaner will reboot for you :D

Please share your result as I'm not 100% sure that order will work at all. maybe you need to flash ROM->flash sense 3->flash ROM Cleaner->Auto reboot.

Then reboot to recovery and flash theme->ROM Cleaner again to remove themed apps, like twitter and stuff like that. (If you removed those with the script) also it might be possible you need to clear HTC sense data on second boot.

Come back here when you are done, or join our IRC channel #ROMCleaner.
[Desire HD Android Development] Patrics83:
I think your question has been answerd now mate ;)
[Desire HD Android Development] CpN82:
Well, I must admit that I wanted a nosense ROM. Therefore I looked in the nosense++ script and copied the apk's which were not i the ROMCleaner script.

I could have just used nosense++ but I like yours and Dude360's approach better (sorry lukogriffioen) :D

EDIT: Thank you and Dude360 very much for your hard work. Much appreciated!
[Desire HD Android Development] semiseko:
Ok, so I will propably end up flashing the regular rom cleaner because it seem's to not delete the calendar widget, which was the one I was worried about. Will try flashing after new arhd, and tell the result's here:).

Thanks a lot for the answers.
[Desire HD Android Development] craacK:
yep, you will have both, HTC and Android Calender Widget, without editing :)
[Desire HD Android Development] clouds5:
Haha you're right. :) I tend to do everything a little bit different than i should and in my own way^^ Maybe i should see a shrink about that :D

But I get it now. I just place my modified _user.txt file on my SD card in the correct folder and it will ignore the script in the zip.
[Desire HD Android Development] Patrics83:
Well tbh I'm like that also :p

And thanks to that we was able to make this tool :D

So if you find a good shrink, please give me his number... :eek:
[Desire HD Android Development] fidoedidoe:
Just upgraded to arhd 5.2.4 used version 2.2 with my own customised 'user' script to control what's being removed.

Everything worked perfectly, so thanks you!

I have have written a short recap of my steps to install arhd 5.2.4 in that forum, and was more than happy to included details on Rom cleaner 2.2.

Loving my light weight arhd :)
[Desire HD Android Development] Patrics83:
Thanks for the feedback! I'm glad you liked it :D

And thanks for letting ppl know how easy it is to use :p

Sent from my Desire HD
[Desire HD Android Development] abZorber:
Patric, saw your message in ARHD.

I have trouble with ROM cleaner - apps don't be deleted.

All i did was changing romcleaner.txt in the ZIP before flashing.

I did that because i don't want all apps in your scripts to be deleted.

On my second attempt i created romcleaner_user.txt in the sdcard which is one-in-one modified script of romcleaner.txt. But it didn't help.

I attach modified script that i used (some apps are not deleted in it) and also attach logs.

I noticed string

Mounting partitionsmount: mounting /dev/block/mmcblk0p25 on /system failed: Device or resource busy

May be this is the reason.
[Desire HD Android Development] fidoedidoe:
Hi guys

Just noticed one small curiosity.

Using ES file explorer, I've noticed I have a few folders hanging around that are listed in my 'users' script for deletion.

I've not changed the section "Removing Old SDCard Temp & OS Folders..." from default, but I can still see the following folders on my SD card:

/sdcard/.android_secure/

/sdcard/LOST.DIR/

/sdcard/rosie-scroll/

I have arhd 5.2.4, installed "all in one", "crt", "quick settings xl" and a few market apps (titanium bkp, Rom man, battery hist gb, terminal emulator, plus others but they are non system type apps). I ran Rom cleaner twice once right after flashing Rom (before reboot), again after setting up phone/installing "all in one" and other miss (see above)

I guess my question is: do these folders get recreated, or should they be permanently deleted?

FYI. I can see LOST.DIR has a last modified date ~= to when ROM Cleaner was last run. The folder has no contents.
[Desire HD Android Development] abZorber:
As far as i know these folders is being recreated when you boot your ROM.