yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Patrics83:
I'm not sure why you posted your Q here but I guess you can go to setting, keybord, then pick your language and go to touch input and select the rest.
[Desire HD Android Development] pfennig1:
Problem is fixed, just rebooted, changed language to English and then back to German.

Thanks
[Desire HD Android Development] Nipqer:
I used notepad++, and made other changes to the script as well, but if I had the

delete("/system/app/Mms.apk");

line in it, it would just abort. No status messages or anything.

If I commented it out, it would work flawlessly though, so I really don't see why it has no hassle removing lots of other system apps, but not Mms.

-Nipqer
[Desire HD Android Development] Patrics83:
Just tell me if you want me to take a look at it.
[Desire HD Android Development] Nipqer:
Yeah if you could, its really annoying me why it won't delete.

Here's my modified Rom-Cleaner.zip I think I've the specific line commented out.

Cheers for taking a look.

-Nipqer
[Desire HD Android Development] Patrics83:
I will look at in about 6 hours from now ;)
[Desire HD Android Development] Patrics83:
Here is a working version. Don't know what might been wrong in your case but it works for me.

Fixed Version of your edited ROM Cleaner.

Good luck Nipqer, please tell me if it didn't work.
[Desire HD Android Development] liljom:
wow

very nice one :)

usually I select about 65 or 85 - I don't know - apps, to clear my system/app

it'll be a lot easier and you got a few stuff, I didn't know, that they can be removed wothout problem

I'll try and report
[Desire HD Android Development] proalsren:
Is ir possible to remove HTC IQAgent?
[Desire HD Android Development] Dude360:
Congrats on the front page dude :D

http://www.xda-developers.com/andro...g-flashable-rom-cleaner-may-be-right-for-you/
[Desire HD Android Development] Patrics83:
Thanks mate, I just saw it :D

Well I guess my idea was pretty good then ;)
[Desire HD Android Development] Patrics83:
Well I don't know what kind of phone you use but I guess it's removable without any issues..

Just add this line to the updater-script delete("/system/app/application_name.apk");

It must be the correct name, so please use a file explorer to find it.

Good luck mate
[Desire HD Android Development] proalsren:
Thanks. I have the EVO 4G with the Synergy ROM
[Desire HD Android Development] FInixNOver:
What he said ;)
[Desire HD Android Development] Patrics83:
Thanks mate :D

If I get some time tonight I will upload a new version, you can call it ROM Cleaner Extreme :p
[Desire HD Android Development] Patrics83:
ROM Cleaner updated to v1.2

Changed the updater-script a bit to make it better organized.

Now it also removes:

*Metal.apk - HTC Theme

*SkinPicker.apk - App to choose Skin's

*Slate.apk - HTC Theme

*VisualizationWallpapers.apk - HTC Live Wallpapers

*htc_wallpaper_01 - htc_wallpaper_19 - Plus all Thumbnails.

*scenes_picker_01 - scenes_picker_05

Also check this out ROM Cleaner on XDA front page

Thanks craacK for sending in the tip ;)

Enjoy guys! :D
[Desire HD Android Development] craacK:
nice, new version with new rom... perfect timing.. thank you :)
[Desire HD Android Development] Patrics83:
Yeah but I was close to miss it all :D

So I told mike to hold the ROM for a few hours :p (kidding)
[Desire HD Android Development] Beamen1:
Awesome! Thanks for this.

I think there is a bug though:

delete("/system/app/com.htc.FriendStreamWidget.apk");

I still had friend stream in my install. I had to use titanium to un-install it.
[Desire HD Android Development] Dude360:
FriendStream is #d out I think as it can cause sync issues for some people if removed though (Im one of them). The widget is removed as it is safe.

You can open the script and remove the # to have it remove FriendStream if you wish.
[Desire HD Android Development] Beamen1:
That's what I did mate ;) It still did not delete FriendSteam. I did a lot of customization to fit my needs. Everything else worked just fine.
[Desire HD Android Development] Dude360:
Hmm thats a weird one. Triple Double check the apk name in the script is perfect to the rom and also try duplicating the code two or three times after itself just to make sure.

It should go as I tried 1.2 earlier and Im sure it did.
[Desire HD Android Development] Nipqer:
Yeah that worked great, thanks!

