[DEV] WinCE Ramdisk - Windows Mobile Development and Hacking General

Ramdisk - just create disk in RAM of your device.
Version : 2.12
features :
+ loading with system drivers, before all applications and most drivers
+ support image of ramdisk in any location
(if using image, please remember, that ramdisk will be loaded only after image load)
+ GUI
+ disk size - unlimited
Where and why you can use it :
1. reassign temp files to Ramdisk.
why :
Ramdisk have speed - like ram, i.e. on hx4700 - write - 30 Mb/s, read - 40 Mb/s - tested in pocket mechanic.
Flash have limited number write cycles - because for temproraly files - ramdisk - is very good place.
after device reset you not need to clean "Temp" folder
2. reassign internet cache files to ramdisk.
why :
Cache files - like temp files are onetime used.
In some devices with slow speed flash it will increase internet speed.
P.S. after folders reassign, you need to restart device
Overall - ramdisk is used for save flash life time and speed up device.
http://www.amv007.narod.ru/programs/Ramdisk_WinCE.zip
I'm testing on : hx4700, Ipaq 214.
warning, on some devices or broachings not working, may be you will need hard reset.
May be it will be useful
donations via webmoney :
E827436855048
R142922098315
Z088549356869
via yandex-money
41001397131636

AMV007 said:
Generic Like ramdisk.
Compiled under WM 6.0, but may be working under WM5.
Tested under hx4700.
changed memory using mechanism.
limitation 32 Mb - lost.
added loading with drivers.
Added some features.
http://www.amv007.narod.ru/Ramdisk_WinCE.zip
May be it will be useful
Click to expand...
Click to collapse
I don't really understand the readme and I'm scared to try out this app Is it a programm to change the Memory (RAM) size of my device?
Thanks

it will make some of your application memory act as a storage for data

Rudegar said:
it will make some of your application memory act as a storage for data
Click to expand...
Click to collapse
Storage mem to Ram? Can it do SDCard to ram?
If it's Storage Mem to Ram then that is good....

noellenchris said:
Storage mem to Ram? Can it do SDCard to ram?
If it's Storage Mem to Ram then that is good....
Click to expand...
Click to collapse
Especially in a device like the Sprint Mogul with so much internal Mem and a lack of ROM.

noellenchris said:
Storage mem to Ram? Can it do SDCard to ram?
If it's Storage Mem to Ram then that is good....
Click to expand...
Click to collapse
OK. Some description :
Ramdisk - made part of Ram work like Disk - Ramdisk.
Where and why you can use it :
1. reassign temp files to Ramdisk.
why :
1. Ramdisk have speed - like ram, i.e. on hx4700 - write - 30 Mb/s, read - 40 Mb/s - tested in pocket mechanic.
2. Flash have limited number write cycles - because for temproraly files - ramdisk - is very good place.
2. reassign internet cache files to ramdisk.
why :
1. Cache files - like temp files are onetime used.
2. In some devices with slow speed flash it will increase internet speed.
Overall - ramdisk is used for save flash life time and speed up device.

Mr. Vi said:
I don't really understand the readme and I'm scared to try out this app Is it a programm to change the Memory (RAM) size of my device?
Thanks
Click to expand...
Click to collapse
It easy to use :
1. copy ramdisk.dll and ramdisk.exe form root path of archive to \windows
2. launch RamDisk-XX.lnk, where XX - size in Mb of ramdisk.
3. you must see new Card - \\Ramdisk, otherwise ramdisk don't working in your machine and no luck for further.
4. for testing autorestart ramdisk - restart softly your machine. If you don't see \\Ramdisk - install SdkCerts.cab, or add SDKSamplePrivDeveloper - certificate from archive - manually. soft reset machine.
5. If you again don't see ramdisk - you must copy RamDisk-XX.lnk to windows\startup
6. for reassign tempfiles and internet cache files to Ramdisk - add to register myregister.reg from archive.

AMV007 said:
It easy to use :
1. copy ramdisk.dll and ramdisk.exe form root path of archive to \windows
2. launch RamDisk-XX.lnk, where XX - size in Mb of ramdisk.
3. you must see new Card - \\Ramdisk, otherwise ramdisk don't working in your machine and no luck for further.
4. for testing autorestart ramdisk - restart softly your machine. If you don't see \\Ramdisk - install SdkCerts.cab, or add SDKSamplePrivDeveloper - certificate from archive - manually. soft reset machine.
5. If you again don't see ramdisk - you must copy RamDisk-XX.lnk to windows\startup
6. for reassign tempfiles and internet cache files to Ramdisk - add to register myregister.reg from archive.
Click to expand...
Click to collapse
And this would really work? On today's PPCs? And have no adverse effects?

