BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default New OS - Deleting Useless Files - 07-06-2007, 02:14 AM

Whenever a new OS comes out, I prefer to clean it up by deleting all the languages I don't use, the sample video/images, PTT, MyFavs, that ugly Rogers theme, etc before loading the OS. This makes the process a bit faster and it's also cleaner because if you delete the preloaded images after installing the OS, you still have the filenames showing with the red X icons where the images used to be.

Anyway, I got tired of doing it manually and wrote a batch script to automate this for me. Basically, all it does is locate the OS installation directory and clean all the "crap".

I was wondering if anyone was interested in a copy, and if so, I could customize the script to add prompts so you can pick what you want to delete.

Update: New version coming soon once I get back to my desktop PC. Original version still posted below.

Last edited by Spectral : 07-23-2007 at 04:16 PM. Reason: update
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Cory Scheuer Offline
No longer Registered.
 
Posts: 2,622
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Default 07-06-2007, 03:02 AM

i am... if you need to know if about what i dont want PIN me and we can talk about it or just PM me

thanks!!!
   
  (#3 (permalink)) Old
anfrey Offline
New Member
 
anfrey's Avatar
 
Posts: 4
Join Date: May 2007
Model: pearl
Carrier: t-mobile
Default 07-06-2007, 03:53 AM

aye this would be very convenient
   
  (#4 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-06-2007, 03:54 AM

Here you go. It's been tested on WinXP, however there is no reason why it shouldn't work on Win2000 or Vista. The worst that can happen is it simply won't work. If you like, you can open it in notepad and customize it to your needs. Any feedback is welcome.

Update:
Added osclean_gb which will not delete English (GB)
Attached Files
File Type: zip osclean.zip (1.6 KB, 105 views)

Last edited by JSanders : 05-02-2008 at 10:18 AM.
   
  (#5 (permalink)) Old
Spamdumpster Offline
CrackBerry Addict
 
Spamdumpster's Avatar
 
Posts: 598
Join Date: Jun 2006
Location: Boston, Mass.
Model: 8820
Carrier: at&t
Default 07-06-2007, 04:22 AM

It's funny -- as I was cleaning up the new 4.2.1.101 yesterday I was wondering if someone could automate the process.

I modded the script to delete all of the vendor themes and also to delete brickbreaker.

Fantastic work. This thread should be a sticky.

Last edited by Spamdumpster : 07-06-2007 at 08:53 AM.
   
  (#6 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-06-2007, 09:08 AM

Thanks!

If anyone has suggestions for what else to add, that would be great.
   
  (#7 (permalink)) Old
Cory Scheuer Offline
No longer Registered.
 
Posts: 2,622
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Default 07-07-2007, 10:07 PM

i have a question....

i want to delete all the useless themes i'm not using. now the ones i am using and only plan on using are the t-mobile zen, and BB dimension zen themes... now how would i go about to delete the rest of the 8 on my BB?
   
  (#8 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-07-2007, 10:35 PM

Start, Run, type in this:
%CommonProgramFiles%\Research In Motion\Shared\Loader Files

Double click your OS directory (mine is 8100-v4.2.1.101_P2.3.0.80)
Double click Java

Keep these:
net_rim_theme_100_240x260_b.cod
net_rim_theme_bbdimension_zen_240x260_b.cod

Delete these:
net_rim_theme_102a_icon_240x260_b.cod
net_rim_theme_107_zen_240x260_b.cod
net_rim_theme_114_240x260_b.cod
net_rim_theme_115_240x260_b.cod
net_rim_theme_119_icon_240x260_b.cod
net_rim_theme_120_green_240x260_b.cod
net_rim_theme_120_today_240x260_b.cod
net_rim_theme_125_today_240x260_b.cod
net_rim_theme_125_zen_240x260_b.cod
net_rim_theme_bbdimension_icon_240x260_b.cod
net_rim_theme_bbdimension_today_240x260_b.cod

If you connect your Pearl and run desktop manager, then App Loader, and just click next, it'll delete the "unrecognized modules".

I'm going to update my script so it lets you delete themes per-carrier, but for now, the above should be easy enough.

Last edited by Spectral : 07-07-2007 at 10:39 PM. Reason: typo
   
  (#9 (permalink)) Old
Cory Scheuer Offline
No longer Registered.
 
Posts: 2,622
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Default 07-07-2007, 10:58 PM

ok now this is what happens


i ran your program there, and said yes to everything, then i went into the java place you told me to and deleted all the themes i didnt want, but now when i run add loader it still wants to delete the themes i want to keep?

whats happening?
   
  (#10 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-07-2007, 11:02 PM

Are you sure both the theme files you want to keep are still in the Java directory? Also, can you show a screenshot of where it wants to delete the themes you want to keep? Oh, and make sure your BlackBerry.alx file does not have Vendor IDs in it. Since the latest OS release is from Vodafone and you want to use a T-Mobile theme, you need to either remove the IDs or download the BlackBerry.alx file that was included in the new OS thread.

Last edited by Spectral : 07-07-2007 at 11:05 PM.
   
  (#11 (permalink)) Old
Cory Scheuer Offline
No longer Registered.
 
Posts: 2,622
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Default 07-07-2007, 11:07 PM

yea i am using the new blackberry.alx file that was in the thread above... ok so i reloaded the app loader and they didnt up being there, now how long does it take to remove the modules? cuz right now i'm doing it and its not going very fast, if at all.... ok i take that back, its moved since is started typing, just kinda paranoid lol
   
  (#12 (permalink)) Old
Cory Scheuer Offline
No longer Registered.
 
Posts: 2,622
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Default 07-07-2007, 11:33 PM

neer mind it all work! thanks alot!!!
   
  (#13 (permalink)) Old
linuxpro Offline
Thumbs Must Hurt
 
linuxpro's Avatar
 
Posts: 165
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Default 07-08-2007, 12:13 PM

is it possable to change the first question on the program from delete all non-english<us> to english<uk> ? just a thought as i live in the UK

Thanks



   
  (#14 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-08-2007, 07:46 PM

No problem. I added a modified file above.
   
  (#15 (permalink)) Old
ma077146 Offline
Talking BlackBerry Encyclopedia
 
ma077146's Avatar
 
Posts: 230
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Default 07-14-2007, 04:32 PM

Spectral, would it be possible to modify this to use with the 8800 series?
   
  (#16 (permalink)) Old
ma077146 Offline
Talking BlackBerry Encyclopedia
 
ma077146's Avatar
 
Posts: 230
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Default 07-15-2007, 09:35 AM

I figured it out. I temporarily renamed my 8830 folder to 8100 (copy the original name if it has the version number, etc, or zip up a copy of it). When I ran the tool Spectral made, I answered all of the prompts, and then let it clean out the folder. It took it down from about 350 files to about 260. Some of the files couldn't be found.

After running the script, I renamed my original folder it's name, and ran the Desk to Manager. It cleaned out a few files.
   
  (#17 (permalink)) Old
Spamdumpster Offline
CrackBerry Addict
 
Spamdumpster's Avatar
 
Posts: 598
Join Date: Jun 2006
Location: Boston, Mass.
Model: 8820
Carrier: at&t
Default 07-15-2007, 10:52 AM

Quote:
Originally Posted by ma077146 View Post
I figured it out. I temporarily renamed my 8830 folder to 8100 (copy the original name if it has the version number, etc, or zip up a copy of it). When I ran the tool Spectral made, I answered all of the prompts, and then let it clean out the folder. It took it down from about 350 files to about 260. Some of the files couldn't be found.

After running the script, I renamed my original folder it's name, and ran the Desk to Manager. It cleaned out a few files.
You could also open up the osclean script in notepad or wordpad and edit where it looks for 8100 files to look for 8800 files or 8830 files. I did this for my curve and it worked fine.

Then I returned the Curve because I like the Pearl much better, but that's another story.
   
  (#18 (permalink)) Old
linuxpro Offline
Thumbs Must Hurt
 
linuxpro's Avatar
 
Posts: 165
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Default 07-15-2007, 12:21 PM

Thanks Spectral for adding the uk for me

Appreciated it



   
  (#19 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-18-2007, 09:23 AM

Quote:
Originally Posted by ma077146 View Post
Spectral, would it be possible to modify this to use with the 8800 series?
I wasn't sure if the OS files had similar layouts. I guess since they are similar, it should work for all 3. In the meantime it's pretty easy to just modify the script and replace "8100" with "8300" or "8800".

I'll make the changes in the next version and include the ability to delete individual themes and other modules that weren't included in the first version.
   
  (#20 (permalink)) Old
ma077146 Offline
Talking BlackBerry Encyclopedia
 
ma077146's Avatar
 
Posts: 230
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Default 07-18-2007, 01:46 PM

Your suggestion worked well. I changed the 8100 to 8830 and the script found the folder and removed the offending .cod files without any problems. Thanks for sharing with the rest of us.

I also deleted the names of the .cod files for the two Sprint Themes I don't use from the BlackBerry.alx file, and after running the Desktop Manager again, they were deleted from the device.

Last edited by ma077146 : 07-18-2007 at 01:48 PM. Reason: Forgot details.
   
  (#21 (permalink)) Old
buggle_96 Offline
Thumbs Must Hurt
 
buggle_96's Avatar
 
Posts: 156
Join Date: Feb 2006
Location: Paola, KS
Model: 8705g
Carrier: T-mobile
Default 07-18-2007, 01:48 PM

Whats the difference between manually deleting the language files and just simply not checking them when you run application loader?
   
  (#22 (permalink)) Old
TheBigNewt Offline
BlackBerry Extraordinaire
 
TheBigNewt's Avatar
 
Posts: 1,600
Join Date: Oct 2006
Location: Prescott, AZ
Model: 8900
Carrier: Tmobile
Default 07-18-2007, 02:20 PM

Quote:
Originally Posted by buggle_96 View Post
Whats the difference between manually deleting the language files and just simply not checking them when you run application loader?
No difference really, just different ways of doing it. When you change OS you have to do it all over again, so his plugin just does it for you is all.


BB 8900 Tmobile OS version 4.6.1.231 BIS
   
  (#23 (permalink)) Old
lroman55 Offline
New Member
 
Posts: 2
Join Date: Dec 2006
Model: 8100
Carrier: T Mobile
Default 07-22-2007, 05:43 PM

Hello all,

How can I check to see how much memory I have recovered...
   
  (#24 (permalink)) Old
penk Offline
Talking BlackBerry Encyclopedia
 
Posts: 346
Join Date: Feb 2005
Location: Texas, USA
Model: 8900p
PIN: BOSCO
Carrier: 5.0.0.100 on Pink
Default 07-22-2007, 06:22 PM

Quote:
Originally Posted by lroman55 View Post
Hello all,

How can I check to see how much memory I have recovered...
Options > Status - see "File Free", "File Total"
   
  (#25 (permalink)) Old
JSanders Offline
BBF Moderator
 
JSanders's Avatar
 
Posts: 37,535
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 4.7sumtin
PIN: t low
Carrier: Cingular/AT&T
Default 07-22-2007, 06:22 PM

Options > Status.

You might want to spend sometime reading the FAQs, as well.

Last edited by JSanders : 07-23-2007 at 12:54 AM.
   
  (#26 (permalink)) Old
laurentio Offline
Talking BlackBerry Encyclopedia
 
laurentio's Avatar
 
Posts: 389
Join Date: Mar 2007
Location: Oxford, UK
Model: 8900
OS: Linux ;)
PIN: Options>Status
Carrier: O2-UK
Default 07-22-2007, 08:30 PM

"unable to locate RIM directory" which actually is there. any idea?


bicestercomputers.co.uk
bicestertown.co.uk
twitter.com/laurentio
linkedin.com/in/laurentio
   
  (#27 (permalink)) Old
lroman55 Offline
New Member
 
Posts: 2
Join Date: Dec 2006
Model: 8100
Carrier: T Mobile
Default 07-22-2007, 11:34 PM

Thanks Penk
   
  (#28 (permalink)) Old
digband Offline
New Member
 
Posts: 2
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Default 07-23-2007, 03:14 PM

What does

"Warning: BlackBerry.alx contains vendor IDs!
Warning: LBS.alx contains vendor IDs!
Warning: Platform.alx contains vendor IDs!"

signify and do i need to take precautions because of this?
   
  (#29 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-23-2007, 04:11 PM

Quote:
Originally Posted by laurentio View Post
"unable to locate RIM directory" which actually is there. any idea?
The script looks for the OS install directory %CommonProgramFiles%\Research In Motion\Shared\Loader Files which expands to C:\Program Files\Common Files\Research In Motion\Shared\Loader Files on most systems. Do you have such a directory?

Quote:
Originally Posted by digband View Post
What does

"Warning: BlackBerry.alx contains vendor IDs!
Warning: LBS.alx contains vendor IDs!
Warning: Platform.alx contains vendor IDs!"

signify and do i need to take precautions because of this?
Actually it's more of a notice than a warning. All it means, is that you won't be able to load all themes, but only the themes your carrier intended for you to have. For some carriers, this prevents you from using the BB Maps application as well.

You should see this thread for a list of modified .alx files for your specific OS. Be sure to match both the phone model and OS version.

Also, Platform.alx should not even have been on that list since it just controls PTT for AT&T customers and wouldn't work anyway if you're not with AT&T, so ignore any references to Platform.alx from my script after you apply the modified files in the thread I mentioned.
   
  (#30 (permalink)) Old
digband Offline
New Member
 
Posts: 2
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Default 07-23-2007, 05:39 PM

Quote:
Originally Posted by Spectral View Post
The script looks for the OS install directory %CommonProgramFiles%\Research In Motion\Shared\Loader Files which expands to C:\Program Files\Common Files\Research In Motion\Shared\Loader Files on most systems. Do you have such a directory?


Actually it's more of a notice than a warning. All it means, is that you won't be able to load all themes, but only the themes your carrier intended for you to have. For some carriers, this prevents you from using the BB Maps application as well.

You should see this thread for a list of modified .alx files for your specific OS. Be sure to match both the phone model and OS version.

Also, Platform.alx should not even have been on that list since it just controls PTT for AT&T customers and wouldn't work anyway if you're not with AT&T, so ignore any references to Platform.alx from my script after you apply the modified files in the thread I mentioned.
thx! script worked great - like yer avatar
   
  (#31 (permalink)) Old
laurentio Offline
Talking BlackBerry Encyclopedia
 
laurentio's Avatar
 
Posts: 389
Join Date: Mar 2007
Location: Oxford, UK
Model: 8900
OS: Linux ;)
PIN: Options>Status
Carrier: O2-UK
Default 07-26-2007, 09:31 PM

it would be great having a tool to let you graphically see what you've got and what you can remove.
any idea?


bicestercomputers.co.uk
bicestertown.co.uk
twitter.com/laurentio
linkedin.com/in/laurentio
   
  (#32 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 07-26-2007, 09:47 PM

I guess it's possible. I'll see what I can do.
   
  (#33 (permalink)) Old
pyxxee Offline
New Member
 
Posts: 11
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: AT&T
Default 07-29-2007, 09:40 AM

I think someone else mentioned this in a thread I've read, but I ran the script and manually deleted some themes. Then, after my blackberry reloaded, all of the preloaded pictures appeared to be there, but when I go to look at them, they show me a red X. Any ideas how to fix this? Or at least get them to not seem like they are on my blackberry. Thank for any help.


Cheers,

Athena
   
  (#34 (permalink)) Old
stansoltz Offline
New Member
 
Posts: 2
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: Bell Mobility
Default 08-01-2007, 05:10 PM

i have an 8830, and edited the .cmd file with notepad, but when i went to run it, it said that it could not find the RIM directory... could this be because I dont have admin rights on my pc?
   
  (#35 (permalink)) Old
Nextel User Offline
BlackBerry Extraordinaire
 
Nextel User's Avatar
 
Posts: 1,118
Join Date: May 2005
Model: 8220
Carrier: AT&T
Default 08-01-2007, 06:21 PM

Beautiful....edited the file for my 8300. kept my hebrew and changed the media sizes. worked perfectly


Get Hebrew For Your Blackberry
http://cheservices.com/blackberry/
   
  (#36 (permalink)) Old
Spectral Offline
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Posts: 337
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Default 08-01-2007, 09:34 PM

I gave up on the new version of the script in favor of a GUI, which so far looks like this:

If anyone has ideas about what else to add, let me know.

Does anyone know if the .cod filenames for themes and other modules are the same for the 8300/8800? For example, the sample pictures on the Pearl are net_rim_bb_media_240x260_b.cod, but I suspect it's different because of the larger screen size.
   
  (#37 (permalink)) Old
buggle_96 Offline
Thumbs Must Hurt
 
buggle_96's Avatar
 
Posts: 156
Join Date: Feb 2006
Location: Paola, KS
Model: 8705g
Carrier: T-mobile
Default 08-02-2007, 08:58 AM

Thats awesome. Only thing I see from the pic is maybe knowing what the check marks mean...when you check it are you keeping it or getting rid of it?
   
  (#38 (permalink)) Old
xmulder Offline
Knows Where the Search Button Is
 
Posts: 16
Join Date: Jul 2007
Model: 8100c
PIN: N/A
Carrier: at&t
Default 08-02-2007, 12:58 PM

Does/can the script be used to remove the sample music file (MusicDemo.m4a) that came with the OS?
   
  (#39 (permalink)) Old
jrompf Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: May 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Smile languages support - 08-06-2007, 06:15 AM

Is possible to activate languages as Czech, Hungarian, Poland etc for BlackBerry OS?
I can see more languages in modues:
net_rim_bb_addressbook_simapp.cod
net_rim_bb_setupwizard.cod
net_rim_bb_camera.cod (please remove CameraShutter.mid)
net_rim_device_apps_games_brickbreaker.cod
Can I modify blackberry.alx to allow another language to use?:

<fileset Camera="True" langid="0x00xx"> ?

Last edited by jrompf : 08-07-2007 at 05:06 AM.
   
  (#40 (permalink)) Old
laurentio Offline
Talking BlackBerry Encyclopedia
 
laurentio's Avatar
 
Posts: 389
Join Date: Mar 2007
Location: Oxford, UK
Model: 8900
OS: Linux ;)
PIN: Options>Status
Carrier: O2-UK
Default 08-06-2007, 05:29 PM

not bad at all.
so when is this new one going to be launched?


bicestercomputers.co.uk
bicestertown.co.uk
twitter.com/laurentio
linkedin.com/in/laurentio
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.