yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] fidoedidoe:
You should definitly use a file /sdcard/ROMCleaner/ROMCleaner_user.txt - I'm pretty sure ROMCleaner.txt gets recreated on each run when invoked in recovery.

Looking at my log I also see some failed mounts, but these were for sdcard and cache (not system).

I'm no expeet, bit I would suggest creating a ROMCleaner_user.txt and modifying as needed. When in recovery, check the mount status of system before running ROM Cleaner. Then run the cleaner zip. If The same anomaly occurs. Try changing the mount status of system. I.e. if it was mounted, then unmount and try cleaner zip from recovery.
[Desire HD Android Development] fidoedidoe:
Yeah I'm pretty sure you're right. The log file clearly shows:

Trying to delete:

/sdcard/LOST.DIR/

.. success!

So it must have been recreated. Thanks for the feedback!
[Desire HD Android Development] abZorber:
I have already thought about it. But it doesn't depend if my system and data mounted or unmounted. May be new 4extrecovery 2.1.2 does something wrong with mounting?
[Desire HD Android Development] fidoedidoe:
Yep, maybe - i'll defer to others, as I'm a little (lot!) out of my depth. I do have a log file named "ROMCleaner_recovery.txt", (/sdcard/ROMCleaner/) within which I see references such as:

" Welcome to 4EXTRecovery v2.1.2"

So you may be on the right path for troubleshooting. Hope you find a resolve. Le me know if you want me to validate anything against my log files.

Edit. Incorrectly quoted "ROMCleaner_log.txt", when it should have been: "ROMCleaner_recovery.txt" orginal text modified.
[Desire HD Android Development] craacK:
Hey

could you pls try this one:

1) redownload romcleaner

2) flash Folder Creator

3) copy the ROMClenaer.txt into the same folder and rename it to ROMCleaner_user.txt

4) edit the _user.txt as you like

5) wipe, flash rom, flash romcleaner

that should be 100%! unless there are errors with mounting.

i only could think of one: some kind of corrupted file or failed saving while you editet the romcleaner IN the zip
[Desire HD Android Development] abZorber:
I don't have such file. I have ROMCleaner_recovery.log (i think you mean LOG not TXT)

Also i have ROMcleaner_Log.log and all i see in it is strings with trying to delete applications and everytime "FILE DOES NOT EXISTS".

So it's definitely troubles with mounting...

Thanks very much, i'll try again.
[Desire HD Android Development] Patrics83:
Guys I will help you later today right now I'm at work and can't support you as I wish :S

However, never touch any zip files, there is not a single reason for you to do so unless you are very experienced users :p

So please just follow the guide and all will be fine.

Regarding logs, you don't need to look at them because if you don't fully understand what they tell you, you will think the script didn't work.

Like ...file does not exist.

This will happen for example on Plurk.apk if you are on a ARHD ROM. But that's ok, because ARHD has removed that **** since gingerbread leak 2.16 ;) but some ROMs still has it included for some reason.

And I saw some talking about mounting issues, well I find that very hard to belive. Since we use busybox to mount all partitions. (You can call it for a multi command program) :p

However if your system has a faulty recovery, (mentioned in first post) then it can happen.

So I hope it will work all fine for you guys after following the guide. If not I will help you out later.

Thanks / Patric

Sent from my Desire HD
[Desire HD Android Development] abZorber:
File doesn't exists - this string is for every file that ROM cleaner tries to delete. All of these files present in the telephone. So i think that this is mounting problem.

You can open my log and see.

I dont know about faulty recovery. I flashed ARHD 5.2.4 and ARHD script when installing OS flashes 4extrcovery 2.1.2 automatic. May be this new recovery is bad?
[Desire HD Android Development] craacK:
no bad recovery, just installed 5.2.4 with romcleaner 2.2 1hour ago

no single issue on my side
[Desire HD Android Development] CpN82:
Flashed ARHD 5.2.4 and ROMCleaner 2.2 this morning. It worked perfectly! :D

Very happy with the result.

I just followed Dude360's guide in the second post and all my apps and addons worked as they should :D

Thank you guys very much!
[Desire HD Android Development] craacK:
@abZorber

there was a guy in the sensation forum with the exact same .log as you

he did not edit the romcleaner_user.txt with notepad++ like said in the guide

now its working for him
[Desire HD Android Development] abZorber:
I didn't notice that i had to use Notepad++, thanks.

Anyway, i have already cleaned ROM manually..
[Desire HD Android Development] abbacen:
I have tried to flash the rom cleaner like five times, and the friggin bloatware is still there! :mad:

