yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Themes and Apps] Patrics83:
Read the 3rd post or have a look in the "ROM Cleaner School" :D

Unless you want ROMCleaner to copy files from /sdcard/ROMCleaner/FirstBoot

Or restore apps backed up with "Backup Tool" then you don't need to check anything.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] cnber:
thanks for that, i just wanna make sure i will not screw things up. :D

lastly, bro after i flashed this, will i lost all my installed apps,games,data,etc?
[Galaxy S 4 Themes and Apps] oluwaponmile:
You shouldn't loose anything that is not in the RomCleaner text file. It only removes those app listed in the list (refer to OP for the list <ROMCleaner_user.txt>). It is also advisable to use Rom Cleaner after a clean flash before you start installing your apps
[Galaxy S 4 Themes and Apps] Patrics83:
Well said! :thumbup:

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] cnber:
Finally, installed it :salute:

total mb removed: (used the default rom cleaner.txt)

/system 401mb

/data 32mb

total 433mb

removed files 150
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks for your feedback!

Do you think the default version leaves too much bloat? I think we can easily remove much more stuff but I prefer to go easy since we can't test it.. (HTC Fanboys ;) )

BTW, could you please make a "Log Collection" and upload it here?

So we can review logs and see that everything works as it should.

Thanks
[Galaxy S 4 Themes and Apps] Pard0ned:
Has [MENTION=4702699]stanley08[/MENTION] had the chance to update his scripts for the new ROMCleaner?
[Galaxy S 4 Themes and Apps] cnber:
A little bit :p

bloats like email, internet, samsung link, s voice, talk, voice search, downloads, earth, google settings, etc must be remove too imo.

another thing is that, music is removed, while video remains.

but overall its a great work, much appreciated. thanks

here's my log
[Galaxy S 4 Themes and Apps] aeroman:
Hey Guys this Tool is awesome. :good: Best Cleaner. :D

Works well on my SGS4 LTE, thanks. :good:

Regards
[Galaxy S 4 Themes and Apps] stanley08:
Have you tried the earlier scripts? If those don't work then I will update it. Cheers.
[Galaxy S 4 Themes and Apps] Pard0ned:
Which earlier scripts do you mean? I've got the last one you uploaded. But Patrics83 said the user text had changed in the new release.

Do you think it wouldn't matter much then?

Edit: the new ROMCleaner doesn't see the old user text file. Just ran it there now, with the text file in the right place, and it wasn't recognised.

Do you think you could work your magic again man? :)
[Galaxy S 4 Themes and Apps] andyjg247:
If you are selecting the AOSP version for Cyan etc then the file name is different. It needs to be CM-AOSP_user.txt but apologies if that's not what you meant.
[Galaxy S 4 Themes and Apps] Pard0ned:
Nah I'm on arhd tw. Thanks anyways. :)
[Galaxy S 4 Themes and Apps] stanley08:
I will work on the new script, test it and release it As Soon As Possible. [MENTION=2374587]Patrics83[/MENTION] hasn't discussed anything on the new one with me... Not yet..
[Galaxy S 4 Themes and Apps] ignaciojn:
Maybe you could do two or three versions of the script (i.e. lite, regular and extreme), if it's not too much to ask. :)
[Galaxy S 4 Themes and Apps] Patrics83:
The old version might have used another dir (wrong dir) for your ROMCleaner folder... New version is using a lot of code to make sure correct path is chosen as working directory.

Please make a log collection and upload it here.

Else I'm blind :p

Edit: The new ROMCleaner.txt is more like Stanley's lite version.

Also good to know, the aroma welcome screen will list all your user.txt if they are in /ROMCleaner dir.

Please before you do a new script make sure we have a chat first. :)

Right now I'm very very busy at work but you have me on hangouts...
[Galaxy S 4 Themes and Apps] Patrics83:
It's very easy to edit your own _user.txt ;)

