(Yet another) Big Storage question - JAM, MDA Compact, S100 General

Finally decided to bite the bullet and try the big storage hack. Dumped my ROM onto a SD card then loaded it into the hex editor which promptly complained about lack of memory (on a pc with 1gb of ram). I then noticed that the bin file was 512mb ! Yes you guessed, I used a 512 card to dump the rom.
From what I have read so far it seems that romupdate creates a file the same size as the storage card so my question is this, whats the minimum size of sd card that can be used ? I have an old 32mb card lying around and I dont really want to have to buy a 128mb card because all it will be used for is this one task.

Don't you have any imagination? How about switching to another hex editor. Now the answer to your next question in queue: use the search function to find out about other hex editors.

3 things:
- enlarge your pagefile
- look in the options of your editor, sometimes it wants twice the filesize for memory & you can adjust that to once
- read http://forum.xda-developers.com/viewtopic.php?t=46628

Thank you for your replies gentlemen.
@Chatty... Yes I have an imagination but I fail too see how it may be of use with this particular question.
@oltp... Thanks, I will look at those options. I dont think I had spotted the post you linked to but any search criteria involving big storage threw up so many results that I got tired of wading through after an hour or two.
Will have another bash soon, but Im still curious if it can be done with less than 128mb, after all it isnt the entire ROM that needs editing.

I'm using the hexeditor from the ftp & when you know what you're doing, you can even specify it to use only 70MB which is sufficient for this purpose.
M

Related

HELP!!! XDArit trashed my Firewire Harddrive...

I just tried to write to Rom using XDArit.exe selected my SanDisk USB drive to write to. I selected the .nb1 to use and made sure that I did not select the .nb0. Clicked Start or OK. And then I noticed my Firewire was being written to, not my SanDisk USB Drive even though it was selected.
My firewire drive had 2 partitions, the FAT32 for the first 2GB and NTFS for the remaining 58GB. All of my information was intact, but my partition table was corrupted and the first 32K of my FAT32. I dont care about my FAT32, but my NTFS is VERY IMPORTANT and I cannot get it back.
HELP!!!!!
Wade
Hi,
Yes, the same thing happened to my system drive using the old version of xdrit.
There is a new version available in the forum.
I hope you had a recent backup?
regards,
Silver
Oh ****...
We're aware some of our existing tools, XDArit being chief among them, are currently in the hands of a way, way, way too large audience. XDArit was written with a controlled geek audience in mind, and was tested on my PC and two or three others before 'release'.
We are working our asses off to correct this situation. Expect a changeover to a whole new set of tools soon. This new set of tools will be much more intuitive, user-friendly and idiot proof: no more people renaming files to something.nb0 and wasting their devices....
Please accept our apologies regarding the harddrive...
Hi Peter Poelman
For me it was not too bad because I had a new backup made just befor I used the tool.
Out of experience I take the "backup" thing serious.
So, apologies accepted.
You guys are doing a lot of excellent stuff here.
regards,
Silver
Yep - me too unfortunately - lost my entire 40GB of files on my Toshiba notebook!!! :evil:
Really wish there had been some further warning (or more thought put into the sw) for non-geek users about the possibility of killing your drives with xdarit!!! And to make matters even worse - my usual backup drive had developed a problem with the firewire interface so I hadn't backed most of the data up (although this is just my own stupid fault).
Moral: Live and learn!!
Whew! That was close. OK I lost my FAT32 which was the 1st 2GB of my drive. But I was able to recover my NTFS using this program:
http://www.acronis.com/products/recoveryexpert/
If I had data on my FAT32 I could have probably kept it, but I didn't. It looks like this program could have found my files and let me save them off, but it wasn't nessesary.
I was a little bummed that I had to buy the program, but I have often needed a program like it before so the price was not all that bad. I spent a lot more time and money just trying to find a utility like this one that I could perform disk edit and recovery.

can u use sd card for program memory?

