yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Patrics83:
Update - ROM Cleaner v3.5, Backup Tool v1.6

ROM Cleaner v3.5 - 2012-03-29

New ROMCleaner program:

-Wildcards for apps is now possible. ex. AdobeReader*.apk (AdobeReader-1.apk etc.)

-Support for SD-EXT

-The script will now search for apps in:

/system/app/

/data/app/

/system/app_s/

/data/app_s/

/sd-ext/app/

/sd-ext/app_s/

-Many improvements to the updater-script. ROM Cleaner is much faster now!

-Removed /etc folder (/system/etc is still left)

-ROMCleaner.txt is totally reworked and shouldn't contain any unnecessary apps

for Sense 3.0-3.6 ROMs

It's highly recommended to update to v3.5

ROM Cleaner v3.5 will support Sense 3.0-3.6 ROMs + AOSP ROMs

For Sense 4.0+ ROMs we will release ROM Cleaner v4.0 once it's tested enough

Backup Tool v1.6

-Improvements to the updater-script. The backup process should now be faster and safer.

-Added support for SmartBeat Supremacy XL ROMs

Enjoy guys! :D

Psst! Beta section is updated as well... ;)​
[Desire HD Android Development] Zalien:
I did remove it with no apparent sync issues.

What difference does it make if I remove an app from a running system compared to removing it before first boot? Would you like to elaborate on that?

If i decide to remove a certain app, I usually just do it as follows:

back it up, kill it, clear it's data, uninstall/remove it, test for conflicts/dependancies, and finally restore if needed. :)
[Desire HD Android Development] Patrics83:
Some ppl has reported sync issues and last time I tested it I had endless syncing.

If you remove apps on a running system you will have app data and dalvik-cache data left on your device.

And if you are unlucky you will get issues with other apps.

Also good to know is that issue might not be noticeable before you reboot your device.

If you want to be 100% that removing a specific app won't cause any issues then you must remove it before first boot...

Ofc you can remove pointless apps like teeter and you will for sure not encounter any problems except some leftovers in dalvik-cache and data folder.
[Desire HD Android Development] Zalien:
That's probably why it's a good practice to clear the app's data and cache before removing it. If some issues start to show up after a reboot, then at least I'd know exactly which app removal is responsible for it and I'd simply roll it back from the backup. right?
[Desire HD Android Development] MarckX:
Nothing wrong with a good practice, I guess :D But why test all that has been tested by the devs and testers. In the user.txt you can find most info on what apps can be deleted w/h any problem (lines without #). If you take a closer look at it, you can even find what apps (combinations) could cause trouble whenever deleted.....

Not trying to be disrespectfull at all, because I like ppl that try to figure things out by selfeducation, but you can really save yourself lots of time here.

But hey, who am I to make you think otherwise :D

Sent from my RomCleaned ARHD DHD
[Desire HD Android Development] Zalien:
Not trying to test what's already been tested, but rather learning and understanding how things work. Believe me, I'm not suggesting that I have the time for it, nor am I to claim that I enjoy messing up with the only mobile device I got; repeatedly restoring and reconfiguring my personal data and settings. I have already tried RomCleaner when I recently flashed an ARHD. The script works flawlessly and the guys did a really good job just coming up with the idea and developing it. I learned a lot by just examining the list.

However, after I flashed I had a major problem with Titanium Backup constantly FC'ing with no apparent solution on sight. After a few days of frustration, some serious digging, restoring, flashing and some major headache, I finally found out that it had to do with the new lame-ass market, "Google play", and that the solution could have been as simple as clearing the market's data and rebooting!!

That little incident kind of ticked me off into spending a little more time to understand how some things work on this wonderful OS. I can tell that this rush to learn is probably a temporary "phase" that won't last with me for long, but while it lasts, please allow me to make use of it. Who knows, maybe one day I'd be able to contribute with a useful feedback. :cool:
[Desire HD Android Development] MarckX:
I had the FC-ing on TB as well, but it has nothing to do with ROMCleaner or removing apps manually. It was right after an automatic update of TB. Before the update everything was fine. Seems like TB handles old data of Google Play in an other way with the new update. So imo restoring data from Google Play with TB would cause the same problems again.

I know the devs are happy with any feedback.... so keep up the good intentions and the good work!!! :D
[Desire HD Android Development] zboy_127:
looks great!
[Desire HD Android Development] MarckX:
Works even better than it looks :p

Sent from my RomCleaned ARHD DHD
[Desire HD Android Development] Dude360:
Just a quick message from me.

Thank you to everyone for their recent messages, thanks and donations :)

