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

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

Tip us?
 
Patrics83
Old
(Last edited by Patrics83; 5th January 2014 at 03:55 PM.)
#1  
Patrics83's Avatar
Recognized Developer - OP
Thanks Meter 8039
Posts: 5,544
Join Date: Feb 2010
Location: Gothenburg

 
DONATE TO ME
Arrow [SCRIPT] ROM Cleaner v2.2 | Remove Bloatware | Backup Apps | Install Apps/Mods





  • All Scripts in a unique AROMA Installer
  • ROM Cleaner - Will remove as much as possible without breaking HTC Sense Launcher and Widgets! This is the best way to come close to a no-sense ROM and still use HTC Sense!
  • ROM Cleaner NO-Sense - Will remove pretty much everything and replace HTC Sense launcher
    with APEX, NOVA, or custom launcher from sdcard it's all up to you!
  • ROM Cleaner CM-AOSP - Will let you to remove what's possible to remove from a already slimmed ROM and you will get the option to install a secondary launcher.
  • Fully compatible with Sense 5.0, 5.5, GE, CM, AOSP & AOKP ROMs
  • 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
  • For more details read the guide in third post
ROM Cleaner Featured On XDA!!! Twice!

Also read these nice articles!
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
  • 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 to 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!




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 | bigdaddy619











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
Madmaxx82 for his script skills and help making this one fly
amarullz for the AROMA Installer
bigdaddy619 Support and Testing
Jonas2295 Support and Testing
GuyAdams Support and Testing
And of course to everyone who supports our work.
The Following 92 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
MarckX
Old
(Last edited by MarckX; 5th January 2014 at 04:23 PM.)
#2  
MarckX's Avatar
Senior Member
Thanks Meter 1208
Posts: 782
Join Date: Feb 2009
ROM Cleaner v2.2

ROMCleaner_user.txt

NO-Sense_user.txt

CM-AOSP_user.txt

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

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

Requirements: CWM Based Recovery or TWRP Recovery


Code:
ROM Cleaner v2.2 - 2014-01-05
 
   -Common
    *Updated ROMCleaner program to support KitKat ROMs (/system/priv-app)
    *AROMA Installer updated to 2.70RC2 (Seems much more stable then B6)
    *You can now save screen brightness settings
    *Removed the number after sdcard in first screen

   -ROM Cleaner (Sense)
    *Added more apps to be removed
    *Weather and Facebook will not be removed by default like in v2.0

   -ROM Cleaner (NO-Sense)
    *Fixed the Lockscreen option for KitKat ROMs
    *Added more apps to be removed
    *Added the option to not install a launcher from the zip
     (Add your own launcher apk to /FirstBoot folder or use
      ROM Cleaner Backup Tool and restore your apps along with ROM Cleaning)

   -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.

   -NO-Sense/CM-AOSP
    *Updated all launchers
    *Removed GO Launcher and Holo HD launcher
     APEX and Nova are the options from now on.
    
_______________________________________________________________________________


ROM Cleaner v2.0 - 2013-11-05
 
   -Common
    *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.
    *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, NO-Sense_user.txt & CM-AOSP_user.txt
    *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.
    *Improved "free space" calculator to show how many "MB" ROM Cleaner 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.

   -Additional Scripts
    *Added checkboxes for settings restorer.
     Run all scripts in one GO! Will not give you the option to select what to restore.
    *Added Clean up SDCARD option
     From this menu you can delete files from your sdcard that have been created by ROM Cleaner
    *More info will be collected in "Log Collection"

   -Updated all launchers
   
   
    Thanks to everyone who contributed to the development of ROM Cleaner v2.0!
	
_______________________________________________________________________________


ROM Cleaner v1.6 - 2013-07-16 
 
   -Common
    *Improved Added a "free space" calculator.

    For now there's two ROMCleaner zips, one for CWM users and one for TWRP users.
    I will make one zip for both of them when I have time...
 
_______________________________________________________________________________


