yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Patrics83:
Just want you guys to know that we are working on a new ROMCleaner.txt (ROMCleaner_user.txt)

What you will get.

*Better overview in the list.

*Better sections.

*Hopefully we will also be able to add app info behind every *.apk in the list so don't need to compare it to the firstpost app list anymore.

Since we had loads of new ROMs based on new builds (Sense 3.0/3.5) lately the list got a bit messy and now we are doing our best to bring back some structure and order :D

Stay tuned!

Sent from my HTC Desire HD
[Desire HD Android Development] poetter747:
Not working on Asus TF 101

Hi there,

just tested RomCleaner on Asus Transformer 101. I flashed FolderCreator and got an error. Message was error in /sdcard/_path_to_zip/folder_creator_v1.0.zip. Same happend with backuptool.

I think the problem must be in one of the first lines of the script as there happend nothing.

Is there something I an do to find the problem? Do you need more infos?
[Desire HD Android Development] Patrics83:
Hmm, well I think I know why it happens...

Can you check on your sdcard if there is a folder called ROMCleaner? also if there is any logs in there... I doubt you will find anything since you got that error message :(
[Desire HD Android Development] poetter747:
I created the folder before flashing Folder_Creator_v1.2.zip. Anyway, Folder_Creator_test.zip was working. What's the difference?
[Desire HD Android Development] Patrics83:
Cool! :D

If you want to help me a bit I can rebuild all tools and send them to you so you can try them.
[Desire HD Android Development] poetter747:
Yes of course, let me try. Just give me the links.
[Desire HD Android Development] Patrics83:
ONLY FOR TF101

TF101/Folder_Creator_v1.2

TF101/TF101/Backup_Tool_v1.0

TF101/ROM_Cleaner_TF101_v1.0

TF101/Mods_and_App_Installer_v1.3

TF101/Settings_Restorer_v1.0

TF101/ROMCleaner_user.txt from v1.0

Also remember you need to edit your own ROMCleaner_user.txt to get this to work properly due to diffrent app names etc.

Good luck and please leave feedback! :D
[Desire HD Android Development] poetter747:
Hi there,

So Folder_Creator_v1.2.zip did well and created all the folders as intended. Backup_Apps_to_SD_v1.3.zip on the other hand didn't throw an error but did not backup anything. I will wait with further testing until I can backup my apps. Hope you find the problem and I can help with more testing.
[Desire HD Android Development] Patrics83:
I will have a look at it. Seems it didn't work fully after all.

Can you please upload the recovery.log located in /sdcard/* it's made by the ROM so it would help me a lot.
[Desire HD Android Development] poetter747:
Here it is. Looks almost the same as your logfile.
[Desire HD Android Development] Patrics83:
Yes, but only almost :p

Thx, hopefully I will be able to fix this. Will send you a pm when I think it will work ;)

Sent from my HTC Desire HD
[Desire HD Android Development] MarckX:
Just to let you guys know:

This afternoon I contacted the RomCleaner devs with my concern about the HTC security hole posted by TrevE as described here: TrevE at Androidpolice.com :eek:

Ofc they had read it themselves and they will be releasing a new version of RomCleaner (v2.4r1) probably tonight.... This version will remove the known HTC spyware :D
[Desire HD Android Development] Patrics83:
ROM Cleaner v2.4r1

ROM Cleaner v2.4r1 - 2011-10-03

-Due to a big security hole in Sense 3.0 and 3.5 ROMs we released this quick fix. Source http://tinyurl.com/68z8lse

-Added following apps.

*HtcLoggers.apk

*RamdumpEnabler.apk

*NetLogger.apk

-Also included data folders created by these apps.

From the script

/system/app/HtcLoggers.apk
/data/data/com.htc.loggers
/system/lib/libhtc_loggers.so
/system/app/RamdumpEnabler.apk
/data/data/com.htc.android.ramdump
/system/lib/libhtc_ramdump.so
/system/app/NetLogger.apk
/data/data/com.htc.android.netlogger
/system/lib/libhtc_netlogger.so
/system/app/PowerLogCollector.apk
/data/data/com.htc.PowerLogCollector
/system/app/restartapp.apk
/data/data/com.android.restartapp
/system/lib/libhtcqxdm2sd.so
[Desire HD Android Development] poetter747:
Sorry for filling up this thread, but there is no attachment option in PMs. Result for Backup_Tool_v1.0.zip is almost as before. See attached logfile. I get an error message that something went wrong during backup.
[Desire HD Android Development] Patrics83:
Thx mate!

Whiskey103 is going to do some tests for me also, and hopfully I will be able to break this once and for all. I will PM you with futher info.
[Desire HD Android Development] V6-Maniac:
Something more to add.

In de /lib map i did find the following libs which i deleted with no problems

- libhtc_loggers.so

- libhtc_netlogger.so

- libhtc_ramdump.so
[Desire HD Android Development] Patrics83:
That's correct but in normal cases those libs won't even be left in your device after using ROM Cleaner.

That's why we always recommend you guys to flash ROM Cleaner after full wipe and ROM flash. Because if the app is removed before first boot nothing app related can be installed.

The reason why I included data folders in this release was just because if ppl wants to flash it without full wipe and reflashing of the ROM...

Sent from my HTC Desire HD
[Desire HD Android Development] V6-Maniac:
Your not quite right, Sorry.

Currently modding a rom a these files are stock in de ROM zip which stands on my HDD.
[Desire HD Android Development] Patrics83:
Ah :D you are right!

But in most and normal cases it is like I said.

Corrected version is uploaded now.

Thx for the heads up! How ever the apps I removed breaks the spyware **** so we are all cool now. :p

Sent from my HTC Desire HD
[Desire HD Android Development] V6-Maniac:
Your Welcome:D
[Desire HD Android Development] Nubzori:
I get fc from htc sense, tried the location thingy, didnt work. I did: Superwipe --> flashed ARHD 6.1.1 --> Rom Cleaner

I can scroll sense rosie abit but then I get fc.
[Desire HD Android Development] MarckX:
Hi there Nubzori,

Could you please tell how you did your setup - Step to step - including your choices and the location thingy?? :)
[Desire HD Android Development] Nubzori:
Everything yes and no on the option to "Disable location". Didnt set my google account nor my wifi.
[Desire HD Android Development] MarckX:
Did you try activating your wifi?
[Desire HD Android Development] Oomike:
Can the backup and Rom cleaner be used when going back and forth between aosp and sense Roms?
[Desire HD Android Development] Nubzori:
I didn't enter my wifi password this time
[Desire HD Android Development] Patrics83:
Maybe WiFi and Bluetooth but not HTC mail :p

Sent from my HTC Desire HD
[Desire HD Android Development] Patrics83:
Turn it on then :p

Sounds like you are suffering from a weird bug. And it is related to weather updates.

Sent from my HTC Desire HD
[Desire HD Android Development] Oomike:
Sry,

Thats what I meant.So non-sense apps can go between sense/nonsense? thx
[Desire HD Android Development] Patrics83:
Yes ofc no problems at all.

Sent from my HTC Desire HD
[Desire HD Android Development] Astug:
Posted in the wrong thread.
[Desire HD Android Development] ABDOKRO1:
Dude, it can't be the wrong thread... My guess is that it's a wrong post in the right thread!

Long live ROM Cleaner!!! :D:D:D
[Desire HD Android Development] Patrics83:
LOL! :D :D

Your comment made me fall of my chair :p

Sent from my HTC Desire HD
[Desire HD Android Development] ryanmfraser:
I have run into a bit of an unusual situation, was trying to get a fresh install this morning to test some additional add-ons. Did a nandroid of my current set up, booted into recovery flashed backup apps, super wipe, ARHD 6.1.1, RomCleaner. Got into first boot, through setup and was waiting for everything to finish syncing. Went to setup my contacts but the process "com.htc.contacts" force closed on me. I can't get "People" opened at all. I reflashed my nandroid and now on my backup it is doing the same thing. I redownloaded the ROM and RomCleaner and it is still doing this. I am at a loss and any help would be greatly appreciated.

EDIT: Nevermind, found out through another thread that it is the leaked Google+ 2.0 update from IceCreamSandwich. Un-installed that and it is smooth sailing now.
[Desire HD Android Development] Patrics83:
Thx for letting us know about it.

And sorry for not answering you ;)

Sent from my HTC Desire HD
[Desire HD Android Development] Hangard:
Thanks so much

This cleaner did its job so fast. yet another part of what makes a phone personal and usable.

I edited the text to # out the line for the HTC ereader as I use it often.

Just what I needed.
[Desire HD Android Development] Patrics83:
Thanks for your feedback :D
[Desire HD Android Development] Rolando88:
Thanks for this beautifull script!, can't live without it anymore!

Actually im just posting a message to get it back to front page :p
[Desire HD Android Development] Patrics83:
Hehe thanks mate!

Hopefully we will release something nice for you this weekend, so I hope we will be on top at leas all weekend :p

(Just some minor changes and some testing left...)

Sent from my HTC Desire HD
[Desire HD Android Development] Rolando88:
Can't wait to check it out!!!!
[Desire HD Android Development] joe9002:
Just wanted to check this is compatible with RCMix3d Runny v2.0 as im looking to change ROM for a bit ive been using ROM cleaner on Android Revolution HD, love what its dose so wanted to carry on using it on other ROMS.
[Desire HD Android Development] Rolando88:
I used it on v2 and it works
[Desire HD Android Development] Patrics83:
It will work.

Just make sure you edit the updater-script in the ROM.

All RCMix ROMs has a reboot command in the end this will break the supported way of using ROM Cleaner.

Open the ROM.zip (just open, don't extract it) with WinZip for example locate the updater-script open it with notepad++ scroll down to the end and delete "run_program("/sbin/reboot");"

Close notepad++ save and let WinZip repack the ROM.

Now you are good to go :D

Sent from my HTC Desire HD
[Desire HD Android Development] joe9002:
Thank you , will do thet edit and see how it runs.
[Desire HD Android Development] tarti321:
Great tool!
[Desire HD Android Development] joe9002:
This is line 53-71

run_program("/tmp/busybox", "sleep", "2");

ui_print("Deleting ROM Cleaner Files...");

delete("/tmp/romcleaner");

delete("/system/app/test");

ui_print(" ");

ui_print("Unmounting Partitions");

run_program("/tmp/busybox", "umount", "/system");

run_program("/tmp/busybox", "umount", "/data");

ui_print(" ");

ui_print("Creating log file on SD");

ui_print(" ");

ui_print("===============================================");

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

ui_print("| Thanks for using ROM Cleaner |");

ui_print("| |");

ui_print("| Don't forget to leave feedback to us |");

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

ui_print("===============================================");

run_program("/tmp/busybox", "cp", "/tmp/recovery.log", "/sdcard/ROMCleaner/Logs/ROMCleaner_Recovery.log");

I dont think you have that line in the latest rom cleaner.
[Desire HD Android Development] craacK:
You have to edit the updater-script of Runny_v2.zip :)
[Desire HD Android Development] joe9002:
:o lol ok thanks.
[Desire HD Android Development] Patrics83:
Thanks :D

Sent from my HTC Desire HD
[Desire HD Android Development] Patrics83:
Spoiler Alert!

For those of you how are curious on how the new version of ROM Cleaner will look like... Here is a small sneak peak of ROMCleaner_user.txt for upcoming version.

Sensitive viewers might not be able to handle this revolution :P

ui_print(" ");
ui_print("[URL="http://www.androidrevolution.nl/Patrics83/counter/click.php?id=81"]Spoiler[/URL]"); <<<<The spoiler is here!!!<<<<
ui_print(" ");
ui_print("Spoiler - Done");
ui_print(" ");
ui_print("Now Stay tuned!");
[Desire HD Android Development] napster113:
@Patrics83 you clever cloggs lol.

looking good:):)
[Desire HD Android Development] fred1050:
Used yesterday on my DHD ARHD 6.1.2 and works fine, thanks a lot !

The same on a virtuous 2.37 on the SAGA !

Very great job ! :D
[Desire HD Android Development] Rolando88:
Really nice job!!!
[Desire HD Android Development] Patrics83:
Thank you very much :D
[Desire HD Android Development] P00t:
Will this work for sense 3.5? Will it cause problems if its flashed on 3.5??
[Desire HD Android Development] Patrics83:
Yes it will work. Why shouldn't it work? :p

Sent from my HTC Desire HD
[Desire HD Android Development] P00t:
I reinstalled friend stream widget after the wipe and it force closes HTC sense launcher everytime I refresh it. I don't think its the wipe problem. Maybe its the rom or the friend stream widget.
[Desire HD Android Development] Patrics83:
From ROMCleaner.txt and App list in first post.

#If you wish to keep FriendStream3DWidget make sure you also keep Twitter3DWidget.
[Desire HD Android Development] P00t:
Oh is that what's causing the force close? Not having twitter 3D widget??

EDIT: what if I install the twitter 3D widget apk? Will it fix my problem?
[Desire HD Android Development] Patrics83:
Yes, but it depends on how you install it. The app must be in /system/app and also have the correct permission. rw-r--r--

If you use Mod and Apps installer correct permission will be set for you.
[Desire HD Android Development] P00t:
I used root explorer and dragged the twitter 3D widget to system/app. Then installed it. Then did a fix permission. Still not working :( ughh
[Desire HD Android Development] Patrics83:
Open root explorer check the permission on those two apps.

Friendstreamwidget and twitterwidget

What does they say?

And you should not install them. Just put them there, set permission and reboot.
[Desire HD Android Development] P00t:
This is what I got.
[Desire HD Android Development] Patrics83:
That's wrong!

Check some other app in /system/app

rw-r--r--

Set the same on your apps

Screen
[Desire HD Android Development] craacK:
Hey P00t, i follows runny thread today u u posted there that u have friendstream issue.. do you think its caused by ROMCleaner or caused by Runny 2.1? :)

anyway, will try to help you ^^
[Desire HD Android Development] P00t:
I made it all the same. Then rebooted it. Didn't fix it :(. Sighhh

I think the rom cleaner removed some files that has to be with friend stream to work it. m
[Desire HD Android Development] Patrics83:
Not possible. Might how ever be ROM related since you use a ported ROM but I doubt it's because of that.

Also you installed the apps... That's wrong. So my best guess is you messed it up. No offence but you need to sort it out. Make sure you make a correct user list and reflash the ROM after (Super)Full Wipe.
[Desire HD Android Development] P00t:
Thanks for trying to help. Ill be more careful next flash. :)
[Desire HD Android Development] ABDOKRO1:
[SM ON]

"Oh yes, tease me with your big spoiler, you b*** !!!" :D

[SM OFF]
[Desire HD Android Development] Patrics83:
Well I noticed not many ppl really saw the spoiler... I use counters you know and there is only a few clicks so far :p

But ofc I LOVE to teas you all :D
[Desire HD Android Development] ABDOKRO1:
You should hide the URL, when I saw "/counter/" I hold my left-click.
[Desire HD Android Development] Patrics83:
>>> ROM Cleaner v3.0 <<<

After many many days and hours we finally made it! Enjoy!

ROM Cleaner v3.0 - 2011-10-15

-We will in this version present you a totaly new ROM Cleaner.txt. Rebuilt from the ground up.

No more messing with strange sections for different Sense versions etc.

-New ROM Cleaner program.

Makes it possible to add only Appname.apk and description in ROMCleaner_user.txt.

The script will search in /system/app and /data/app. If the app exists it will be deleted.

Now we can remove all Wallpapers and Previews with two commnads /../../*.jpg & /../../*.png.

This will save us huge amounts of time, and also give you a much cleaner list.

From now on we will not provide the app list in first post. Everything is in the ROMCleaner_user.txt

-Added a command in updater-script to show free space on System & Data partition before and after ROM Cleaner. (This can be found in ROMCleaner_Recovery.log)

Backup Tool v1.1

-Minor changes to the updater-script.

-Some clean up in the script to provide cleaner logs.

Mod and App Installer v1.4

-Minor changes to the updater-script.

-Some clean up in the script to provide cleaner logs.

Folder Creator v1.3

-Just cosmetics in updater-script.

Thanks to madmaxx82 for all the help creating new ROMCleaner program.
[Desire HD Android Development] ABDOKRO1:
OK, I admit I have no strengh: I just clicked :)

First I thought it was a trap to count how many curious were around.

But now I see there are really some interesting clues.

Impatience is growing, guys, I hope you're still on track for a release this week-end. Let the Red Bull flow tonight !:D

EDIT: OMG, IT'S ALIVE, ALIIIIIIIIIVE !!!
[Desire HD Android Development] Patrics83:
I think you will edit your post very soon :p

Sent from my HTC Desire HD
[Desire HD Android Development] ABDOKRO1:
Done. You well deserve my today's 5 thanks.

BTW, will you delete from first post the comment "Also make sure to use Notepad++ when editing ROMCleaner_user.txt in Windows." since it's not mandatory anymore?
[Desire HD Android Development] Patrics83:
Thanks mate! :D

Nope it will still be there because notepad++ is still the recommended software to use when editing the txt

If we remove it users will end up with ROMCleaner_user.gif etc :rolleyes:
[Desire HD Android Development] napster113:
thank you once again so much easier and quicker to edit user text.
[Desire HD Android Development] Patrics83:
Your welcome!

I really hope you find it MUCH easier now! :p

Sent from my HTC Desire HD
[Desire HD Android Development] Patrics83:
Now when mike1986 will release a new ROM I hope you will spend a minute and give us some feedback on new ROM Cleaner ;)

Sent from my HTC Desire HD
[Desire HD Android Development] preacher65:
Awesome update, well done guys. :D

Sorry I haven't been around much on IRC and whatnot, just too busy at work to spend time "fiddling" with the phone. :( Will try to make time for a superwipe and rom cleaning next time I flash and give you some feedback. :)
[Desire HD Android Development] ABDOKRO1:
Guys I have an issue: the cleaning was aborted. Cleaner v3 on ARHD v6.1.2 with superwipe.

All the family is here (I'm typing from the WC) so I will investigate and report tonight with logs if necessary.

BTW I washed my hands before posting :D
[Desire HD Android Development] Whiskey103:
Well that's what a toilet is for huh. "Wipe and Clean" :D
[Desire HD Android Development] ABDOKRO1:
Happy birthday craacK.

It's more private here, too many people in ARHD thread...

Cheers.
[Desire HD Android Development] craacK:
hehe, thanks man :) hope you can solve your issue ... patric and i did the last test yesterday before release and all was ok..

right now i cant flash my phone to test again .. since i need it quite often :D:D
[Desire HD Android Development] Patrics83:
Hey mate! Can you please send me a PM (or join #ROMCleaner) with all logs+_user.txt and ROM Cleaner.zip

Also try to remember what error message you got in recovery.

Thanks!

/Patric

Edit, I reproduced your steps.

*SuperWipe

*ARHD 6.1.2

*ROM Cleaner v3.0 (Re-downloaded from the server)

No problems at all. I think your ROM Cleaner zip some how got corrupted. Did you change anything in the zip?
[Desire HD Android Development] Patrics83:
Thanks man! Also thank you very much for your donation, much appreciated! :D

Some times we have other stuff to do then sit here pressing F5 @ XDA all the time, so you are excused this time :p

Will be waiting for your feedback... ;)

/Patric

Sent from my HTC Desire HD
[Desire HD Android Development] ABDOKRO1:
False alarm ! End the alert !

The files were not corrupted, once again the issue came from the user :D

As usual I dropboxed a backup of the stock "romcleaner_user.txt" and another one of the customised one. Then I usually copy/paste the second one to the ROMCleaner folder.

This time I dropped the copy into the wrong folder, so the old script didn't get overwritten. Basically I loaded Cleaner v3 with a userscript from v2.4r1... :(

Everything works now, excuse me for the disturbance. TBH I knew it was probably a bad download or a bad use.

Sorry again.
[Desire HD Android Development] Patrics83:
Hehe no problems at all :D

I was never worried :p

Thanks for letting us knew what happened.

Sent from my HTC Desire HD
[Desire HD Android Development] Zahurtex:
Thanks! for the updated Rom Cleaner 3.0 I will be testing it on a new rom tomm.

Just one concern regarding wallpapers if I want to keep any wallpaper what should I do in script other than I know I can always copy files from the rom zip customize\resource and copy ones I want to sd card.

I would like to know some more info. on Settings_Restorer_v1.0 what settings it backup and how to restore them. I could not find any info on first page.

---------- Post added at 11:14 PM ---------- Previous post was at 11:10 PM ----------

:D:D Hahaha :D:D very funny!
[Desire HD Android Development] Patrics83:
Thanks :D

Regarding Wallpapers you need to copy them from the ROM or something like that yes... or keep them all. The reason why we did it like this is because it takes so damn much time to check all names and compare to old list. I'm getting old ;)

Settings_Restorer_v1.0 restorer will restore:

Bluetooth paired devices, Wifi keys and HTC mail accounts and settings. (Mail restore might not work on every ROM and also if you switch base...)

All backups is done exactly like titanium backup does.

You need to flash Backup tool first (to be able to use Settings Restorer)... It will backup you apps like before + BT, WiFi and mail. So Settings_Restorer_v1.0 is a optional tool.

ROM Cleaner still restore apps.

The guide will be updated soon but right now our friend Dude360 has some time off from XDA.

Good luck and please give feedback on the new ROM Cleaner version... Also don't forget to vote the thread!!! :eek:
[Desire HD Android Development] Zahurtex:
Ok, got it ... Thanks ;)

It will be a great addition to the backup / restore tool if it can backup sense weather cities and settings like updates intervals and temperature celcius or ferenhite.

Sense 3.5 backup / restore SMS but still lacking call logs and weather settings backup.
[Desire HD Android Development] P00t:
hi im back about the friend stream problem.

I test the rom cleaner on RcMix Runny v3.0 and ARHD 6.1.2

When I click Update on RcMix it force closes the launcher.

I have..

-FriendStream.apk

-twitter 3D widget

-com.htc.FriendStream3DWidget.apk

put into system/app on correct format rw-r-r

On Arhd I got the same thing..force close on the launcher.

anything else that needs to be added for friend stream to function?
[Desire HD Android Development] ryanmfraser:
I think you need the HtcTwitter.apk as well. Try keeping the standard twitter and FriendStream widgets as well. Not just the 3D, 3.0/3.5 ones.
[Desire HD Android Development] Patrics83:
Everything is possible, but right now... Nothing more will be added to the backup tool. :(

There is to many ported ROMs and different Sense versions out there.

We can't test them all.

HTC Mail is a wildcard in the backup tool. In most cases it works very very good but we have cases where it will result in FC on Mail app. Solution for that is clear data for that app.

And you can imagine when you first boot your new flashed device... FC on Weather, Mail, etc. We don't want that.

Before we released Backup tool we had many more things added to it and for us it worked very good but we decided to not include it due compability issues.

I hope I didn't disappoint you now :o
[Desire HD Android Development] P00t:
dang still doesnt work T_T ughhh I really want to use rom cleaner with no trouble T_T

i have

-FriendStream.apk

-twitter 3D widget.apk

-HtcTwitter.apk

-com.htc.FriendStream3DWidget.apk
[Desire HD Android Development] ryanmfraser:
Just keep going down the list, unfortunately. Add the regular twitter and FriendStream widgets to that list.