Most stuff that can be removed are in th txt already.

Just remove/add some # and flash. :thumbup:

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
I was actually thinking I could just compare Stanley's old script that I have, and the new user.txt scripts and make the adjustments that way. Would that work [MENTION=2374587]Patrics83[/MENTION]?
[Galaxy S 4 Themes and Apps] Patrics83:
They are using different layouts so it's not that easy to compare them side by side.

But sure it's possible, it's all about the # symbols.

And it isn't really script, just a simple text file with unix format. ;)

BTW did you see my post above?

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
About just editing the user.txt myself?

would that be safer, do you think?
[Galaxy S 4 Themes and Apps] Patrics83:
Well all apps in the ROMCleaner_user.txt have a description and imo even a monkey should be able to edit the text :p

I answered you here:

The old version might have used another dir (wrong dir) for your ROMCleaner folder... New version is using a lot of code to make sure correct path is chosen as working directory.

Please make a log collection and upload it here.

Else I'm blind :p

Edit: The new ROMCleaner.txt is more like Stanley's lite version.

Also good to know, the aroma welcome screen will list all your user.txt if they are in /ROMCleaner dir.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
Oops. Yeah I did see that.

I've got the log from earlier today when I flashed it on an already "up and running" install of ARHD.

Hope this is okay. :)
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks!

ROM Cleaner didn't detect an external sdcard (please confirm)

So it used your internal sdcard as source dir instead.

/sdcard in recovery = /data/media/0/

That means you should copy your _user.txt to /data/media/0/ROMCleaner

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
I do have an sd card. :s

I have the rom cleaner folder on it from rc1,that had Stanley's user txt.

Also, when I install a new rom I always wipe internal SD card.

:(

Do you reckon there's maybe something not playing well?

Edit: just checked, my sd card is mounted as /storage/extSdCard

Hope that's okay.
[Galaxy S 4 Themes and Apps] Patrics83:
External sdcard is mounted as /storage/sdcard1 in the recovery you are using.

You installed RC from your internal sdcard. /sdcard(/data/media/0)/Download/ROM_Cleaner_v2.0.zip

Something is wrong for sure :confused:

I have seen logs from when it's using the external sdcard with that recovery.

Can you please flash RC.zip from the external sdcard instead and make a new log collection?

I'm thinking that maybe the external sdcard isn't mounted if you flash from the internal sdcard.

(This sucks when I can't test it myself....) :D

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
Yeah. I don't think it does see the external card if I'm flashing the RC from the internal memory.
[Galaxy S 4 Themes and Apps] Patrics83:
Now it used your external sdcard as it should.

Aroma welcome screen also said that your ROMCleaner_user.txt could be found in your ROMCleaner folder :thumbup::D

Thanks a lot for testing!

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
Cool. :) So should I only flash it from my extSdCard from now on, if I want to use the user txt?
[Galaxy S 4 Themes and Apps] Patrics83:
Short answer: Yes if you want to keep your ROMCleaner folder on the external sdcard.

Long answer: ROMCleaner will always try to use the external sdcard, if no external sdcard can be found it will use the internal sdcard.

With the recovery you are using, external sdcard is locked if you flash from the internal sdcard. That means ROMCleaner will not find the external sdcard and use the internal sdcard instead.

It works no matter what but you have to decide which sdcard you want to use.

However this isn't really problem since you flash ROMs from the external sdcard anyway. :)

Too be honest this must be a bug in the recovery. In previous recoveries this hasn't been a problem. I will talk with Philz ;)

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
Thanks man. :)

Yeah. I probably will just keep it all on the extSdCard anyways.

Thanks for the explanation and for your kindness. :)
[Galaxy S 4 Themes and Apps] Patrics83:
:) no problems mate I'm just glad that you wanted to help us to test and confirm my theory :thumbup:

Edit: BTW why aren't you using Philz Touch 5.18.5? 5.17.7 is old :p