Any idea what the issue was?

-Nipqer
[Desire HD Android Development] Patrics83:
Hmm, no I couldn't see any issues tbh. :confused:

Maybe you mounted usb storage when you where in recovery?

In case you did that and made changes to the zip, the changes wont show up. Reboot of recovery is needed.

Just a guess ;)
[Desire HD Android Development] mreeekay:
Congrats! Subscribing to this thread.
[Desire HD Android Development] Patrics83:
Hi, as Dude360 said FriendStreamWidget is removed by the script.

But since there is so many ppl how gets sync issues if I remove Frinedstream it's keept it out from the script.

But to delete it just add delete("/system/app/FriendStream.apk"); to the script and it will be deleted :D 100% sure on that.
[Desire HD Android Development] Patrics83:
Thanks mate ;)
[Desire HD Android Development] juzz86:
There is so much win in this :) thankyou very much!

PS: I came here from the portal, you made front page! :eek:
[Desire HD Android Development] Beamen1:
Thanks! Maybe you can add this in your next release, but with a # infront like you did with Twitter. It would be nice to have ALL deletable items in the list, but the ones being risky with a text, and # infront by default (like you have now).

Also when the new release is out, can you add comments so it's easy to see the NEW deletable items in the config? I want to continue using my config file, as it's set up just the way I like it so it would be nice to know what is new in the new config so I can add those lines instead of redoing everything again :)
[Desire HD Android Development] Patrics83:
Welcome, I hope you will enjoy my tool ;)

Thank you so much!
[Desire HD Android Development] Patrics83:
Well to be honest it's already done in v1.3 :p plus many more apps like an option...

I can provide a pastebin link with changes in updater-script. Well I'm sure we will come up to something good some day. Today all new changes are marked in the app list, but maybe that's not enough..
[Desire HD Android Development] juzz86:
That sounds wrong on so many levels... :p

Thanks again mate! :)
[Desire HD Android Development] Patrics83:
LOL, ok enjoy my "script" then :p

Damn! ;)
[Desire HD Android Development] Honusnap:
Windows script

Hi Patrick,

I have done a small script to delete files directly from the RomZip (windows script), not as complete as yours cause it can only delete files and can't obviously launch linux commands.

Took 4 seconds on my PC to update the RomZip.

I've used the filelist from your script.

Ps : 7Zip command line tool provided
[Desire HD Android Development] Honusnap:
Candidates

Candidate on the deletion list :

/data/app/AdobeReader.apk

/data/app/Facebook.apk

/data/app/Maxthon*.apk

/system/app/Gmail.apk

/system/app/HtcFacebook.apk

/system/app/FriendStream.apk

/system/app/GooglePartnerSetup.apk

/system/app/SoundRecorder.apk => if deleted, it gave me an error when i want to add a newly recorded sound in an mms.
[Desire HD Android Development] craacK:
facebook, htcfacebook and friendstream are all not deleted because of syncing issues by some users, thats why its not deleted by default, but ofcourse u can edit your script as you like.

gmail i wouldnt delete personally, maxthon is your choice indeed
[Desire HD Android Development] Honusnap:
Well i understand about syncing issues... but as "HtcTwitter.apk" is present in the script and disabled i think that these apk should also be in the list as reference, disabled.

/system/app/Gmail.apk

/system/app/HtcFacebook.apk

/system/app/FriendStream.apk

/system/app/GooglePartnerSetup.apk

And why not tagging every apk with it own function, always as reference / understanding.

FMRadioWidget.apk - FM Radio widget

FriendStreamWidget.apk - Friend Stream Widget

MusicWidget.apk - Music Widget

StockWidget.apk - Stock Widget

TwitterWidget.apk - Twitter Widget

WeatherWidget.apk - Weather Widget (not the one with sense clock)

EReaderWidget.apk - Ebook Reader Widget

..
[Desire HD Android Development] Dude360:
Because that takes a ridiculous amount of time and research and also makes the script twice as big and harder to navigate. Theres also a couple of apps that we know are safe to remove but nobody knows what they do which will leave inconsistencies and lead to even more questions.

Then where do you stop? The point of this cleaner was to make it an inbetween from Sense and NoSense, removing apps that have been tested not to effect performance or stability of the rom. The selection is also trying to cater for the majority of sense roms across a variety of platforms as well.