Will upload the logs after my dog has been outside.
[Desire HD Android Development] Patrics83:
Please do that so we can see what you did wrong 5 times :p

Sent from my Desire HD
[Desire HD Android Development] abbacen:
:P here they all are! :)
[Desire HD Android Development] Patrics83:
Ok, first of you flashed it on CyanogenMod-7.1.0-RC1-DesireHD-KANG ROM :rolleyes:

Then you didn't use notepad++ so you lost unix in the romcleaner_user.txt

Your file says Dos\Windows.

And then you must have messed with the folders somehow because you didn't flash folder creator, and then you backed up your apps no problems so far but then you must have removed the ROM Cleaner folder or something because ROM Cleaner couldn't restore does apps because the dir was gone.

I might have missed something but I think you should take a closer look at some parts... ;)

Tack för att du skickade in logg filerna :p
[Desire HD Android Development] abbacen:
Actually i am on Revolution 5.2.4 :O

And i fixed everything in Notepad++, tough i must have opened it in notepad after that,

And no i didnt flash the folder creator Didnt really understand the reason to do that? Do i have to do it know?

Tough i got my apps working 100% :)

Thanks for your help :)

Inga problem :)
[Desire HD Android Development] chrischiang:
i flash dy..the apps still not remove...i attached the own list created by me..and the log ...plz help..thanks
[Desire HD Android Development] Patrics83:
Well your logs don't supports your story...

Read the quick guide again. Follow it and then come back if the problem still exists.

Sent from my Desire HD
[Desire HD Android Development] abZorber:
Yes man! the same error:D
[Desire HD Android Development] Patrics83:
Does logs tells me nothing mate. I need recovery logs... Or all logs if you are unsure.

Thank you!

Sent from my Desire HD
[Desire HD Android Development] abbacen:
No need to!

I just copied the	ROMCleaner_User.txt in post 2 and pasted my own in there with Notepad++ then reflashed and it all turned out okay :)

Just one more thing, what is the htcsetup remove thingy for?

Thanks for a great Cleaner :D
[Desire HD Android Development] darren91teo:
I flash this using custom list. Everything is working fine except for the HTC mobile network widget.

Cannot activate or deactivate 3G using that widget. Any idea?
[Desire HD Android Development] Patrics83:
Well, what if you and all others here could use a few minutes of your own time instead of draining all my time...

This tool was not built in a few hours and everything is written in first post and second post for a reason.

Sorry for being like this but I really starting to lose it! :p

