|
|
|
07-06-2007, 01:14 AM
|
#1
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
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
|
|
07-06-2007, 02:02 AM
|
#2
|
No longer Registered.
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
|
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
|
|
07-06-2007, 02:53 AM
|
#3
|
New Member
Join Date: May 2007
Model: pearl
Carrier: t-mobile
Posts: 4
|
aye this would be very convenient
|
Offline
|
|
07-06-2007, 02:54 AM
|
#4
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
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)
Last edited by JSanders; 05-02-2008 at 09:18 AM..
|
Offline
|
|
07-06-2007, 03:22 AM
|
#5
|
CrackBerry Addict
Join Date: Jun 2006
Location: Boston, Mass.
Model: 8820
Carrier: at&t
Posts: 598
|
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
|
|
07-06-2007, 08:08 AM
|
#6
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
Thanks!
If anyone has suggestions for what else to add, that would be great.
|
Offline
|
|
07-07-2007, 09:07 PM
|
#7
|
No longer Registered.
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
|
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
|
|
07-07-2007, 09:35 PM
|
#8
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
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
|
|
07-07-2007, 09:58 PM
|
#9
|
No longer Registered.
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
|
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
|
|
07-07-2007, 10:02 PM
|
#10
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
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
|
|
07-07-2007, 10:07 PM
|
#11
|
No longer Registered.
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
|
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
|
|
07-07-2007, 10:33 PM
|
#12
|
No longer Registered.
Join Date: Jan 2007
Model: 8900
OS: 4.6.1.199
Carrier: None
Posts: 2,622
|
neer mind it all work! thanks alot!!!
|
Offline
|
|
07-08-2007, 11:13 AM
|
#13
|
Thumbs Must Hurt
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Posts: 164
|
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
|
|
07-08-2007, 06:46 PM
|
#14
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
No problem. I added a modified file above.
|
Offline
|
|
07-14-2007, 03:32 PM
|
#15
|
Talking BlackBerry Encyclopedia
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Posts: 230
|
Spectral, would it be possible to modify this to use with the 8800 series?
|
Offline
|
|
07-15-2007, 08:35 AM
|
#16
|
Talking BlackBerry Encyclopedia
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Posts: 230
|
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
|
|
07-15-2007, 09:52 AM
|
#17
|
CrackBerry Addict
Join Date: Jun 2006
Location: Boston, Mass.
Model: 8820
Carrier: at&t
Posts: 598
|
Quote:
Originally Posted by ma077146
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
|
|
07-15-2007, 11:21 AM
|
#18
|
Thumbs Must Hurt
Join Date: Apr 2005
Location: UK & Middle-East
Model: 8100
Carrier: Vodafone UK
Posts: 164
|
Thanks Spectral for adding the uk for me
Appreciated it
__________________
|
Offline
|
|
07-18-2007, 08:23 AM
|
#19
|
Talking BlackBerry Encyclopedia
Join Date: May 2007
Location: Houston, TX
Model: 8100
PIN: 23FA9743
Carrier: T-Mobile
Posts: 337
|
Quote:
Originally Posted by ma077146
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
|
|
07-18-2007, 12:46 PM
|
#20
|
Talking BlackBerry Encyclopedia
Join Date: Feb 2007
Location: Lexington, SC
Model: 8830
PIN: 3019F3E6
Carrier: Sprint
Posts: 230
|
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
|
|
|
|