Free up storage:
-why
-how (simple)
-how (using utilities)
-how (advanced)
WHY
-The less files in storage, the faster your device
-Your storage is almost full and you want to install more
-summed up: your XDA is a mess and needs a good cleaning
-I believe the RAMdisk is faster than NAND ROM where storage is located
-Even the slowest SD card hardly shows any slowdown on most program starts
HOW simple
-Go to ActiveSync on your desktop PC
-Go to Tools>Add/remove software
-In Add/Remove Software uncheck "Install program into default installation folder"
-In the installed programs list uncheck a program
-Take a (mental) note of "Space available on device"
-Click OK
-Ask yourself if you really need it
-If so, check that program again
-Click OK
-Follow instructions on XDA, select \RAMdisk or \Storage Card as install path
-Check "Space available on device"
-Be happy
-Continue with the rest of the installed software in the same way
-Some programs refuse to follow your orders, most will move out of the way
HOW using utilities
There are two utilities that I know of that are able to transfer some of the files in your storage to RAMdisk or Storage Card, both commercial:
Wizcode Pocket Mechanic
SKTools
I'm not a fan of either of these. SKtools was only able to relocate 1.5MB of files that I could have easilly moved manually on a total mess that allowed much better results. Pocket Mechanic moved so much more that after a soft reset my today screen was as clean as a whisle, none of my today plugins loaded... OTOH both do have a lot of other neat tricks up their sleeves.
A neat little tool is System Path from http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
Watch out, perhaps well documented but only in Japanese. Tips: unzip, place in \Windows, soft reset, find applet in Settings\system\system path. And never uncheck \Windows, just ADD seach paths.
There are lots of other nice tools on that page...
HOW advanced
-Copy files to their new location
-Edit their shortcuts
-Export all related registry keys, then edit them to the new path
-Rename the original files (I always add tmp to the extensions)
-Test if they work from the new locations
-If so, remove the original files
-If not, check if there are for example .cfg, .ini or other settings files you should edit
-Always use an editor for this that can handle both ASCII and Unicode!
-Have courage, luck and enough time
-Think first, blooper next...
Really appreciate your tips.
On your guide using AS to check the memory, do you mean by unchecking, the space available will change accordingly? I did not see that.
The problem is I don't install most programs on device storage but on SD card. Now cannot really decide where the programs are residing except by look at the "Program Files" in both Storage and SD Card to decide.
System Path is interesting. I will be trying it out.
Not just by unchecking, but by uninstalling programs that were first installed with default path on, then reinstalling with default path off. Of course if all your software is already on RAMdisk or Storage card to begin with, you won't notice a change because nothing changes. This thread is for people who 've used a lot of EXE installers with default path on, they run into lack of Storage and often have no idea how to solve it.
Disadvantage
A big disadvantage when you install your programs in ramdisk:
When your battery runs flat, you loose everything on the ramdisk. Ramdisk is only persistant when doing a hard reset and NOT by an empty battery.
mach2005 said:
A big disadvantage when you install your programs in ramdisk:
When your battery runs flat, you loose everything on the ramdisk. Ramdisk is only persistant when doing a hard reset and NOT by an empty battery.
Click to expand...
Click to collapse
That sounds fair, RAM needs some power to keep its contents. But I've drained my main battery several times willingly for test purposes without loosing a single bit on RAMdisk. Obviously it needs just the backup battery. I never drained that. But I do keep a copy of my RAMdisk on my PC and advice all to follow that advice. MOBsync makes this even easier than ActiveSync.
Hi,
i cant seem to be able uncheck the box (its not available- blanked out) ..
Most of my softwares is installed in RAMDISK and storage card except for must be in storage utilies. Yet my storage space is almost full ... i cant account for it.
I am using activesync 4.5 build 5096
Where did you install the programs/applications from? Did you put .cab files in your /temp folder? If this is the case, with most if not all .cab files you can delete them after installing the program. They can take up a fair bit of room. Cheers.
mantd said:
i cant seem to be able uncheck the box (its not available- blanked out) ..
Most of my softwares is installed in RAMDISK and storage card except for must be in storage utilies. Yet my storage space is almost full ... i cant account for it.
I am using activesync 4.5 build 5096
Click to expand...
Click to collapse
Did you expand your RAMdisk size? see http://forum.xda-developers.com/showthread.php?t=332215
Your activesync version should have no effect on the available storage.
Hi Maggy,
Yeah, i did.. I managed to recover 3mb + by deleting and reinstalling back some of my apps. Thanks for the tips.
I am using c_shekar WM6 AKU7.
This is my current memory config:-
Storage
Total 30.53 Mb,
In Use 26.08 Mb,
Free 4.45Mb
Programs
Total 61.28Mb,
In use 28.18,
Free 33.10
Is it normal for the storage to grow even when programs are installed in SD or Ramdisk ? Anyway to know which files were installed and where ? Then it would be easier to move it somewhere else
-mantd
All installed programs put some lines in registry, so that grows. Lots of programs create garbage in registry and often do not clean up after uninstall.
Programs that need dll's will place them in \windows, all installed programs create shortcuts (.lnk) in \windows\start menu\programs. All of this adds up to Storage In Use.
Most programs install either in \Program Files or \RAMdisk\Program Files or \Storage Card\Program Files. Often in their own subfolder. If not, then read their shortcuts to find them.
At initial installation most programs, especially those with PC exe install, will install in Storage even if you click RAMdisk or Storage Card. Today plugins have more or less valid reasons to do so, otherwise it's just plain stupid and annoying. Lots of cab installers have the same behaviour but cab's can be edited to change this behaviour (not all). By running PC exe installers without your device connected it will create a folder C:\Windows\Program Files\[app-to-install] which will most likely contain a cab...
success
"There are two utilities that I know of that are able to transfer some of the files in your storage to RAMdisk or Storage Card, both commercial:
Wizcode Pocket Mechanic
SKTools"
Found that tiny tool:
MobileAppMover
It´s freeware.
First search - than search and overwrite.
The site from the developper of MobileAppMover
http://www.iaccarino.de/silvio/ppcstuff.htm
His description:
MobileAppMover is a tool for moving all references from a specific directory to another directory. It will search and replace a given path in the whole registry and in every shortcut. You can use this to move complete program installations from memory to storage card and vice versa. The files itself won't be moved by this tool.
For use at own risk only!
So it's not a tool for noobs who do not know the difference between a program and a Today plugin or who do not know how to move the appropriate files manually. Neither of the two commercial tools are able to move every today plugin, strange things will happen if you try to move them anyway with mobileappmover. Please be sure to have a Safe Mode boot utility installed before you try this at home.
In the worst case scenario you'll need to reflash your ROM.
IE Cache size ?
Hi,
When I changed the registry key to limit cache size avoiding low memory error in Pocket IE first it's ok but after I resetting the device all device settings and registry back to old settings , how can I solve this problem ?
You were modifying this key?:
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content - CacheLimit?
yes it says 43018
each time I edited this when I reset the device this setting turns back
use schaps Advanced Config 3.0, its the best tweaking app htere is
schaps Advanced Config
ather90 said:
use schaps Advanced Config 3.0, its the best tweaking app htere is
Click to expand...
Click to collapse
Yeah i used it too. Thats powerfull tool. See here: http://forum.xda-developers.com/showthread.php?t=317070
good
Related
After reading almost all the posts here and I decide to create my own WM5 rom based on the latest Helmi release. several thing that I want to do
1. Increase the pagefile to 8mb with the instruction in the post here
http://forum.xda-developers.com/viewtopic.php?t=61926
2. Install language pack "french" , however, I do not know how to do this, I unzipped the "Helmi_WM2k5_AKU3.2_32mb_v1.3.1", however I cannot find where I can put the language related stuff. Anyone knows how to do this?
3. This maybe a silly question. Most of my games and programs in 2003se are green(meaning do not need installation), do you think it makes any sense to put into the rom? or if I change the question a little bit, can the rom copy the files automatically to the SD card and create shortcut to it?
In the case of 3), do what I do...on my SD card I have a directory called "programs". Within here I keep a "cabs" directory for installers and a "manual" directory for apps that don't need installed. All you need to do is make the shortcuts to your storage card inside the Start Menu.
Also, a useful tweak I've heard of but don't do myself is to keep a folder with these shortcuts on the sdcard in /Storage Card/Shortcuts. Then create a shortcut to this folder in the Start Menu. You now have a customisable shortcut list representing what is currently in the SD card slot. Handy if you have several cards and switch between them.
I think you misunderstood me.
I know how to do that when I installed the WM5, I was talking about bundle all that to the Rom before upgrade to WM5
I think understand what you mean. I'm just saying that it's not really worth it for the really simple apps. You'd spend more time cooking roms than you would making shortcuts in Total Commander. Plus, I think you'd need to take some of the existing stuff out as Helmi undoubtably stuffs the rom full with all that he can fit in.
But if you have the time it's probably worth it just to have a play around & learn some new tricks in the process.
Hi,
i needed to restore my device from a backup with Sprite version 6.2.2(upgrade full version not the light one coming with my stock rom) ,
when a strange event occured:
After the restore and the device's reboot all none pre-installed(thoses present in stock roms) softwares werent able to be launched,
i had a message " not signed with a trusted certificate, or one of its components cannot be found"
and if i cliked on "yes", i had another message like "pocket informant failed to launched /Or editor unknown" and that with all the soft i had installed since my kaiser purchasing(voice command(from MS !)pocket mechanics , phm regedit, even sprite backup).
I tried the xdadevelopper kaiser tweak.exe and advanced schapps configuration tool(to tweak the "none trusted cabs installation security" but both refused to "run"(kaiser tweak) or be installed (schapp's) from my sdcard and so tried to run an install from my
pc of "phm regedit" but windows mobile center 6.1(under vista) gave me an error "unable to install/install failed" like if all my device was 'read only'
or if no "administrator privileges" were given to me on the device(from laptop or its sdcard).
ps:i wasnt able to merge(double tap) even a registry backup made on my sdcard before or install the SDK certs cab file .
So from my backup folder on my sdcard(where i had 3 different backups with 3 different dates), i tried to run the backup.exe(s), but i had the same worries(the exe wasnt able to be launched).
I decided to wipe out all datas via 'parameters/system/wipe' all datas"(kind of "soft" hardreset) (reboot+"device's first use configuration")and run the backup from the sdcard without any luck.
(the restore is done but at the device start i had many errors like "Pi calendar failed to launch", "voice command" etc
the only way to retrieve my device was to wipe out all datas
like just above and launch a restore from sprite backup on my laptop
(i had to reconnect/disconnect/reboot from usb my device +wmc 6.1 close/"re-launch", 2 or 3 times, in order to be able to restore it)
What i dont understand, last week i had to do a full restore from one of my backups (from sd card ) and it worked(no certificate worry and without prior wipe out) :
So when i wipe out all the kaiser and launch a restore from sdcard
why do i have a worry with "trusted certificates" as the backup is an image
of what was working(when created), it's as if some registry parts or "certificates"(dont know what kind of files, it is) were missing
why?
any idea replies will be welcome !
thanks in advance
Hi, I had the Problem today,too... when Sprite Backup fails oder something like that, then all no plugged-in certificates are away.
I don't know, where I could restore them - some people who had the same problem didn't found any help by restoring a former backup.
But there's a (little bit annoying) solution WITHOUT Hard-Reset :
1. At first you need a Registry Editor - and I think your Registry Editor won't work, too - because of the certificate.
So - Reinstall it
2. Then go to the Key HLKM\Security\PromptExclusionList and erase everything (except from DEFAULT). So that Registry-Directory is empty.
Now there are the thirst-party-Certificates are no more known from Windows Mobile
3. Now go to your Programs in Programms-Menue which didn't worked... you will be prompted everytime because of the certificate - and confirm it with yes... and you have the certificate for further times
When you have very much programs installed... then you will have very much to confirm... but after a Hard-Reset... I think that's much more mork, isn't it? Especially when you have a special theme (I love the black theme for 1.93)...
Hope it works fine, too. And I'll have a look for another Backup Tool, which makes Backups and doesn't destroy certificates
Greets from Germany
Pierre
Hey,
Just had this problem too, no one seems to have written the solution about this. I had to do a hard reset my certificates were also missing, also I was unable to remove installed programs via remove programs. Using HTC Touch HD with stock WM6.1 and upgraded Radio 1.12.25.16.
The back up was made by SunnySoft 3.7 and was a self executed one, which I did once the hard reset was completed. However, I found if I then reinstalled SunnySoft via Active Sync and then restored the backup again this solved the certificate problem but not the uninstall one.
I am now trying a new hard reset and then install SunnySoft before I restore anything, hopefully this will work.
No joy with the backup. The problem with the certificates was because SunnySoft program wasn't restoring the whole backup (I guess due to its size), works better when files restored bit by bit.
However, everything appears to be fine until I try to Remove installed software...Nothing I can do allows me to remove anything from the program list, just says it wasn't uninstalled properly do I want to remove it from the list (but doesn't). I can't even reinstall the software to fix it, just fails install.
Is there anyway to rebuild the program list or reinitalise the list to install over the top again and allow items to be uninstalled? Where are these settings located?
Failing that, I'll want to rebuild the system from scratch, but I need to know where the contacts and SMS messages are located in the system (so I can at least keep these).
Thanks for any assistance in advance. By the way, what is the best backup software which works for WM6.1???
Solution...
Moved on a bit with this (sorry if no one is interested in my self replies but this might help someone with the same issue)
The Remove Programs seems to end up in two different states:
1) Blank and new installs fail 2) Populated but programs can not be removed but new installs work (This state we can work with).
I think to get to state 2 the difference is installing Sunnysoft Backup after the Hardrest via active sync (I guess this helps it initialise the Remove Programs list).
Restore Data:
As mentioned before if the Restore doesn't work in one go (mine is about 50Mb compressed) then only restore the files (all except windows/internal store/registry/database), this gets a good chunk out of the data out of the way (the system resets after which is why we purposely miss out anything which effects what runs on the system). Now restore all the "folders" within windows (except appdb/AppMgr/Start Menu/Start Up/System and files within Windows), again this avoids anything new running without everything being ready when it restarts. Finally, restore the Database, Registry, Internal Storage and any remaining folders & files within windows. If you don't get certificate issues and the Remove Programs is populated it is ok to move on to the next bit.
Remove Programs:
This problem here is the SunnySoft backup defaults to not including tmp files. Unfortunately the registry references to tmp files stored in Windows\AppMgr\{appname}\ which are now no longer there (THANK YOU SO MUCH!!), this is what is stopping the program from being removed or reinstalled correctly.
1. Look up the name of the tmp file in the registry: HKLM\Security\AppInstall\{appname}\Uninstall\
2. Copy an old tmp file with the correct name i.e.1001.tmp in Windows\AppMgr\{appname}\. NOTE: Install a new program, copy it's tmp file. Then uninstall the new program again.
3. You can also note down the references to the other files if you don't have the original install (but this won't be the cleanest way).
4. You can now go ahead and remove the program from Remove Programs List.
5. Finally remove the files you noted or reinstall the program (and uninstall as you would before if required)
How stupid.
I had my Touch Diamond for about a week now and with the help of this forum, this thing really rocks! I do have a problem that I cant find an answer to though.
When installing CAB files I get the choice to store in Device or Internal Storage. This seems to be very hit and miss for me even when I have choosen to have files installed into Internal Storage, they sometimess install into the Device directory "Program Files". Looks like this directory was created to handle some of the Sprint default program like, NAV and TV.
I'm using ActiveSync to transfer the CAB's from computer to the Internal Storage for installation and I'm using the stock Sprint ROM. I'm starting to run out of storage space in the Device due to this problem, any help would be appreciated.
Thanks
G.T.
some .cabs install files into the device storage regardless of what you choose because some need system files located with all the others. What programs have you installed?
Hi AD,
Files pre-installed in Sprint ROM in Device>Program Files
Connections>Mail Attachements (looks like this directory is 0 bytes, so I assume its safe to delete)
RSS Hub
Sprint TV
TeleNav
Windows Media with sub directories Default (Portrait), Default (Landscape)
Files I have installed that are in Device>Program Files
Diamon TF3D Config
S2P
Second Today
Today Agenda
SKKV (G Sensor Calibration)
Oddly enough Opera was also there, but I was having problems with emai/text messages associating with IE instead of Opera so I re-installed the Opera Cab and it no longer shows in Device>Program files
I was told that Sprint TV and TeleNav could be installed into the device storage (the CAB's are in the Windows directory) but I don't see a uninstall option under Remove Programs or Settings?
Thanks
GT
Hi all, I have the same issue
all the softwares I have installed using cab directly from the diamond, aven I have choose the Internal Storage are installed on the main memory.
Else, the installation I launched under windows (Reso programs) are well installed on the internat storage .....
Hmm those cab's you have installed if i remember correctly have to be installed into the device memory, try somethign like a game or a freeware app and see if you have an option of where to install it
Adding an explanation for starting this thread
I started this thread because when I search for ways to get more memory, all I find is how others have things like "Big Storage" etc., but somewhere it will say cannot be done on wizard. I do not find very much about what can be done or why it cannot be done. I have found things about unlocking and unhidng the Extended_ROM. I used that as a basis for my trials and trying to understand how memory works in the wizard.
I started this thread hoping someone with much more knowledge than me would be able to shed light on the issue and it would be on the forum for future users to understand the memory issues on the wizard.
-----------------------------------------------------------------------------------------------------------
In default.hv which I converted to rgu so I could read I saw the following:
Code:
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable][/FONT]
[FONT=Arial]"26"="BINARY"[/FONT]
[FONT=Arial]"25"="IMGFS"[/FONT]
[FONT=Arial]"23"="RAWFS"[/FONT]
[FONT=Arial]"22"="RAWFS"[/FONT]
[FONT=Arial]"21"="BINFS"[/FONT]
[FONT=Arial]"20"="BOOT"[/FONT]
[FONT=Arial]"0F"="FATFS"[/FONT]
[FONT=Arial]"0E"="FATFS"[/FONT]
[FONT=Arial]"0C"="FATFS"[/FONT]
[FONT=Arial]"0B"="FATFS"[/FONT]
[FONT=Arial]"07"="NTFS"[/FONT]
[FONT=Arial]"06"="FATFS"[/FONT]
[FONT=Arial]"04"="FATFS"[/FONT]
[FONT=Arial]"01"="FATFS"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles][/FONT]
[FONT=Arial]"Folder"="Mounted Volume"[/FONT]
[FONT=Arial]"PartitionDriverName"="MSPART"[/FONT]
[FONT=Arial]"DefaultFileSystem"=""[/FONT]
[FONT=Arial]"MountFlags"=dword:0[/FONT]
[FONT=Arial]"AutoFormat"=dword:0[/FONT]
[FONT=Arial]"AutoPart"=dword:0[/FONT]
[FONT=Arial]"AutoMount"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV][/FONT]
[FONT=Arial]"BootPhase"=dword:0[/FONT]
[FONT=Arial]"MountFlags"=dword:11[/FONT]
[FONT=Arial]"Folder"="imgfs"[/FONT]
[FONT=Arial]"Name"="Microsoft Flash Disk"[/FONT]
[FONT=Arial]"PartitionDriver"="mspart.dll"[/FONT]
[FONT=Arial]"DefaultFileSystem"="IMGFS"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\IMGFS][/FONT]
[FONT=Arial]"XIP"=dword:0[/FONT]
[FONT=Arial]"MountFlags"=dword:11[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS][/FONT]
[FONT=Arial]"FatCacheSize"=dword:100[/FONT]
[FONT=Arial]"DataCacheSize"=dword:800[/FONT]
[FONT=Arial]"EnableWriteBack"=dword:1[/FONT]
[FONT=Arial]"MountAsRoot"=dword:1[/FONT]
[FONT=Arial]"MountAsBootable"=dword:1[/FONT]
[FONT=Arial]"CheckForFormat"=dword:1[/FONT]
[FONT=Arial]"FormatTFAT"=dword:1[/FONT]
[FONT=Arial]"Flags"=dword:600014[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS\Filters\fsreplxfilt][/FONT]
[FONT=Arial]"Order"=dword:1[/FONT]
[FONT=Arial]"Dll"="fsreplxfilt.dll"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\Part00][/FONT]
[FONT=Arial]"CheckForFormat"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS][/FONT]
[FONT=Arial]"MountHidden"=dword:0[/FONT]
[FONT=Arial]"MountAsROM"=dword:0[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\MSPART][/FONT]
[FONT=Arial]"Dll"="mspart.dll"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\IMGFS][/FONT]
[FONT=Arial]"ShadowROM"=dword:1[/FONT]
[FONT=Arial]"Paging"=dword:1[/FONT]
[FONT=Arial]"Dll"="imgfs.dll"[/FONT]
[FONT=Arial]"FriendlyName"="Image-Update Filesystem"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\FATFS][/FONT]
[FONT=Arial]"CacheSize"=dword:2000[/FONT]
[FONT=Arial]"Flags"=dword:44[/FONT]
[FONT=Arial]"CacheDll"="diskcache.dll"[/FONT]
[FONT=Arial]"Util"="fatutil.dll"[/FONT]
[FONT=Arial]"EnableCache"=dword:1[/FONT]
[FONT=Arial]"Paging"=dword:1[/FONT]
[FONT=Arial]"Dll"="fatfsd.dll"[/FONT]
[FONT=Arial]"FriendlyName"="FAT FileSystem"[/FONT]
In boot.rgu I found
Code:
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager] [/FONT]
[FONT=Arial]"PNPUnloadDelay"=-[/FONT]
[FONT=Arial]"PNPUnloadDelay"=dword:5dc[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC\IMGFS][/FONT]
[FONT=Arial]"MountFlags"=dword:11[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC][/FONT]
[FONT=Arial]"Name"="DiskOnChip M-Systems"[/FONT]
[FONT=Arial]"Folder"="imgfs"[/FONT]
[FONT=Arial]"MountFlags"=dword:11[/FONT]
[FONT=Arial]"BootPhase"=dword:0[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS][/FONT]
[FONT=Arial]"Flags"=dword:1000[/FONT]
[FONT=Arial]"Index"=dword:1[/FONT]
[FONT=Arial]"Profile"="TRUEFFS_DOC"[/FONT]
[FONT=Arial]"Dll"="TrueFFS.dll"[/FONT]
[FONT=Arial]"Prefix"="DSK"[/FONT]
[FONT=Arial]"Order"=dword:0[/FONT]
[FONT=Arial]"WindowBase"=dword:0[/FONT]
[FONT=Arial]"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"[/FONT]
[FONT=Arial]"BootPhase"=dword:0[/FONT]
[FONT=Arial]"AutoDPDMode"=dword:1[/FONT]
[FONT=Arial]"SoftwareWriteProtect"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\TrueFFS][/FONT]
[FONT=Arial]"DriverPath"="Drivers\\BuiltIn\\TrueFFS"[/FONT]
[FONT=Arial]"LoadFlags"=dword:1[/FONT]
[FONT=Arial]"BootPhase"=dword:0[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1][/FONT]
[FONT=Arial]"DefaultFileSystem"="FATFS"[/FONT]
[FONT=Arial]"Name"=""[/FONT]
[FONT=Arial]"PartitionDriver"=""[/FONT]
[FONT=Arial]"Folder"="Extended_ROM"[/FONT]
[FONT=Arial]"MountHidden"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS][/FONT]
[FONT=Arial]"Flags"=dword:14[/FONT]
[FONT=Arial]"FormatTfat"=dword:1[/FONT]
[FONT=Arial]"EnableWriteBack"=dword:1[/FONT]
[FONT=Arial]"DataCacheSize"=dword:00000080 ;128 sectors(128*512=64KB)[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS_DOC1][/FONT]
[FONT=Arial]"DriverPath"="Drivers\\BuiltIn\\TrueFFS1"[/FONT]
[FONT=Arial]"LoadFlags"=dword:1[/FONT]
[FONT=Arial]"Order"=dword:1[/FONT]
[FONT=Arial]"Bootphase"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS1][/FONT]
[FONT=Arial]"Profile"="TRUEFFS_DOC1"[/FONT]
[FONT=Arial]"Index" = dword:2[/FONT]
[FONT=Arial]"Dll" = "TrueFFS.dll"[/FONT]
[FONT=Arial]"Prefix" = "DSK"[/FONT]
[FONT=Arial]"Order" = dword:1[/FONT]
[FONT=Arial]"Ioctl" = dword:4[/FONT]
[FONT=Arial]"Use8Bit" = dword:1[/FONT]
[FONT=Arial]"WindowBase" = dword:00000000[/FONT]
[FONT=Arial]"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"[/FONT]
[FONT=Arial]"AutoDPDMode" = dword:1[/FONT]
[FONT=Arial]"SoftwareWriteProtect"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\Comm][/FONT]
[FONT=Arial]"AutoRun"="\\Windows\\AutoRun.exe"[/FONT]
[FONT=Arial]"AutoRunCFG"=[URL="file://\\Extended_ROM\\Config.txt"]\\Extended_ROM\\Config.txt[/URL][/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC2][/FONT]
[FONT=Arial]"DefaultFileSystem"="FATFS"[/FONT]
[FONT=Arial]"Name"=""[/FONT]
[FONT=Arial]"PartitionDriver"=""[/FONT]
[FONT=Arial]"Folder"=""[/FONT]
[FONT=Arial]"MountFlags"=dword:6[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC2\FATFS][/FONT]
[FONT=Arial]"Flags"=dword:00600014[/FONT]
[FONT=Arial]"FormatTFAT"=dword:1[/FONT]
[FONT=Arial]"CheckForFormat"=dword:1[/FONT]
[FONT=Arial]"MountAsBootable"=dword:1[/FONT]
[FONT=Arial]"MountAsRoot"=dword:1[/FONT]
[FONT=Arial]"EnableWriteBack"=dword:1[/FONT]
[FONT=Arial]"DataCacheSize"=dword:00000080[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS2][/FONT]
[FONT=Arial]"Index"=dword:3[/FONT]
[FONT=Arial]"Profile"="TRUEFFS_DOC2"[/FONT]
[FONT=Arial]"Dll"="TrueFFS.dll"[/FONT]
[FONT=Arial]"Prefix"="DSK"[/FONT]
[FONT=Arial]"Order"=dword:0[/FONT]
[FONT=Arial]"Ioctl"=dword:4[/FONT]
[FONT=Arial]"Use8Bit"=dword:1[/FONT]
[FONT=Arial]"WindowBase"=dword:0[/FONT]
[FONT=Arial]"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"[/FONT]
[FONT=Arial]"AutoDPDMode"=dword:1[/FONT]
[FONT=Arial]"SoftwareWriteProtect"=dword:0[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\TrueFFS2][/FONT]
[FONT=Arial]"DriverPath"="Drivers\\BuiltIn\\TrueFFS2"[/FONT]
[FONT=Arial]"LoadFlags"=dword:1[/FONT]
[FONT=Arial]"Order"=dword:0[/FONT]
[FONT=Arial]"BootPhase"=dword:1[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC2\FATFS\Filters\fsreplxfilt][/FONT]
[FONT=Arial]"dll"="fsreplxfilt.dll"[/FONT]
[FONT=Arial]"order"=dword:1 ; must be loaded before other filters[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\FATFS][/FONT]
[FONT=Arial]"FriendlyName"="FAT FileSystem"[/FONT]
[FONT=Arial]"Dll"="fatfsd.dll"[/FONT]
[FONT=Arial]"Flags"=dword:00000024[/FONT]
[FONT=Arial]"Paging"=dword:1[/FONT]
[FONT=Arial]"EnableCache"=dword:1[/FONT]
[FONT=Arial]"CacheSize"=dword:0[/FONT]
[FONT=Arial]"Util"="fatutil.dll"[/FONT]
[FONT=Arial][HKEY_LOCAL_MACHINE\System\StorageManager\filters\HTCFSDSPY][/FONT]
[FONT=Arial]"Dll"="htcfsdspy.dll"[/FONT]
[FONT=Arial]"Order"=dword:0[/FONT]
Of course there is more than just the above in those files. What I wonder since I do not know enough to know what cannot be done is...
Can you change these settings to not define a region to be extended ROM?
Can you redefine the rest to use this left over space?
Can any of this space be used for program memory instead of storage memory?
I do not know if the dll files limit the size of the regions or is some of the settings determine the sizes.
As I said, I do not know enough to know the limitations, but the little boy saw all that was needed was to let the air out of the tires to get the truck unstuck from under the bridge.
Note: This work was done on my G4
Are you using LZX compression?
If not start reading form “HERE” post #877
I have been reading that and the Visual Kitchen Thread, but they leave me behind a little yet.
I am just now trying to go past using the HyperCore Kitchen and switch to CRBuilder 2. I am not sure what it does different. It seems to be less forgiving of my mistakes.
I also read the threads on porting XIP, etc. I am still trying to learn this stuff.
Since I am naturally lazy, I thought what if we could get more room by not defining ExtendedROM. Also, I did not know how program memory versus storage memory is set up and if it was possible to get more program memory available. This is going to become our limiting factor (M2D, WM6.5, etc.).
Everything i’ve read would suggest that we can’t use the extended ROM area for anything other then what it was designed for.
I don’t think you can gain any more memory without removing programs.
I have been doing a lot of reading. I have a G4 Wizard. I have edited my boot.rgu, boot.hv and default.hv to remove references to TRUEFFS_DOC1 (the extended ROM). As expected, I cannot see extended rom in total commander. I did not notice a jump in total memory on the phone. I am beginning to think extended rom is coded in the chip and not set by our flashes. Has anyone tried something like DiskOnChip TrueFFS Uilities package or similar to redefine the spaces on the chip to not have extended rom? I know so little, I imagine there is something more that prevents this, but I thought I would ask. I did not know if this path would lead to more program memory in addition to storage memory.
Delete references to TRUEFFS_DOC1
I decided to do a separate post for each trial.
I have edited my boot.rgu, boot.hv and default.hv to remove references to TRUEFFS_DOC1 (the extended ROM). As expected, I cannot see extended rom in total commander. I did not notice a jump in total memory on the phone. I did not notice a change in battery consumption.
Change TRUEFFS_DOC1 settings to be more like TRUEFFS_DOC2
I basically changed TRUEFFS_DOC1 (changed to call it StoROM) settings to match TRUEFFS_DOC2 (regular memory) except I did not set it as "root".
It shows up as removable storage with 4.9 MB of space.
I suspect something in TRUEFFS driver or I am missing a setting to tell it that is is not external memory.
I tried again, but named it "My Documents"
Word and excel would see the template files in My Documents\Templates twice. I could not set word's default file type. No choices showed in the option. I tried moving the templates, but then they could not be seen by word or excel.
Tried sync with my PC. What was already on the phone would not copy to the PC. I added things to the folder on the PC and they would add to the phone. If I deleted it off the phone, instead of deleting it off the PC it would put it back on the phone. If I copy a file from my phone to the my documents folder on the phone it would not show up on the PC. So it seems I have one-way sync capability.
I tried again, but named it "Program Files"
It works, but whatever gets written there stays so I had problems when I did a hard reset. I solved by deleting contents of folder before hard resetting.
Currently testing named to "FileSafe"
I can put files there and they do not get lost in a hard reset.
I am currently testing battery consumption on this latest format. First day, but after 5 hours only down to 91%. Will need to wait because I have noticed battery goes down faster as the level gets lower.
I did a soft reset and ended up with Storage card as a folder in root and storage card2 as the storage card. Cannot delete it since I have reg settings made to locate internet explorer files to storage card.
I'll have to keep tweaking settings.
More about Trueffs driver
I came across a package called "DiskOnChip(R) TrueFFS(R) Uilities package"
This Package includes the TrueFFS Version 6.3.2 Utilities Package
Reading the documentation gives me the impression that the chip is formatted at the factory and we cannot change the partitions. I suspect (stating again) that we only tell the software what to do with the partition. I tried to run the utility, but it could not find the chip to even do a read function.
It also looks like you have to have a password to gain access to parts. I do not fully understand this stuff, but I was reading about locking partitions with a password.
This may be why even though I have the format flag set in TRUEFFS_DOC1 it does not get formatted and as a result the things stored there are still there after a hard reset. Also, why it shows up as removable media even though I do not see where I tell it that it is such. I think anything other than the root is considered "external" and shows up as a storage card.
Explanation added
I added an explanation for this thread to the first post
Updated post #7 about FileSafe.
I have tried every which way I can think and can only create a folder that the phone considers a removable storage device. I keep getting the storage card2 problem so I have gone back to regular settings and installed a blank Ext_ROM.
I am fairly sure of my theory that the partitions are formated at the factory and we are only telling the software what to call them and how to access them. We cannot change what they have been set to at the factory.
I welcome any clarification from someone who knows more.
Hopefully this will help others like me who come in late in the game and wonder why we cannot get things like BigStorage, etc. other than just seeing people saying it cannot be done.
I read about hiding and unhiding the Ext-ROM, too. Unhiding and reading was no problem but writing didn't work.
Converting Ext-ROM to program-memory may not be possible, because AFAIK program-memory is SD-RAM and the Ext-ROM is Flash-MEMORY. But there are more ways the memory of the Ext-ROM could be usefull.
More space for the ROM (max. 57MB for OS.nb is not much when cooking a WM6.5 ROM) would be nice.
OR
A storage-partion like Ext-ROM but with write access!
Only unhiding the Ext-ROM didn't do the job! I could read from the Ext-ROM but couldn't write. After a write attempt the file list got corrupted and I had to hide and unhide again to get read access back.
If I understand the posting right, RoryB was already able to write to the Ext-ROM. How did you do that?
There is one more Problem! Not the MiniSD-Card but the Ext-ROM should get the name "StorageCard 2" (or any other name which comes alphabeticaly after StorageCard). Why? The Camera can save to different locations but you can only choose from 2: Main memory and the alphabeticaly first storage card.
My questions:
1. How do I get read, write and delete access to the Ext-ROM?
2. How can I rename this "Ext-ROM-Storagecard"? Something like "StorageCard 2" or "StorageMemory" or ...
Update:
Answer for question 2 might be:
AbuYahya said:
To Rename EXT-ROM
HKEY_LOCAL_MACHINE \System\StorageManager \Profiles\TRUEFFS_DOC1
"Folder"=string:Storage
--- can call it anything you like instead of "Storage"
Click to expand...
Click to collapse
I didn't check it yet.
I have stopped trying to get Extended_ROM as storage space. I did use it as a filesafe location. I could not get access to all of the space even though I installed an empty Extended_ROM. Here is the part of boot.rgu I changed (best as I can remember)
Code:
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS_DOC1]
; Does not seem right to me to be TRUEFFS_DOC1 when all others use the built in driver and not the profile
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS1]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS1"
"LoadFlags"=dword:1
"Order"=dword:1
"Bootphase"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS1]
"Profile"="TRUEFFS_DOC1"
"Index" = dword:2
"Dll" = "TrueFFS.dll"
"Prefix" = "DSK"
"Order" = dword:1
"Ioctl" = dword:4
"Use8Bit" = dword:1
"WindowBase" = dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"AutoDPDMode" = dword:0
"SoftwareWriteProtect"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1]
"DefaultFileSystem"="FATFS"
"Name"=""
"PartitionDriver"=""
"Folder"="FileSafe"
"MountHidden"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS]
"Flags"=dword:14
"FormatTfat"=dword:1
"EnableWriteBack"=dword:1
"DataCacheSize"=dword:00000080 ;128 sectors(128*512=64KB)
I think the "Storage Card 2" problem comes about from the order in which the Extended_ROM and SD Card get recognized and for some reason it sees the Extended_ROM as a storage card.
I now use Extended_ROM that way Cingular did. I have files in it in the form of cabs and zips. These files are things like Adobe Reader as a cab, Template files as a zip, etc. I use my customization mortscript to install those files. This way I get more room in the ROM for things that have to be in the ROM. Here is the format I have for my boot.rgu
Code:
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS_DOC1]
; Does not seem right to me to be TRUEFFS_DOC1 when all others use the built in driver and not the profile
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS1]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS1"
"LoadFlags"=dword:1
"Order"=dword:1
"Bootphase"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS1]
"Profile"="TRUEFFS_DOC1"
"Index" = dword:2
"Dll" = "TrueFFS.dll"
"Prefix" = "DSK"
"Order" = dword:1
"Ioctl" = dword:4
"Use8Bit" = dword:1
"WindowBase" = dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"AutoDPDMode" = dword:1
"SoftwareWriteProtect"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1]
"DefaultFileSystem"="FATFS"
"Name"=""
"PartitionDriver"=""
"Folder"="Extended_ROM"
"MountHidden"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS]
"Flags"=dword:14
"FormatTfat"=dword:1
"EnableWriteBack"=dword:1
"DataCacheSize"=dword:00000080 ;128 sectors(128*512=64KB)
I use winimage to change the contents of my Extended_ROM.nb file. Now when I run nb2nbf I pick the OS and the Extended_ROM as files to write to the nbf.
G4 processors do not allow you to flash a custom extended ROM (IIRC).
jwzg said:
G4 processors do not allow you to flash a custom extended ROM (IIRC).
Click to expand...
Click to collapse
That is just not true! In my WM6.5 ROM there is a custom Ext-ROM included and I have no problem flashing it to my G4 Wizard.
G4-Save means no IPL/SPL but Ext-ROM is not a problem.
@RoryB:
Thank you for the information. I will try it.
RoryB's latest ROM that uses ExtRom for cabs and such works fine on my G4.
Ham3r's experimental ROM that provides ExtRom as a read/write filesystem works on G3.
I even installed apps onto ExtRom, with no problems.
I don't know about its relative speed.
It is marked "G3 only" so I have not tried it on my G4.
If someone is brave enough to show that the Ham3r rom's method works on G4, that would be a great feature.
I think that making the most of extrom as a filesystem is the best we can do.
Cyberdyne said:
That is just not true! In my WM6.5 ROM there is a custom Ext-ROM included and I have no problem flashing it to my G4 Wizard.
G4-Save means no IPL/SPL but Ext-ROM is not a problem.
@RoryB:
Thank you for the information. I will try it.
Click to expand...
Click to collapse
For some reason I was thinking it wouldn't flash. I haven't touched my Wizard in a while, and my XP computer with my kitchen on it is dead. I'll have to upgrade my WM6 ROM again.
Mods ain't gods. I stand corrected.
I have Co-Pilot 8 on my phone. To install you put the Co-Pilot 8 directory on the SD-card and it automatically starts. When I upgrade the ROM, this seems to interrupt the install process and it will not complete. So, I end up removing the Co-Pilot 8 directory, installing the new ROM and then copying over for re-install and have to enter the KEY codes again and again.
Is there a way to keep Co-Pilot 8 on the card, stop the re-install and leave it installed on the memory card? I understand I would need to copy the registry entries. What else? How do I stop the self install?
This won't be the answer you're looking for...Option 1 - I allow it to auto install up to the next prompt; whether to install to device memory or SD memory card and cancel it there and continue forward with configuring the device. I'm in the middle of learning to do all of this auto-install of my CAB files, e-mail settings, etc. I know exactly what you're talking about but I tend to ignore it. You must keep the folder "2577" as it's own on the storage card (root) or lose everything you have saved and the product key. I try to remember to deactivate but it's not committing suicide unless you change hardware devices. It simply asks for registration e-mail address and password.
Option 2 prior to flashing temporarily move "2577" to within folder "copilot" and move it back to root when you're done configuring your device.
Both are not the solution I think you're after and I've yet to figure out where in the registry that instructs it to Auto-Install after "X" amount of time. If
you find it, please let me know; take care and thanks!
Just a thought but you could try deleting the AUTORUN file in the 2577 folder, ya know, since you don't want it to Autorun or anything.
I removed the Autorun and indeed it did not interrupt the new ROM update.
When I placed the Autorun back it tried to run but gave an error. I found out that the copilot.wmppc.cab file is deleted after install so I had to copy that over and then it installed. As I installed to memory card again, it picked up the keys.
For next rev I am doing a pre-install and post-install registry compare. I will add the registry edits to my XDA_UC file and also copy the link across to the Windows folder to see if I can just upgrade the ROM with no install needed.
Anyone know why this 'shouldn't' work before I try it?