neilson said:
And this would really work? On today's PPCs? And have no adverse effects?
Click to expand...
Click to collapse
No guaranties that all it will be work fine, I can't test it on all devices, just hx4700, WM6.1 , but there aren't any hardware dependencies.
And what mean today's PPCs ?
But in hx4700 I have some troubles only if inserted CF and SD cards, and
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=dword:00002000
set more than 0x2000, because system can't have enought memory for support new disk more 2 Mb.
If you will see something wrong will be good to delete ramdisk.dll from \windows.
In any case : you want -> you use, you don't want -> you don't use.
All simple

"Storage mem to Ram? Can it do SDCard to ram?"
no ram to storage not storage to ram

Rudegar said:
"Storage mem to Ram? Can it do SDCard to ram?"
no ram to storage not storage to ram
Click to expand...
Click to collapse
So, you mean there's no program that can make internal memory into RAM? I would pay for that.

neilson said:
So, you mean there's no program that can make internal memory into RAM? I would pay for that.
Click to expand...
Click to collapse
Thinking will be easier to upgrade internal chip of RAM (if it possible), rather than write this driver.

AMV007 said:
Thinking will be easier to upgrade internal chip of RAM (if it possible), rather than write this driver.
Click to expand...
Click to collapse
So far with regards to the Sprint Mogul, that's proven not to be so easy:
http://forum.xda-developers.com/showthread.php?t=350002
We need something to give us more then 64 MB RAM.

New version of ramdisk.
now ramdisk image stable loaded from cards (tested on CF card in hx4700), and in this case ramdisk content don't lost during hard rest.
http://www.amv007.narod.ru/Ramdisk_WinCE.zip

is there a name and extension to specify at "HKLM\Drivers\Builtin\Ramdisk\ImgPath" or just a folder path?
thank you

cedzen said:
is there a name and extension to specify at "HKLM\Drivers\Builtin\Ramdisk\ImgPath" or just a folder path?
thank you
Click to expand...
Click to collapse
path like \CF Card\backup.img
don't forget to set swop interval, optimal value not smaller than 1 hour (60 min).

thanks!
your progrm increased my internet speed in such a way that i wonder if something else did not help!

hey so it increases ram? or it drains some memory from RAM and make a new disk called RAMDISK?

I tried this program... I had to hard reset my Kaizer.
Will try again....

Sounds like a cool idea. Unfortunately I'm on a RAM challenged (politically correct term) HTC Titan so I can't afford to lose any available RAM.
Now if only it worked the other way around

Related

Rom Kitchen and ROM Usage

I have searched around but can't seem to find the exact answer to this question. I apologize if it has been covered and I missed it.
When I use a ROMKitchen, yours or Yorch's, there are optional software I can choose to add. When I do so it gives me a memory usage indicator. For example, with the 4_00_05 I currently have, Yorch asys I have 3.9 megs of space to put software in. I understand that there is 15 for Rom and 15 for RAM, RAM being what I get to use as a user.
I install almost every software program onto a storage card. The only device memory I use is the stuff various software put onto the device by default.
My question is, If I don't put any extra software, will I gain any extra space on the device? either for running program space or anything else?
Or am I just wasting the 3.9 megs I'm alotted.
Thanks,
Matt
Hi ...
There is difference between the flash ROM and RAM.
The flash ROM is usually of a fixed size of 32 MB (for XDA I at least), it's used to store the system and any ROM application code like those you select to add while cooking the ROM.
When the system starts, CE will use part of the RAM to run in addition to any other application you will run by your self. Hence, the RAM is managed by CE to be allocated for either "running" CE and applications, and the rest is for storing the DATA like e-mails, cashe files, contacts, ...etc. The RAM size can vary from 32 MB up to 128 MB
When you install non-ROM application, if you decide to install it to the device memory it will be installed to the RAM in the programs portion which will decrease the available amount of memory for either "running" applications or stored data. If it's installed on SD card, it will save the space of the code but will still run in the RAM.
So, the answer to your question is YES, you should make the max use of the available space in ROM.
Load up as many progs as possible into the rom, it saves your program/storage ram and the programs in rom cannot be lost by hard reset, if you dont use the available space in rom then it is a waste of space.
Was just wondering, but does the 'permanent save' feature require me leave some space for it on the ROM? or is that saved yet somewhere else?
Man! This is GREAT!
I hope I am not mistaken, but, if I COOK a ROM with ALL my favorite programs, I save on space (than when I install it separately), since extra space on ROM is wasted anyways?
I didnt know that!
drean said:
Was just wondering, but does the 'permanent save' feature require me leave some space for it on the ROM? or is that saved yet somewhere else?
Click to expand...
Click to collapse
This uses a seperate area of flash storage as far as I know.
still no easy way to build our rom without unix & a lot of retuals needed to create it! right? i understand there is a tool for XDA2 but not XDA1 which could be great