To test which apps do and do not also takes time and still some users may have issues.

The few that do or may do for some users have been singled out and its then the users choice to remove them or not.

There is a couple of apps that will get added as we have been testing them but what do you want? Every single app in the rom listed?
[Desire HD Android Development] Honusnap:
Many people have already done the research ... so these informations are already there.

Deleting a file without knowing what it does .. is like cutting a wire in a plane and waiting an accident to get back and repair the wire ... strange isn't it ? Better way is referencing every app for what it does... not in details cause it is virtually impossible.

Script will be bigger, yes... will go from 9Kb to something like 11Kb ..

Will look like this :

# Search In Phone

delete("/system/app/SearchAnywhere.apk");

# Stock Application

delete("/system/app/Stock.apk");

# Google Talk Application

delete("/system/app/Talk.apk");

...

Problems i've seen :

/system/app/SoundRecorder.apk => if deleted, it gave me an error when i want to add a newly recorded sound in an mms.

/system/app/SkinPicker.apk => if deleted the Skin link is always visible in "Personalize Display" and gave an error "The linked program is no longer installed...."

/system/customize/resource/htc_wallpaper*.* => Choosing Wallpaper / HTC wallpapers in "Personalize Display" display a list with generic pictures and gave an error when one is picked "Phone storage is full"

/sdcard/.android_secure => Bad idea ... if you've moved application to SD with App2SD they need to be installed again.
[Desire HD Android Development] Dude360:
Yes and the majority of them are already in the script.

We take our information from many a source and lots of time flashing and reflashing as well as conferring with other sense rom developers.

Apps removed differ between roms. Removing one on ARHD might be fine but it might cause errors on Leedroid.

This is a general list which is easily edited to suit the needs of the user.

Well, why dont you start now and we'll reconvene with your progress when we have some more time.

Then add a # in front of it in the script if its causing problems for you.

Now you moving into framework territory.

Of course it will error when you select it, it isnt there anymore.

We cant reprogram the entire framework but we can remove bloat that takes up unnecessary space.

If you find something that you want then you can go back and edit the script.

This isnt some complicated decompile and samali editing, its adding some text to a file?!

Your pointing out errors that are in relation to you and with which you can easily solve.
[Desire HD Android Development] Honusnap:
Well .. removing "/sdcard/.android_secure" folder will not only give problems to me but also to others :D. Same with "/system/app/SkinPicker.apk"...

Ho .. really .. ! That what i was speaking about... removing this will create a "hole", some menus will lead to nowhere... => Bad

I would never hire you to launch a communication's satellite .. ;)

I've already solved these problems and got my own script...:rolleyes:.. these were just ways of improving Patrick's Job.
[Desire HD Android Development] Dude360:
That folder contains information from the previous rom as well as apps moved to the SD the 'official' way and can cause problems if redundant or corrupted data is left there during a rom upgrade.

Again, there are apps that will create 'holes' as you put it, within the framework of Sense, theres nothing we can do about that. But if a user is removing all the skins then they arent going to be trying to select one are they?

If they do want skins then they have the ability to leave them in.

Dont get me wrong, all feedback is appreciated, Im just trying to get across (to others as well) the point of the script, its capabilities and its flaws.

Im a long time user of the script and have my personal scripts down to a T, with them I have been able to get my install time down to less than 15mins from a super wipe including pre-installed apps and mods.
[Desire HD Android Development] slickrick54:
Sorry for the noob question guys but does titanium backup do the same thing when you want to just uninstall things one by one. I know it takes a lot longer like that but I'm not familiar enough with notepad++ to edit the script. Wish i was but im not. Thanks for any help guys.
[Desire HD Android Development] Honusnap:
App that leave a hole or are not perfectly safe to be removed should be disabled as default, people that know what they do can enable it... pretty good solution .. no ? :)
[Desire HD Android Development] proalsren:
Thanks a lot Dude360

Can WinRAR be used instead of WiinZip or 7Zip?
[Desire HD Android Development] Dude360:
No probs :)

Its preferable to use WinZip or 7Zip as Winrar seems to have a nasty habit of causing (bad zip) errors within CWM. Something to do with the way it handles the compression.

