[SCRIPT] ROM Cleaner v2.5+ AROMA | Remove Bloatware | Backup Apps | Install Apps/Mods

Saneless One

Senior Member
Mar 31, 2011
633
173
0
This worked out well, thanks.

Didn't realize that /sdcard literally meant the internal /sdcard directory until after I flashed it and noticed an app I kept was missing. No problem though, quick restore and re-do and I was good to go.

I ended up manually removing HTC Sense Input myself, since it wanted to stay in memory for no reason whatsoever. Don't miss it.

I also kept some live wallpapers that I'll never use.

Even though my free memory really isn't any lower than it was before, there's at least real apps in memory now and hopefully they'll get dropped out vs the last batch of HTC things which never left memory if I needed more.
 
  • Like
Reactions: MarckX

MarckX

Senior Member
Feb 13, 2009
843
1,269
0
This worked out well, thanks.

Didn't realize that /sdcard literally meant the internal /sdcard directory until after I flashed it and noticed an app I kept was missing. No problem though, quick restore and re-do and I was good to go.

I ended up manually removing HTC Sense Input myself, since it wanted to stay in memory for no reason whatsoever. Don't miss it.

I also kept some live wallpapers that I'll never use.

Even though my free memory really isn't any lower than it was before, there's at least real apps in memory now and hopefully they'll get dropped out vs the last batch of HTC things which never left memory if I needed more.


Hi there!

Thanks for your feedback!

I have a few questions tho, because I don't understand what you're trying to say at some points.... (I blame it on my Dutch background :)) So could you please tell if I understand it:

"I flashed it and noticed an app I kept was missing¨
Did you use the ROMCleaner_user.txt and removed a "#" in there, copied it to /sdcard/ROMCleaner and flashed ROMCleaner? And it resulted in NOT removing the file??

HTC Sense Input
What exactly do you mean with this? Is it the HTC SetupWizard?

I also kept some live wallpapers that I'll never use.
I had actually had a laugh about this one..... still have :D

Even though my free memory really isn't any lower than it was before, there's at least real apps in memory now and hopefully they'll get dropped out vs the last batch of HTC things which never left memory if I needed more.
This is exactly why you have to remove all apps you don't use or want to use. If they are not present, they can't be started and they will not cause memory lags.

And maybe you won't notice at first, but if you have deleted apps you don't use, the can't be started at boot, so they can't write any bloat there. In your memory you will notice that apps will run and use it until the low level limit has been reached. This is the amount of free mem where Android starts to close apps in memory.
If you have less apps that will fill your memory, it will have to close less apps.
Less apps closing will lead to less apps being restarted when you are going to use them. This will result in an improvement in speed (less apps starting/closing = less speedloss)
 
  • Like
Reactions: Patrics83

Kilokk

Senior Member
Jan 15, 2011
1,867
1,340
0
San Antonio, Republic of Texas
Patrick..You PIMP!! <<In the U.S.that can mean several things, I'm using it as BADASS

So I followed your instructions regarding the broken theme when I --- A) Used the HC OneX ROMCleaner and --- B) didn't exclude all the necessary files. When I added the last 3 exclusions under "All Wallpapers, Scene Previews, Bookmark Thumbnails." that did the trick. The theme now displays flawlessly. I appreciate you and your knowledge. :victory:

http://forum.xda-developers.com/showthread.php?t=1589949&page=87
 
  • Like
Reactions: Patrics83

njfoses

Senior Member
Jun 4, 2010
2,010
781
0
S Jersey
you can also dirty flash update over previous rom and then run RC

steps
1. dirty flash
2. RC backup apps
3. run RC sense
4. boot back to twrp
5. reflash mods

I've tested this also :)
If you are dirty flashing couldnt you just flash rom, then run rc sense or no sense? You shouldnt have to backup apps since they wont be touched in a dirty flash.
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
No because it will delete the apps that aren't in the list or backup folder
When you restore your apps a script will check if you are running one of our supported ROMs, if you do another script will remove apps that comes with the ROM from the backup dir. (/sdcard/ROMCleaner/Backup/data/app/) before it attempts to restore anything.

If you don't wipe there is no need to run backup tool before unless you just want to be sure :)

So yes if you want to do a unsupported dirty flash then flash the ROM without full wipe followed by ROM Cleaner (without anything else) then reboot

Problems you might notice is FCs on random apps. Sync issues, missing widgets even if you didn't remove all widgets with ROM Cleaner. :)

Sent from my HTC One X
 
  • Like
Reactions: MarckX

njfoses

Senior Member
Jun 4, 2010
2,010
781
0
S Jersey
So here was my experience upgrading meanrom from v2.5 to v3.0. Both versions have 4x5 homescreen. I use a combo of folder organizer lite and sense to setup my homescreens.

1. Baked up apps with titanium backup, booted to recovery, ran rom cleaner backup
2. Flashed superwipe, flashed rom, ran rom cleaner "sense" with my custom list
3. Booted into rom, signed into gmail, restored my apps with titanium, deleted the app folder in the ROMCleaner folder since i restored with titanium
4. Booted back into recovery "ran all restore scripts", rebooted device

