yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Original Android Development] genius.lizard2:
with v2.0 that you sent me a link with pm befor...

tested in 1stRom with MIUI:

backupTool= Won't Work (recovery restarted)

can't install anything

so can't create log collection too !

in Rom cleaner: "RC_LogCollection.tar Saved to /extSDCard/RomCleaner"

but in my extcard/RomCleaner folder and extcard/RomCleaner/Logs folder there is no tar file or any logcollection file!

just one file: extcard/RomCleaner/Logs/Settings_Restorer.log

---------------------------------

Tested in 2ndRom With FoxHound (Sammy):

Rom Cleaner 1.2:

BackupTool= Not Enough Space (free up 6711MB!)

Rom Cleaner 2:

BackupTool= "BackupTool Done" (but there isn't any backup!)

Additional Scripts and Rom Cleaner install apps=won't install (i copied handcentSMS.apk into app in Romcleaner/firstboot and secondboot)

LogCollection= notCreated

Rom Cleaner/install apps= ROM_Cleaner_v2.0_cwm_6.zip.log.txt saved (attached)
[Galaxy S III Original Android Development] Patrics83:
ROM Cleaner script will work in recovery no matter what ROM you have so maybe you should flash this recovery instead.

From the log:

Installing data from FirstBoot folder
about to run program [/tmp/busybox] with 3 args
/external_sd/ROMCleaner/FirstBoot
/external_sd/ROMCleaner/FirstBoot/system
/external_sd/ROMCleaner/FirstBoot/system/media
/external_sd/ROMCleaner/FirstBoot/system/media/audio
/external_sd/ROMCleaner/FirstBoot/system/media/audio/ui
/external_sd/ROMCleaner/FirstBoot/system/media/audio/ringtones
/external_sd/ROMCleaner/FirstBoot/system/media/audio/notifications
/external_sd/ROMCleaner/FirstBoot/system/media/audio/alarms
/external_sd/ROMCleaner/FirstBoot/system/lib
/external_sd/ROMCleaner/FirstBoot/system/framework
/external_sd/ROMCleaner/FirstBoot/system/fonts
/external_sd/ROMCleaner/FirstBoot/system/etc
/external_sd/ROMCleaner/FirstBoot/system/etc/permissions
/external_sd/ROMCleaner/FirstBoot/system/etc/init.d
/external_sd/ROMCleaner/FirstBoot/system/app
/external_sd/ROMCleaner/FirstBoot/data
/external_sd/ROMCleaner/FirstBoot/data/local
/external_sd/ROMCleaner/FirstBoot/data/app
about to run program [/tmp/busybox] with 5 args
about to run program [/tmp/busybox] with 5 args
cp: target '/system' is not a directory

No files to be copied ^^ and /system is not a directory :eek:

Filesystem Size Used Available Use% Mounted on
/dev/block/loop0 1.5G 945.5M 566.3M 63% /.secondrom_system

This is also very strange... So I guess you have some kind of dual-boot in your system. If that's the case. ROM Cleaner will not work at all.

I will edit OP right away because this is nothing we will support.
[Galaxy S III Original Android Development] F3nr1s:
yes he use Siyah and dualboot.
[Galaxy S III Original Android Development] tisazalay:
Just a small chime in and please pardon if I'm intrusive.

I use dual boot and Rom cleaner is flawless. This is my setup:

Recovery 6.0.12 touch. Rc 1.2 for cwm 6.

Siyah 1.7rc1

Omega 28 1st Rom

Omega 2 aokp 2nd Rom

I do all operations on 1st Rom (with the sdcard mounted) and it acts as supposed. After Rc I get rid of gmail cause I prefer k9 unthreaded view. I am able to backup and restore apps without problem.

Just to help. My suggestion would be if you want to manage 2nd Rom. Swap 2nd Rom first. Then rename the Rom cleaner folder so you have a new one for the aokp Rom. Try ROMCleaner.stock and ROMCleaner.aokp for easy identification.
[Galaxy S III Original Android Development] JohnCorleone:
Ok yeah posting about my One X like you remember every post. :rolleyes: My bad. That was meant for your 2.4 One X version so I posted in wrong forum. (6 devices and,3am posting don't mix) going to ask in appropriate thread

Sent from my HTC One X using Xparent SkyBlue Tapatalk 2
[Galaxy S III Original Android Development] Patrics83:
Ah, hehe.

Well if you want to flash new sense widgets, you might need to clear HTC Sense data, else widget list won't update.

Sent from my HTC One X
[Galaxy S III Original Android Development] F3nr1s:
Hi Patrice83 no news of your new version ?:angel::angel:
[Galaxy S III Original Android Development] Patrics83:
To be honest, I didn't have any motivation lately :o

But I'm working on it and I have found one more thing to make better before release ;)

Sent from my HTC One X
[Galaxy S III Original Android Development] F3nr1s:
So wait patiently , to use again your magic on my device ! and i stay ready to try if you want . :)
[Galaxy S III Original Android Development] Patrics83:
Thanks!

I will pm you when there is something new ;)

Sent from my HTC One X
[Galaxy S III Original Android Development] arora_raju:
bloatware remover

thanks. this is very nice. a complete description of all the apps in the sys partition.

for a newbee, i used debloater app from market.used your advice in terms of apps that can be safely removed and bravo.. the system is much faster with all that bloatware out of the way.

i wanted to move user apps to the ROM in my phone. is that possible. would it be useful in reclaiming more ram for other stuff.?
[Galaxy S III Original Android Development] jotan:
Hi,

Amazing tool! I was just looking at the ROMCleaner_user.txt as I like my ROM's stripped & light, I'm always left with bloat!

My question: Is there a way to just create a safe list (like the #) and then remove everything else that isn't on the list?

I ask because every rom seems to come with different apks and I like to change roms and test them. This would mean going through all the roms and updating the text file with all the apks to delete. It would be a lot easier to have a file to point to that says 'keep these, delete any apk that isn't listed'...

I hope that made sense, it probably isn't possible but I thought I'd ask anyway
[Galaxy S III Original Android Development] MarckX:
Hi,

Thnaks for the feedback :cool:

To answer your question: It would be possible, but it's not the chosen strategy for this script. Let me explain:

The list provided in the ROMCleaner list is proven to be a safe list for removing apps. Patrics83 (and the team) chose for it to name the files to delete as It would be less safe if all the files on the list would be kept and the not-named ones deleted, because the chance of making an error there is many times higher. Try to picture this: ROMCleaner has been released for 10 devices. Every ROM and every mod may contain their own files. All those files would be deleted if not named in the .txt files and ROMs and mods. My point here is that it would be almost impossible to maintain the .txt files for every ROM and mod available.

Now for changing ROMs, you can use just one _user.txt and enlist all your files you want to delete. If you have another ROM and you want to delete even more files, just add them to the same _user.txt. This way you will get your own list containing all the files you want to delete suitable for all ROMs you want to use or try. While running ROMCleaner, the files you added to your _user.txt will all be checked. If the file isn't in the ROM, ROMCleaner will automatically go on with the next one. No harm done there :)

I hope this answers your question :D
[Galaxy S III Original Android Development] jotan:
Cool, thanks for the reply. I understand the issue with 10 different devices and maintaining the .txt files. I guess you'd need a safe list for each device, which as you say, would be a pain.

I was just comparing the contents of a few roms (SlimBean VS Resurrection Remix VS Criskelo v15). My thoughts were to identify (at least for JB S3) the key .apks for the system to work. There are a lot of similarities for the most part, with Sammy based roms having Sec as a prefix, I guess #*Phone.apk would save both Phone.apk and SecPhone.apk?

Anyway, I was going to play around, build a file and simply end it with *.apk hoping that it would delete every .apk that wasn't excluded with a #

Edit: so 8.apk didn't delete all the other apks, which is what you were trying to say. Still a great tool though
[Galaxy S III Original Android Development] MIKEMON:
Perfect tool to remove apk. thanks
[Galaxy S III Original Android Development] MarckX:
You're welcome mate,

But reading your last reply, I am not sure I explained it clearly enough, as you text I highlighted scares me a bit :eek: So, I will try to explain how the ROMCleaner scripts handles the lines in the .txt files:

Name.apk - will delete this .apk if the file is located in /data/app or in /system/app

#Name.apk - will do actually nothing: this line will be skipped by the ROMCleanerscript

"/path/to/file.extension" - will remove file.extension from the location /path/to/

#"/path/to/file.extension" - will actually do nothing because this line will be skipped.

So if you want to keep files, just don't mention them in the ROMCleaner_user.txt file and the will be untouched. The script will handle the .txt line by line, so if you add both next lines, it will actually lead to a removed Filename.apk:

#Filename.apk

Filename.apk

Maybe the question will rise: Why is the dev providing a ROMCLeaner_user.txt file containing lines starting with #, as they do actually nothing in the ROMCleaning process?

Well, these lines will actually help you. If you want these apps deleted, just remove the # and the files will be deleted. That's some extra service we provide, so you don't have search and add the apps for yourself. If there are no extra remarks in the standard ROMCleaner_user.txt, you can safely remove the files from the rom. If there are remarks, make sure you can read what can go wrong.

Please be very careful deleting files with "*.apk" or "filename.*", as they can remove all files resulting in a not-working or bootlooping devices.

Now I hope you understand you really shouldn't end with a *.apk, even when you put in #-signs ;)

edit: sry for the long post
[Galaxy S III Original Android Development] ring_GT:
any update for odex roms?
[Galaxy S III Original Android Development] Patrics83:
Maybe today :)

I'll have to change that....Because it will be within hours :D

And while you guys are waiting, please rate the thread! ;) Only 8 votes and 3000+ users! :eek:

Sent from my HTC One X
[Galaxy S III Original Android Development] Patrics83:
Update - ROM Cleaner v2.0

ROM Cleaner v2.0 - 2012-10-27

-[B]Common[/B]
*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

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

-[B]ROM Cleaner[/B]
*Now ROM Cleaner will handle [B]odex[/B] files as well!
This means you can use ROM Cleaner even on [B]stock Samsung ROMs[/B] 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

-[B]Updated launchers[/B]
*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 [B]F3nr1s[/B] and [B]DroidRevenge[/B] for testing!

Have fun and please report any problems or feedback in this thread ;)

If you like our work, please consider to donate a small amount :D

/Patric
[Galaxy S III Original Android Development] baste07:
Nice!
[Galaxy S III Original Android Development] Patrics83:
Bump to a new fresh page... :)
[Galaxy S III Original Android Development] F3nr1s:
V2.0 is wonderfull , Works very well , and for the user of stock Rom its a great news .
[Galaxy S III Original Android Development] Patrics83:
Thanks, can you please upload the txt file instead?

I will diff it and find your changes ;)

Samsung apps are still very new too me so I appreciate all efforts from our users to make it better :)

Sent from my HTC One X
[Galaxy S III Original Android Development] Patrics83:
Yeah I hope so :)

I spent way too many hours on the odex part hehe

Sent from my HTC One X
[Galaxy S III Original Android Development] koboltzz:
Yes, I can but I did my editing here, so that you will see the changes in notepad++ the ugly way, since auto URL tag and my bold writing ;)
[Galaxy S III Original Android Development] MIKEMON:
Please use what zip. I twrp recowery.

thank you for the advice
[Galaxy S III Original Android Development] Patrics83:
No idea but I guess *cwm_5.zip will work.

If you already tried it please use adb pull /tmp/recovery.log and upload it here.

Sent from my HTC One X
[Galaxy S III Original Android Development] ring_GT:
is it okay to flash this right after a clean install of a new rom (without first boot)?
[Galaxy S III Original Android Development] gamin92:
I did it and no problem, the thing is working fine and no problem to report.
[Galaxy S III Original Android Development] MarckX:
It's highly recommended to use it after a fresh rom install and before first boot.

Now, I know some users have been using it after first or more boots. It will clean the same apps and files. However, In the past has this usage lead sometimes to instability in some ROMs. :eek:

My advice would be: make a Nand backup and just try. If it doesn't feel right or you get (lots of) FC-ing, restore the Nand. At least you know why we recommend it to flash it before first boot. :D

Ps Please report back.... no matter what method you choose. It would be really appreciated...

Cheers!

Thanks for the feedback mate, but keep a close watch. Hope it won't give problems in the future :fingers-crossed:
[Galaxy S III Original Android Development] F3nr1s:
i think i make something wrong . Rom cleaner dont use my ROMCleaner_user.txt i edit it with notepad ++ put it in "/extSDcard/ROMCleaner" folder. but every time i test ROM cleaner use the defaut text . What i missed ?
[Galaxy S III Original Android Development] Patrics83:
I need logs please.

2nd report about this :eek:

Run "Log Collection" in ROM Cleaner main menu and upload the file.

And guys remember, I don't have this device, so I haven't been able to test all things myself. So when you report problems like this I must always have the log collection file from you :)

It's stated in the OP as well.

Sent from my HTC One X
[Galaxy S III Original Android Development] F3nr1s:
http://lh.rs/sXrUk3M5idv2

this is the log
[Galaxy S III Original Android Development] lukesky:
Ok I think I know what's wrong.

When I was in the app and saving the logs, I found the logs in my internal SD card (under /sdcard/RomCleaner) instead of the external SD card like how the app would lead me to believe.

Since OP said he doesn't have the S3, I can see why there's the mix up. For the S3, /extSDcard/ROMCleaner/ would normally mean the external SD card and not the internal SD card. The internal SD card is named as /sdcard.

I didn't try copying the user txt file over to the internal sdcard and flash because I'm using hypergalaxy and it's already super lean and doesn't have anything to remove, but if someone is using a more "normal" rom can try putting the ROMCleaner_user.txt file into the internal sd card and see if it works...
[Galaxy S III Original Android Development] MarckX:
Hi there F3nr1s,

In your log I found this line: couldn't open: /sdcard/ROMCleaner/ROMCleaner_user.txt

This is caused by the fact that you changed the ROMCleaner_user.txt and saved it to ROMCleaner_user.txt.txt. :)

So I would like to suggest you rename the file (ditch the second .txt) and it should work as intended.

And...... ofc we would be happy to receive some feedback on this.. :D
[Galaxy S III Original Android Development] F3nr1s:
i know i do something wrong lol , i rename the file and test that asap;

Thanks for the help
[Galaxy S III Original Android Development] MarckX:
We made the choice to put ROMCleaner folder here (/sdcard/ROMCleaner/etc). So all files can be found there and ROMCleaner_user.txt should be located there as well.

The script are being copied to /sdcard/ROMCleaner/ . So you can find them overthere.

Thanks for your feedback! We will look into it asap to see if some changes are needed!!! :D
[Galaxy S III Original Android Development] F3nr1s:
So this is ok ROM cleaner use ROMCleaner_user.txt :)

but it seems samsung apps and SSugest are still installed

my log : http://lh.rs/bQG1NOvrrdaC
[Galaxy S III Original Android Development] Patrics83:
All files should be located at you external SDCARD (removable SDCARD) and according to some of the beta testers all files ended up at the external sdcard and not the internal sdcard (/data/media)

If you only have a internal sdcard it shouldn't work at all...

Can anyone confirm this ^^

I think you might need some special version of CWM Recovery as well but I have no idea really ;)
[Galaxy S III Original Android Development] Patrics83:
Thx a lot for being a "Super USER" :D

Logs makes everything so much more easy for us ;)

According to the logs

Successfully removed: /system/app/SamsungApps.apk
Successfully removed: /system/app/SamsungAppsUNA3.apk

Maybe we missed something?

Please have a look in /system/app if you can find something that might have anything to do with SSuggest or Samsung Apps...
[Galaxy S III Original Android Development] lukesky:
Yes I understand where you wanted to put the files in. What I'm saying is you have to change your documentation so that people won't be mislead into putting the files in the wrong folder, meaning everywhere that mentions /extSDcard has to be changed to /sdcard and that includes the toast msgs in the app as well

---------- Post added at 10:32 PM ---------- Previous post was at 10:28 PM ----------

I am using the latest touch recovery. And what you're saying is different from what MarckX is saying. So where should the files be saved? Is it /sdcard or /extSDcard?
[Galaxy S III Original Android Development] F3nr1s:
I dont see nothing in /system/app but i always have icon and i can use it , but perhaps because i run ROMcleaner witout fhresh install .

---------- Post added at 04:37 PM ---------- Previous post was at 04:37 PM ----------

I have all my files in /extSDcard
[Galaxy S III Original Android Development] Patrics83:
/extSDcard, always extSDcard

But this is a bit strange because recovery mounts the extSDcard as /sdcard and if there is no extSDcard it should mount /data/media as /sdcard

And when you use Root Explorer for example it might be different as well :eek:

Tell me this, when you open /data/media can you find a "ROMCleaner" folder then?
[Galaxy S III Original Android Development] Patrics83:
Yes you can flash ROM Cleaner again...

BTW does Samsung Apps work? And did you flash ROM Cleaner after a clean install with data wipe and ROM flash?

Thx for confirming extSDcard thingy ;)
[Galaxy S III Original Android Development] F3nr1s:
no i dont do clean install i think its the probleme , when i have much more time i will test clean install with wipe data . (for now samsung apps an ssugest work )

Anyway just like that my phone seems more smother and faster :)
[Galaxy S III Original Android Development] Patrics83:
It might be possible you updated those apps and you will find them in /data/app with different app names ;)

If you do, please let me know so we can add them to the txt :)

I'm glad to see some action in this thread.. And also that you find ROM Cleaner useful ;)

BTW, do you have android sdk installed?

I would really like to get some nice screenshots from AROMA when you are running it on the S3... One X recoverys doesn't work with screen capture yet :/
[Galaxy S III Original Android Development] F3nr1s:
Unfortunately i dont have sdk i'm not advance user :)