hi, I'd like to know if you can use the sd card and say partition it so that you can make your xda exec device use the storage on it as programe memory so it speeds the device up. this really is a fab device, but it really lacks the memory capacity that I had on a blue angel.
I have a 1gb sd card and don't mind loosing any storage space to accomplish this. if there isn't a way, can someone try and find a reg tweek for this....
anyway, I leave it with you...
cheers.
joey jojo
I think this is something which should be taken as a clue by developers who make programs such as Memaid, Pocket Mechanic, etc and include this as a a feature. Maybe the concept will be something similar to the Virtual Memory on a regular windows pc.
You are absolutely right, I too really miss the shortage of program memory. I can never open a really complicated web page with lots of images in Netfront before I get the dreadful warning that I have run out of program memory.
I hope some developer picks this up and incorporates this as a feature. I am sure this will increase his sales many many times.
Regards
you can put your internet explorer's cache on the sd-card...
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
change cache from '\windows\profiles\guest\temporari internet files' to '\SD_MMCard' to achieve this...
however you'll notice that it only slows your device incredibly down if your SD-Card is not set up right
see also http://forum.xda-developers.com/viewtopic.php?t=50301
There is just no way a third party program can add this. On the windows mobile team blog, there's a post from a few months back talking about doing virtual mem on the SD card, and basically, it's just not in the OS and won't be until at least WM6, and third-party programs can't do it.
JasperJanssen said:
There is just no way a third party program can add this. On the windows mobile team blog, there's a post from a few months back talking about doing virtual mem on the SD card, and basically, it's just not in the OS and won't be until at least WM6, and third-party programs can't do it.
Click to expand...
Click to collapse
Those are very disappointing news...
Speaking of memory management and the OS itself..I really wonder during the development of WM5, did they try to come up with a better OS, or just building up upon WM2003.
Reason why I say this is my Universal crashed yesterday, and a look into the "Memory" panel in the Settings showed the OLD memory management screen along with the sliders and all... :lol:
Looks like the developers got lazy and just placed a panel on top of the old one :lol:
Ehh.. You guys want to be buying new SD cards every third month?
Flash memory like the SD cards have only a limited number of write operations before they fail.
Using them for storage is good, because you don't write to the cards that much.
Using them as memory would totally screw up the card in a rather short time.
And, I think using SD card for program memory would result in a slower application, because of the read/write speed of the SD compared to the RAM..
--- EDIT ---
3 months is just a figure of speach..
I have no idea of how much time it would take before failure occurs..
It would probably result in slower and slower performance, because some sectors would be worn out faster than others..
What you say about the writes before failure is right, but when you are faced with a £300 PDA that has the same amount of RAM as my little finger, you have to do something.
SD cards are cheap enough these days, and money grows on trees. I'd rather be able to leave programs open and not worry about how much it will slow the machine down to have more that three big apps running than I would be about coughing up for a new SD card every 3 months.
I have seen a 4GB card on Ebay for less than £80, Tescos sell 1GB for £30 these days.
The great thing about Tescos is their guarantee. You buy the card, write it to death, take it back for a full refund, no questions asked.

Using an SD card instead of ROM

