Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,353 Members 46,558 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Patrics83
Old
(Last edited by Patrics83; 23rd February 2014 at 08:42 AM.)
#1  
Patrics83's Avatar
Recognized Developer - OP
Thanks Meter 8039
Posts: 5,544
Join Date: Feb 2010
Location: Gothenburg

 
DONATE TO ME
Default [SCRIPT] ROM Cleaner v4.1 | Remove Bloatware | Backup Apps | Install Apps/Mods





  • All Scripts in a unique AROMA Installer
  • Works on Samsung Galaxy S3 i9300 & i9305.
  • No root required, only custom recovery.
  • ROM Cleaner - Will give you the option to remove as much as possible without making your ROM unstable!
  • You will be able to install a secondary launcher with APEX or NOVA it's all up to you!
  • ROMCleaner app-list in a user friendly format
  • Backup Tool will make your flashing like "a walk in the park"
  • Follow our "Quick Guide" in the AROMA Installer under "How-to-use" and you will know when and how to run the scripts
ROM Cleaner Featured On XDA!!! Twice!

Also read these nice articles!
Video review by TheSmokingAndroid
XDA Front Page!
Pocketables!
XDA Front Page!
Evil-Dragon's Blog!
The Gadgeteer!




  • very nice, simple and fast way to delete stuff from your device
  • takes less then 5 seconds to delete all the listed applications and files in the list
  • Odex files will be automatically removed if belonging apk have been removed
  • no trash left behind as it would be if you delete files manually using Root Explorer
  • more free RAM for apps that you are actually using
  • users have reported better battery life and device speed improvements with ROM Cleaner
If you find this tool good, great, awesome or maybe even the best thing you ever tried
then please feel free to send us a beer, hit the "Thanks Button", leave some feedback and subscribe this thread



Important:

- If you get some kind of issue after flashing ROM Cleaner, re-flash the ROM and check if the issue still exists.
- Don't spam ROM development threads about issues caused by this script.
- Always report problems in this thread and we will most likely help you as fast as we can.
- Please always respect our work and be friendly and helpful to other members in this thread.



How to report a problem:

- Flash ROMCleaner_vX.X.zip in recovery
- In main menu and press "Log Collection".
- When done, reboot the device from "Advanced Power Menu".
- In "/external or internal sdcard/ROMCleaner" you will find RC_LogCollection.*.tar. Please upload this file together with a description of your problem.
With this log we can in - most cases - solve your problem within minutes!

If you ignore this simple instruction, you will most likely get no help from us!







ROM Cleaner v4.1

ROMCleaner_user.txt

CM-AOSP_user.txt

ROM Cleaner v3.0


ROMCleaner_user.txt


>Follow instructions in second post how to edit this to fit your demands...



Also make sure to use Notepad++ when editing ROMCleaner_user.txt in Windows.

Requirements: CWM Recovery or TWRP



Code:
ROM Cleaner v4.1 - 2014-02-11

   -Common
    *Updated ROMCleaner program to support KitKat ROMs (/system/priv-app)
    *You can now save screen brightness settings
    *Removed the number after sdcard in first screen
    *Attempt to fix "free space" calculator

   -ROM Cleaner (CM-AOSP)
    *Corrected the issue where some users couldn't use this cleaning option.

   -Additional Scripts
    *Option to clear saved brightness settings
    *Added a test script that will scan your packages.xml for unused app data and clear it.

   -Launchers
    *Updated all launchers
    *Removed GO Launcher and Holo HD launcher
     APEX and Nova are the options from now on.

