yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Themes and Apps] MarckX:
Just check [Url="http://xdaforums.com/showthread.php?p=30197515" ] this thread[/url] ;)
[Galaxy S 4 Themes and Apps] Patrics83:
Initially when we added FirstBoot and SecondBoot folders we simply extracted mod zips to one of the folders and removed META-INF folder from extracted files. For example if you have themed apks then you can flash multiple mods in one go.

But lots of things have been going on since then, AROMA Installer, xposed, vrtheme etc.

With other words, not all mods can be flashed like before.

Now days I use it to install some scripts and sometimes system apps.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] cubusmybro:
Big thanks for all the info in the script. I don't have one of the above phones, but the descriptions are very useful for anyone looking to de-bloat their android phones.
[Galaxy S 4 Themes and Apps] S1LENT_:
Hello Patrick and Marck.

I flashed a ROM based on XXUFNE4 firmware and then ROMCleaner with my custom user.txt

Now, the only issue I'm facing is Google Contacts Sync Error. All others are syncing fine.

I get an occasional error message "Unfortunately the process android.process.acore has stopped.

I've tried it with various combinations of #s wondering if I was deleting some Google sync files. But to no avail. Still same issue.

The apks I thought were the problem, but not the problem are - GoogleFeedBack.apk, FixmoISA.apk, some /lib/xsync-keygen.so

Attached latest ROMCleaner.txt on a clean install of ROM. Please advise. Thank you.
[Galaxy S 4 Themes and Apps] Patrics83:
I see you remove Gmail application.

Have you disabled syncing under Accounts > Google > Account 'name@gmail.com'

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] S1LENT_:
Nope, all sync check-boxes are checked. Tried toggling, also clearing Data of Contacts Storage in Settings.

It seems to be some important apk I have deleted.
[Galaxy S 4 Themes and Apps] Patrics83:
Ah, now I remember.

Please type that "Unfortunately..." Message in Google, you will get tons of info about how to fix it.

Unless I remember wrong this is something related to corrupted contacts database.

Good luck and please keep us informed about how it goes :)

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] onimorza:
Handy descriptions in the user.txt file !

Tried this on my S4 Mini LTE I9195 and it worked great !
[Galaxy S 4 Themes and Apps] NZnewbie:
Hi, Ive had this issue. If you go to application manager.. and acore process.. delete cache that seems to sort the fc.
[Galaxy S 4 Themes and Apps] suta:
does it work for Goggle Edition Rom? Which script should I use? anyone using it on Google Edition Rom?
[Galaxy S 4 Themes and Apps] andyjg247:
Yes, I've used it on Dan's 4.4.3 ROM. Use the aosp one, it indicates this in the app when you run it but you wouldn't see that until you ran it of course. Make sure to edit in notepad++ if on Windows and add the _user part to the text file name. I believe some apps (if running after a ROM has booted) to delete their cache and data first then reboot to the cleaner. I only say this because I got some deleted wakelock events that I was told may be from removing applications without cleaning them first (may not be true). I've used this from a clean wipe then ROM install to get rid of stuff before it has even started though (Inc cyan nightlies) and it works brilliantly there.
[Galaxy S 4 Themes and Apps] onimorza:
Darn; I updated my S4 Mini LTE I9195 from 4.2.2 to 4.4.2 and now when I use this Rom Cleaner I get Google problems; doesn't allow me in the play store any more, can't link my gmail account,...

But that's not your fault, this script wasn't designed for my mini after all, so :laugh:

Anyway, I tried and failed :silly:
[Galaxy S 4 Themes and Apps] Patrics83:
Did you by any chance uncomment this line in your user.txt?

#com.google.android.gm*.apk Gmail Application

Please make a log collection, or upload your user.txt here if you are unsure.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] onimorza:
Yes indeed!

I didn't know deleting the gmail application influenced all the other google stuff.. It didn't on my 4.2.2 so I didn't change my user.txt file.

I will try to add the # again and see what it does, but first I have to unbrick my phone, something went wrong when going back to 4.2.2 :rolleyes:
[Galaxy S 4 Themes and Apps] Patrics83:
The problem is that if you remove, com.google.android.gm*.apk gmail app will be removed but so will com.google.android.gms.apk which is Google play service...

It's a mistake in the default list.