I try to help you as much as I can but when it goes down to the most basic parts of reading the simple parts of the guide I feel this is no idea to continue this work... :(

So please before you post in this thread at least make sure you try to understand before you ask...

The script works 110% no doubt about it.

Sent from my Desire HD
[Desire HD Android Development] chrischiang:
attached! look for help..
[Desire HD Android Development] Patrics83:
It's removed by the script.

So my guess is you flashed ROM cleaner without wiping data.

So what you see is just an icon.

Might be wrong, just a guess.

Sent from my Desire HD
[Desire HD Android Development] Pard0ned:
Just flashed this with ARHD.

Man! That was simple! Thanks Guys! Keep up the hard work! I, for one, really appreciate it!! :D:D:D
[Desire HD Android Development] Patrics83:
Thanks for the feedback! :D

I'm glad you liked it ;)

Maybe you can re post your message once every hour... And maybe my nerves will cool down a bit :p

Sent from my Desire HD
[Desire HD Android Development] darren91teo:
I think that might not be the case. In one situation where I on 3g manually in settings menu. I toggle it off using the widget, 3g icon on notification bar is gone. But in settings menu, it's still activated.
[Desire HD Android Development] Patrics83:
If you posted all files that is in your ROMCleaner folder on SD.

This is what happend. You have downloaded the empety romcleaner_user.txt from Dude360's post. It has been removed now.

romcleaner_user.txt is only needed if you want to edit what is going to be removed. And if you are fine whit the default script there is no need to even use a custom romcleaner_user.txt

Try and reflash a untouched ROM Cleaner and make sure you remove that empety romcleaner_user.txt from your ROMCleaner folder on your SDCard.

Good luck!
[Desire HD Android Development] chrischiang:
yup..i wish to do my own list..some of the apps and wiget i dont wish to remove.
[Desire HD Android Development] Patrics83:
Well, you at least need to fill the user list whit something :p or else it wont work at all.

So please download the romcleaner_user.txt from download section in post one.

delete lines you whish not to remove using notepad++

Read the guide if you don't know how to edit the list correct. there is also a small how-to in the txt file.

Good luck!
[Desire HD Android Development] Patrics83:
Ok, don't delete this widget's:

#/system/app/HtcAutoRotateWidget.apk
#/system/app/HtcBackgroundDataWidget.apk
#/system/app/HtcDataRoamingWidget.apk
#/system/app/HtcDataStripWidget.apk
#/system/app/HtcPowerStripWidget.apk
#/system/app/HtcProfileWidget.apk
#/system/app/HtcRingtoneWidget.apk
#/system/app/HtcScreenBrightnessWidget.apk
#/system/app/HtcScreenTimeoutWidget.apk
#/system/app/htcsettingwidgets.apk
#/system/app/HtcSyncwidget.apk

I'm sure it will work then ;)

Good luck!
[Desire HD Android Development] chrischiang:
yup..my wrong..at 1st i edit with normal notepad tat y wont work...now working great..thanks
[Desire HD Android Development] chrischiang:
after i run ahrd..then rom cleaner..i go to widget page..become like tat..
[Desire HD Android Development] darren91teo:
It's still not working. Thanks for your help anyway! :)
[Desire HD Android Development] Patrics83:
Well that's because you didn't flash it like we told you in the GUIDE!

This happens if you flash it after first boot.

Clear HTC sense data. Or activate this function in the script very very hard to miss. Then reflash ROM Cleaner.
[Desire HD Android Development] Patrics83:
Did you reflash the ROM before flashing your edited ROM Cleaner?

If yes, reflash the ROM and don't flash ROM Cleaner, check if the issue still exsists.
[Desire HD Android Development] chrischiang:
i flash arhd + rom cleaner then only 1st boot..but i dont super wipe..because i having problem bout android market if i super wipe..so anychance?
[Desire HD Android Development] darren91teo:
What i did:

1. Superwipe

2. Flash arhd

3. Flash ROM cleaner

Now I reflash the rom, the problem is solved. But those apps that I deleted using the ROM cleaner were all reflashed back current rom.
[Desire HD Android Development] Dude360:
If you reflashed the rom AFTER using the rom cleaner then OF COURSE the apps will be back???

You need to edit the ROMCleaner_User.txt to stop the cleaner deleting those files which are causing the issue.
[Desire HD Android Development] Patrics83:
Well then you need to clear HTC Sense data as I told you...

From the guide:
[Desire HD Android Development] Cristianop:
Hey very nice noobfriendly tool. I used it yesterday first time in combi with arhd 5.2.4. My question is i used to use sense sms widget. Unfortunately this will be removed by this tool. Is there any way how to get this back? I mean smth flashable or installable?
[Desire HD Android Development] Dude360:
If your comfortable with adb then you could push it back.

Or use the mod installer, instructions are in the second post...

While you do that Id set up a ROMCleaner_user.txt so next rom you flash it wont get deleted ;)
[Desire HD Android Development] Cristianop:
Okay used mod installer for next time (user.txt)

adb i dont really knoe what that is.what i did is to extract msg.apk from rom.zip and installed it. But didnt work for me ;-(
[Desire HD Android Development] Patrics83:
You can't do it like that.... :rolleyes:

Make a romcleaner_user.txt and make sure you remove /system/app/htcmsgwidgets.apk from the list.

Reflash the ROM no wipe this time, then flash ROM Cleaner again...

AND NEXT TIME READ THE GUIDE! Please ;)
[Desire HD Android Development] Dude360:
System apps cant be installed like that.

You need to:

Extract htcmsgwidget.apk from the rom, place it on your sdcard in

/sdcard/ROMCleaner/SecondBoot/system/app/

Reboot to recovery and flash the mod installer.

To make a user list, read the 'Creating a custom list' section in the second post.
[Desire HD Android Development] MarckX:
Ooohweee!

Missed a lot of unwanted tension today...... No need to stop developing this mate. Most downloaders won't post here because it works out just fine...... so cheer up mate! :D

By the way: flashed 5.2.4 today and it seems that the standard cleaning clears way too much. I'm using English for system and language, but it's showing me all kinds of weird stuff right now. Some examples:

Got something like this on Mike's thread as well. Any suggestion?

:p .................................

Ps as expected no problems at all with 5.2.4. And another thanks for making flashing and setting up sooooo much easier and faster...... I just got to watch I'm not getting too lazy :D
[Desire HD Android Development] poetter747:
Some more Feedback

Hey guys,

just wanted to give latest feedback on flushing ARHD 5.2.4 with ROMCleaner 2.2.

