Post Reply

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

OP Patrics83

9th April 2012, 09:12 AM   |  #1  
Patrics83's Avatar
OP Recognized Developer
Flag Gothenburg
Thanks Meter: 8,080
 
5,562 posts
Join Date:Joined: Feb 2010
Donate to Me




  • 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, GO Launcher EX or Holo HD 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 4.0, 4.1, 4.5, 4+, 5 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 second 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 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 "/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.0 Only for Sense 5 users!


ROMCleaner_user.txt Use this together with ROM Cleaner (Sense)


NO-Sense_user.txt Use this together with ROM Cleaner (NO-Sense)


CM-AOSP_user.txt Use this together with ROM Cleaner (CM-AOSP)


ROM Cleaner v3.6 Only for Sense 4 users!


ROMCleaner_user.txt Use this together with ROM Cleaner v3.6 (Sense)


NO-Sense_user.txt Use this together with ROM Cleaner v3.6 (NO-Sense)


>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, TWRP



Code:
ROM Cleaner v4.0 - 2013-10-06

   -Common
    *Updated AROMA binary to 2.70 RC2
    *Almost every script has been edited to work with the new ROM Cleaner standard.
    *First screen will show ROMCleaner path and your *_user.txts.
    *Plus everything that I have forgoten about... ( several weeks of work, new born baby etc. :p )

   -ROM Cleaner (Sense / NO-Sense)
    *Complete update to work with Sense 5
    *New layout for user.txt (Please leave feeback)

   -Updated all launchers

_______________________________________________________________________________


ROM Cleaner v3.6 FINAL2 - 2013-07-25

   -Common
    *Updated AROMA binary to 2.70Beta6 (stable)
    *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.
    *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.
    
    *Corrected odex files remover. 
     (if the appname contained "()" it resulted in syntax error)
    *Some other changes to the AROMA and scripts.
	
   -Additional Scripts
    *Added a confirm button for 
     "Additional Scripts" > "Run all scripts in one GO!"
    *You will get a warning message if you use HTC Setup Wizard remover
     before first boot.
    
   -ROM Cleaner (NO-Sense)
    *Added a summary for NO-Sense users,
     so we can see what you have done outside the updater-script.

   -Updated all launchers

_______________________________________________________________________________


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

   -Common
    *Added screen brightness menu for recovery
     (no more tearing eyes while flashing in the dark) :p
     By default recovery will be dimmed to 50%
     (Thanks MarckX for the icons)
    *Removed exit/reboot animations to speed up things a bit
    *Removed unused *.sh scripts from the zip
    
    *ROM Cleaner (Sense/NO-Sense/CM-AOSP) 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 your *_user.txt as before
    *If you have removed Setup Wizard and then perform a ROM update without wipe,
     ROM Cleaner will remove the Setup Wizard. This just to prevent black screen after dirty flash.
    *Added more logging code:
     List all apps in /system and /data before and after ROM Cleaner
   
   -Backup Tool
    *Added "exit to recovery" option after "Backup Tool"
    *Removed some unnecessary files from Rosie backup script
    *Added more logging code:
     List all apps in /data/app before backup and after backup in backup dir
	
   -Additional Scripts
    *Added "reboot device" option after "Run all scripts in one GO!"

   -ROM Cleaner (Sense)
    *Minor changes
    
   -ROM Cleaner (NO-Sense)
    *Changed the lockscreen options menu. If you pick HTC Lockscreen, 
     HTC Lockscreen Shorcut Provider by itandy will be installed directly.
     If you pick AOSP lockscreen and then want to restore HTC Lockscreen again,
     the app will be uninstalled.
     Also the Lockscreen menu will always be available even if you have set AOSP LS. 
	
   -ROM Cleaner (CM-AOSP) NEW
    *This version should be used with CyanogenMod, AOSP or AOKP ROMs
    *Option to install secondary launcher

   -Updated all launchers

_______________________________________________________________________________


Full changelog...


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










Thanks to all beta testers of ROM Cleaner v2.0
-ABDOKRO1
-jonas2295
-Xphoid

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.
Last edited by Patrics83; 23rd November 2013 at 08:20 AM.
The Following 172 Users Say Thank You to Patrics83 For This Useful Post: [ View ]
9th April 2012, 09:13 AM   |  #2  
Patrics83's Avatar
OP Recognized Developer
Flag Gothenburg
Thanks Meter: 8,080
 
5,562 posts
Join Date:Joined: Feb 2010
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 (Sense)
--- ROM Cleaner (NO-Sense)
--- 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" or "NO-Sense" script, press Next
-*- "NO-Sense" users will get a launcher menu and the option to use HTC lockscreen or AOSP lockscreen
-*- 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