Theres a portable version 7zip on portableapps .com which is great to use if you use Winrar as your primary archive manager :)
[Desire HD Android Development] slickrick54:
Thank You So Much Dude360

Dude360 thank you so much for making it so simple for me to understand. You are the best. I thanked you earlier and will be using all of them on you as well. I just have to find some more posts with your name on it. The way you answered my question was way beyond what i thought would have been done. Thank you so much once again and keep up the good work.
[Desire HD Android Development] CpN82:
Thanks to Patrics83 for this great script and for making my flashing allot easier.

And huge thanks to Dude360 for all his explaining and work in general!
[Desire HD Android Development] slickrick54:
Dude360

Quick question for you if you dont mind? I have an EVO 4G and i noticed that a lot of the apk's on this script are not even in my ROM to begin with. Now will it be ok for me to just leave them as is or should i delete the one's that i know aren't a part of my ROM. Also you said that you add your own apk's and mods. I was wondering how i would go by doing that? Thanks for all your help buddy.
[Desire HD Android Development] Patrics83:
You don't need to do anything to the script. If the apk is in your device it will be deleted. If it's not well the script will just ignore it. ;)

So, sorry for the bad support from my side, I'm on holiday and the reception here is very very bad here.

But I see Dude360 is doing a great work here so please use the thanks button! :D

When I get home me and Dude360 will discuss what changes that needs to be done to give you the most ultimate solution.

Regards Patric
[Desire HD Android Development] CpN82:
"System/Framework = Modds (APM, CRT etc.) Dont add framework-res.apk here. It will cause issues when flashing it before first boot."

Patrics83: You state this in your guide. But i'm always installing the %stockhybrid addon before first boot. Isn't it the same to place framework-res.apk in the Framework dir in your script and to install the %stockhybrid addon before first boot?
[Desire HD Android Development] remu:
Hey, great script, just have a question, I'm getting "Set current time" come up a lot on my notifications, any idea how to fix this? Only happens after applying this script.
[Desire HD Android Development] Patrics83:
Do as you want. But its a known issue.

In most cases it will give you bootloops.
[Desire HD Android Development] Patrics83:
No idea, never heard of it before.

Did you delete any of apk that might cause sync issues?

I'm talking about apk's in the script how is marked with "might cause sync issues for some users". Also friendstream is a know app that can cause issues like that.
[Desire HD Android Development] CpN82:
Wasn't implying that you did anything wrong, just asking if the two options had the same outcome. But I guess I have been lucky that there hasn't been any bootloops :)

Thank you for the reply and thanks for a superb script. Especially the 1.2v.
[Desire HD Android Development] Patrics83:
Ofc not, just saying. And everything in first post is there for a reason ;)

Your welcome mate! :D
[Desire HD Android Development] slickrick54:
Thanks for replying and that's good to know that i could just leave it as is. So what about installing some on there. I would like to know how to do that as well. Thanks again.
[Desire HD Android Development] Dude360:
Hey, apologies for not getting back to you sooner.

Majorly AFK today, had a lot to do all at once and just trying to get back on track.

Ill be with you shortly :)
[Desire HD Android Development] CpN82:
Yeah I know that now ;)

Later I will try your script again with my personal touch :D
[Desire HD Android Development] Patrics83:
Good idea :D It's all about personal touch ;)
[Desire HD Android Development] Patrics83:
Thanks mate! I just found some reception and also a "small bag of time" ;)

I guess you noticed how excellent my reception was last night at irc :p
[Desire HD Android Development] slickrick54:
Help Please

Hey guy's wonderful script. I love how easy it is to understand now that it has been explained to me. Thanks Dude360 on that one as well. Ran it for the first time today and it worked very well. Now that i got everything the way i like i would love to figure out how to install apk's with it as well. So if someone could explain it to me it would be greatly appreciated. Thanks in advance for any help.
[Desire HD Android Development] CpN82:
Like Patric says in the first post:

Data/app = Add non system apps.

Just place your apk's(found in the data/app folder on your phone) in the data/app folder in the script. The apk's will then be added to your phone when you run the script.