Thx for including /etc in second boot. Here is what i did.

- Backup all System Data + User Apps + Data

- Boot to Recovery

- Nandroid Backup

- Flush Create Folders

- Flush Backup Apps

- Flush Super Wipe

- Flush ARHD 5.2.4

- Flush Rom Cleaner

- Reboot

- Skipped Setup

At this Point I got FCs on Titanium, and my Titanium Premium Key was missing. So i had to reinstall Titanium and Restore the Premium Key from the TB Backup.

- Restored System Settings

- Boot to Recovery

- Flushed App and Mod Installer

- Flushed ROMCleaner again to get rid of Sense 3 Bloat

- Reboot

- Restored Missing User Apps with TB (The ones left on SD card)

- Restored App Data of some Apps

- Set LauncherPro as Default Home

- Restore LP Data with TB

- Reboot

This way I didn't even had to restore all my widgets, what i usually have to do after a full wipe :-)

One suggestion/question. As I flush AIO in second boot i need to get rid of all the HTC Bloat after that again. Could you include all the cleaning part from first boot in the Apps and Mod Installer without the installation of all the apps from first boot. Or is it possible to flash AIO in first boot?

Other than the TB FCs everything was fine. Good work guys. Keep up!

EDIT: One more question: Would it be possible to backup app data and flush them on first or second boot. Would be very nice to backup data of a list of apps and restore them after flushing so one could skip the Titanium Restore part
[Desire HD Android Development] Xenova:
about Laputa.apk

Hi Patrick and Dude,

If we removed the HTC stock map, what it will be use when we tap on the "location" in the Calendar entry?

Because normally, when we enter a new event in the calendar, we are allowed to "pin" a location, it will open Laputa to allow we to choose a location on the map. If the Laputa is removed. What will happen? Will it automatically use google map?

Thanks, Mate. I'm using it on ARHD 5.2.4, everything is PERFECT, faster bootup, more free RAM, feel faster. I have been use your tool from v1. Some more it is customizable by users to tailor to his specific needs. Brilliant Job!
[Desire HD Android Development] craacK:
I dont know if it is meant to be(because its always said "after 1st boot") , but yes, the AIO works fine while installing it in FirstBoot.
[Desire HD Android Development] darren91teo:
My mobile network widget is solved.

What i did:

1. Superwipe

2. Flash arhd

3. First boot.

4. Flash ROM Cleaner (with custom list)

5. Clear sense data.

Is there any side effect from the steps I did?

Sent from my Desire HD
[Desire HD Android Development] MarckX:
Hi,

In a previous version of this script I tried restoring full app-data from previous version and got a lot of not working apps and widgets and some FC's out of that. Imo there is a possibility to restore some app-data but surely not all of it.

The script can't select automatically the app-data to be restored because of the variety of apps used by all RomCleaner script lovers. :p It would be possible to restore some data, but then you have to copy it to a separate directory and let the script restore it. But I think it takes a hell of a job to make a list of all or most used apps....

Since not all apps (for all users and future users) can be restored with the script (even if there is a list of most common used apps) you have to have TB (or some other backup app) to restore some app-data. So my advise would be: Keep on using TB.......
[Desire HD Android Development] craacK:
no ^^

10chars
[Desire HD Android Development] poetter747:
Yes i know. Restoring them all would be problematic. But keeping a list like romcleaner_user.txt could solve this. That would than be datarestore_user.txt and could be filled by users with the directories names of /data/data that should be backed up and restored. There are some apps that are uncritical to restore data and you would do it with TB anyway, like game saves, DroidStats, LaunerPro, etc.
[Desire HD Android Development] Patrics83:
I will respond later this evening to all your questions. ;)

Busy day...

Sent from my Desire HD
[Desire HD Android Development] MarckX:
Agree with that ;) Come to think of it: I think the reason why it doesn't restore data could be something to do with permissons. I don't know if that's the case.... maybe I should be doing some tests :rolleyes:

If the devs will give this a go, I'm willing to help with that.
[Desire HD Android Development] Patrics83:
Well some times I find it very hard to do this since way to many ppl just ignores our guide and every post we made in this thread...

Also I get pretty pissed when some users come here and says this tool doesn't work... Like we released some untested **** here.

But now all that **** is deleted from my mind so all is fine again :p

I think I even said sorry in some post haha :D

Regarding the ROM Cleaner and removed languages, I'm planning to remove every language except Swedish. :p

Thanks for your feedback and support mate, very much appreciated! :D
[Desire HD Android Development] Patrics83:
Thanks for your feedback mate, always nice to see how users use the script. :D