Nah but maybe the new version solves the problem with int/ext sdcard?

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Pard0ned:
Haha. Didn't know there was an update. Shall update now. :)
[Galaxy S 4 Themes and Apps] Patrics83:
Was it any difference?

Sent from my GT-P5210
[Galaxy S 4 Themes and Apps] Pard0ned:
Nope. Haha.
[Galaxy S 4 Themes and Apps] S1LENT_:
Thank you Patrick for this amazing tool, I always use this while switching ROMs (which is a lot!)

I used to use a heavily edited script just containing the delete("...") command to remove apps.

Any difference in removing either way? Hell, I'm going to stick with your tool anyway!

Also, I think some more apps can be added to the user_text for removing KNOX related stuff and other 4.3 bloat.
[Galaxy S 4 Themes and Apps] THE LEGEND L:
Nice work

Regards
[Galaxy S 4 Themes and Apps] Patrics83:
Your welcome! :thumbup::thumbup:

ROM Cleaner is better :D

And you can skip the filepath if you want to remove apps installed to /data/app or /system/app.

Traditional updater-script:

delete("/system/app/SamsungBloatApp.apk")

In ROMCleaner_user.txt / CM-AOSP_user.txt:

SamsungBloatApp.apk

You can use wildcards as well plus ROM Cleaner will remove odex files for all apps that ROM Cleaner was able to remove. :)

With other words you don't have to add ex: /system/app/SamsungBloatApp.odex to your txt.

delete_recursive("/path/path");

Is "/path/path" in ROM Cleaner

In v2.0 there's a lot of stuff yet to be removed, just remove "#" in front of apps/files you wish to remove and add a "#" if you wish to keep it.

If you find anything to remove that isn't in the txt atm then please let us know :thumbup: ;)

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] S1LENT_:
Oh yea, I remember I had to manually type out the path to delete each app as well as its odex file for the updater script.

ROM Cleaner is truly awesome!

Here are some apps I was putting in my script, I guess they are safe to remove, but I think the pro (YOU!) should be the judge of that:

KLMSAgent.apk

KnoxAttestationAgent.apk

MusicLiveShare2.apk

GroupPlay_25.apk

ContainerEventsRelayManager.apk

KNOXStub.apk

MobilePrint3.apk

MobilePrintSvc_WFDS.apk

PlayGames.apk

S-Voice_Android_phone_H.apk

SamsungContentsAgent.apk

SamsungLearning.apk

SamsungLink18.apk

SamsungMusic10.apk

SamsungWallet_Stub.apk

SamsungWidget_ActiveApplication.apk

SensorService2_5.apk

SHealth2_5.apk

Also, I think some useless folders are there, but how do we get the user_text to do that?

eg.

delete_recursive("/system/media/video");

delete_recursive("/system/containers");

delete_recursive("/system/lost+found");

delete_recursive("/system/preloadedkiosk");

delete_recursive("/system/preloadedsso");

delete_recursive("/system/opticalreader");

delete_recursive("/system/voicebargeindata");

Aaah so much bloat :o
[Galaxy S 4 Themes and Apps] d1archie:
ROM

Is there a 'safe list' of apps that can be deleted without making the Official ROM unstable?

I have just ordered my S4 and will be rooting and using the ROM Cleaner immediately.

Keep up the excellent work. You have made a lot of people happy.:good:

:laugh:
[Galaxy S 4 Themes and Apps] S1LENT_:
There's a ROMCleaner_user.txt in the 2nd post. That acts as your list of apps safe to delete.

All the apps in that list except the very last section titled "For Experienced Users only" are safe to delete.
[Galaxy S 4 Themes and Apps] Patrics83:
Are you sure they aren't in the ROMCleaner_user.txt already?

I can't check at the moment...on mobile ;)

Like this:

"/system/media/video"

"/system/containers"

"/system/lost+found"

"/system/preloadedkiosk"