The team is working hard with new features for ROMCleaner as well as a couple of other small RC related projects.

We assure you there are some cool things coming in the future for ROMCleaner ;)

Unfortunately we still cant get it to make a cup of coffee or do the washing up....Craack did get it to wash his car though, but it cleaned the paint off as well so we had to scrap that beta :D

Please spread the word as well, we are looking for any feedback from users with other devices such as tablets, small nands and rooted toasters.

The one thing we do lack as devs is access to these devices so if you know someone with an android device, steal it, clean it and post us the logs lol :D

So thanks again to everyone, we hope that you all find the tools easy to use and understand.

Keep those roms clean!

Dude360
[Desire HD Android Development] sbkoh-xda:
I am using ROM Cleaner on my Galaxy Tab 7.7! Works great in removing Samsung's bloat!
[Desire HD Android Development] Patrics83:
Really? :D

No modifications made to the scripts?

Except ROMCleaner_user.txt

Did ROM Cleaner v3.4 work or was the first test v3.5?
[Desire HD Android Development] sbkoh-xda:
I'm using v3.4. Yet to upgrade to 3.5. No modifications other than my own ROMCleaner_user.txt.
[Desire HD Android Development] Patrics83:
Interesting!

Would you please upload some logs to me including your ROMCleaner_user.txt?
[Desire HD Android Development] sbkoh-xda:
Here you go!

View attachment ROMCleaner_user.txt

View attachment ROMCleaner_Log.txt
[Desire HD Android Development] Patrics83:
Thank you!

Could you please send me ROMCleaner_recovery.log as well?

Sent from my Desire HD
[Desire HD Android Development] sbkoh-xda:
Where do I find this? It is not in the ROMCleaner folder on my SD together with the other two files.
[Desire HD Android Development] Patrics83:
Strange...

/sdcard/ROMCleaner/Logs

Maybe your recovery behaves different.. hmm

Sent from my Desire HD
[Desire HD Android Development] sbkoh-xda:
If it is of any help, the recovery is a port of cwm 5.0.2.7 for the galaxy tab 7.7.
[Desire HD Android Development] inspiron2:
does anybody have the v3.01 of the cleaner, since i'm using it for Sense 2.1 ROM on my HD2?

//found it :D
[Desire HD Android Development] Patrics83:
http://xdaforums.com/showthread.php?t=1236376

In download section :)

Sent from my GT-P7510
[Desire HD Android Development] inspiron2:
it took me a while fiddling with some links and common sense while I could have just looked at the download section...anyway, thank you
[Desire HD Android Development] Patrics83:
INC S users requested v3.01 so we added it to the download section in only that thread, not easy for you to know ;)

Sent from my GT-P7510
[Desire HD Android Development] estremodesign:
i am use this mod arhd 6.3.2 and now my phone not vibrate :S

any idea ?
[Desire HD Android Development] Patrics83:
Nope :)

ROM Cleaner would never touch such functions.

I pretty sure it's app related.

Sent from my HTC One X
[Desire HD Android Development] wilspeak:
Hello PATRICS83 i have a droid x running LIQUID GB & a transformer prime running AOKP can either device run ROM CLEANERCLEANER ? THANK you
[Desire HD Android Development] MarckX:
Hi there, I can inform you only about Transformer Prime and AOKP. At the moment I'm testing it and I think there will be an update soon. Just have to send Patrics83 the altered files and gently ask him to take a look it ..... :D