It's a known issue with Titanium backup and ROM Cleaner, and tbh I really don't know why it gives you FC. Since I don't use that app I never even investigated why it happens. But my guess is you need to set full permissons to it. And that is need to be done in the updater-script. Will report back to you when I have looked at it.

Regarding AIO Sense 3.0, I suggest you remove those components you wish not to be flashed. ;) Very simple and only neede to be done once.

If you are unsure what *.apk's it is just tell me what "Widget's or apps" you wish to remove and I will help you to locate them.
[Desire HD Android Development] Patrics83:
It will use Google Maps, tested it now :D

Really nice feedback there :D

Very happy to read that, and also nice to see I (now we) keept a user for so long time :D
[Desire HD Android Development] Patrics83:
So did you exclude those widget's I posted here yesterday?

The flashing order is incorrect.

Since you flashed Super Wipe before ROM flash I see no point to use that order.

Do like this:

1. Superwipe

2. Flash arhd

3. Flash ROM Cleaner (with custom list)

4. First boot.

If you do like that you don't need to Clear HTC Sense data and we can guarantee everything will work as it should.

And your device will also get maximum of free space :D

The whole point is to flash ROM Cleaner before first boot.

How ever if you flash ROM without super wipe you must clear HTC Sense data.

But remember we will never recommend that.
[Desire HD Android Development] Patrics83:
Well I like the idea but as you say it a very hard work to make that work...

And since restoring app data works sometimes and sometimes not.

I think we have to leav that for our great users :D

But maybe in the future we will make something simular.

Right now we are working on something else to backup and restore with the ROM Cleaner but I keep it as a secret untill we have it all sorted out :p

Must leave something to teas you guys ;)
[Desire HD Android Development] darren91teo:
I tried before.

1. Superwipe

2. Flash arhd

3. Flash ROM Cleaner (with custom list) <- excluding the widgets you told me

4. First boot.

But the mobile widget problem still persist.

Strangely, if I superwipe->flash rom->first boot->flash rom cleaner(using the same custom list as above), that's fix my mobile widget problem.
[Desire HD Android Development] MarckX:
Don't like to be a suject of teasing at al!!!!!!!! :(

Mmmmh, made me curious again. Must be something important that everybody is using .....

So here's my guess: SMS, Tweets, Mail, my never to beat highscores on Angry Birds..... my paid dirty movies :eek:......

Nah, I'm going to stop guessing. Probably when I guess right, you'll ignoring me for sure...

PS Going to try ou someting with your script tonight. Not gonna say what for sure. Maybe I'll report later on.... :p
[Desire HD Android Development] Patrics83:
Well I'm happy you found a way to sort it out...

But still you didn't answer my question to you ;)
[Desire HD Android Development] Patrics83:
I will never ignore you mate :D

[Bold] Guys in OP will never ever be ignored :p
[Desire HD Android Development] darren91teo:
I replied on previous post. I mention that I flash Rom cleaner with custom list which already exclude the widgets that you told me to.
[Desire HD Android Development] Patrics83:
Ahaa missed that. sorry.

Now I know. :p
[Desire HD Android Development] darren91teo:
Thanks for the help. This tool is amazing. Makes your ROM much more lighter and cleaner!
[Desire HD Android Development] Patrics83:
Your welcome :D

Glad you like it
[Desire HD Android Development] reaper90:
Hey guys,

i'm going to update my DHD to ARHD 5.2.5 but i'm thinking about superwipe and the using ROMCleaner, but there are a few things i'm not sure about. Sry if this was asked before, but i could not find the answers on first page.

1. I just need to flash the .zip file after flashing rom?

2. When i want to use the custom list, i just have to place it on sdcard/ROMCleaner/ and edit?

3. to pretend applications from being removed, i just have to place "#" in front of things i dont want to remove. Is there a list with explanations for removed apks? i don't know all of them and i dont want to remove things i may miss after flashing.

Regards
[Desire HD Android Development] Patrics83:
1. Yes just flash ROM Cleaner after (Super Wipe) ROM Flash.

When ROM Cleaner is done it will reboot your device.

2. Yes just download romcleaner_user.txt from the download section in first post. And edit it like you want.

2a. First flash folder creator to make sure you have this folder dir's

/sdcard/ROMCleaner/

2b. Then just add your romcleaner_user.txt to that ROMCleaner folder.

3. Yes just mark them with a hash "#" and the script will ignore it.

There is a pretty good application list in first post.

"Check this is what the script will remove."

Good luck mate!

I hope you will like it :D