"/system/preloadedsso"

"/system/opticalreader"

"/system/voicebargeindata"

Some of them are already in the ROMCleaner_user.txt.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] S1LENT_:
THANK YOUUU!

Nope, those apps (and maybe more which I don't know) came along with 4.3, add them to the user.txt when you have the time.

Thanks once again for your excellent work.
[Galaxy S 4 Themes and Apps] malybru:
Hi,

[MENTION=2374587]Patrics83[/MENTION]

v.2.0

Some more AOSP logs for you to peruse.

It worked great.

:)
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks mate!

Everything looks goodie :thumbup:

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] anomaly350z:
Hi! I am confused!,

What is the difference between ROM and CM-AOSP rom? Will this allow me to remove ONLY the bloatware and leave the S4 as stock as it is?

i am using MAC. So are you saying (pardon me, it's my first time) that i should download the Romcleaner.txt and then just simply upload it to the external sdcard using smartswitch? or by using the USB cord that came with the box?

I am using S4 i9505. Is there a visual step-by-step guideline?

I am sorry if i'm not following the steps properly. Could you mind telling me it in a simple way? Thanks!
[Galaxy S 4 Themes and Apps] S1LENT_:
ROMCleaner_user.txt is what you need, as you will be applying it to a touchwiz ROM right?

CM-AOSP is for Cyanogenmod/ParanoidAndroid or other vanilla android ROMs.

Now, take the .txt file, put it in a folder named ROMCleaner on your external SD card.

You can use the USB cable for that. Also transfer the ROMCleaner.zip to the card.

You can also edit the .txt by adding or removing # symbols.

YES # - the app won't be removed

NO # - app will be removed.
[Galaxy S 4 Themes and Apps] Patrics83:
Have a look at 3rd post in this thread... :)

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] davidep85:
Attention, there is an error in the script.

Music* (Google Play Music) will also delete MusicFX (Music Effect) MusicPlayerWT.apk (Samsung Music Player) and MusicLiveShare*.apk (Share Music).

I think that it is better to rename to Music2.apk!
[Galaxy S 4 Themes and Apps] anomaly350z:
Hi!

I am still not understanding the instruction. This is what i did:

I downloaded the ROMCleaner V2.0 zip file and the ROMCleaner user txt from stanley (lite version). I made a ROMCleaner Folder in the SD Card and insert the ROMCleaner user text file inside the folder. Also, I put the ROMCleaner zip file in the SD Card but not in the ROMCleaner Folder that I made.

I proceed to turn off my S4. and pressed Volume UP + Power + Home button and got into the recovery boot.

I proceed to "Apply update from external storage". I selected the ROMCleaner Zip file.

This is what happened. Some sort of "E: signature verification failed" and automatically proceeded to start the device as normal.

What am i doing wrong here?

i am sorry. I really don't understand your instruction as they are vague to me because I am not familiar with the terminologies (my apologies).

What does Flash a ROM with full swipe mean?? Are you asking that I complete wipe the data and reset and then wipe from cache? I am not following here.

Could you perhap make a more simple layman step by step?

I really like to remove the bloatware.

Thank you.
[Galaxy S 4 Themes and Apps] Patrics83:
Yeah I know, it has been mentioned a few times already.

I will try to push an update this weekend.

Thanks for the heads up!

1) Turn off signature verification in recovery.

2) Full wipe means, format or erase everything.

We recommend this for best results.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] davidep85:
There is another error:

com.google.android.gm*.apk (Gmail Application) is also going to delete com.google.android.gms.apk (Google play services). I think that you can correct in com.google.android.gm-*.apk

Is there a way to backup the application you are going to delete on the sd-card? not all the applications!
[Galaxy S 4 Themes and Apps] Patrics83:
I will fix that as well. :thumbup:

ROM Cleaner removes files and apks.

Backup Tool will backup all apks from /data/app/ to sdcard