_______________________________________________________________________________


 ROM Cleaner v4.0 - 2013-11-10
 
   -Common
    *Updated AROMA binary to 2.70RC2 (stable)
    *All script has been modified to work with the new ROM Cleaner standard.
     AROMA Installer will now use variables for sdcard paths... 
     Thanks to this new method we can now handle 12 different 
     ways of mounting sdcard inside recovery.
     But like always you external sdcard will used as long as you have one,
     else internal sdcard will be used.
    *Updated Busybox in the zip to ensure all commands will work as intended
    *Plus a lot more stuff that will simplify things for us when updating ROM Cleaner.

   -ROM Cleaner
    *New layout for ROMCleaner_user.txt (Please leave feedback)
    *Added more apps to be removed
    *Corrected odex files remover. 
     (if the app name contained "()" it resulted in syntax error
     and stopped the script for removing odex files.)
    *First screen will now show if needed partitions are mounted.
     It will also let you know if your user.txt 
     can be found in your ROMCleaner folder.
    *Added a "free space" calculator to show how many "MB" ROM Cleaner removed.
     It will also show how many files and apps it removed.
    *Added a checkbox to run "Log Collection" directly after ROM Cleaner
    *Refined the status messages for ROM Cleaner, now it will print

     "-ROM Cleaner was successful!" - All OK
     
     "-There was nothing to remove by ROM Cleaner" - All OK, 
     (did you forget to flash a ROM?) ;)
     
     "-ROM Cleaner Failed!" - This means the script didn't execute at all.
 
   -ROM Cleaner (CM10.x, AOSP, AOKP, GE)
    *Added a new ROM Cleaner for CM10.x, AOSP, AOKP, GE ROMs

   -Additional Scripts
    *Added checkboxes for settings restorer. 
    *Added a warning message if you use Setup Wizard remover before first boot.
    *More info will be collected in "Log Collection"

   -Updated all launchers
   
_______________________________________________________________________________