1.60a upgrade questions

Hey all!
I am currently running on 1.50i.96 and am looking at upgrading to 1.60a. I dont seem to need much of on device storage space really, so i guess i'd atleast have the persistent memory benefit from 1.60a (correct me if am wrong here!)
I just unlocked my extended rom. I have a bunch of files sitting in it. The question is, can i back these files up on my computer, and get rid of it to free up space? Would that cause any problems during a hard reset or something?
The next question, how do i install the RAMDisk? Where can i find the installer for the same? Are there any procedures i'd need to follow to set my RAM disk size?
Thanks so very much!
San
i've a question fot you :
Have you read the posts about wm2005 rom in this forum ?
the 1.60 rom have 180 Mb of ram (volatile) and 14.5 Mb of Storage (persistant)
The Extended rom is NOT used by wm2005 , you can totally erase the extended rom and install all you want ....
You can install ramdisk on 1.60 rom but it's non-persistant .
persistant = : if you remove battery , content of persistant memory stay ....
non-persistant = : if you remove battery , content of non-persistant memory don't stay !!
thanks for your inputs TofClock.
I am aware of the fact that the ram disk is not persistent...the word "ram"disk is clear enough!
But i need the ram disk "just in case"...i thought it would make better sense to start using 1.60a only when i'm sure i can get more space in case i need it sometime later...for now 32 megs seems good enough though...
TofClock, by any chance could you mail me the ramdisk cab file ?? Heres my mail address...
[email protected]
Thanks again!
San
hmm...
well 1.60a has:
128MB Program memory
14.5MB Storage memory as system root
16MB ExtendedROM usable as storage
You cannot install RAMDisk on this version of ROM.
Well you can, but it will cause conflicts in the OS.
If you need more storage space, get yourself 1.50i.xx, where xx stands for amount of Program memory.
buzz
Thanks for your reply Buzz!
when I use 1.60a, I'd totally have 16MB+16MB of persistent storage right?
the question is, where do all the common files (DLLs etc.), contacts, messages etc. get installed/saved onto? One of the 16meg partitions right? My main worry is that all these common files, contacts etc. might exceed the 16meg partition that the OS is using...correct or would it??
I'd want persistent storage mainly, and as long as I can install a couple hundred megs of apps onto my storage card, I'm just fine!
thanks again big time
San

192 MB Memory on Wizard?

Dear All
Please excuse me if my questions look silly:
I bouth a Wizard and read it has 64MB RAM and 128MB ROM total 192MB
The manual also confirmed this.
At startup, evening after hard reset and pressing soft reset within 3 secs, I have:
Storage 47MB Program: 44 MB
Total 91 MB
Where are the remaining 100 MB?
Thanks
Saulo
saulo866 said:
Dear All
Please excuse me if my questions look silly:
I bouth a Wizard and read it has 64MB RAM and 128MB ROM total 192MB
The manual also confirmed this.
At startup, evening after hard reset and pressing soft reset within 3 secs, I have:
Storage 47MB Program: 44 MB
Total 91 MB
Where are the remaining 100 MB?
Thanks
Saulo
Click to expand...
Click to collapse
128MB of TOTAL ROM = 64MB for OS/ROM (not available for user) + 64MB for file storage that is available for user
64MB of RAM = Used like RAM on a PC, Windows Mobile has to load itself into RAM in order to run so that's why you'll never have 64MB free.
In any case, what you are seeing is correct
Thanks a lot
Is there any way to oncrease the total availble memory?
There are several programs I never used, in the original package, such as
- file explorer
- pictures and video
- modem links
- sim manager
- terminal services
- power point mobile
- zip
- power excel
I would love to re-install a streamline version of the OS and have back 110 or 120 MB free usable memory!
Thanks
Saulo
nope, there's no way at this moment
mobilehavoc said:
128MB of TOTAL ROM = 64MB for OS/ROM (not available for user) + 64MB for file storage that is available for user
64MB of RAM = Used like RAM on a PC, Windows Mobile has to load itself into RAM in order to run so that's why you'll never have 64MB free.
In any case, what you are seeing is correct
Click to expand...
Click to collapse
So does this imply that little is gained by installing to the external storage card? I've seen both opinions on this.
if i use a memory card to store my songs and videos etc can i use botht the storage memory and program memory for the device itself. e.g. ringtones that have to be placed in the windows/rings folder and alarm and message tones which have to be in the /windows/ folder?
Dear All
Does anyone know how to free more memory?
Is there some special page on wiki (I cannot find) that explain how to tweak?
Or alternatively, is there a way to increase internal memory to 256MB.
At the moment, since most of my apps does not work on mini-SD, I need to increase internal memory
Thanks and waiting for any suggestions
saulo