Everything seemed good at first glance, then i noticed some issues.

For some reason my calendar app would not show any of my exchange events/appointments. It didnt acknowledge i had an exchange acct setup with calendar. I had to remove my exchange acct and re-add it. Also a few widgets such as htc calendar were not available event though they were set not to delete in the script. I cleared data for htc sense and the widgets were then available but i had to setup my homescreens again. Should i have ran the restore scripts before booting into the rom for the first time?
 
Last edited:

kf2m

Senior Member
Jul 8, 2010
703
164
73
Somewhere in New Jersey
:)

Let us know when you have tried it ;)
Got a chance to try it. Really nice, very slick. Though my preference is to mod a ROM prior to flashing it to the phone since I like to change icons, and stuff like that. I also found a few more things that I could strip out of a ROM that I thought I couldn't pertaining to Sense (thanks!) since I strip everything I can out, and install mostly 3rd party apps/utils while saving a nice amount of memory.

+1
 

Kilokk

Senior Member
Jan 15, 2011
1,867
1,340
0
San Antonio, Republic of Texas
Got a chance to try it. Really nice, very slick. Though my preference is to mod a ROM prior to flashing it to the phone since I like to change icons, and stuff like that. I also found a few more things that I could strip out of a ROM that I thought I couldn't pertaining to Sense (thanks!) since I strip everything I can out, and install mostly 3rd party apps/utils while saving a nice amount of memory.

+1
Do you mind sharing some of the additional items you remove? Chances are they probably won't affect me either since I also use mostly 3rd party apps as well... which is few, or maybe attach the script you used. I personally am trying to strip as much Sense as possible. I use Nova launcher and get frickin phenomenal battery life and use my phone quite a bit. My last run was over 23hours without plugging and for example on one app, listened to Spotify over WiFi for 6.5hours and still had 10% battery. I'm sure it could probably be even better than that. :victory:
 

finsmaniac02

Senior Member
Dec 1, 2007
888
104
0
Also,
I think that there needs to be a line (or lines) to remove the HTC weather animations. If you remove them then HTC weather defaults to still screens for each different weather condition and I think it strips like 57 meg out :)

I removed it from my rom zip file before flashing so I am ok now, but it would be cool to add it into this script.
I think I just deleted the whole directory but I forget where it is...

If anyone could post the lines needed for that it would be great.
 

banccalif

Senior Member
Feb 9, 2011
2,587
1,316
0
LOS ANGELES
Also,
I think that there needs to be a line (or lines) to remove the HTC weather animations. If you remove them then HTC weather defaults to still screens for each different weather condition and I think it strips like 57 meg out :)

I removed it from my rom zip file before flashing so I am ok now, but it would be cool to add it into this script.
I think I just deleted the whole directory but I forget where it is...

If anyone could post the lines needed for that it would be great.
You can use the custom file and edit the weather out. Open it with notepad + from play store and anything you don't want just remove the hashtag. After you're satisfied save it nd put it in the rom cleaner folder then run it
 

njfoses

Senior Member
Jun 4, 2010
2,010
781
0
S Jersey
You can use the custom file and edit the weather out. Open it with notepad + from play store and anything you don't want just remove the hashtag. After you're satisfied save it nd put it in the rom cleaner folder then run it
I think his issue is that he doesn't know what the files are that need to be removed.
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
To remove weather animations add this to your ROMCleaner_user.txt

Code:
"system/media/weather"
This folder contains all animations (51.9MB)

In advanced section remove comments like this:

Code:
WeatherProvider.apk                                HTC Weather Provider
WeatherSyncProvider.apk                            HTC Weather Provider
Yet another 4.2MB

Edit: @banccalif thanks for helping us with the support! :)
It's much appreciated!
 
Last edited:

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Yeah before Aroma, I have DL it 3 times already and the MD5 matches.
No idea what's wrong then... Your sdcard maybe... move the zip to a different folder and try again.

BTW do get some kind of error message in recovery?

If you know how to pull the recovery log please upload it here.

Edit: Did you check the md5 when the zip is on your sdcard?
 
Last edited:
  • Like
Reactions: MarckX

kf2m

Senior Member
Jul 8, 2010
703
164
73
Somewhere in New Jersey
Do you mind sharing some of the additional items you remove? Chances are they probably won't affect me either since I also use mostly 3rd party apps as well... which is few, or maybe attach the script you used. I personally am trying to strip as much Sense as possible. I use Nova launcher and get frickin phenomenal battery life and use my phone quite a bit. My last run was over 23hours without plugging and for example on one app, listened to Spotify over WiFi for 6.5hours and still had 10% battery. I'm sure it could probably be even better than that. :victory:
Not to hijack the thread but if you look over here - http://forum.xda-developers.com/showthread.php?t=1818628
this is a batch file I've been playing with to "reheat" ROM's. Mainly to automate modding a ROM before flashing. Much like dsixda's kitchen but not as complex, or as powerful. But you can download the scripts, and look in the remove_system_nosense file to see what I removed. I have a new one coming out soon so you may want to wait.
 
  • Like
Reactions: Kilokk