ROM Cleaner v1.5 - 2013-07-14 
 
   -Common
    *Updated AROMA binary to 2.70Beta6 (stable)
    *Moved "ROMCleaner" folder to /data/media/0/ROMCleaner
     Copy your old ROMCleaner folder from /data/media/ to /data/media/0/
     if you want to keep backed up apps etc.
    *Added "force_colorspace" in aroma (Fixes orange hue)
    *All scripts are now using built-in Busybox for
     (aroma-installer and updater-script)
    *First screen will now show if needed partitions are mounted.
     If not you will be notified!
    *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 warning if Setup Wizard Remover is being used before first boot.
    *More info will be collected in "Log Collection"
    *Some other changes to the AROMA and scripts.

   -ROM Cleaner (Sense / NO-Sense)
    *Corrected NO-Sense AOSP lockscreen (No more bootloops)
    *Added more apps to be removed
    *Added a summary for NO-Sense users,
     so we can see what they have done outside the updater-script.
    *Corrected odex files remover. 
     (if the appname contained "()" it resulted in syntax error)

    Thanks to bgcngm:
    HTC One 802w (Dual SIM variant - M7CDUG) users, go here.
   
    *Updated all launchers

    Thanks to everyone for testing and reporting!
    Special thanks to staffordniko for all the AOSP testing!
 
_______________________________________________________________________________


ROM Cleaner v1.4 - 2013-05-19 
 
   -Common
    *Added sync command after each *.sh script
    *Added a confirm button for 
     "Additional Scripts" > "Run all scripts in one GO!"

   -ROM Cleaner (Sense / NO-Sense)
    *Added wildcard for HTC Mail app
    *Removed Trim_n_Slow.apk from the list since it broke camera functions
   
    *Updated all launchers
 
_______________________________________________________________________________


ROM Cleaner v1.3 - 2013-05-05 
 
   -ROM Cleaner (Sense / NO-Sense)
    *Added more apps
    *Ensured _client apps are removed
 
_______________________________________________________________________________
 
 
ROM Cleaner v1.2 - 2013-04-28
 
   -ROM Cleaner (Sense / NO-Sense)
    *Added more apps and libs
    *Minor changes
 
   -Updated all launchers
    *GO Launcher EX v3.5
 