Last edited by Patrics83; 14th April 2013 at 07:36 PM.
The Following 55 Users Say Thank You to Patrics83 For This Useful Post: [ View ]
9th April 2012, 09:17 AM   |  #3  
jotha's Avatar
Recognized Themer / Retired Forum Moderator
Flag Bavaria, close to Munich
Thanks Meter: 7,728
 
4,685 posts
Join Date:Joined: Sep 2006
More
Finally!

What took you so long .

Nice to have that tool now also on One X. Thanks Patrics and all involved
The Following 7 Users Say Thank You to jotha For This Useful Post: [ View ]
9th April 2012, 09:38 AM   |  #4  
MarckX's Avatar
Senior Member
Thanks Meter: 1,239
 
809 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by jotha

Finally!

What took you so long .

Nice to have that tool now also on One X. Thanks Patrics and all involved

Yeah..... it seems ages since you and the guys on IRC bullied me with not having an X. Sure I will be testing this very soon.

But it's very nice to see you here as well mate!

Keep up the good works!!
The Following 2 Users Say Thank You to MarckX For This Useful Post: [ View ]
9th April 2012, 09:58 AM   |  #5  
FordSierra88's Avatar
Senior Member
Flag Esch/Alzette
Thanks Meter: 23
 
195 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Thank you :)
@Patrics
Thank you for your explanation and now I have understood it
I will test it later when S-OFF is out now.

thank you for hard works
Last edited by FordSierra88; 9th April 2012 at 10:00 AM.
The Following 2 Users Say Thank You to FordSierra88 For This Useful Post: [ View ]
9th April 2012, 12:00 PM   |  #6  
Patrics83's Avatar
OP Recognized Developer
Flag Gothenburg
Thanks Meter: 8,080
 
5,562 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by jotha

Finally!

What took you so long .

Nice to have that tool now also on One X. Thanks Patrics and all involved

Well, I think I have to blame time and HTC Sense 4.0 for the delay






Quote:
Originally Posted by MarckX

Yeah..... it seems ages since you and the guys on IRC bullied me with not having an X. Sure I will be testing this very soon.

But it's very nice to see you here as well mate!

Keep up the good works!!

Thank you mate! I hope it won't be long before you are with us at the X-Train





Quote:
Originally Posted by FordSierra88

@Patrics
Thank you for your explanation and now I have understood it
I will test it later when S-OFF is out now.

thank you for hard works

No problems mate!

No need to wait for S-OFF
Go go go go!

Sent from my HTC One X
The Following 4 Users Say Thank You to Patrics83 For This Useful Post: [ View ]
9th April 2012, 12:29 PM   |  #7  
verynuclear's Avatar
Senior Member
Flag UAE
Thanks Meter: 183
 
768 posts
Join Date:Joined: Aug 2010
More
A very big thanks man
You are really a wonderful.
The Following 2 Users Say Thank You to verynuclear For This Useful Post: [ View ]
9th April 2012, 01:03 PM   |  #8  
Goku80's Avatar
Senior Member
Flag Within the Matrix
Thanks Meter: 6,580
 
9,407 posts
Join Date:Joined: Mar 2012
More
Hi thanks for the work. This tool sounds very interesting and would like to try it out. Does this mean I do not need to be rooted or have the s-off to try this? Apologies for the noobish questions. Still learning and all new coming from the s2 forums
9th April 2012, 01:28 PM   |  #9  
verynuclear's Avatar
Senior Member
Flag UAE
Thanks Meter: 183
 
768 posts
Join Date:Joined: Aug 2010
More
Wink
I tried v.1.0 with ARHD 1.2 and after flashing it I got (Nothing was removed by Rom cleaner.
When the Rom first boot I found that some apps have gone and other not.
Here are the apps that still installed:

Facebook
Twitter
Google maps
Calculator

Thanks man

Edit:
I think it used the built in txt
Last edited by verynuclear; 9th April 2012 at 01:42 PM.
9th April 2012, 01:50 PM   |  #10  
Patrics83's Avatar
OP Recognized Developer
Flag Gothenburg
Thanks Meter: 8,080
 
5,562 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by NoobTerminator

Hi thanks for the work. This tool sounds very interesting and would like to try it out. Does this mean I do not need to be rooted or have the s-off to try this? Apologies for the noobish questions. Still learning and all new coming from the s2 forums

Requirements: 4EXT or CWM Recovery
Deodexed ROM. We are working on a version that will handle *.odex files as well.


If you use a Stock ROM that means you have odexed ROM.
ROM Cleaner will only remove apk files and not odex files at the moment.

You need a custom recovery installed so you will be able to flash ROM Cleaner.

I do recommend you to flash a custom ROM before using any of these tools.

The Following User Says Thank You to Patrics83 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One X Original Android Development by ThreadRank