Simply remove the wildcard (*) if you wish to remove Gmail app.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] onimorza:
That indeed did the trick! Everything working fine now!
[Galaxy S 4 Themes and Apps] Azriaphale:
Broke Wi-Fi on i9505/4.3 MKE De-Odexed and also broke Wi-Fi on Odex MKE.

But then every cleaning script I've used has broke the Wi-Fi
[Galaxy S 4 Themes and Apps] Surajn97:
After i did all the steps, I just realized i do not have the settings anymore. The one in app drawer. Even if i try to open settings through the notification panel, the panel closes and nothing happens. And if I try to open settings with home i get unfortunately touchwiz home has stopped. PLEASE HELP........ P.S- I MADE NO BACKUP
[Galaxy S 4 Themes and Apps] malybru:
Hi,

Re-flash your ROM without any wipes

:)
[Galaxy S 4 Themes and Apps] zoreli:
Im on stock root-ed 4.2.2 , run ROM Cleaner and now I dont have options to sync my Facebook albums with gallery and birthdays with S Planer ???
[Galaxy S 4 Themes and Apps] Patrics83:
Restore your backup and comment out stuff you need in your ROMCleaner_user.txt.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] nasif69:
@ Patrics83

Any help with note 3 N9005 script?
[Galaxy S 4 Themes and Apps] hordarian:
Thanks for this, I'm getting an S4 in the next day or so and have been hunting for a decent (bug-and-glitch-free) clean AOSP ROM (see Shiny ROM for the Galaxy Nexus) but no-one's maintaining one, so cleaning the stock ROM out seems to be a safe alternative. Tedious doing that myself though, nice to have a script to do it :)
[Galaxy S 4 Themes and Apps] aram90:
Sweet i really needed this one! Thanks!
[Galaxy S 4 Themes and Apps] acrocosm:
That's for every ROM/device as long as you have custom recovery right? I'm gonna try it with ace2 and slimbean rom
[Galaxy S 4 Themes and Apps] bollemaelk:
Hi.

I cannot seem to download the ROM cleaner file itself on the first page.

Getting a 404 error...
[Galaxy S 4 Themes and Apps] XeoNoX:
me too
[Galaxy S 4 Themes and Apps] dukelc:
View attachment ROM_Cleaner_v2.1.zip

View attachment ROMCleaner_user.txt

Here u go.
[Galaxy S 4 Themes and Apps] XeoNoX:
thanks u sir, btw is the "ROMCleaner_user.txt" the original unmodified version, because i tried it on 4.4.4 TW Samsung Kitkat rom and it seem to have killed my google play, get a error message and cant sign in to google play. i had to sideload "google play services" apk to get it to work.

UPDATE: found that it was removing the play services, i just have to delete the following line outta ROMCleaner_user.txt

com.google.android.gm*.apk

after removing that line all is good.
[Galaxy S 4 Themes and Apps] bakunoe:
Excellent. Mi phone is bloatware free now

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 Themes and Apps] Patrics83:
If ppl want to use your app ( root explorer, es file explorer ) then they will come too you...

No need to spam

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] malybru:
Mod Edit

Thread cleaned

:)

malybru

Forum Moderator
[Galaxy S 4 Themes and Apps] MarckX:
Links are up again, thanks to [MENTION=2632943]Whiskey103[/MENTION] and [MENTION=2374587]Patrics83[/MENTION] [emoji41]
[Galaxy S 4 Themes and Apps] kirkers:
Works on S4 VZW i545?

Does the AROMA installer and particularly the ROM Cleaner script work for the Verizon Wireless flavor of the S4 (SCH-i545)?
[Galaxy S 4 Themes and Apps] Patrics83:
Regarding download links, Whiskey103 will temporarily fix all links and they will stay up for a week or so.

After that everything will be taken down and so will the thread. (No links = no need to keep the thread open)

Thanks a lot for all the support!
[Galaxy S 4 Themes and Apps] broucker:
can someone make it work on i9506 international?
[Galaxy S 4 Themes and Apps] Technical:
I could not make it work on Lollipop. Not a single apk is deleted. Is it incompatible?
[Galaxy S 4 Themes and Apps] Patrics83:
Logs might tell what's wrong.

The scripts should work, question is. Did you modify your ROMCleaner_user.txt to suit Lollipop?

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] andyjg247:
Can confirm it works for me. Am on Dan's GE5 and rewrote my user file. I can't seem to attach via this app but it's just the normal stuff. Case sensitive etc.

I use FX to find the apk names.

Like this:

"/system/app/Gallery2/Gallery2.apk"

"/system/app/HoloSpiralWallpaper/HoloSpiralWallpaper.apk"

#Cyanogen Launcher

"/system/priv-app/Launcher/Launcher.apk"

#Google Calendar

"/system/priv-app/CalendarProvider/CalendarProvider.apk"
[Galaxy S 4 Themes and Apps] Patrics83:
Hmm, are you sure that's the right path?

Oh and BTW, normally you only have to add the apk name to your ROMCleaner_user.txt.

ROM Cleaner will search in /data/app, /system/app, /system/priv-app for a match and delete the apk and odex file if it exists.

Like this:

Gallery2.apk

HoloSpiralWallpaper.apk

Launcher.apk Cyanogen Launcher

CalendarProvider.apk Google Calendar

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] andyjg247:
Pretty sure mate, they all deleted as expected. That was a paste from my file as I couldn't post it.
[Galaxy S 4 Themes and Apps] Patrics83:
Hmm that's strange...

I have never seen such folder structure before for system apps. :)

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] Technical:
Will test soon.

Modify? Hmmm, yes, I've added more system app to be removed. But what are the 'specific' changes I need to do to suit Lollipop?
[Galaxy S 4 Themes and Apps] Patrics83:
When you flash RC remember to check the "Log Collection" option. ( It's at the last screen before the " install" begins)

No idea about any specific changes. I don't eat candy... ;)

But as you can see in the posts above, it looks like lollipop has changed the app paths and added subdirectorys inside /system/priv-app. This will break the beauty with RC and it's search method. So you will have to specify the full path to each apk you wish to remove.

Like this:

"/system/priv-app/BlaBla/BlaBla.apk"

But please upload the logs when done. I'm really curious about this new stuff.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] comeback4you:
After use of Rom cleaner we can get OTA upgrade Android 5 lollipop or not ?

Samsung announced lollipop update for s4 we can get or not after use of this tool?
[Galaxy S 4 Themes and Apps] Technical:
Here they are.
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks!

Total mess :D

Please check the ROMCleaner_AROMA.log there you have all file paths.

So instead of removing the apk itself I would simply add the directory to my *_user.txt.

Example:

"/system/app/Browser*"

This line will remove the apk and libs.

I could always change how romcleaner program operates but since I have dropped the development that's the best workaround...

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] Technical:
Thanks. Will do it and prepair a new AOSP_user.txt file.
[Galaxy S 4 Themes and Apps] Technical:
It did not work...

/system/app/Browser*

for instance, does nothing.

Probably the script is not able to do anything in Lollipop :crying:
[Galaxy S 4 Themes and Apps] Patrics83:
Your user txt must be named CM-AOSP_user.txt (if your are using CM-AOSP version)

Full paths must have quotes "/system/app/Browser*"

If you didn't fail at any of these points then please flash the RC zip and in main menu go to Additional Scripts and press Log Collection.