_______________________________________________________________________________
 
 
ROM Cleaner v1.1 - 2013-04-25
 
   -ROM Cleaner (Sense)
    *Fixed Blinkfeed not updating
 
   -Backup Tool
    *Fixed FCs when restoring homescreen with settings restorer
 
   -Common
    *Widget Scanner fully disabled (Didn't work on Sense 5)
 
_______________________________________________________________________________
 
 
ROM Cleaner v1.0 - 2013-04-23
 
   -Initial release of ROM Cleaner for HTC One



ROM Cleaner Support, add ROMCleaner@im.partych.at to Google Talk/Hangouts and join our chat room!
The Following 42 Users Say Thank You to MarckX For This Useful Post: [ Click to Expand ]
 
MarckX
Old
(Last edited by MarckX; 10th May 2013 at 08:32 AM.)
#3  
MarckX's Avatar
Senior Member
Thanks Meter 1208
Posts: 782
Join Date: Feb 2009
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 (Sense)
--- ROM Cleaner (NO-Sense)
--- ROM Cleaner (CM-AOSP)
--- Skip cleaning step
* Additional Scripts
--- Settings Restorer
--- Setup Wizard Remover
--- Apps & Mods Installer
--- Run all scripts in one GO!
* Logs collection
* Advanced Power Menu
Backup Tool
Will backup:

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

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

How to apply:

--- Open ROM Cleaner AROMA and press "Backup Tool"
--- When done, press "Power Menu" and "Exit" .... or whatever you want...
ROM Cleaner
Flashing procedure for pure ROM Cleaner users!

-*- Flash a ROM with full wipe
-*- Start ROM Cleaner AROMA and pick "ROM Cleaner"
-*- Pick "Sense", "NO-Sense" or "CM-AOSP" script, press Next
-*- "NO-Sense" users will get a launcher menu and the option to use HTC lockscreen or AOSP lockscreen
-*- "CM-AOSP" users will get a launcher menu
-*- 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.
Additional Scripts
Important Note: Use this menu only after a full boot!

* Settings Restorer > This script will restore data already saved with Backup Tool
* HTC Setup Wizard Remover > This script will remove the HTC Setup Wizard. IT's pointless to have once your phone is set up
* 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
Logs 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 IRC.
Advanced Power Menu
In this menu you will find the following options:

* Reboot your device
* Exit to Recovery
* Reboot to Bootloader
* Enable Mobile Network
How To Edit Your Personal User.txt
Steps you need to do:

--- Windows users, download Notepad++ and install it.
--- Download "ROMCleaner_user.txt" or "NO-Sense_user.txt" from the firstpost
--- Open the text file with Notepad++

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 sdcard. The file must be located in "/sdcard/ROMCleaner" folder.

Now ROM Cleaner script will always read that file!
Easy?
Yes? Good because this is and should be easy













ROM Cleaner Support, add ROMCleaner@im.partych.at to Google Talk/Hangouts and join our chat room!
The Following 39 Users Say Thank You to MarckX For This Useful Post: [ Click to Expand ]
 
torxx
Old
#4  
torxx's Avatar
Senior Member
Thanks Meter 21641
Posts: 8,033
Join Date: Mar 2011

 
DONATE TO ME
Congrats guys on the release

Sent from my HTC One
The Following 4 Users Say Thank You to torxx For This Useful Post: [ Click to Expand ]
 
MarckX
Old
(Last edited by MarckX; 23rd April 2013 at 09:13 PM.)
#5  
MarckX's Avatar
Senior Member
Thanks Meter 1208
Posts: 782
Join Date: Feb 2009
Congratz guys !! You really pulled it off

Big Thanks to Jonas2295 and GuyAdams for making this possible!



ROM Cleaner Support, add ROMCleaner@im.partych.at to Google Talk/Hangouts and join our chat room!
The Following 4 Users Say Thank You to MarckX For This Useful Post: [ Click to Expand ]
 
Guich
Old
#6  
Guich's Avatar
Recognized Contributor
Thanks Meter 3089
Posts: 4,273
Join Date: May 2012

 
DONATE TO ME
Great team!
Congrats to all!
The Following 2 Users Say Thank You to Guich 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 torxx View Post
Congrats guys on the release

Thanks mate

Sent from my HTC One
Quote:
Originally Posted by MarckX View Post
Congratz guys !! You really pulled it off

Big Thanks to Jonas2295 and GuyAdams for making this possible!
Yep without all the testing it wouldn't be possible...

Quote:
Originally Posted by Guich View Post
Great team!
Congrats to all!
Thanks! Now lets hope you will receive your baby sooooon!!!
The Following 3 Users Say Thank You to Patrics83 For This Useful Post: [ Click to Expand ]
 
Guich
Old
#8  
Guich's Avatar
Recognized Contributor
Thanks Meter 3089
Posts: 4,273
Join Date: May 2012

 
DONATE TO ME
Quote:
Originally Posted by Patrics83 View Post
Thanks! Now lets hope you will receive your baby sooooon!!!
I'm hoping too!
And also the one will know your Rom cleaner!
 
NJGSII
Old
#9  
Senior Member
Thanks Meter 321
Posts: 1,403
Join Date: Nov 2011
Location: Howell, NJ
Downloading now.
Current Devices:



AT&T HTC One M8



Former Devices:

Google LG Nexus 5
AT&T HTC One M7
AT&T Moto X
AT&T Samsung Galaxy S II
Google Asus Nexus 7
AT&T HTC One X
Apple iPhone 1st gen
Apple iPhone 3G
Apple iPhone 4
 
madAdam6LOVE
Old
#10  
madAdam6LOVE's Avatar
Senior Member
Thanks Meter 104
Posts: 561
Join Date: Jul 2010
Location: Concord, NH
Can I try this on my DNA to debloat newtoroot's NOS M7 ROM? Would it be best to run the cleaner script alone?
Samsung Galaxy S4 • ME7 Rooted

Nexus 7 • Slimbean

Tags
remove bloatware, rom cleaner, rom tool, romcleaner, script
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes