yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] wshealy:
Wow, Just discovered!

Thanks to Cap!, I just discovered you.

I have a couple questions. Maybe I just do not have it clear in my head, a lot to absorb even after reading whole guide.

1. Can I swap versions of an app? Say developers likes green app and I'm partial to blue app. I would think I could add green to the delete list and include blue in install directory. Right?

2. Maybe I just missed this... The apps I run from SD card. Is there a way to re-find them during the clean process so they are there at boot? They have been reloading from market, then I move to sd, get error because already there, and repeat move and fine. If clean process discovered they would just be there.

Thank,

Wallace
[Desire HD Android Development] Dude360:
Exactly. You dont even need to delete the app first, as long as it is named the same on your SD card it will overwrite the one included in the rom.

So, for example you have a blue modded version of the Market (/system/app/Vending.apk).

You would add Vending.apk to your SD card in:

ROMCleaner/FirstBoot/system/app/Vending.apk

What will happen is the green version in the rom will get installed as normal but will get overwritten with the blue version when the script starts to copy over the files from your SD card.

This will apply to any files you have in the FirstBoot folder :)

The same would happen with the SecondBoot folder (used by mods & app installer), which should be used for system files such as the framework which demand a boot before being applied. (Themes are a good example of files which should be in the SecondBoot folder)

Heres an example of how I pack my SD card:

FirstBoot = Just apps

SecondBoot = modded versions of framework-res, systemui, market, gmail etc

This way, on first boot my rom is stock but cleaned and has its apps installed. I then flash mod & app installer to apply all my modded versions of the apps and system files.

I also get to make sure the rom is working fine after being cleaned as well before I apply any of my mods to it.

I hope that makes a bit more sense. Ill add some examples to the guide as well.

Ah your right, I did miss this part out from the guide.

Apps moved to the SD using the inbuilt functions in Android itself are, unfortunately, stored in an encrypted format on your SD card (.androidsecure).

There is no way at all for us to access this folder with any of our tools during the backup/restore process as this is controlled by the system itself.

You can however quickly run though your SD card list in Applications and move them back to your phone storage before backing up then after restoring move them back.

No problem, hope you find these tools useful :)

And thanks for pointing out some stuff I missed, I play with these tools so much its easy to miss small details like that :D
[Desire HD Android Development] birdyy:
Thanks for this man. Worked flawlessly.
[Desire HD Android Development] Patrics83:
I'm happy to hear that! :D

Just let us know if you get any problems with the script's

And also don't forget to rate the thread :p

/Patric

Sent from my Desire HD
[Desire HD Android Development] keatsim:
hi, i'm using ARHD Rom. So does that means that everytime i flash an upgrade ROM like 6.1.2 to 6.1.3, then i also need to flash rom cleaner? The rom cleaner is not a one time thing?
[Desire HD Android Development] Patrics83:
Yes.

Since the ROM will install all apps again. You need to delete them again.

We recommend that you full wipe every time you upgrade your ROM. Just like all other devs does. I always full wipe and thanks to full wipe and ROM upgrades ROM Cleaner was born :p

How ever you can upgrade the ROM and flash ROM Cleaner again and it might go just fine but remember to clear HTC Sense data after first boot. More info can be found in the guide.
[Desire HD Android Development] Vessarius:
Hi there,

I've got small question, can you tell me how I can edit ROM cleaner txt file in order to script didn't remove one app? I mean excatly this:

"#	Removing HTC Visuals and Skins...

#

/system/app/BlackBoard.apk

/system/app/LiveWallpapers.apk

/system/app/LiveWallpapersPicker.apk

/system/app/MagicSmokeWallpapers.apk

/system/app/Metal.apk

/system/app/Mode10Wallpapers.apk

/system/app/SkinPicker.apk

/system/app/Slate.apk

/system/app/VisualizationWallpapers.apk

/system/app/WeatherLiveWallpaper.apk

/system/app/Wood.apk"

As I read before I should only put before this line "#" and it will not be removed? :)
[Desire HD Android Development] Patrics83:
First of download ROM Cleaner v3.01 ;)

This version fixes FC on launcher also!

Edit: And don't edit ROMCleaner.txt. download ROMCleaner_user.txt from Download section. Never touch the zip.

And yes # = The script will ignore it.

[COLOR="Red"]#[/COLOR]SkinPicker.apk Skin Picker, app to pick your themes
[Desire HD Android Development] P00t:
@Patrics83, it works~~~~ :D friend stream works!
[Desire HD Android Development] craacK:
not a big surprise ^^ but cool it works now
[Desire HD Android Development] Patrics83:
Some reading and everything works... That's amazing! :D

Thx for your feedback!

Sent from my Desire HD
[Desire HD Android Development] georgek_gr:
Hi all!

I have a question...I used this excellent script but I deleted the "people" widget (I think this is what it's called) by accident as well.

What line do I have to put the # in front so that it doesn't get deleted next time?

Also, which lines must be marked # for my locations (plus widgets) to work? I am on Cappy's runny 3.3 btw.

Any help will be greatly appreciated.

Best

G.
[Desire HD Android Development] Patrics83:
Hi, I can't give you any detailed answer right now. (hopefully someone else will do before I get home...)

But first of all you need to add your romcleaner_user.txt to your sdcard as the guide tells you to.

Then to prevent the script from removing stuff you need to edit that *.txt file, just mark them with a # just like you said.

after every Appname.apk you can see a description. Like this:

htccontactwidgets3D.apk HTC Contacts Widget

I hope you will be able to edit it now ;)

Sent from my Desire HD
[Desire HD Android Development] georgek_gr:
Hej Patric,

thanks for your answer, it helped me get my people widget back :)

I still need to get my location widgets back too though. I have the feeling that they have something to do with the laputa files that the script deletes, am I right?

To be more precise, I do have the locations widgets but they keep saying that "..the location files are either missing or outdated. Tap to download the latest files from the server" but when I tap on the widget absolutely nothing happens, so I presume there are more files needed, which have been deleted (laputa?)

thanks again

George
[Desire HD Android Development] Patrics83:
I'm still not at home :(

but exclude all navigation related apps and widgets and all will be just fine.

If you only keep the widget, the widget has nothing to open if you click on it.

HtcLaputa.apk A Part of Stock Navigation Application
HtcLaputaInstaller.apk A Part of Stock Navigation Application
LocationPickerLaputa.apk A Part of Stock Navigation Application

HtcLaputaWidget.apk A part of Stock Navigation Application
HtcLocationsWidget3d.apk HTC Locations 3D Widget
HtcLocationsWidgetSettings3d.apk HTC Locations 3D Widget
HtcNavigateWidget3d.apk HTC Navigation 3D Widget

Sent from my Desire HD
[Desire HD Android Development] ridethisbike:
here are the issues i'm having:

-facebook for sense isnt showing up in my accounts & sync, not even an option to add the account. and yes i put a # in front of HTCFacebook.apk

-phone book (people) app FC's when I open it [com.android.acore i think](workaround was to not flash settings restorer)

-instant mail app FC as soon as i boot up (same workaround as phone book worked)

-having sync issues (i didnt # out the twitter or friendstream apps for that very reason) PRE-POST EDIT: just realized i didnt # it out... which means it was never installed... which means i'm an idiot... lol. it was late, i was tired.. leave me alone lol

I've attached my romcleaner_user "script"

incidentally, ALL of my apps were restored without flashing the settings restorer. is this normal? I also still have some system backup files left behind from before the wipe/flash, makes me wonder if CWM 5.0.2.0 is really doing its job or is something else crazy is going on with this cleaner

i tried adb install of HTCFacebook.apk to no avail. the install failed.

any ideas other than a fresh install of rom and not using rom cleaner?
[Desire HD Android Development] Patrics83:
Please let me know when you have read something from the guide.

Also upload ALL your logs.

User.txt tells me nothing in this case

Sent from my Desire HD
[Desire HD Android Development] ridethisbike:
my bad...

i read the mandatory stuff. skimmed the rest of it just to get an idea of what everything does. after reading the description of the rom cleaner itself, i'm a dummy. i remember reading that part now, and remember waiting while it loaded the apps. like i said, i was tired as hell when i did all this originally. completely forgot it makes logs.

here are my logs. i dont think the backup tool log
[Desire HD Android Development] Patrics83:
Thx I will have look at it soon.

And you are not a dummy. ;)

Sent from my Desire HD
[Desire HD Android Development] Dude360:
First of all this is in regards to the sync problems as I did notice your post-edit but never saw your original post so its here just in case.

#Removing HtcTwitter might cause sync issues for some people.
#Removing Twitter might cause sync issues for some people.

In your attached list both were being removed. I assume this was your post edit right? If so cool, you'll have sorted it ;)

One of the advantages of Sense is its social networking integration into the rom and HTCs apps. Unfortunately all the apps are tightly entwined with each other so removing one can cause all the rest to cause problems.

TBH its really a case of its all or nothing with them.

What rom are you using?

We usually see these problems when moving from rom to rom.

Its fine when doing say, a clean install of the same rom you made the backup from.

Yup the apps are installed with the ROMCleaner not Settings restorer.

System backup files?

You wouldnt be able to install it anyway as its located on the /system partition and these apps cant e installed this way.

You could of used the mod and app installer to install it though.
[Desire HD Android Development] Patrics83:
@ridethisbike

I found two errors when backup tool was a bout to pack all mail account files. Some directory's didn't exist. I will look in to this.

/data/data/com.htc.android.mail/app_mail
/data/data/com.htc.android.mail/shared_prefs

EDIT: Now when I know you are on Runny v3.3 ROM mail restore function doesn't work for some weird reason. Also if you backup mail on a ROM and then want to restore it on a new one, you can only restore within the same base (On ARHD ROM's backup features always works 100% but on Runny ROM something is not working so well, we will look in to this also)

HtcFacebook was not removed by ROM Cleaner. Are you using a Sense 3.5 ROM? Edit: Yes you are, Installing: /sdcard/RCMix3D_Runny_v3.3.zip

In that Sense version HTC Facebook is removed.

HtcStore.apk HTC Hub
Trying to delete file:
HtcStore.apk
File not found in /data/app..
File not found in /system/app..

#HtcFacebook.apk HTC Facebook
The script didn't even read it,
so # worked just fine

HtcFacebookChat.apk HTC Facebook Live Chat
Trying to delete file:
HtcFacebookChat.apk
File not found in /data/app..
Successfully removed from /system/app
[Desire HD Android Development] ridethisbike:
In order:

Yea, i was lazy and decided not to delete it before i posted. lol I just find it funny because I can uninstall them via Titanium Backup with no issues so i thought i'd have no issues not # them out. Then again, i'm not sure if it was HTC's versions i was uninstalling... just sucks because i personally think twitter is retarded. i have no need for it therefore would rather not have it on my phone.

RCMix 3.3 it was indeed a clean install of the same rom

I edited build.prop and default.xml to get the device branding correct. Root Explorer saves a .bak of them and they were still there even though i did a full wipe (full wipe/factory reset). am i wrong in thinking that CWM's wipe data/factory reset wipes the system partition?

if (i_am == wrong) {that_would_explain_a_few_things();}

else {its_time_for_a_new_recovery();}

well if thats the case, logic tells me I can reinstall the HTC twitter and friend stream and be good as far as the syncing problems go. still doesnt explain why Facebook for HTC Sense doesnt show up in Accounts & Sync...

...............

just created a new user.txt with htctwitter and friend stream #'ed. think i'm gonna just try reflashing.... again....

PS i dont know why i decided to put that remark in C++.... its been 10 years since i messed with it lol. being 4 am might have something to do with it... ;)

---------- Post added at 10:32 AM ---------- Previous post was at 10:26 AM ----------

huh.... well that explain that. to be completely honest I dont even use the native mail app, i use the GMail app, so that part doesnt bother me so much.

I dont think i follow with the HTCFacebook thing. are you saying that in Sense 3.5, from the "factory" it is removed?

if so, I pulled the HTCFacebook.apk straight out of the RCMix zip file. Should it not be in there?
[Desire HD Android Development] Patrics83:
If you don't use HTC mail just delete

/sdcard/ROMCleaner/Backup/Mail_Accounts.tar

before you restore settings.

Regarding HTC Facebook, it's really strange because the app is in there but it doesn't have a function. It has also been discussed in RCMix3D Runny thread but I didn't follow it that much.
[Desire HD Android Development] ridethisbike:
turns out it DOES have a function. facebook by itself doesn't sync your calander or the live stream. with htc's facebook on there it does.

this is how Facebook's sync categories look WITHOUT HTC's version on the phone

Sync Contacts [check box]

Update Every Blah Hours

this is how Facebooks sync categories look WITH HTC's version

Sync Calender

Sync Live Feeds

Sync Contacts

Update

SO! While it doesnt show up as a standalone sync'able app, it keeps those beloved (by some) features on the phone. Although the Live Feed seems to have a few issues in that it doesnt seem to get the feeds right off the bat, it waits for you to scroll to the contact instead.

TB's freeze feature is pretty amazing... because that's how i figured it out... lol. froze it and those 2 options went away. didnt realize thats what it was until i defrosted it.

I tend to dislike reading through hundreds of pages of comments on how awesome a rom is just to see if someone has issues. i always read the OP and then 10 pages from the end. So i didnt even know it was discussed over there. I'm sure this was the conclusion though lol
[Desire HD Android Development] Patrics83:
I didn't look in to how that HtcFacebook.apk affected Facebook.apk tbh.

But now we all know for sure :D

I don't use titanium backup at all since freezing apps is synonym with renaming the apk. HtcFacebook.apk.bak for example ;)

But ofc titanium backup is good for some things. '

But when it comes to deleting apps and stuff you should never do it on a running system.

That's we are trying to make you guys full wipe everytime you update your ROM and use ROM Cleaner as a helpful tool to cut down some serious time when it comes to installing apps and also delete unwanted apps from the system...

Many users dislike to read but this is what we all need to do to know how to use different tools and stuff like that. ;)
[Desire HD Android Development] Dude360:
HTC decided with Sense 3.5 to remove 'Facebook for Sense' and integrate it into the rom completely instead of having a separate 'account'.

It is there and does function as it always did except now its directly connected and accessed through the official Facebook app, friendstream and the Facebook Chat Widget.

Once you sign into Facebook from either one of those it will automatically kick in.

To make sure you get hi-res contact pic, dont sign into the official app directly, I use the chat widget. Click it and it will ask you to sign in, choose FB ut dont sync the official app with contacts. HTC FB will do the image linking correctly then.

Why they did it with just FB and not Twitter I dont really know, probably licencing crap again :s
[Desire HD Android Development] Patrics83:
It's so quiet here... I think I have to add something that will cause random FC again :p

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
Silent users = happy flashers :)
[Desire HD Android Development] Whiskey103:
Hai Patrics, i have a problem. I flashed Romcleaner.

Now i see this, can you fix this bug please?
[Desire HD Android Development] MarckX:
It's not a bug imho..... just profound cleaning :D
[Desire HD Android Development] MarckX:
Getting bored by the lack of questions due to the awesomeness of the script?

Hmmm.... I think you guys have worked so hard perfectionising the release 3 range, you got yourselves some (well deserved) time off.....

But then again.....when addiction takes control, there's no stopping in longing for more.... 8S

Time for some ICS action? :D
[Desire HD Android Development] ABDOKRO1:
As previously stated, by flashing ROM Cleaner you don't have a problem, you have the solution.
[Desire HD Android Development] Patrics83:
Well we have a break from testing and developing now... But still quiet here :p ;)

How ever, thx to the counters we can still see a big intrest in this tools.

Sent from my Desire HD
[Desire HD Android Development] Patrics83:
Hehe good one ;)

Sent from my Desire HD
[Desire HD Android Development] hahl14:
thanxx dude
[Desire HD Android Development] Patrics83:
Your welcome :D
[Desire HD Android Development] Patrics83:
Guys, we are about to release ROM Cleaner v3.1...

Is there anything you wish us to add or change?`

If you have an idea, please let us know.

/Patric
[Desire HD Android Development] jr_718:
cool reserved.. thanks
[Desire HD Android Development] Patrics83:
Update!

Changelog

ROM Cleaner v3.1 - 2011-11-13

-Removed all Sense 2.1 Apps and Widgets to get a better overview.

Sorry all Sense 2.1 users, ROM Cleaner v3.01< will still support Sense 2.1 like before.

-Some other changes to ROMCleaner.txt to get a better overview.

-Added a section for new added apk's.

HTC Setup Wizard Remover

-Now it deletes Dalvik-cache only for Setup Wizard related files.

-Much faster boot time after flashing this tool because dalvik-cache doesn't need to be rebuilt again.

-Removed version name because I hate v4.0, I can't even remember why it ended up like that. So from now on it's only HtcSetupWizard_Remover ;)

Enjoy!
[Desire HD Android Development] yvibes:
Has anyone upload their user.txt file as I really am confused with this, not a noob when it comes to flashing and all that stuff but editing text files like build props and this fie confuses me :/

Would be appretiated
[Desire HD Android Development] Patrics83:
What for? Why should anyone upload a user.txt when you can download it from the first post?

Why is it so strange to use notepad++ to edit the romcleaner_user.txt?

It's a part of the script...

Take a look at the guide and you will soon figure it out.
[Desire HD Android Development] yvibes:
It would be easier,I have read the guide throughout but I don't understand it properly...OR does the Rom cleaner zip clear some of the apks???
[Desire HD Android Development] Patrics83:
If you flash ROM Cleaner like it is it will delete a lot of apk's yes.

Maybe it will remove to much for you and that's why you should download romcleaner_user.txt and mark every app you wish to keep with a # in front of it.

# = The script will ignore that line.

When you have edited it with notepad++.

Flash folder creator.

Then move your romcleaner_user.txt to /sdcard/ROMCleaner

Now flash ROM Cleaner after (Full wipe) and ROM flash then reboot and use your device like normal.
[Desire HD Android Development] yvibes:
Thank you, this sounds much easier :) ps. Out of curiosity, wat apks are delted with the default Rom cleaner zip.....if its ones I never use then I might just flash it
[Desire HD Android Development] Patrics83:
Just download romcleaner_user.txt and you will know...

I can't list them here, and I see no reason to do it when you can download it. ;)
[Desire HD Android Development] ABDOKRO1:
Patrick83, could you please wipe my butt cause I'm too lazy to figure out what to do with the paper... By the way, will it delete my poo?

I admire your patience...
[Desire HD Android Development] Patrics83:
Man you make me LOLLOL every time :D

So sorry but I can't help you with your toilet visits... Just try to remember, always flush after flash! (yes there is in fact ppl who flash while they are on toilet...)

Sent from my Desire HD
[Desire HD Android Development] P00t:
I don't know if this is part of the rom cleaner but I can't see preivews of wallpapers,scenes.
[Desire HD Android Development] Patrics83:
Here we go again! Please stop using ROM Cleaner, I'm sick of your #%@§ noob questions all the time!

You have used it so many times, I even helped you via PM... And now you are surprised over missing previews? OMG!

Edit: if you wish to discusse this... Join my IRC channel. #ROMCleaner.

Web IRC client in my sig.

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
Seems like my sense of humor was my Sesame for the "Recognized User" status, so I have to practice everyday to remain in good shape! :)

As Confucius said once (or it was Whiskey103... yeah, don't ask why but there's wisdom in whiskey, believe me on that): "Wipe and Clean" when you're in WC. :D
[Desire HD Android Development] Patrics83:
Yeah I remember that post ;)

Regarding your banner.

I know what whiskey wrote to you... :D

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
Crap, seems like everyone knows now that I'm a useless piece of ****... Hopefully I have no self-esteem! :D

On-Topic (it happens sometimes) do you have plans for future updates or are you waiting for new stuff from the mother-ship?
[Desire HD Android Development] Patrics83:
Hehe mate, your are funny also. Don't forget that :p

Right now there is no plans at all, just waiting for HTC to bloat our devices even more I guess ;)

But all ideas are more then welcome. (still no wipe your ass scripts... :D )

Sent from my Desire HD
[Desire HD Android Development] ridethisbike:
Phone doesn't ask me what I want to do when I connect USB. Is there a specific app that handles this? If so, is Rom cleaner deleting it?
[Desire HD Android Development] Patrics83:
Most likely you pressed don't ask again on that popup.

Go to settings >> Connect to PC >> There you have the option.

The app you are asking about is PCSCII.apk and no, ROM Cleaner doesn't remove it. Maybe you added it it... ;)

Sent from my Desire HD
[Desire HD Android Development] ridethisbike:
I wish I had... lol. I know where the setting is, and I've messed with it numerous times. It used to not ask (even with option checked), but there would be the notification in the pull down where I could still access it (only when the option was NOT checked), now its not even there no matter what I do. Had to blue tooth transfer a bunch of music to accomplish my goal, which took forever

I've raised the question in the RCMix threads to no avail. they blamed it on the kernel, so I flashed the newest one. Same issues were there, posed the question again and now I'm getting no response. Very frustrating...

Gonna try re-installing it via your app installer... hopefully it works...

EDIT: reinstalled. got the icon to come back, but its still not asking me what to do when connected like its supposed to. Posed the quiestion yet again in the ROM thread, guess we'll see. I might end up having to switch to ARHD though... lol