Upload RC_LogCollection.tar and I will have a look :)

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] Technical:
Tested again with /system/app/Browser/* (another slash at the end, /system/app/Browser*) and nothing was removed.

I'm sure the files are there.

Well, the project is discontinued anyway. Won't work in Lollipop.

Besides TitaniumBackup, I can't find any other root app that removes system app. All others, that work in KitKat, fail now :mad:
[Galaxy S 4 Themes and Apps] Patrics83:
You saw my previous post?

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] Technical:
I've tested with quotes at the beginning and at the end.

Nothings was removed.

I'll attach the logs.
[Galaxy S 4 Themes and Apps] Patrics83:
Ah, craps! I bet this is because of the wildcards (*)

I have attached your CM-AOSP_user.txt with removed wildcards.

Give it a try if you want...
[Galaxy S 4 Themes and Apps] Technical:
Thanks. Worked :good:
[Galaxy S 4 Themes and Apps] stevenb789:
Thanks, very usefull.
[Galaxy S 4 Themes and Apps] edmund321:
stucked on cwm samsung galaxy s4 GT l9506

i am on a GT-I9506_AutoRoot_442_XXUCNJ1.tar rooted stock android 4.4.2.

clockworkmod version 6.0.48.

when i flash the Rom Cleaner, it hangs and get stuck to " Starting Aroma Installer version 2.70RC2.

I have flashed Rom Cleaner for Note2 and S3, of course with the right Rom cleaner for each particular model. With the Note2 and S3 i had it flashed succesfully running the Aroma installer without any hangups or problem. it is only in my samsung galaxy GT l9506 that it didn't flash the aroma. what could be wrong? i have it several times but to no success.
[Galaxy S 4 Themes and Apps] Patrics83:
No idea, have you tried another recovery? Does other aroma scripts work with the same recovery.

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] edmund321:
actually this is the first of any kind i have flashed with aroma. and i am trying to find another cwm recovery file that i can use with sgs4 4g.
[Galaxy S 4 Themes and Apps] edmund321:
tried flashing older version of CWM (Philz_Touch__CWM_6.3.7_V5.15.0_unofficial_(fixed_preload) and was able to flash the Rom Cleaner. Only problem is i can hardly see the display with this version of CWM. i have to follow it up with my samsung s3 to see what i can't read on the s4. but soon as the aroma installer starts, it leaves me option on the brightness level. i have to check it later though what is the problem. i can't for sure use this CWM that i could not even read a thing.
[Galaxy S 4 Themes and Apps] migsguerra:
Guys help me i just used the rom cleaner .everything is fine. got 400 mb :D the thing is i dont have any volume and music :( what can i do then ? and my folders for sd and fone is gone :(
[Galaxy S 4 Themes and Apps] Patrics83:
Aroma can be buggy at some devices. If you are lucky some dev with your phone has made a fix for aroma. Try searching for that.

No ***ing idea :D

Restore your backup and check your ROMCleaner_user.txt if you have one. If not, you should download a copy and edit it to your needs...

Sent from my HTC One (m8)
[Galaxy S 4 Themes and Apps] migsguerra:
Thanxs man .by the way im using 3rd party application for my music player and file explorer.:D and is it possible to samsung galaxy s2 ? Cheers mate
[Galaxy S 4 Themes and Apps] Patrics83:
Then I think your issue is related to those apps and not anything you have removed.

Default ROM Cleaner is not that aggressive so you shouldn't encounter a single issue after using it.

You can try it on the S2 if you want, I have no idea if it will work or not... ;)

I don't own a Samsung and will most likely not get one either... Especially not after wasting my money on two tablets from Samsung.

With that said, my knowledge about TouchWiz is very limited, all I know is that there's loads of crap too be removed ;)
[Galaxy S 4 Themes and Apps] cheeyee:
Does ROMCleaner work if the the internal memory is encrypted? Not sure if it is only the data partition encrypted or system also.
[Galaxy S 4 Themes and Apps] Technical:
Stop working... Nothing is deleted with this new way of setting CM-AOSP_user.txt :crying:

I've tested on both Slim and CM12.
[Galaxy S 4 Themes and Apps] Patrics83:
Uhm, you said it was working and now it doesn't anymore? :)

I can't see how that would be possible...

Please make a log collection and I can have a look what happened.

Sent from my HTC One M8
[Galaxy S 4 Themes and Apps] Technical:
Sorry, it IS working on Slim and CM12. The problem was I've wrongly renamed the txt file. Thanks.
[Galaxy S 4 Themes and Apps] Mengele88:
Mounting - Failed

I have the Samy Deluxe with Knox 0x0

I tried to install ROMCleaner with mobile Odin Pro "OTA / Update ZIP". :D the Aroma installer started but he says "sdcard Mounting - Failed"

I don't have a custom recovery and if i restart the phone in Recovery from the power Off menu i can't install it.
[Galaxy S 4 Themes and Apps] dav1129:
is rom cleaner for GT-i9192>
[Galaxy S 4 Themes and Apps] Patrics83:
You need a custom recovery.

We are waiting for you to answer that question...

Sent from my HTC One M8
[Galaxy S 4 Themes and Apps] dav1129:
Oh I see. It hasn't been tested yet?

Its too early for me to be brave. I only have this GT-I9192 for a few days and it's my first ever smart phone.

But I am an experienced notebook user and all I know is I want to do is get of all the crap I don't want and optimise for a lean mean OS, like I do on in Windows

But i am trying to run before I can crawl!:confused: I am still reading about rooting, backing up, bloatware scripts and custom ROMS but not yet understanding everything very well.
[Galaxy S 4 Themes and Apps] Patrics83:
No idea.

You better stay away from this since I have dropped the development. There must be better alternatives now days.

Sent from my HTC One M8
[Galaxy S 4 Themes and Apps] dav1129:
Thanks. Yes I am trying to read up a bit on everything but am going around in circles a little as I am having a hard time figuring out which is the latest information or discontinued, superseded or sometimes for example, find the method is not available for this model. Seems CWM is something I need to start with but the installer does support this model so I will have to read up and understand how to do it manually.

I might try the scripts first as I would like to see the stock ROM with bloatware first before I try a custom ROM
[Galaxy S 4 Themes and Apps] Тhe Dark Knight:
Can I use this on Note 4 with 5.0.1 lollipop?
[Galaxy S 4 Themes and Apps] WizzyWiz:
can you make it to work with lolipop ?
[Galaxy S 4 Themes and Apps] Technical:
[MENTION=2374587]Patrics83[/MENTION], is there a way to disable the full wipe of cache (dalvik or art) that is performed by the tool?

I need this because on dual boot, cleaning the cache will simply remove the 2nd installed ROM.
[Galaxy S 4 Themes and Apps] OptidroidPlus:
this saves me do it myself :D thanks!!
[Galaxy S 4 Themes and Apps] Patrics83:
Sure, open the v2.1 zip (do not extract it.)

Go to "/META-INFO/com/android/" and open "updater-script" with

notepad++

(If on windows).

Add a "#" at line 14, 45 and 59.

like this:

[COLOR="Red"]#[/COLOR]delete_recursive("/data/dalvik-cache");

When done, just close the zip and save changes. Now rename the zip so you can keep them apart. Transfer the zip to your sdcard and flash it like normal. :fingers-crossed:
[Galaxy S 4 Themes and Apps] Technical:
Worked like a charm.

Why don't you post an update of ROM Cleaner for Lollipop? It's working without problems.
[Galaxy S 4 Themes and Apps] Patrics83:
Because I have dropped the development.

But I'm glad the scripts are still working, then you guys can make your own *_user.txt and keep on using ROM Cleaner :)
[Galaxy S 4 Themes and Apps] febrilabs:
does it need roots?

my device is clean as hell, is it use CWM or not?

im using lolipop mate :D
[Galaxy S 4 Themes and Apps] ruadus:
Download Link

Hi all,

I was asking for the link but found it, I'm going to give it a try.

I'm on lollipop, I hope it will work.

cheers
[Galaxy S 4 Themes and Apps] sasuketobi:
Did it work? I'm planning to run the script and would like to know if there are any hiccups after running 'em
[Galaxy S 4 Themes and Apps] iamcaesar:
I think this trick does not work anymore with android 5.0. It sais e: footer is wrong
[Galaxy S 4 Themes and Apps] painx:
Is this working with Stock Rom 5.0.1 without factor reset?
[Galaxy S 4 Themes and Apps] LeRott:
Recovery Rom
[Galaxy S 4 Themes and Apps] Patrics83:
Haha, yeah that's crazy!

~900MB removed just in seconds :eek:

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
All working well for me here. Wouldn't expect any less from you guys. :D

Flashed it on a new flash of arhd. Perfect!
[Galaxy S 4 Themes and Apps] pride_kr:
Sorry for my noobness... Iam trying to download the user_txt but the link open a new window instead of downloading the file....

what shoul I do

Thanks
[Galaxy S 4 Themes and Apps] Patrics83:
Right click and save as :)

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] pride_kr:
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!!!
[Galaxy S 4 Themes and Apps] MarckX:
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 :)
[Galaxy S 4 Themes and Apps] malybru:
Hi,

Just flashed DjeMBeY's Super Slim ROM and it just became slimmer. :eek:

Great work everybody,as usual.

:D
[Galaxy S 4 Themes and Apps] -Zork-:
Wow, going great with MF8 of rom de Foxhound! Testting now :good:
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks guys! :thumbup:

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] fOmey:
Excellent write up, excellent script..

Great work champ..

EDIT: I need to know, how did you identify the uses for all the apks ?!
[Galaxy S 4 Themes and Apps] Patrics83:
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
[Galaxy S 4 Themes and Apps] fOmey:
I could imagine, big props mate..

Best of luck for the future.

Xphoid excellent work on ROMCleaner.txt..
[Galaxy S 4 Themes and Apps] MarckX:
And ofc: ApkSpy
[Galaxy S 4 Themes and Apps] Patrics83:
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
[Galaxy S 4 Themes and Apps] fOmey:
Ahh excellent, this is going into my android tools directory no doubt !

Thanks for sharing.