I know if he likes it, he will update current version.... :p

Keep checking this thread for updates.... shouldn't take too long.

Cheers!
[Desire HD Android Development] Patrics83:
Hi, I'm not sure about Droid X, try it and let us know.

TF201 has a own ROM Cleaner thread :)

And as MarckX said a update will come tomorrow :p

Sent from my HTC One X
[Desire HD Android Development] wilspeak:
Thank you. Appreciate your responces
[Desire HD Android Development] Patrics83:
Updated ROM Cleaner to v1.1 for Transformer Prime!

[SCRIPT] ROM Cleaner v1.1 | Remove Bloatware | Backup Apps | Add Custom Apps/Mods

Enjoy!
[Desire HD Android Development] wilspeak:
THANKS PATRICS83 i will be using this valuable rom/mod appreciate you
[Desire HD Android Development] Patrics83:
Your welcome mate ;)

Sent from my GT-P7510
[Desire HD Android Development] Patrics83:
Update - ROM Cleaner v4.0

ROM Cleaner v4.0 - 2012-04-17

-Same changes as v3.5 but this version will only support Sense 4.0+ ROMs

-It's based on One V and S ports for DHD and Sensation

Enjoy! :D​
[Desire HD Android Development] MarckX:
mmmmh, you did it as promised this afternoon :p.... nice!

Nice work here team!!!!! I Love to see those senses being cleaned :D
[Desire HD Android Development] Patrics83:
I keep my word :)

Sent from my HTC One X
[Desire HD Android Development] ABDOKRO1:
Great... Now I

HAVE

to buy the H1X... :D

Thanks anyway!
[Desire HD Android Development] Patrics83:
Or flash ROMs we don't talk about :D
[Desire HD Android Development] ABDOKRO1:
Mmmmh, it's probably a better move to buy a One X, load ARHD then RC on top of it, don't you think? :)
[Desire HD Android Development] Patrics83:
Haha :D

Yep, just do it! Meet you on the other side... ;)

Edit: If you get bored you can always come over to my One X thread :D

We don't have a clown there :p
[Desire HD Android Development] Whiskey103:
It sure is mate ;)
[Desire HD Android Development] Patrics83:
So anyone tested v4.0 on One V ports yet? :)

Sent from my HTC One X
[Desire HD Android Development] reaper90:
Will will do that later when I test sense 4.0 rom on my DHD
[Desire HD Android Development] reaper90:
Seems like it did not work... Superwiped and installed Primo-S v3.4 and flashed Romcleaner. But log says everytime "file not found" . Will try again and upload logs when back home.
[Desire HD Android Development] Patrics83:
On v4.0?

Default ROM Cleaner or ROMCleaner_user.txt?

If you had ROMCleaner_user.txt on your sdcard is possible that this one is from <v3.5?

Sent from my HTC One X
[Desire HD Android Development] reaper90:
No, I downloaded RC 4.0 and romcleaner_user for 4.0 . But as I said I will try again (with and without user.txt) and upload logs when I'm back home
[Desire HD Android Development] Patrics83:
Very very strange... Before you flash any of my tools make sure you make a zip of /sdcard/ROMCleaner/logs folder and please make a copy of your ROMCleaner_user.txt and paste it in logs folder before you zip it. Then upload it here.

Thanks

Sent from my HTC One X
[Desire HD Android Development] reaper90:
It does not work... Just tried again with default romcleaner.txt (renamed ROMCleaner folder on my SD) and after flashing Romcleaner recovery says "nothing removed..."
[Desire HD Android Development] Patrics83:
I must have the logs, but I'm pretty sure there is some wrong at your end but I'm not sure what it might be until I can see the logs ;)

Use es file explorer or root explorer and make a zip of logs folder as I mentioned before
[Desire HD Android Development] reaper90:
that's what I can provide now.
[Desire HD Android Development] Patrics83:
****, found a issue. And I have inserted a command to prevent this from happening again. Also good to know, this only affected default ROM Cleaner script not if you used ROMCleaner_user.txt

