BlackBerry Forums Support Community
              

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

Please Login to Remove!

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 03:16 PM.. Reason: update
Offline  
Old 07-06-2007, 02:02 AM   #2
Cory Scheuer
No longer Registered.
 
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
Default

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!!!
Offline  
Old 07-06-2007, 02:53 AM   #3
anfrey
New Member
 
anfrey's Avatar
 
Join Date: May 2007
Model: pearl
Carrier: t-mobile
Posts: 4
Default

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

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, 266 views)

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

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 07:53 AM..
Offline  
Old 07-06-2007, 08:08 AM   #6
Spectral
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
Default

Thanks!

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

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?
Offline  
Old 07-07-2007, 09:35 PM   #8
Spectral
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
Default

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 09:39 PM.. Reason: typo
Offline  
Old 07-07-2007, 09:58 PM   #9
Cory Scheuer
No longer Registered.
 
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
Default

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?
Offline  
Old 07-07-2007, 10:02 PM   #10
Spectral
Talking BlackBerry Encyclopedia
 
Spectral's Avatar
 
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
Default

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 10:05 PM..
Offline  
Old 07-07-2007, 10:07 PM   #11
Cory Scheuer
No longer Registered.
 
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
Default

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
Offline  
Old 07-07-2007, 10:33 PM   #12
Cory Scheuer
No longer Registered.
 
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
Default

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

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
__________________

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

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

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

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.
Offline  
Old 07-15-2007, 09:52 AM   #17
Spamdumpster
CrackBerry Addict
 
Spamdumpster's Avatar
 
Join Date: Jun 2006
Location: Boston, Mass.
Model: 8820
Carrier: at&t
Posts: 598
Default

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.
Offline  
Old 07-15-2007, 11:21 AM   #18
linuxpro
Thumbs Must Hurt
 
linuxpro's Avatar
 
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Posts: 164
Default

Thanks Spectral for adding the uk for me

Appreciated it
__________________

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

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.
Offline  
Old 07-18-2007, 12:46 PM   #20
ma077146
Talking BlackBerry Encyclopedia
 
ma077146's Avatar
 
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Posts: 230
Default

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 12:48 PM.. Reason: Forgot details.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


10 AWG Gauge PV Wire 1000/2000 Volt Pre-Cut 15-500 Ft Solar Installation BLACK picture

10 AWG Gauge PV Wire 1000/2000 Volt Pre-Cut 15-500 Ft Solar Installation BLACK

$37.00



50FT 18/2 Gauge Red Black Cable Hookup Electrical Wire, 18AWG 2 Conductor 2 Colo picture

50FT 18/2 Gauge Red Black Cable Hookup Electrical Wire, 18AWG 2 Conductor 2 Colo

$16.88



WindyNation 6/3 SOOW SO 6 Gauge 3 Conductor Portable Power Cord 600V Cable Wire picture

WindyNation 6/3 SOOW SO 6 Gauge 3 Conductor Portable Power Cord 600V Cable Wire

$34.40



2-DAY SHIP 8/4 SOOW SO Cable 8 Gauge 4 Conductor 600V Portable Power Cable Wire picture

2-DAY SHIP 8/4 SOOW SO Cable 8 Gauge 4 Conductor 600V Portable Power Cable Wire

$32.52



16AWG 12 CONDUCTOR FESTOON 600OI OUTDOOR CABLE 120 FEET  picture

16AWG 12 CONDUCTOR FESTOON 600OI OUTDOOR CABLE 120 FEET

$679.39



16AWG 12 CONDUCTOR FESTOON 600V OIUTDOOR CABLE [1] 120 FOOT ROLL NEW  picture

16AWG 12 CONDUCTOR FESTOON 600V OIUTDOOR CABLE [1] 120 FOOT ROLL NEW

$629.39







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.