PDA

View Full Version : Extended ROM, Main ROM, program memory -- what?


dwallersv
11th December 2007, 01:43 AM
Hi all... please forgive my noob question. I'm trying to determine my next move on the WM6 upgrade saga.

Short story: CNG750v1.13 -> ROWv2.23 (WM6) a while back.

Did this because I don't want the ATT apps they want me to have, and are totally useless. I want the space back.

Now, considering upping again to the official ATT ROM. Still don't want the extra junk. I've read through and understand the threads/posts talking about the extended ROM, the cappackage.pxp file, etc. So I've got what I need to do this. That's not the question :)

I don't understand the memory architecture, and how this saves me space if I delete or modify what cappackage.pxp is in the extended rom after the upgrade to the ATT v2.25 rom. All the ATT junk will be there wasting space in my Program Memory, right? Or does the phone manage both the main "user" flash, and the extended rom flash, as a single logical volume? And extract from cappackage.pxp on the fly to run apps?

Or is that package extracted in full and the apps copied into the "user" flash (thereby taking the space)? If so, then how does nuking anything off the extended rom gain storage space (other than the fact that after hacking the registry, I can see it now with File Manager, and can read/write from it)?

I'm confused.

tmknight
11th December 2007, 07:57 PM
If I follow your question, then the space is gained after a hard reset. When you've cleaned the ExtROM as desired, then that "crap" no longer exists to be installed therefore you gain space in both the ExtROM (no longer "stored there for installation) and "Main" (not extracted and installed). Program memory remains unaffected (other than the gain from NOT having those programs running).

dwallersv
11th December 2007, 10:53 PM
If I follow your question, then the space is gained after a hard reset. When you've cleaned the ExtROM as desired, then that "crap" no longer exists to be installed therefore you gain space in both the ExtROM (no longer "stored there for installation) and "Main" (not extracted and installed). Program memory remains unaffected (other than the gain from NOT having those programs running).Thanks!

I think part of my misunderstanding is in when these apps get installed. Are they only installed on-demand? I.e. there's a link in main storage memory, and when you click it, the actual app (and any extra files needed) are extracted from the cappackage.pxp archive in extened rom?

If so, then am I right that I really don't have any space to recover from storage memory if I don't try to run those applications, right?

Otherwise, I don't get how the space in Storage Memory is recovered, unless the installed apps are somehow marked and managed in a special way by the OS to delete them if the cappackage is nuked.

Also, I'm guessing that once unlocked, it's okay to use the extended ROM for my own storage purposes?

Phil750
12th December 2007, 05:21 AM
Close. They're installed on any initial boot after a hard reset.

Repeat: If it's in the ExtRom, it's loaded on hard reset and taking up space, whether or not you actually use it.


Here's a link (http://forum.xda-developers.com/showpost.php?p=1714069&postcount=22) to an edited CapPackage (Thanks again, Nableezy), that's taken out most of the bloatware. If you're unsure of how to use it, search the forums, or PM me.
Thanks!

I think part of my misunderstanding is in when these apps get installed. Are they only installed on-demand? I.e. there's a link in main storage memory, and when you click it, the actual app (and any extra files needed) are extracted from the cappackage.pxp archive in extened rom?

If so, then am I right that I really don't have any space to recover from storage memory if I don't try to run those applications, right?

Otherwise, I don't get how the space in Storage Memory is recovered, unless the installed apps are somehow marked and managed in a special way by the OS to delete them if the cappackage is nuked.

Also, I'm guessing that once unlocked, it's okay to use the extended ROM for my own storage purposes?

tmknight
12th December 2007, 02:57 PM
Also, if you're interested in exploring/modifiying your own CapPackage, see HERE (http://forum.xda-developers.com/showthread.php?t=343713)

Cheers

dwallersv
12th December 2007, 04:23 PM
Close. They're installed on any initial boot after a hard reset.

Repeat: If it's in the ExtRom, it's loaded on hard reset and taking up space, whether or not you actually use it.Okay, so I'm back to square one with my confusion... After doing a upgrade with the official ROM release, this stuff is expanded and installed in Storage Memory, so no space gets saved if cappackage.pxp is deleted from the extended rom after successfully completing the upgrade, it seems to me, if I'm understanding this.

I read the threads on unlocking the rom and deleting the cappackage.pxp file. This seems to me to be "too late". Sorry to be so thick-headed, but I'm missing something critical here.

Phil750
12th December 2007, 04:59 PM
If the CapPackage is deleted before a hard reset, it cannot be installed into your storage memory, and therefore cannot take up space.

Remember: You must do a hard reset after deleting the CapPackage, otherwise, no space will be saved.

Okay, so I'm back to square one with my confusion... After doing a upgrade with the official ROM release, this stuff is expanded and installed in Storage Memory, so no space gets saved if cappackage.pxp is deleted from the extended rom after successfully completing the upgrade, it seems to me, if I'm understanding this.

I read the threads on unlocking the rom and deleting the cappackage.pxp file. This seems to me to be "too late". Sorry to be so thick-headed, but I'm missing something critical here.

dwallersv
12th December 2007, 05:31 PM
If the CapPackage is deleted before a hard reset, it cannot be installed into your storage memory, and therefore cannot take up space.

Remember: You must do a hard reset after deleting the CapPackage, otherwise, no space will be saved.DOH! Smack head! Trust me, gang, I really do have an IQ greater than 100 :)

I was just looking over Tim's post with the instructions in his thread and actually paid attention to step 8, and it all fell in to place.

Got it now.

I'm off to bump up to the official 2.25 rom, mount and unlock the extended rom, put Tim's package in there (it's just about exactly what I want), and hard reset.

Thanks everyone for clearing the fog from my head on this.

Phil750
12th December 2007, 05:58 PM
Bingo. Happy reloading.