Moving From Program To Storage

hI,
IS THERE A POSSIBLE SOLUTION TO MOVE MBs FROM PROGRAMS TO STORAGE?
what do u mean? do you want to move your installed applications in the phone to memory card? nope! it will corrupt i think, you have to uninstall it then re install it. however, some programs which are related to the system (like helmi dialer) will be automatically installed to phone memory....
and if you mean mem as the old 2003 slider for deviding mem between app and storage then no
that vent away when ms made wm5
maybe progs like DOC or flashdisk can merge extended rom with storage if you need more storage
I mean the possibility, having 60 mb for programs and only 3 mb ffor storage, to move for example 10 mb from the first too the last: the situation will become: programs 50mb storage 13 mb.
from where you get 3 mb of storage and aditional 60 mb for programs, in blueangel we have 60 mb storage and 128 mb ram (so called program memory), or maybe you do not have Blueangel device
Please tell us your device and rom version, and you will get advice
anyway storage is flash and as such have a limited nr of write it can take before it dies
if it was used as application ram it would die very! fast
also why is it ppl want so much application ram?
programs take as much ram as they require the fact that there is plenty left dont make them faster at all
free app ram is just empty doing nothing
also BA has 128 MB ram more than most pocketpc's on the market why you need more ?
the problems is i have installed some applications that must be installed on the device; after these operations i stay with the following indications:
storage 3.68 mb (remaining);
programs 60 mb (remaining).
I'll ry 2 applications i found that could zip and unzip automatically all the files (and applications) resident on the device.
I'LL LET YOU KNOW IF I SOLVED THE PROBLEM
success!!!!
SUCCESS!!!
I HAVE USED : POCKET MECHANIC PRO AND MEMMAID.
tHE RESULT AS FOLLOW:
STORAGE USED DECREASED FROM 98% TO 68% WITHOUT UNISTALLING NOTHINGS.an OTHER USEFULL APPLICATION I FOUND WAS swelldisk.
With this one i succeded to increase as follow:
extended rom from 16 mb to 32 mb;
sd card from 2 gb to 4 gb
Swelldisk isn't the best option AFAIK. Try to find in the forum, that was discussed, and few people lost their data from the SD.
laura_kim said:
SUCCESS!!!
I HAVE USED : POCKET MECHANIC PRO AND MEMMAID.
tHE RESULT AS FOLLOW:
STORAGE USED DECREASED FROM 98% TO 68% WITHOUT UNISTALLING NOTHINGS.an OTHER USEFULL APPLICATION I FOUND WAS swelldisk.
With this one i succeded to increase as follow:
extended rom from 16 mb to 32 mb;
sd card from 2 gb to 4 gb
Click to expand...
Click to collapse
Sounds interesting. Can you explain how you did it.
THEY HAVE MANY TOOLS BUT THE MOST IMPORTANT ONE IS IN POCKET MECHANICH AND IS CALLED "STORAGE"; IN FEW WORDS YOU CAN CHOOSE A FOLDER/APPLICATION ON THE MAIN STORAGE AND DECIDE TO MOVE TO A SD CARD.
any reference to this original forlder (also registry keys) change their behaviour/pointing action to the new "location"
laura_kim said:
SUCCESS!!!
I HAVE USED : POCKET MECHANIC PRO AND MEMMAID.
tHE RESULT AS FOLLOW:
STORAGE USED DECREASED FROM 98% TO 68% WITHOUT UNISTALLING NOTHINGS.an OTHER USEFULL APPLICATION I FOUND WAS swelldisk.
With this one i succeded to increase as follow:
extended rom from 16 mb to 32 mb;
sd card from 2 gb to 4 gb
Click to expand...
Click to collapse
hello
I have the same prob
I have downloaded the progs you used
I don't know how to increase Storaqge mem. like you did...
Please could you tell me the procedures you followed to do that ?
Cheers
"I don't know how to increase Storaqge mem. like you did...", you can't. You can only reduce usage by careful planning...Install programs to storage card, configure IE cache and temp files to storage card..... Swelldisk only work on external storage.
move the cache and all the avaiable dll to storae card: it works
I found a safe way to achieve the above:
1. Create a folder Sotage Card\ Windows
2. Include this folder name in "path"
3. Freely move any DLLs into this folder from \Windows to Storage Card\Windows
I used SKTools for achieving this. I am not sure which DLLs may be required in original \Windows folder during reflashing ROM, though I had absolutely no problem in reflashing with all DLLs moved, but better to move back system related DLLs back to original path before reflashing.
laura_kim said:
move the cache and all the avaiable dll to storae card: it works
Click to expand...
Click to collapse
Cache will be recreated if you move the contents to another location, so you dont achieve any thing, rather waste space on storage card. If you really want to do this, change the registry settings too.
Moving DLLs to another location without declaring location name in "path" is incorrect way.
i tried but i dont know how to Include the folder name in "path"
Nishann said:
i tried but i dont know how to Include the folder name in "path"
Click to expand...
Click to collapse
Use SKTools free demo version