I will take a time to look in data

Edit : for samsung app i found that com.sec.android.app.samsungapps-1.apk

For Ssugest i'm not sur but i found that

com.tgrape.android.radar-1.apk
[Galaxy S III Original Android Development] MarckX:
I installed Ssugest.apk on my One X for and can confirm you are right mate!

So your edit is spot on. Advanced or not, you are making us add these two to the default ROMCleaner.txt :D So they will be added to the next update.
[Galaxy S III Original Android Development] F3nr1s:
Its the right way . Wipe , install rom ,immediatly flash rom cleaner .

Send with my InsertCoin
[Galaxy S III Original Android Development] Patrics83:
Hi guys!

I hope you find the new version good ;)

I found this step-by-step guide at AndroidGadgematic.com

If you are unsure about how ROM Cleaner works I think you should have a look at it :)

It's written for Note2 but as they say.

Size doesn't matter ;)
[Galaxy S III Original Android Development] MarckX:
What's that I heard you bragging about in IRC then? I surely must have misunderstood, I guess..... :P

But congrats mate, love to see them articles comming :cool:
[Galaxy S III Original Android Development] Pretzel Kleo:
Yeah, the new version of ROM Cleaner works perfectly well for me, not problems yet and I tested it on Stock JB version and ARHD 13 ROM.

Enviado desde mi Samsung Galaxy S3 GT-I9300 con ARHD 13 usando Tapatalk 2.
[Galaxy S III Original Android Development] Patrics83:
Well you told me about the size thingy ;) :p

I have never heard it myself ofc. Haha

Sent from my HTC One X
[Galaxy S III Original Android Development] Patrics83:
Thanks for your feedback!

Nice that it works on stock as well ;)

Sent from my HTC One X
[Galaxy S III Original Android Development] Bodoma:
Hey guys,

Anyone got an answer on how to re-install the Accuweather widget? I've tried just moving the apks into the sys/app folder, changing permissions and rebooting, but it didn't work.

I couldn't get Droid Explorer to install them either, every time I tried to install, the program would close. And doing an adb push didn't work either, not with the manual push nor with the improved APK tool for ICS.
[Galaxy S III Original Android Development] Pretzel Kleo:
Hey Patric... I got a problem here :S! When I used ROM Cleaner the first time my app (or idk what is it) called "My Files" (where you can see the SD Card and ExtSD Card files) was not removed and after I flashed again ARHD13 (with full wipe and everything like it must be) and I use again ROM Cleaner that app was removed, ¿How can I get it back? ¿There's no way? and ¿Why this happened this time?

Thank you in advance.
[Galaxy S III Original Android Development] Bodoma:
I attached the apk in this post. Download it, stick it onto your SD card, try to just run an install at first and see if that works. If not, use any root file explorer (I use Root Explorer) to move it to /system/app, change the permissions to rw-r-r and reboot.

Should work for standalone apk's.
[Galaxy S III Original Android Development] Pretzel Kleo:
Holy crap! Thank you so much for this solution :victory: It worked! thank you :)
[Galaxy S III Original Android Development] Patrics83:
Most likely you need to clear TW launcher data for the widget to appear again.

Sent from my HTC One X
[Galaxy S III Original Android Development] Bodoma:
I'm on ARHD but using nova. Does clearing TW launcher data still apply?
[Galaxy S III Original Android Development] Patrics83:
Just so you know, when you use a 3rd party launcher it's possible that TW widgets won't work.

This is at least the scenario on HTC Sense.

Use the TW launcher and check if you can find the widget. If not clear TW data and reboot.

Sent from my HTC One X
[Galaxy S III Original Android Development] Pard0ned:
Just wondering what version of RC I should use for team win recovery?
[Galaxy S III Original Android Development] Patrics83:
No idea really, but I guess cwm 5 version will work.

Please report back so I can update OP

Sent from my HTC One X
[Galaxy S III Original Android Development] Bodoma:
There we go. That was it. I ran TW launcher and there it was.
[Galaxy S III Original Android Development] MIKEMON:
I used to script/cwm5/s twrp recowery Criskelo rom and fully functional thanks for everything.

---------- Post added at 09:04 PM ---------- Previous post was at 08:38 PM ----------

On the sd card and I can not delete files, does anyone know how?

not even root explorer or system
[Galaxy S III Original Android Development] Patrics83:
No idea but are you connected to your PC when you try to change files on your sdcard?

Sent from my HTC One X