ROM Cleaner v3.0 FINAL - 2013-03-09

   -Common
    *All scripts are heavily modified.
     Now, ROM Cleaner will be able to use /external_sd, external_sdcard or /scard as source
     External SDCARD will have first priority!
     Thanks to everyone who helped us with testing especially blueacidic
     If no external sdcard can be found, internal sdcard will be used instead.
     Thanks to banccalif for reporting "Blueish" color hue and also for finding the optimal value.
    *Slimmed zip size a bit.
     Removed unused scripts and functions
     Removed reboot/exit animation

   -Backup Tool
    *Corrected backup of accounts and home screen (Since Jelly Bean, user accounts was introduced)
    *You will not be able to use Backup Tool if there is nothing to backup
    *Added more logging code:
     List all apps in /data/app before backup and after backup in backup dir


   -ROM Cleaner
    *Added a lot of new apps and changed description for some of them. 
     (It's highly recommended to remove your old ROMCleaner_user.txt and start all over)
     Thanks to stanley08 for the amazing work on ROMCleaner.txt
    *ROM Cleaner will now read from the ROMCleaner.log and based on the result, 
     print a status message in recovery. This method will be much more accurate. 
     And there's no more need to have the "test" line in the ROMCleaner_user.txt as before.
    *If you have removed Setup Wizard and then perform a ROM update without wipe, the Setup Wizard will be removed by default.
    *Changed the option in Launcher menu to avoid confusions.
    *Added more logging code:
     List all apps in /system and /data before and after ROM Cleaner

   -Additional Scripts Menu
    *If you try to run Settings Restorer before first boot you will get a warning
     Same is with "Run all scripts in one GO!"

   -Updated all launchers and renamed them so it will be easier for you to update the zip
    Before: RC_Go.apk Now: com.gau.go.launcherex-1.apk

_________________________________________________________________________________


ROM Cleaner v2.0 - 2012-10-27

   -Common
    *AROMA binary updated to v2.56 (no screen calibration values needed anymore)
    *All scripts are heavily modified. Now everything will be much faster then before
    *Added a new cool reboot animation by MarckX

   -Backup Tool
    *New method too calculate required space before attempting to backup applications
     (This resolves the problem with not enough space on sdcard)

   -ROM Cleaner
    *Now ROM Cleaner will handle odex files as well!
     This means you can use ROM Cleaner even on stock Samsung ROMs with the same clean result!
     It will of course handle odexed custom ROMs as well
    *Added some new apps and changed description for some of them
      Google Talk is not removed by default anymore

   -Updated launchers
    *APEX Launcher v1.2.5 > v1.3.2
    *NOVA Launcher v1.2.2 > v1.3.2
    *GO Launcher EX v3.13 > v3.17
    *Holo Launcher HD v1.0.2 > v1.0.6

    -Removed Holo Launcher

   
    Thanks F3nr1s and DroidRevenge for testing!

_________________________________________________________________________________


ROM Cleaner v1.2 - 2012-09-02

   -ROM Cleaner
    *Added many new apps (Thanks to kingsizeriz for the help with Omega App list)
     ROM Cleaner should now be fully compatible with Omega ROMs as well! ;)
    
    #CWMManager*.apk                                    CWM Manager
    #DirectConnect.apk                                  ?????
    #DirectShareManager.apk                             DirectShareManager
    DSMForwarding.apk                                   DSM 
    DSMLawmo.apk                                        DSM
    com.hwkrbbt.downloadall*.apk                        DownloadThemAll
    #Exchange.apk                                       Exchange
    #Gmail.apk                                          Gmail Application
    #com.google.android.gm*.apk                         Gmail Application
    MusicHub*.apk                                       Music Hub
    OfficialTOP40_installer.apk                         Official Top 40 Chart (http://tinyurl.com/99dghqv)
    #Samsungservice.apk                                 Security Settings?
    #swype.apk                                          Swype Keyboard
    #com.swype.android*.apk                             Swype Keyboard
    #GoogleCalendarSyncAdapter.apk                      Calendar Sync
    #GoogleContactsSyncAdapter.apk                      Contacts
    #SecFileShareClient.apk                             DirectShare
    #SecFileShareServer.apk                             DirectShare


   -Backup Tool
    *New menu which will let you to select what to backup


   -Updated launchers
    *Holo Launcher v1.2.0 > v1.2.2
    *Holo Launcher HD v1.0.0 > 1.0.2


_________________________________________________________________________________


ROM Cleaner v1.1 - 2012-08-22

   -CWM Recovery v5.x.x.x and 6.x.x.x is now supported.
    See download section


   -AROMA
    *New AROMA v2.51 Binary
    *Some other minor adjustments
    *ROM Cleaner folders will be created at initial start of ROM Cleaner AROMA

   -ROM Cleaner
    *Added some more apps based on JB leak (check ROMCleaner_user.txt for more info)
     Tbh I can't remember :p


   -Updated launchers
    *GO Launcher EX v3.12 > 3.13

_________________________________________________________________________________


Initial Release - 2012-08-10

  - ROM Cleaner v1.0 for Samsung Galaxy S3
    
Keep in mind this is the initial release and our intention was to get you a
nice tool which will give you the option to customize your ROM.
Please give us feedback and we will try to make this tool even better!
        Thanks to all beta tester who made this possible!



Please feel free to use our banner made by craacK






Thanks a lot for all donations

MarckX x2 | Tomi Mykrä x2 | craacK x1 | Anthony Hogan x1 | Pietrorlando Giordano x1 | Mastacheata x1
preacher65 x1 | PaulGiz x1 | avatar_ro x1 | verynuclear x1 | JagSem x1 | Clarifiante x1 | Rosete Ryan Kim x1
Xphoid x1 | rayford85 x1 | Simi007 x2 | z31s1g x1 | malybru x1 | HTC-Gunge x1 | Laurentius26 x1 | tossero x1
jeryx x1 | mrdey x1 | Imex99 x1 | rib king x1 | Gandicela x1 | Zelmer x1 | Perka x1










Thanks to all beta testers of ROM Cleaner v1.0
- noytexz
- gee2012
- MuertoKo
- mgf8384
- leventccc

MarckX for all the help with development and testing
Dude360 who made a great work building this tool with me.
craacK for all the help with the development and graphics
amarullz for the AROMA Installer
Madmaxx82 for his script skills and help making this one fly
Mike1986 & lukogriffioen for inspiration.
The rest of Team Revolution for supporting me.
Special thanks goes to Whiskey103 for hosting my files.
And of course to everyone who supports our work.
The Following 150 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
Patrics83
Old
(Last edited by Patrics83; 10th November 2013 at 07:41 AM.)
#2  
Patrics83's Avatar
Recognized Developer - OP
Thanks Meter 8039
Posts: 5,544
Join Date: Feb 2010
Location: Gothenburg

 
DONATE TO ME
Info 2 Guide & Info

Guide For ROM Cleaner and Additional Tools!

We did make an effort to make it as clear as possible on each AROMA screen. However it's always nice to know what the scripts do and when to use them...

So let's start!



Main Menu
In our main menu you will find:

* Backup Tool
* ROM Cleaner
--- ROM Cleaner
--- Skip Cleaning Step

* Additional Scripts
--- Settings Restorer
--- Setup Wizard Remover
--- Apps & Mods Installer
--- Run all scripts in one GO!

* Log Collection
* Advanced Power Menu


ROM Cleaner

 
Flashing procedure for pure ROM Cleaner users!

-*- Flash a ROM with full wipe
-*- Flash ROM Cleaner and press "ROM Cleaner"
-*- Pick "ROM Cleaner" or "CM-AOSP" script, then press Next
-*- Next menu is optional (should be pretty clear)
-*- Press Next again and wait until ROM Cleaner is done
-*- Press Reboot and use your phone like normal.

Skip cleaning step

If you use this option, nothing will be removed and you will still be able to restore your apps.


How To Edit Your Personal User.txt

 
Steps you need to do:

--- Windows users, download Notepad++ and install it.
--- Download "ROMCleaner_user.txt" or "CM-AOSP_user.txt" (from the download post)
--- Open the text file with Notepad++
--- Edit the file on your Android device: DroidEdit (Free)

In the text file you will find two columns with app names and a description in this guide we use AdobeReader.apk as an example.


To Remove a file with ROMCleaner
Code:
AdobeReader.apk         Adobe Reader PDF reader
In the case above "AdobeReader.apk" will be removed.


To keep a file with ROMCleaner If you decide to keep it, add a "#" at the beginning of the line:
Code:
#AdobeReader.apk         Adobe Reader PDF reader

Let's say we are done with the edits. To continue just complete next list:

--- Press the "X" in the upper right corner of the screen to save the changes.
--- Copy the file onto your external sdcard or internal sdcard. The file must be located in "/internal or external sdcard/ROMCleaner" folder. ( "/../ROMCleaner/ROMCleaner_user.txt" )
---If you don't have a ROMCleaner folder yet or are unsure about what's internal or external sdcard. Please flash ROM Cleaner zip in recovery.
By doing so, needed folders will be created. Reboot your device from "Advanced Power Menu"

Now ROM Cleaner script will always read that file!


Backup Tool

 
Will backup:

-*- Applications (Not app data)
-*- Accounts (Settings - Accounts)
-*- Bluetooth pairings
-*- TouchWiz launcher settings (and 3rd party widgets)
-*- Mail accounts (including Inbox)
-*- WiFi keys

Important Note: Use this before flashing a new ROM flash with full wipe

How to apply:

--- Flash ROM Cleaner AROMA and press "Backup Tool"
--- When done, press "Power Menu" and "Exit" .... or whatever you want...


Additional Scripts

 
Important Note: Use this menu only after a full boot!

* Settings Restorer > This script will restore data already saved with Backup Tool
* Setup Wizard Remover > This script will remove the Setup Wizard
* Apps & Mods Installer > This is a batch install script. Apps, mods, files in /*sdcard/ROMCleaner/SecondBoot will be installed when you use this script
* Run All scripts in one GO! > This is a batch install for all scripts in this menu.


Log Collection

 
Use this option when we request logs from you.

This script will collect all needed logs + "*user.txt" and create "RC_LogCollector.tar" in ROMCleaner folder. Upload this file and send it to us on XDA or Google Talk chatroom (add as contact to Google Talk ROMCleaner@im.partych.at


Advanced Power Menu

 
In this menu you will find the following options:

* Reboot your device
* Exit to Recovery
* Enable Mobile Network


Screenshots

 














Easy?
Yes? Good because this is and should be easy
The Following 41 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
Patrics83
Old
#3  
Patrics83's Avatar
Recognized Developer - OP
Thanks Meter 8039
Posts: 5,544
Join Date: Feb 2010
Location: Gothenburg

 
DONATE TO ME
Reserved...
The Following 9 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
noytexz
Old
#4  
Senior Member
Thanks Meter 15
Posts: 132
Join Date: Jan 2012
Location: Trier
FINALLY !!!!!!!!!
The Following 2 Users Say Thank You to noytexz For This Useful Post: [ Click to Expand ]
 
MarckX
Old
(Last edited by MarckX; 11th August 2012 at 11:44 PM.)
#5  
MarckX's Avatar
Senior Member
Thanks Meter 1208
Posts: 782
Join Date: Feb 2009
Quote:
Originally Posted by noytexz View Post
FINALLY !!!!!!!!!
Yep, thanks to your last testing mate, we have finally a version that we are really happy to present.......

Thanx to all betatesters noytexz, gee2012, MuertoKo, mgf8384, leventccc. Without you guys this wouldn't have been possible at all!!!!!

Enjoy this release guys, just as much as we have creating/developing this!!!!!!!!!!!!



ROM Cleaner Support, add ROMCleaner@im.partych.at to Google Talk/Hangouts and join our chat room!
The Following 3 Users Say Thank You to MarckX For This Useful Post: [ Click to Expand ]
 
gee2012
Old
#6  
gee2012's Avatar
Recognized Contributor
Thanks Meter 2919
Posts: 8,013
Join Date: Jul 2010
Location: Heerlen
I think it would be very helpfull to post a video or a clear noob proof tutorial on how to use the Rom Cleaner as most users i think will have a hard time doing this properly especialy for the deletion of apps.
I`am not a noob i hope but i`am not 100% sure on how to use this Cleaner and i`am afraid you will be flooded with questions, issues and worse.
USE Search: /this thread /all threads/Google before posting your question, you`re most likely not the first one having this issue
The Following 2 Users Say Thank You to gee2012 For This Useful Post: [ Click to Expand ]
 
Patrics83
Old
#7  
Patrics83's Avatar
Recognized Developer - OP
Thanks Meter 8039
Posts: 5,544
Join Date: Feb 2010
Location: Gothenburg

 
DONATE TO ME
Quote:
Originally Posted by noytexz View Post
FINALLY !!!!!!!!!
Yeah it took some time I hope it was wort waiting for

Thanks a lot for all your help!!

Quote:
Originally Posted by MarckX View Post
Yep, thanks to your last testing mate, we have finally a version that we are really happy to present.......

Thanx to all betatesters noytexz, gee2012, MuertoKo, mgf8384, leventccc. Without you guys this hadn't been possible at all!!!!!

Enjoy this release guys, just as much as we have creating/developing this!!!!!!!!!!!!
+1

I hope Samsung Galaxy S3 users can give us a lot of feedback and help us to make the bloating part even smoother and better.
It's damn hard for us without a Samsung device

/Sense nerd

Quote:
Originally Posted by gee2012 View Post
I think it would be very helpfull to post a video or a clear noob proof tutorial on how to use the Rom Cleaner as most users i think will have a hard time doing this properly especialy for the deletion of apps.
I`am not a noob i hope but i`am not 100% sure on how to use this Cleaner and i`am afraid you will be flooded with questions, issues and worse.
First of all Thank YOU for all the help!

And yes a video review or something would be crazy cool! Too bad I don't have a good camera... :/

I would really appreciate if someone could make a review!

As mentioned in the OP, right now we refer to the guide in aroma...
But I will soon post same guide in the 2nd post.
Steps you need to do:

* Windows users, download Notepad++
Then install it.

* Download "ROMCleaner_user.txt"

* Open the text file with Notepad++

In the text file you will find two columns
with app names and a description:

AdobeReader.apk Adobe Reader PDF reader

In the case above "AdobeReader.apk" will be removed.

To keep it, add a "#" at the beginning of the line:

#AdobeReader.apk Adobe Reader PDF reader


Let's say we are done with the edits.
Then press the "X" in the upper right corner of the
screen to save the changes.

Now copy the file onto your sdcard.
The file must be located in "/extSDcard/ROMCleaner" folder.
Now ROM Cleaner script will always read from that file!
The Following 4 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
gee2012
Old
#8  
gee2012's Avatar
Recognized Contributor
Thanks Meter 2919
Posts: 8,013
Join Date: Jul 2010
Location: Heerlen
Played around with the Cleaner script and gona try it now.
USE Search: /this thread /all threads/Google before posting your question, you`re most likely not the first one having this issue
 
noytexz
Old
#9  
Senior Member
Thanks Meter 15
Posts: 132
Join Date: Jan 2012
Location: Trier
Quote:
Originally Posted by gee2012 View Post
I think it would be very helpfull to post a video or a clear noob proof tutorial on how to use the Rom Cleaner as most users i think will have a hard time doing this properly especialy for the deletion of apps.
I`am not a noob i hope but i`am not 100% sure on how to use this Cleaner and i`am afraid you will be flooded with questions, issues and worse.
Sounds good
 
gee2012
Old
#10  
gee2012's Avatar
Recognized Contributor
Thanks Meter 2919
Posts: 8,013
Join Date: Jul 2010
Location: Heerlen
Is it enough to name the specific apk for deletion or do i also have to name the description of that apk
USE Search: /this thread /all threads/Google before posting your question, you`re most likely not the first one having this issue

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes