[SCRIPT] ROM Cleaner v2.1 | Remove Bloatware | Backup Apps | Install Apps/Mods

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
OMG this is what I call cleaning BIG time! :cool:

Seems this could be the first Rom to hit the 1Gb cleaning barrier. So I dare all of you to break that one (with a working Rom that is). Would be a nice one for the portal :cool:
Haha, yeah that's crazy!

~900MB removed just in seconds :eek:

Sent from my HTC One X
 
  • Like
Reactions: MarckX

pride_kr

Senior Member
Oct 8, 2011
665
61
0
Sao Paulo
Right click and save as :)

Sent from my HTC One X
Ok, just edited the file!

Then I have to create a folder named as ROMCleaner on ext sd card, then copy the edited file onto it, right?

Should I flash the new ROM, put all the accounts stuff, then reboot into recovery then flash your zip file?
Or right after flash the new rom, should I flash your zip file?

Thanks!!!
 

MarckX

Senior Member
Feb 13, 2009
843
1,269
0
Ok, just edited the file!

Then I have to create a folder named as ROMCleaner on ext sd card, then copy the edited file onto it, right?

Should I flash the new ROM, put all the accounts stuff, then reboot into recovery then flash your zip file?
Or right after flash the new rom, should I flash your zip file?

Thanks!!!
Yep, copy your _user.txt right there ;)

To take full advantage:

While on your old Rom: use backup function for apps, accounts, WiFi etc.
Then flash new ROM and flash ROMCleaner. Watch the screen for ROMCleaner using the _user.txt

Now it's time for first reboot.

Walk through setup. Here you can do a full setup, but accounts, WiFi and Bluetooth will restore later. So its up to you to do a full setup or not.

Second reboot but now into recovery.

Flash ROMCleaner again and restore your apps, WiFi, Bluetooth and accounts.
Run Remove setupwizard from the menu.
And do a logcollection just in case :cool:

Reboot into system.

And yet another light ROM is running to enjoy :D

Ps don't forget to hit Patric83's thanks button. Seems he is enjoying that quite a bit :)
 
Last edited:

fOmey

Recognized Developer
Mar 7, 2009
4,121
5,436
263
Sydney, AUS
Excellent write up, excellent script..

Great work champ..

EDIT: I need to know, how did you identify the uses for all the apks ?!
 
Last edited:

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Excellent write up, excellent script..

Great work champ..

EDIT: I need to know, how did you identify the uses for all the apks ?!
Well in this case, Xphoid did the ROMCleaner.txt

Else I use, Google, apktool and experience... Oh and a lot of time (many hours and still counting...) :)

Sent from my HTC One X
 
  • Like
Reactions: MarckX

MarckX

Senior Member
Feb 13, 2009
843
1,269
0
Excellent write up, excellent script..

Great work champ..

EDIT: I need to know, how did you identify the uses for all the apks ?!
Well in this case, Xphoid did the ROMCleaner.txt

Else I use, Google, apktool and experience... Oh and a lot of time (many hours and still counting...) :)

Sent from my HTC One X
And ofc: ApkSpy
 
Last edited:
  • Like
Reactions: fOmey and Patrics83

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
I could imagine, big props mate..

Best of luck for the future.

Xphoid excellent work on ROMCleaner.txt..
Thanks mate, posts like yours is what's keeping us doing this ;)

The whole point with ROM Cleaner is to give our XDA members a very advanced debloating tool but still very easy to modify.
Time demanding task for us but easier for the end user. :)

[History]
In the beginning (3 years ago) I created the first script for Desire HD. It was a plain updater-script and most users didn't manage to edit the updater-script without breaking stuff. (corrupted zips, broken Unix code in the script, missing syntax etc.)

Therefore we made a "program" that are able to read from a simple txt file located in the sdcard.
The new method also gave us the option to add a description for each apk/file in the txt.[/History]




Boo Yaa! Forgot about that one ;)

It works in most cases, especially for the app names!

Sent from my HTC One X
 
  • Like
Reactions: fOmey

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Hmm... Really low activity in this thread compared to S3 with around 7500 downloads for the last version :)

Common guys, tell us what you think about this script and spread the words "ROM Cleaner!" :D

I will try my best to release an update "soon" but I would like to see some more feedback before I do so ;)
 
  • Like
Reactions: MarckX

Pard0ned

Senior Member
Oct 14, 2010
2,074
534
0
Belfast
Is there any way you could add all (or as many as you can) apps from the s4 to the aroma section, along with a set of default apps to be deleted ( like, have the apps in one big list which you can scroll through if there is anything extra that you personally don't want, and then tick that app(s). If you don't want to deleted any more then the list could still show but the default "to be deleted" apps will be deleted instead). The continue button could also be at the top of that particular screen. Just so you don't have to scroll all the way to the bottom of what could be a very big list if you only to want the default apps gotten rid of.

Do you know what I mean? :)

I was just thinking about different things to do with the cleaner. Although this might be a bit unfeasible really.

Sent from my GT-I9505 using Tapatalk 2
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Is there any way you could add all (or as many as you can) apps from the s4 to the aroma section, along with a set of default apps to be deleted ( like, have the apps in one big list which you can scroll through if there is anything extra that you personally don't want, and then tick that app(s). If you don't want to deleted any more then the list could still show but the default "to be deleted" apps will be deleted instead). The continue button could also be at the top of that particular screen. Just so you don't have to scroll all the way to the bottom of what could be a very big list if you only to want the default apps gotten rid of.

Do you know what I mean? :)

I was just thinking about different things to do with the cleaner. Although this might be a bit unfeasible really.

Sent from my GT-I9505 using Tapatalk 2
ROM Cleaner will never have the option to select what to delete or not in the AROMA UI.
Too much work to do for us and it will in the end result in a very complex update and editing for us and the end user.

It's much easier to edit a txt file once and then use it over and over again.
The default script is more like an example and should motivate our users to edit there own ROMCleaner_user.txt ;)

Or didn't I understand you? :D

No matter what it's nice to read about ideas and suggestions. So just let them come....

BTW, we are interested in 2 or 3 active ROM Cleaner user that are up for some testing of ROM Cleaner before release etc.

Just let us know if you are up for the task... :)
 
  • Like
Reactions: MarckX

okty2k

Senior Member
Apr 24, 2010
578
112
0
I have used it and it seems to do the job great. Now, I constantly have 600MB free. Not to mention that I have uninstalled only what I don't need. The only thing that seemed to go wrong what uninstall of SHealth. With the edited file, the app is still there (other apps were removed after editing the script). That is the only think not working. Otherwise, clear explanation of HowTo....
 

MarckX

Senior Member
Feb 13, 2009
843
1,269
0
I have used it and it seems to do the job great. Now, I constantly have 600MB free. Not to mention that I have uninstalled only what I don't need. The only thing that seemed to go wrong what uninstall of SHealth. With the edited file, the app is still there (other apps were removed after editing the script). That is the only think not working. Otherwise, clear explanation of HowTo....
Cool to read your nice feedback! :D

Just checked for SHealth after downloading a fully bloated ROM. Seems it's called SHealth2.apk, but I have seen different names on the internet as well. That's why the asterisk (*) has been added to the name in the .txt-files.

I assume you removed the Hashtag(#) in front of the line in your _user.txt, as it is not removed by default. If not, that will be the culprit.

If you did remove it, please upload a log collection made from the ROMCleaner menu, so we can check if we overlooked something.

Thanks in advance mate! :)
 
Last edited:
  • Like
Reactions: Patrics83