So this doesn't explain why it happened even when you used ROMCleaner_user.txt

Are you 100% sure you had ROMCleaner_user.txt in /sdcard/ROMCleaner ? I would like to have that log if you don't mind.

Edit: Hmm, haha! This was not the case I noticed now... if you open ROMCleaner_log.log you will see that it removed 106 files.

So my guess it's that you have a bad zip or you removed a file called "test" from "META-INF\com\google\android" in the zip

Please redownload ROM Cleaner v4.0 and it should work just fine ;)
[Desire HD Android Development] reaper90:
Will upload this when I'm at home (in 1h or so) it's easier.
[Desire HD Android Development] Patrics83:
Yeah and check my edit in the post above ;)

ROM Cleaner worked just fine but it failed at a test I make while flashing because of a missing file in the zip. (Corrupted zip?)
[Desire HD Android Development] reaper90:
Could be. never ever had corrupted zip here but there's always a first time :D
[Desire HD Android Development] Patrics83:
Hehe yeah, well it's not much to corrupt :p

Maybe you can upload ROMCleaner.zip so I can test it on my device.

Sent from my HTC One X
[Desire HD Android Development] reaper90:
ok, back home, things gonna be much easier now :D

here's the ROMCleaner_v4.0 i used.

now redownloading RC and user.txt and trying again. pls tell me if u find something. hope it's not me being too stupid to use it right :D

edit: works perfectly now... seems like .zip must have been corrupted. shall i send u the logs of this one again? or is it enough for u to know it worked now?
[Desire HD Android Development] Patrics83:
It's ok mate!

Thanks for the help!

I will have a look at your corrupted version later ;)

Sent from my HTC One X
[Desire HD Android Development] Patrics83:
All fine in here? :)

Sent from my HTC One X
[Desire HD Android Development] ABDOKRO1:
I was just wondering if you could make a ROM Cleaner v5 for my wife's DHD as she only needs :

- device on/off

- phone

- sms

Without Sense, Social Networking, Multimedia, Navigation or Internet we could hopefully free up hundreds Mo in RAM and battery could last for weeks !!! :D

Let's call it "Barebone Project" ! :D :D :D
[Desire HD Android Development] Patrics83:
I can do that :D

When do you need it?

Sent from my HTC One X
[Desire HD Android Development] ABDOKRO1:
Naah, was just kidding. If she can't deal with my user_script, I'll sell my DHD and buy her a cheap Nokia instead. It's 21st century after all!

Sent from the future on my HOX loaded with ARHD 5.2.0
[Desire HD Android Development] ABDOKRO1:
More seriously, when will Backup Tool be out of beta? I believe new features are already included in ROM Cleaner v1 for HOX...

Yeah, I know, since Gmail people shouldn't be scared by the word "beta". :D

Sent from the future on my HOX loaded with ARHD 5.2.0
[Desire HD Android Development] Patrics83:
I was about to update everything even for DHD and Sensation but I have been very busy at home... Hopefully I will find some time next week.

And maybe I will upload/remove something.. ;) if all goes well :p
[Desire HD Android Development] duryard:
Awesome work guys

With the help of a guy in Germany (Prinz69) I got this working

I could of got there eventually but he help me out and saved me hours of reading

I put your banner in my sig (Until a mod tells me to trim it up that is)

Thanks again. Cut my install apps from 247 down to 146.
[Desire HD Android Development] Patrics83:
Hehe nice :D

I'm glad you got up n running!

When/if they tell you to slim it, remove everything except ROM Cleaner banner :p ;)

Sent from my HTC One X
[Desire HD Android Development] duryard:
Humm. Think I need a bit of help.

I love this app. Its the dogs doo dahs IMHO.

I think I made a bit of a fook up tho

Got it installed with the help of someone more techie minded than me but I know realise that I have removed some prorgams that I need. alot.