Hope that's good enough explanation :)
[Desire HD Android Development] slickrick54:
Thank you CpN82 that definitely explains it enough to me. I must of over looked the OP sorry. Im still trying to learn this so thanks for explaining it to me. I will thank you in a little while when im able to again. Thanks again man i really appreciate it.
[Desire HD Android Development] Patrics83:
Damn :D this guy really knows how to max my script to its fully potential!!! :O

And I always loved your post's, so informative and clear.
[Desire HD Android Development] slickrick54:
Dude360

Once again Dude360 thank you very much for your detailed explanation it was perfectly written again. I will thank you again once i get them back. I already used all of them on you earlier. So once again thanks for the awesome script and great advise you guy's rock. This is like a life savior i am so surprised that this thread did not blow up like i really thought it would. Is there anyway you guys can repost this in the Dev section of the EVO forums. Im pretty sure if you post this there you will get plenty of attention. Im sure that alot of people probably missed this in the portal. Thanks again guy's for everything.
[Desire HD Android Development] Dude360:
Its never a problem, your script dude saved me a TON of time from when I used to have to manually edit the rom zips!

I hope I can save others the time as well.

Less time cleaning = more time playing with rom :D

Just a dded a few more bits to it as well to try and 'show' what I have and can get done with the cleaner and framework zips :)
[Desire HD Android Development] slickrick54:
Dude360 if i only copy the apk's to the script then they wont show up in the market right. Now i see that you said that you can use TB to back up the data from these apk's so that I can restore the data and make it possible for them to be shown in the market and updateable. Now i was just wondering if that was safe because i have heard that a lot of people had problems when restoring data with TB. Now i am not sure if that was only pertaining to system data. Please let me know because i have never known the truth about this and was really wanting to know the truth because i just hate it when i add apk's to my ROM and they never are shown in the market. So basically they will never be updated. Thanks again for all your help and advice.
[Desire HD Android Development] CpN82:
No problem :)

Must say, that my explanation comes a little short in comparison to Dude360's! ;)

But hey, I just found this script yesterday :D
[Desire HD Android Development] Dude360:
With the market situation, I dont have google backup my apps or rom data, only my contacts and gmail etc.

I absolutely despise them for it tbh and have gone out of my way to stop them interfering with it as best I can -> http://tinyurl.com/3roeepq

However, Im to believe that any apps you download through the market, paid or free, will stay under your 'My Apps' list for quite a while.

It takes a little time for the servers to sync your Market data to your account, possibly 24hrs+, but once it has the apps list will been seen by the market until you say/do otherwise.

Now, if you are adding apks to the zip that you have downloaded through the market AND the servers have had enough time to sync then the market links should still be intact when you reflash them using the script

What I notice, someone who doesnt let the market sync and installs all my apks through the zip, is that over time the markets 'My Apps' will slowly repopulate with the apps that I have flashed manually.

As I flash several times a day if Im doing modding or playing then it takes several days for the My Apps list to populate.

The longest Ive ran a rom for without flashing is probably 7/8 days straight and within that time the majority of my apps were in the lst.

I think also how often you run the apps determines how fast they appear in the list and also if the developer 'pushes' out an update.

From my experience I have yet to 'miss' an update for a app through the market although it might take me slightly longer to get notified about it.

Note, paid apps will always show in your list no matter what :)

Titanium is a slightly different matter. Its mainly restoring system data that can cause problems. If the backuped data is corrupt or a problem lies within it then it will get restored onto the new rom and cause the same or even more problems.

I believe it has a function called 'Market Doctor' to restore links but I think its only for apks backed up with TB itself.

I thinks its more personal preference as to which you prefer to use. I havnt had any problems with the market running the way I do.

I hope that help shed some light, Im by far an expert on googles procedures but after using the cleaner for a fair while now I can only share my experiences :)
[Desire HD Android Development] lukogriffioen:
I always do this:

Restore apps -> launch market -> add google account. Results in an empty app list in market.

Then i clear market data, launch market again and there you have your filled app list again. Every single app will be listed again.
[Desire HD Android Development] slickrick54:
So how do i clear market data?
[Desire HD Android Development] lukogriffioen:
Go to settings -> applications -> manage applications -> market -> clear data.
[Desire HD Android Development] remu:
I flashed the script without editing it, I'll try edit it so it doesn't delete friendstream to see if that helps, but I'm not having any other sync issues, mail and weather syncs without any problems.