Nothing will change there.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] davidep85:
It would be nice if the script, before deleting the apk, copy it to a system or data folder in the sdcard for backup!

If you don't want to edit your script, can I try to do this for you?
[Galaxy S 4 Themes and Apps] Patrics83:
Thanks for your kindness but I'm really not interested. :)

If you accidentally have removed an app then just extract it from the ROM.zip and use the App & mod installer to push it back to your system partition.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] aeroman:
hey guys used this Rom-cleaner a few days before, has just discovered (Logcat),

there is a few Errors, one is of it about the folder mcRegistry (/System/app/).

(which i deleted with Script).

Now try to copy this folder & files from the Rom again back, but this causes problems with

permissions of the file or folder, because I don't know the exact needed permissions.

Please can someone shortly look just using a file explorer, which exact permissions the folder mcRegistry

and a file from folder as fff0004.tlbin need?

Thanks in Advance. :)

EDIT: for what is needed this mcRegistry?

Regards
[Galaxy S 4 Themes and Apps] Patrics83:
Not sure what mcRegistry is.

I bet it should have rw-r--r-- (alt. chmod -R 644 /system/app/mcRegistry)

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Captainbligh:
Can I remove all the bloatware without having to go thru wiping/factory reset and doing all that?

I'm running stock but rooted and CWM, with latest 4.3 with touchwiz on my i9505
[Galaxy S 4 Themes and Apps] MarckX:
Although it's not recommended: yes you can! But it will leave temp and data files on the phone created by apps.

If you use it after a full wipe, you will have an optimal running device, because the removed apps won't have a chance to create non-used data.
[Galaxy S 4 Themes and Apps] anomaly350z:
Please,

I still don't understand it. I got the custom recovery which was "clockwork mod" but it needs to be rooted. So, i had to root my phone. but it wouldn't root. I'm still confused on how to root my s4 to use clockwork mod. Your instruction says that it does not need rooting.

so i'm basically confused.

where can i turn off the signature verification in recovery? It doesn't mention it anywhere. I got into recovery by using Volume Up + Power + Home button.

Can you please provide an easier step by step instruction? Your instruction on post #3 were bit vague for me newbie like me.

Thank you for bearing with me. Cheers!

Btw: I tried to get into the IRC channel.. but no one was there.

it'll be great if we can chat and go with me step by step.

Thanks!
[Galaxy S 4 Themes and Apps] 95mediatech:
Cool! Extremely functional and helpful. Fantastic Aroma script. Just happy to see this. I don't need titanium backup anymore :) cheers
[Galaxy S 4 Themes and Apps] Patrics83:
You don't need root for ROM Cleaner to work.

Turn off signature verification in recovery install options. (or in advanced settings, depending on recovery)

There is nothing wrong with the instructions really, they just don't describe how to use a recovery... Basic knowledge imo.

Hopefully this info will take you one step further :thumbup: :)

Happy to hear that! :D

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Captainbligh:
Amazing script! I just tried it on my room without wiping or doing anything, works like a charm and about 150mb more free ram.

Now my question is; Can I safely add to the list and delete:

-Samsung Link

and somehow delete:

-Google Play Games

-S voice

?
[Galaxy S 4 Themes and Apps] Patrics83:
Yes you can :)

Just edit your ROMCleaner_user.txt

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Captainbligh:
Amazing, thanks! Yes, that's what I did for deleting some apps I wasn't interested in.

I was wondering whether there will be any way to completely remove Knox? As it's still there and working. The rest, all fine (:
[Galaxy S 4 Themes and Apps] Patrics83:
I think there's something Knox related in the advanced section, please have a look.

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

Thread cleaned

malybru

Forum Moderator
[Galaxy S 4 Themes and Apps] Captainbligh:
Could you guys tell me how to delete the following? As a correct path or APK name for them. Thank you

Samsung link

Google Play Games

Group Play