Speech to text, gps stuff, fav contacts just to mention a few

I was trying to get rid of all the social network stuff like facebook, twitter, google plus, all the lanuages except english and all the skins and theme stuff as I use my own walls and icons I use the standard stuff. sms, mms, gtalk, mail, etc, but also use gps and speech to text.

Now my german techie friend sent me his user.txt file and I managed to edit it a bit but as stated . I have lost speech to text and also fav contacts and dont really know where to look to let them install next time I run rom cleaner. I did delete the user.txt this morning and did re-install rom and ran rom cleaner so that it used your standard text file but I still dont have the missing apps back?

Help please?
[Desire HD Android Development] MarckX:
Hi there,

Glad you like it!!!! ;D

Can you upload your log-files so, Patrics can see if all went well with your provided user.txt.

If you want Speech to text maintained on your device, comment the line(s) which are related to it. In this case my guess would be next lines:

VoiceSearch.apk
com.google.android.voicesearch*.apk
googlevoice.apk
GoogleVoice.apk
com.google.voice*.apk

Change it to:

#VoiceSearch.apk
#com.google.android.voicesearch*.apk
#googlevoice.apk
#GoogleVoice.apk
#com.google.voice*.apk

Simple as that. If you do it like this it will or delete them next time.... If you send the logs we can see it all files have to be commented or not. ;)

If you want to use the .apk's right now, and don't want to reflash: Extract .apks from the ROM.zip and put them in your installed ROM. Fix permissions to rw-r--r-- and that should do it for now.

What about the fav contacts, I don't really know what iet is, you want to keep. :confused:
[Desire HD Android Development] duryard:
Thanks marckX. Nearly there now. Got fav contacts back and the phone speaks to me but I cant speak to the phone. Edited as you suggested and just need to reflash now.

in the mean time here is the file edited as your suggestion
[Desire HD Android Development] MarckX:
Just saw you posted in the wrong thread. This is DHD ROMCleaner thread. But it shouldn't matter. But please don't post the whole file here with copy/paste.... at least not without the

lines. This to prevent unreadable posts. And you can always send links (dropbox, Asus cloud etc, etc)

I see in the user.txt some lines of the sense 4.0 have been added and that the real comments are not commented anymore. That will surely leave some "File not found" lines. :p

Best thing to do,is just to flash it and sent us the link to your logfiles please....:D
[Desire HD Android Development] duryard:
Ops sorry about the wrong thread

flashed and cleaned and no errors reported and speech to text working

Here is the filehttp://dl.dropbox.com/u/8397645/ROMCleaner_user.txt
[Desire HD Android Development] MarckX:
Right mate,

but.... you uploaded the user.txt... and that's all right. But I need the logfiles as well. Just a little check if all went well..

You can find them @ /sdcard/ROMCLeaner/logs. :)
[Desire HD Android Development] duryard:
Think this is them

http://dl.dropbox.com/u/8397645/Logs/Backup_tool_recovery.log

http://dl.dropbox.com/u/8397645/Logs/ROMCleaner_Log.log

http://dl.dropbox.com/u/8397645/Logs/ROMCleaner_Recovery.log

http://dl.dropbox.com/u/8397645/Logs/Settings_Restorer_recovery.log
[Desire HD Android Development] MarckX:
Can't find any strange things in the log-files. So everything should be ok. :cool:

But..... the main question: Is everything according to your expectations right now with Speech to txt and Favorite Contacts?? (and maybe more??)
[Desire HD Android Development] duryard:
Every thing is fine. Or seems to be anyway. Back to work tonight so time will tell. Thanks for all the help
[Desire HD Android Development] MarckX:
No problem mate. Glad you have it up and running the way you want it. That's why we're here.... :D
[Desire HD Android Development] ABDOKRO1:
Posting such log = bad !

Quoting it = very bad !!

Sent from the future on my HOX loaded with ARHD 5.2.0
[Desire HD Android Development] MarckX:
That's why I made it a |code| in my post. Just to point out that you can do it like that :p