[REQ][QUE] Unified memory driver

Has anyone attempted writing a driver to pool "Device" memory with "Internal" memory (Diamond) or an external sd card?
I'm thinking it would provide a seemless transition between them so that the system would see it as one large pool. This would allow for almost unlimited headroom for things like TF3D2 etc.
Any thoughts?
LOL ok
well it SEEMED like a good idea
Well i may as well ask.. do you want to make a page file for an external/internal storage device? or do you want to link the internal and external memory sorta like a RAID-0 configuration so the system sees only one huge bulk of memory(which is a terribad idea btw.).
It could seem like a bad idea on devices with removable memory (any SD/SDHC card), but with devices with fixed built in memory like the Diamond, it would be VERY useful... for example, I tried yesterday to install SPB Mobile Shell 3 Beta on my Diamond... I use an Orange stock rom (I know, i've gotta change that) which leaves very little space on the main memory: I was just unable to install the software because it simply refuses to install to the Internal Storage instead of (too full) main memory... What do you think ?
I never tought about it...
...rather than that i find more useful a list of which program can be installed on external sd and which requires to stay in internal
you can play with cab files and change the hard-coded destination folder. i suggest you to have a look at "WinCE Cab Manager".
ofsahin said:
you can play with cab files and change the hard-coded destination folder. i suggest you to have a look at "WinCE Cab Manager".
Click to expand...
Click to collapse
Talking to me? i'm not a programmer, doesn't even know what WinCE Cab Manager is...
...can be used to change the install destination (main or sd) ?
This was exactly the scenario I had in mind.
mysterd said:
It could seem like a bad idea on devices with removable memory (any SD/SDHC card), but with devices with fixed built in memory like the Diamond, it would be VERY useful... for example, I tried yesterday to install SPB Mobile Shell 3 Beta on my Diamond... I use an Orange stock rom (I know, i've gotta change that) which leaves very little space on the main memory: I was just unable to install the software because it simply refuses to install to the Internal Storage instead of (too full) main memory... What do you think ?
Click to expand...
Click to collapse
I heard of a application once that created RAM to ROM and I even think that was its name (RAM2ROM) but I couldnt find it, what you are saying is exacly the oposit, ROM to RAM, right?
Releasing some of the available space to create extra RAM is something I've been looking for quite some time.
In WM2003 that wasnt a problem and it was even common in the MEMORY settings, but since WM5 that I couldnt do that.
It would be excelent for EMUS...
And btw, woof.
twolf said:
I heard of a application once that created RAM to ROM and I even think that was its name (RAM2ROM) but I couldnt find it, what you are saying is exacly the oposit, ROM to RAM, right?
Click to expand...
Click to collapse
Hi !
Well we're not talking about available RAM or ROM here, but rather available storage space... Sort of a hard drive if you understand what I mean.
Cheers
ofsahin said:
you can play with cab files and change the hard-coded destination folder. i suggest you to have a look at "WinCE Cab Manager".
Click to expand...
Click to collapse
Hey ! Thanks very much for the hint, I didn't know that.
I guess I have first to extract the cab file from the Windows Installer and then change this hard coded path.
I'll definitely give it a try.
Cheers
or it is possible to redirect "Main memory/Program files" to "Internal storage/Program files" or similar?
or redirect all the folders except windows folder??
I think that if this is posible, we had to cook a new rom and, before flashing it, we need to copy that folders manually to the internal storage.
well, I don't know if it is posible in Windows mobile but, in windows XP, Vista or 7 you can redirect a folder to another partition or harddrive. ok, it's not the same but, it's a similar idea.

Categories

Resources