Found them:

SamsungLink18.apk

PlayGames.apk

GroupPlay_25.apk
[Galaxy S 4 Themes and Apps] Patrics83:
com.google.android.play.games-*.apk

#GroupPlay*.apk is already in the txt

Sent from my GT-P5210
[Galaxy S 4 Themes and Apps] Patrics83:
It looks like the test version I sent you yesterday works just fine!

Can you please try this one as well? ThreadCleaner_v1.0_RC2.zip
[Galaxy S 4 Themes and Apps] Smirftsch:
first off, thanks for working this out, it seems to be really an alternative, especially now with this "Knox void Warranty Trap".

I wanted to give it a try, but when trying to flash the zip I get: E: signature verification failed

How do I bypass this?

I'm using a S4 GT-I9505 with 4.2.2
[Galaxy S 4 Themes and Apps] Patrics83:
Please give this a try http://xdaforums.com/showpost.php?p=47034342&postcount=271

If it doesn't help I will look into the problem.

Good luck!

Edit:

[YOUTUBE]0NXBN9Z63TY[/YOUTUBE]

Skip forward to 1:00
[Galaxy S 4 Themes and Apps] Smirftsch:
If I understood it right, this will require rooting the phone to toggle verification? I was hoping to avoid doing that with this method, due to the risks of triggering knox void warranty flag when rooting. Darn.
[Galaxy S 4 Themes and Apps] Patrics83:
You only need a custom recovery...

CWM or TWRP recovery.

Flashing a recovery with odin doesn't require root.
[Galaxy S 4 Themes and Apps] Smirftsch:
aah, now I get the difference, I always took this as "one global requirement" to get Root, didn't distinguish. Thanks for explanation!

Nevertheless from what I remember this may already trigger this damn flag. Guess I need to read me through this yet again before trying.

Edit: It does trigger this flag, so this makes this unfortunately not an option when trying to remove bloatware while keeping Knox 0x0.
[Galaxy S 4 Themes and Apps] Patrics83:
Mmh that sucks!

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] malybru:
Hi,

It is more likely that the custom recovery has triggered the flag.

I know that is no consolation,but others may benefit from knowing that in the future.

:)
[Galaxy S 4 Themes and Apps] Smirftsch:
That's what I meant. And no, fortunately I didn't trigger it in my phone, but I read again what is known about knox and cwm (http://xdaforums.com/showthread.php?t=2505667)

Unless there is another way to get past this verification I'm doomed nevertheless, except taking the risk of trying with a prerooted stock rom (but then would install a slim edition anyway).
[Galaxy S 4 Themes and Apps] malybru:
Hi,

Do you mind if I ask exactly which 4.2.2 firmware you have?

Settings/about phone/baseband,and ROM versions.

:)
[Galaxy S 4 Themes and Apps] Smirftsch:
Sure ;)

That would be:

GT-I9505

Android 4.2.2

Baseband I9505XXUDMH6

Kernel 3.4.0-1220396

Is this all you need?
[Galaxy S 4 Themes and Apps] malybru:
Hi,

It would seem that you have the knox version of the bootloader.

You can verify this by looking in download mode ( Hold Volume down, home, and power until you see the green dude.) Small writing.You will see knox warranty if it is there.

So, yes your options are limited.

Sorry.

:)
[Galaxy S 4 Themes and Apps] Patrics83:
Green dude? :eek: Creepy stuff is going on in his bootloader with other words...

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Patrics83:
What if I told you that I have made a dirty, unpolished, batch file that will execute ROMCleaner from adb shell... :p

I have no idea if it will work for you tho.

If you wanna give it a try I can send you a copy.

Just make sure you know how to restore the device in case something goes wrong.

Sent from my HTC One X
[Galaxy S 4 Themes and Apps] Alex Mosolov:
Great tool! Update?

Regards! When script does update to 4.3? Many new applications, some old were renamed.