Edit: But I realise on XDA app/Tapatalk it sucks ...... Removed it!
[Desire HD Android Development] Nerospeed:
Hey Guys,

I have a problem. I will remove Sense 3.0 from my Desire HD with ARHD. I used the RomCleaner. I follow all stept, first use Folder_Creator, then flash any Rom, then flash RomCleaner. Befor this step - copy the RomCleaner....txt into /sd-Card/RomCleaner.

So, the result is, Sense still in the Rom :(

couldn't open: /sdcard/ROMCleaner/no-sense/no-sense.txt stands in the log. Where can I download the no-senso.txt for ARHD.

Gruß Nero
[Desire HD Android Development] Patrics83:
There is no no-sense version available for Desire HD

If you want to make a no-sense version of it, please feel free to. Just edit the ROMCleaner_user.txt and remove Rosie etc... don't forget to add a replacement launcher

And I suggest you have a look at the guide one more time, before you do any attempts make a no-sense version.

P.S No sad faces in here... New policy since 2012-01-01 :D
[Desire HD Android Development] Patrics83:
All fine in here? ;)

Sent from my HTC One X
[Desire HD Android Development] Whiskey103:
No news = good news ;)
[Desire HD Android Development] ABDOKRO1:
I didn't even remember having a notification for this thread! :D
[Desire HD Android Development] Whiskey103:
I have, it alerts on "thread clowns" :D
[Desire HD Android Development] Patrics83:
Well since I bricked my thumb twice just to find the thread I was forced to bump it :D

Sent from my HTC One X
[Desire HD Android Development] Patrics83:
Thanks for watching us... That thread clown can be damn funny sometimes :D

Sent from my HTC One X
[Desire HD Android Development] ABDOKRO1:
Ta-daaaaaaaa....!!! :D:D:D
[Desire HD Android Development] BolecDST:
I downloaded the sample file. And I see there are lines that start with "#" mark.

Are they optional? If yes, how do I set these files if I DON'T want to delete them? Just remove the "#" sign or whole line?

If not, what are these?

edit: also, what if the rom I downloaded doesn't include some of the apps listed in that file? Do I need to delete them in this file or the program will ignore them?
[Desire HD Android Development] Patrics83:
First of all ROMCleaner_user.txt is not a "sample file"

You should download it, and open it with notepad++ (not ms notepad)

If you add a "#" in front of an app name, like this:

#Appname.apk

The script will ignore it.

If you remove "#" from an app the script will delete the app if it exist in your ROM.

If your ROM doesn't contain some of the apps, it will simply not find the app and therefor it can't delete it. So it's nothing to be worried about.

When your are done with the edits, close notepad++ with the "X" and click "save changes".

Now copy ROMCleaner_user.txt to your sdcard. It should be in "/sdcard/ROMCleaner"

When this is done, you can flash ROM Cleaner and it will use your ROMCleaner_user.txt ;)

Good luck!
[Desire HD Android Development] Patrics83:
HAPPY BIRTHDAY MarckX

​
[Desire HD Android Development] MarckX:
Yet another one! Thanks mate! But you should really watch out for the mods accusing you of spamming your own threads...... But as you may know by now: I really appreciate it.... :D
[Desire HD Android Development] Patrics83:
Uhm... Well you might be right mate! BUT!!

If noobs can SPAM XDA all &¤%/&¤ days I can SPAM it just for a few hours when my MEGAWOWMATE is having birthday ;)
[Desire HD Android Development] BolecDST:
So, should I treat it like a reference and based on this - create my own file?

I'm on Ubuntu, I guess it's not necessary.

OK, thanks for taking your time to explain it to me. I appreciate it. Gonna tinker with RomCleaner -hopefully- soon, when I find some free time during the week.
[Desire HD Android Development] Patrics83:
Np mate! It's not hard at all. Start with ROMCleaner and your ROMCleaner_user.txt and flash that. Then look at the rest ;)

Good luck!