As most of you probably know, the ROM of our PDA devices has a limited number of times it can be written to. This theoretical limit is roughly <1 million times. With Windows Mobile 5.0, the ROM of our devices is not only used to store the OS but also some of the more permanent information so that it doesn't get deleted should the battery run out.
I have read that this limit can be reached if the device is used intensely on a daily basis (http://www.eten-users.net/topic70 ) especially for web browsing.
My question is simple : in order to not use up the ROM capital of my Qtek ROM which to my knowledge can't really be changed, can I tell WM5 to use my SD card instead? Is there a program that allows you to do systematically do this? Is there a way of estimating the miles/kilometers of usage left the ROM?
Thanks
D.D.
I haven't really heard about this but there might be an option to store the browser's cache on SD. This would reduce considerably the amount of data that is written in the inbuilt Flash RAM (not ROM).
I read on a M$ blog that they "spread out" the read/writes to avoid this problem. The WM5 code is written to not keep using the same area of memory so that it does not "wear out" too soon. This way your device memory should last for years.
Found the blog entry - it's here: http://blogs.msdn.com/windowsmobile/archive/2006/06/07/621132.aspx
you can put anything related to the browser onto the SD
no option I'm afraid, you have to edit the registry. Search the forum for the keys.
See the wizard thread for a list of keys to change. I used the Mobile registry editor http://www.breaksoft.com/Blog/Utilities/2005/1/Mobile_Registry_Editor.aspx as it does it via Activesync, nothing to install on either device or PC.
There is also a util which will change the path to the SD card for you. I did it manually as I wanted to select the path on my SD card, all done and working lovely.

New reg-hack: MemHack. Pre-Alpha.

I fiddled around with my wm6'd hx4700 (thanks kuzuhara!) and a registry editor and found a way to make it regard SD as ram and xip from it.
This renders my device to achieve usage smooth enough i allow myself to reffer to the device as a mini-umpc^_^
For SD only atm, miniSD may or may not work depending on your devices driver. No MMC for the time being.
I sooooo hope this isn't old news
Here's to me not ****ing any of your devices up, it worked wonders for me.
P.S
IMPORTANT!
Delete the Program Files folder and reset again once you see the SD's been renamed to Program Files2.
On the next boot it'll mount as Program Files and everything will load from it.
Excuse me, my brains are stuck in google translator mode
4.11.2007
It seems i was rather in the wrong and am taking a whole new direction.
One which involves reading more carefully before i charge head into the guts of windows embedded.
Will take me a while until next post, and it might become hx4700 exclusive, but i promise you some cool stuff to come yet.
Anybody wanting to make their SD into Program Files to save space,
just start resco reg editor and change hklm\System\StorageManager\Profiles\SDMemory\Folder: Program Files.
(Originally is SD Card).
You can also try messing with it, making it into diffenent sys folders, just be careful
Mine is currently application cache (Volatile) and [email protected] Files.
(Running sweet with what i got to with the enablement of complete graphics accelaration, except for a minor hang up when returning from sleep).
Sooooooooooo...
ONLY DOWNLOAD AND APPLY THE CURRENT PATCH IF YOU KNOW WHAT YOUR'E DOING AND WANT TO GIVE BEATING ME TO IT A SHOT!
I'm hoping for a next release in a day, but not necessarily of this project but of an off-chute.
BTW, is it just me or is WM real *nix like?^^
anyone tried this ?
ranasrule said:
anyone tried this ?
Click to expand...
Click to collapse
Downloaded, but waiting to see what others think.
Want to know what it does to the SD card and device as the readme does say to move the devices contents of its program files folder to the sd card?????
downloaded it too. but i notice its his forst post.
Lol... it's my first post, sorry..
All it does is make the device call the card drive "Program Files" and set a swap file that's used as most device memory (don't worry, it's faster than most none-nand flash). i had to leave a small buffer in device memory though.
The memory file is unallocated, so just don't forget to leave 528MB free at all times.
Re-read the original post
It is and will be updated with periodic updates should they come.
I've been using it for 72 hours now.
It takes the odd reset to free up memory, but nothing worst than what we had before.
well if all thing got wrong.. anyway to revert it back?.. well ofcourse hard reset is one of it. uhmm.. lets put hardreset aside first..
well.. cant wait to test this.. i made a whole backup of my registry so if thing went wrong.. ill just restore the registry backup..
Good point doube_ofour.
Just export the StorageManager registry key before applying the changes, and if worst comes to worst restore your backed up original.
So, anybody else installed and can connect to tell the tale?
DuperMan said:
So, anybody else installed and can connect to tell the tale?
Click to expand...
Click to collapse
I made a cab with the regs and installed it But I'm still experimenting .. Nothing bad happened so far how do i know the device is faster ?!! how did you measured your device's speed ?
So let me get this straight -- it will use the microSD in my TyTN as RAM -- the icky sticky stuff I run out of because internet explorer, pocket player, and spb mobile shell grab it all for themselves?
Is there any way to specify how much of the SD card is used as RAM -- since I don't really need 1 GB of RAM on my device.
I saw your post about 558 MB free but didn't quite understand it. You also said you need the odd softreset to free memory? but why would you need to free up a few MB when you have access to hundreds?
But thanks for sharing with the community -- if this really does work out well for us, that's pretty freaking amazing.
@DuperMan
Does this hack simply make our "Storage Card" transform into "Program Files"?.. Thats it?.. cant see any speed improvement.. besides my memory usage increased by that means my device will perform slow..
My "Program Memory and Storage Memory" Stays the same as 47mb total on both memory..
Exactly Ragart!
Only it's set to use miniSD, i think you'd have to mess with it a little to make it work on miniSD... if response is good i'll make a mini version.
Remember - It's only been tested on wm6 hx4700!
double_ofour said:
@DuperMan
Does this hack simply make our "Storage Card" transform into "Program Files"?.. Thats it?.. cant see any speed improvement.. besides my memory usage increased by that means my device will perform slow..
My "Program Memory and Storage Memory" Stays the same as 47mb total on both memory..
Click to expand...
Click to collapse
in my case my program memory decreased by something around 10mb ! and I can't see any improvement in speed too ...
miniSD, hmm? Well that's the slightly-larger brother of my 1GB MicroSD. So I guess I'll just watch the thread and see others' reactions before I try anything (though I do have fullbackups)
Thanks for the quick response. So how much RAM does your hx4700 'have' now? and did you set it to 558 extra for a reason? Just curious questions from a person who doesn't understand the intricacies of reg editing
@doube_ofour:
Use it for a while, constant usage should be smoother. Did you free the space up by deleting the old Program Files as well?
Use it to surf for a while, multiple windows style, and you'll notice the difference.
Also, don't be mean to my hack Don't load it to spite, wait for each app to load and keep on starting apps without (majorly) worrying about a system crash.
@hma4:
The age old method of feel
It doesn't boost anything per say, but your device shouldn't be as compaction ridden as it was, so less mem degradation over time=more time between resets under heavy work loads. and i mean heavy. also, multi-tasking is MUCH more usable.
@ragart:
I set it to have a 512Mb paging area on the SD, plus 512kb in main for caching and another 16Mb for caching on SD, so that's a total of 528.5Mb overall mem, 16.5Mb cache and half a gig paging (good for them internet chaches etc..
i check on the registry that u have made in ur reg hack. seems like all the folders etc is the same even for a miniSD card ... so do u think it will work on miniSD too?

program memory question

Hi everyone,
am quite new to these boards, and have only just got myself a secondhand xda IIs. In the last half a yer I have owned a HTC hermes, universal & kaiser but have finally settled on the BA because the design just suits me more. So far so good- am very happy!
I am a complete noob though and having just upgraded to WM6 from WM2003SE (following the WIKI guide & wizard) I am a bit puzzled about my phomnes' memory capacity and what goes where....
Reading over the forum I have heard how the reformating of exended rom (?) etc can increase your available storage to 128mb as part of the upgrade process. This I did with the unlocker and formatting tool. But upon upgradeing it seems I have only 64mb available for storage , but 100mb for 'programs'.... I am a bit confused. To make it worse when I load programs on the phone it actually reduces the storage capacity available rather than the 'program' memory- of which I have 75mb free that I can't seem to get at!! Can anyone please tell me what I am doing wrong or else point me in the direction of where I can educate myself about this? ....I know it is a very basic question, but am a complete novice to pdas since the last 6 months so please don't flame me!!
Thanks
Think of this in desktop computer terms.
Storage == hard drive
Program memory == RAM
explanation:
programs are installed to either storage or storage card. programs run using program memory.
hey tnx, i was looking for such info too tnx m8 for the help
Thanks! Crystal clear now!
one (or so) more quetion...
Hi- quick folow up question if anyone has the time to answer...
So I understand I have 64mb storage- but in WM2003 you could allocate how much to put to RAM & how much to put to storgae right? So therefore if I had lots of apps I wanted to load onto the phone and I needed more storage I could just reallocate. Was there not a way in the whole upgrade process to allocate less than 128mb to RAM so that I have more storage? I think I missed something here. If it is safe to have less than 128mb RAM i think I may go back and do the repartitioning thing again. Some advice would be much appreciated.
If so my question is why is it recommended to have 128mb RAM- would reducing it to less than that cause the phone to run too slow under WM6?? Is there a 'safe' guideline for minimum amount of RAM to allocate? Further clarification would be greatly appreciated! (As I see it I have lost some 'storgare' capacity this way, beecause programs excluded from the WM6 rom, eg powerpoint etc , be reloaded and so eat away at my new storage of 64mb)
I think you may have missed the point: storage is flash memory, program memory is RAM. The difference is that pre-WM5 flash memory held your vanilla system, Extended ROM, and the default (for hard reset). Everything else that you customised or installed went into RAM, which was therefore split between storage of programs and data and program memory. Remember how when your battery went flat your device lost everything? That's why, and why a backup battery was needed. WM5 and later devices do not need or have backup batteries.
Since WM5 all programs and user data are stored in flash: this can make performance slower but ensures that you survive a power failure unscathed. There are ways to get round the performance issues, compressing files with UPX saves space AND time because reading a smaller file from flash is obviously quicker, and expanding it in RAM goes very fast indeed. However I would not want to overstate the performance hit that you experience working from flash.
So this is why you have lost the ability to manage the memory split - it's nothing to worry about and indeed I am very pleased because my BA now has more program memory than my Hermes.
Hope this helps!
jbn
ssjw1000 said:
Hi- quick folow up question if anyone has the time to answer...
So I understand I have 64mb storage- but in WM2003 you could allocate how much to put to RAM & how much to put to storgae right? So therefore if I had lots of apps I wanted to load onto the phone and I needed more storage I could just reallocate. Was there not a way in the whole upgrade process to allocate less than 128mb to RAM so that I have more storage? I think I missed something here. If it is safe to have less than 128mb RAM i think I may go back and do the repartitioning thing again. Some advice would be much appreciated.
If so my question is why is it recommended to have 128mb RAM- would reducing it to less than that cause the phone to run too slow under WM6?? Is there a 'safe' guideline for minimum amount of RAM to allocate? Further clarification would be greatly appreciated! (As I see it I have lost some 'storgare' capacity this way, beecause programs excluded from the WM6 rom, eg powerpoint etc , be reloaded and so eat away at my new storage of 64mb)
Click to expand...
Click to collapse
In addition to jbn's answer above you can also use a ROM that has a RAMDISK. This takes a portion of the RAM and creates a folder that you can use as a filesystem. Many people prefer these, I do not. I use my SD card and my onboard storage and have no problems with space. If you decide to go with a RAMDISK enabled ROM beware that you will loose anything you install to that section of the filesystem if your batter and backup batter go dead. Exactly the same behavior you had with WM2003 in your BA originally.

Categories

Resources