yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] raynda:
OH!

I also wanted to ask about how this program works with WM6.5.

I read a little bit about the new way that 6.5 manages memory, and wondered if there's some potential to tweak RAMDisk to take advantage of the new architecture. I can get RAMDisk to run on my L14 using the WM6Professional dll and exe, but I am wondering if there are any silent conflicts going on.

And another question! (Haha)

Does anyone know of any strategies for RAMDisk and PagePool? Like for example, would it be smart to use a large pagepool and a small RAMDisk, or maybe a 0MB/smaller PagePool and a larger RAMDisk?

My device (x51v) has 64MB of memory to work with. I want to come up with some awesome setup to share with all my pals on Lenny's HTCGeeks site and anyone else who googles the subject.
[Windows Mobile Development and Hacking General] adwinp:
It all depends on how many variable sized files you work with?

Intensive internet activity would commend the use of a larger ramdisk, but if you don't create too many temp files, it would be a waste of RAM.
[Windows Mobile Development and Hacking General] raynda:
Hey, thanks a lot for the advice!

I don't really surf all that much, just the occasional news website checking and occasional light surfing.

I don't use intense apps much either. Facebook Mobile and Mastersoft Sudoku and occasionally youtube are about it.

I've been using a 6MB RAMDisk but I have yet to see more than 0.2 MB used in it.

Oh, here's a related question I just thought of - If I have my volatile data in the RAMDisk, does that take much of the load off of my PagePool? I'm thinking out loud and only have a basic knowledge of PagePool, so forgive me if I'm not asking the right question here.

I'd like to trim the size of my PagePool using a PP Editor for my L14, and try to make up the difference with a RAMDisk. I'm not sure though, but it might be a dumb idea. If both the PagePool and the RAMDisk work directly through the RAM without touching the Main Storage, then maybe it's a wasted effort? I've been reading through MSDN blogs, these forums, and googling like crazy to find out everything I can about windows mobile in the last couple of months. Every time I think I'm figuring out something, I end up with five more questions that I'm not entirely sure how to ask! :)
[Windows Mobile Development and Hacking General] AMV007:
All working (tested today).

1. change HKLM\Drivers\Builtin\Ramdisk\ImgPath

for example to \My documents\ramdisk.img

2. change HKLM\Drivers\Builtin\Ramdisk\SwopInterval

for example to 1 (this mean 1 minute interval to save ramdisk content)

3. reboot device

4. save any file to ramdisk, and wait 1-2 minutes (you may test size ramdisk.img if file greater than 512 kb ).

5. if you reboot device now you can see this file on ramdisk.

to disable image mode - just clear HKLM\Drivers\Builtin\Ramdisk\ImgPath

P.S. may be you haven't last version (there was some bugs)

http://www.amv007.narod.ru/programs/Ramdisk_WinCE.zip
[Windows Mobile Development and Hacking General] raynda:
Hey, thanks a lot for responding! It is possible that I don't have the updated version. I clicked your link in your response, but I don't understand Russian. Can you help me figure out where I should click on that linked webpage to get the up to date zip file?

EDIT - Never mind, I figured out where to click, sorry about that!
[Windows Mobile Development and Hacking General] raynda:
Thank you so much, AMV007!

The mistake I was making before was that I was pointing my Image location to an empty folder that I created named "Image". I didn't realize that I should have been pointing to a "ramdisk.img" file that would be automatically created.

Awesome awesome awesome! Thanks again!!
[Windows Mobile Development and Hacking General] wolframio74:
this its awesome, i am doin some test to speed ups some apps, maibe install program in RAM, ram its a lots of more faster than the Flash chips... so thats why everything run more faster
[Windows Mobile Development and Hacking General] raynda:
I've directed my ReplStorVol to my RAMdisk and was wondering if anyone else has done this and confirmed that the ReplStorVol database moves from Main Storage to RAMDisk...

Changed registry settings... (HKLM>System>StorageManager>Filters)

ReplStorHostVolume - (string) changed from nothing (blank) to "\Ramdisk"

ReplStorePath - (string) changed from "\ReplStorVol" to "\Ramdisk\ReplStorVol"

I also created a new blank folder in my Ramdisk before the registry changes and called it "ReplStorVol" just in case one isn't automatically created when editting the registry settings.

Questions...

1. I know that you can't see the \ReplStorVol at its default setting because it's hidden from the filesystem or something like that, so how would one verify that the database location has changed from Main Storage to the Ramdisk?

2. In order to make sure that this regedit works as intended, does the Ramdisk have to be reconfigured in regards to the order and delay that it is loaded when Windows Mobile starts up? I'm wondering if when the system starts and the file filter cache is created/loaded, if the RAMDisk hasn't yet been created/loaded whether the device defaults back to the Main Storage memory for this cache, rendering the regedits useless.

3. Should the file filter be set to DoImmaculate or no? My RAMdisk is persistent, so in theory it should hold the cache database as long as the RAMdisk is created, loaded, and the RAMdisk image is restored BEFORE the file filter dll is loaded... is this the right idea/logic?

If NetFront and IE work blazingly fast when their caches are set to RAMdisk, it would seem like any other temp folder and cache directory would see a great benefit as well... but I'm still trying to figure out all of those settings and trying to figure out how to make sure that when I point their locations to RAMDisk, that the locations are set and stay to RAMdisk. Any thoughts, anyone?
[Windows Mobile Development and Hacking General] leyto:
hello AMV007,

Thanks you for your work, but you think, it's possible (make a ram disk) under WinCE.net (4.2) ?

thanks

leyto
[Windows Mobile Development and Hacking General] AMV007:
How I understand WinCE.net 4.2 == Windows Mobile 2003.

Main disk in WM 2003 already stay in RAM, and you not need ramdisk in this case.

P.S. Now WinCE 4.2 not supported, only WinCE 5.0 and later versions.
[Windows Mobile Development and Hacking General] aussiebum:
just wanted to report that ramdisk seems to load up fine in wm6.5 build 23037. thanks again!

if u want some donations let us know :)
[Windows Mobile Development and Hacking General] AMV007:
Amm.

If anybody want make donations to support the ramdisk project :

My cash-boxes in webmoney system :

EURO - E827436855048

USD - Z088549356869

RUB - R142922098315

P.S. paypal not working in my county.
[Windows Mobile Development and Hacking General] vndtdd11:
hey please check download link,

it's doesn't working now.
[Windows Mobile Development and Hacking General] AMV007:
latest version of ramdisk :

http://www.amv007.narod.ru/programs/Ramdisk_WinCE.zip
[Windows Mobile Development and Hacking General] AirLink:
Thanks AMV007!

This will be great on the HTC HD2. (plenty of RAM but so little storage)

To get the latest version remove the www from the posted URL and the link should work.
[Windows Mobile Development and Hacking General] appelflap:
HTC released a ram driver for the HD Mini.

Remarkable: it has the same upperlimit as your driver. Is that a theoretical limit? Or was HTC just to lazy to create their own (just joking)
[Windows Mobile Development and Hacking General] baldo_hk:
Thank you AMV007.

This works perfectly on my HD2, especially the ramdisk backup and restore feature. The only problem I've encountered is that I have never succeed in loading ramdisk image from SD card.

With your ramdisk, I have removed the "Application Data" altogether. I simply rename the ramdisk drive name to be "Application Data". All the album cache, volatile data will then go directly to the ramdisk. This makes my HD2 works blazingly fast even on Stock Rom.

Thank you for your great work!
[Windows Mobile Development and Hacking General] AMV007:
I'm fixed this, probably in this month will be new version with bug fixes, memory leak fixes and GUI, but probably not free.
[Windows Mobile Development and Hacking General] baldo_hk:
Glad to know that you are still working on this, I'm right here waiting for your next release.
[Windows Mobile Development and Hacking General] illi:
Is it possible to rename "Ramdisk" to something else? for example "Garmin"

Thank you.

Edit: I found out how to:D
[Windows Mobile Development and Hacking General] aussiebum:
Don't mind paying for it as long as it's good! Eagerly waiting for the new release :)
[Windows Mobile Development and Hacking General] serbeer:
Great job AMV007.

But which version are you using for your xp4700 Pocket PC's WM6.1? If you are running something like Alkor's build 21054 on it, then it runs WM 6.1 Classic, not Professional or Standard edition of WM 6.1. All Pocket PCs use Classic normally, other versions are for the phones with (pro) and without (standard) touchscreens.

And you do not have subfolder corresponding to Classic. You can find you version under Settings/System/About.

Thanks!
[Windows Mobile Development and Hacking General] AMV007:
As promised, new version :

http://www.amv007.narod.ru/programs/Ramdisk_WinCE.zip

Interface not modern, if anybody can give me advice how to made good modern interface, please mail me, e-mail on about frame.

Program still free.
[Windows Mobile Development and Hacking General] aussiebum:
Great! Tried it out, works as advertised, can use ramdisk on storage card now. GUI is easy to use.

Only suggestion is that the Install command should also create a optional shortcut in the Start Menu?

As for a modern GUI you could try using the .net3.5 sense GUI controls here? => http://xdaforums.com/showthread.php?t=648906

Want to donate but looks like there's no (cheap/easy) way to transfer funds via WebMoney from Australia... and I can't read Russian :/
[Windows Mobile Development and Hacking General] AMV007:
fixed, download from same location

seems, my programms must be free as long as I haven't paypal account :)

and thanks for your thinks, about how to reward my efforts.
[Windows Mobile Development and Hacking General] aussiebum:
Thanks - will try again. The most I can do I guess is to try promote your program so someone who can use WebMoney can actually donate :p
[Windows Mobile Development and Hacking General] baldo_hk:
Thank you. It works great and now it could load the ramdisk image from SD card.

I have some problem with initializing the ramdisk though. I have renamed the ramdisk drive to "Application Data". But when it load image from SD card, my HD2 will creat the folder "Application Data" before the ramdisk is properly initialized, and thus my ramdisk got renamed to "Application Data2" automatically. But if I load ramdisk image from internal device, everything is working fine. My ramdisk is set to 48M.

Regarding the installation, it works like a breeze, but you may consider adding an option to set the name of the ramdisk, though this can be done easily in editing registry.

Thank you for all your works. Why don't you setup a Paypal account? It seems that I have no easy way for me to donate.
[Windows Mobile Development and Hacking General] aussiebum:
You can edit the name of the ramdisk as well as other parameters like size and image location by selecting Menu => Ramdisk Settings for the selected Ramdisk (eg. 1).

I noticed that the new version of Ramdisk doesn't automatically disable the older (1.95) version, so you need to manually disable the old Ramdisk first (I used SKTools) from loading when you're attempting to setup the new version Ramdisk to load as Application Data.

I'm doing the same thing as you (with a 20mb ramdisk) and it loads fine from Storage Card.
[Windows Mobile Development and Hacking General] illi:
Opera

Instead of just IE cache, it would be nice to be able to cache Opera files too to the RAMDisk:D
[Windows Mobile Development and Hacking General] baldo_hk:
Stupid me! I should have found that, thank you for pointing me to the Menu.

Still, I don't get it works properly when ramdisk is renamed to "Application Data" while loading disk image from SD Card. So for now I can only stick to disk image in internal storage.
[Windows Mobile Development and Hacking General] aussiebum:
Hey AMV007, just noticed a minor bug - when rebooting, sometimes I get a prompt - some kind of error about "wincmfile.cpp" (if I remember correctly). It doesn't seem to cause any problems loading the (20mb) ramdisk image from Storage Card and the message doesn't appear in most reboots.

Will post a more detailed message when I see it. This is on a HD2 with Miri v16 btw.
[Windows Mobile Development and Hacking General] AMV007:
in this case ramdsik appearing only after SD card initialized, system may require "Application Data" before.

I tried to do some about it.

Download new version from the same location.

I haven't HD2, and any same problems

(last version of ramdisk tested on my ipaq 214 during last month), and can only imagine, what happens.

I have one not checked issue, HD2+MoonLite 1.23 :

ramdisk 16 Mb - system glitching

ramdisk 32 Mb - not working, only hard reset helping.

in this case :

you can try to change memory allocation mechanism :

create

HKLM\Drivers\Builtin\RamdiskBus\DEVICE0\

AllocMethod as DWORD, value = 1,

restart system.

maximum disk size with this mechanism - 32 Mb.

anyway, if you have some troubles,

choose in driver installation "Debug version", and send \\ramdisk*.* files to me, + your description.

You can try to donate through paypal on my mail, never tested for me in this direction,

(look in program : Menu->About,

or on site : http://www.amv007.narod.ru/en/ (javascript must be enabled))
[Windows Mobile Development and Hacking General] illi:
I have installed this apps on my Topaz. Could someone tell what is the significant benefit of having this RAM disk?

Thank you.
[Windows Mobile Development and Hacking General] baldo_hk:
Thank you. Tried the new version but loading from SD card has frozen my HD2 so I have to hard reset (No worries because I have daily backup). I guess I'll stick to the loading of ramdisk image from internal storage.

I tried to donate through paypal to your email just now, but got the following response from paypal :(.

"Currently PayPal accounts in Russia are only able to send payments. This recipient is not eligible to receive funds."

That's sad...
[Windows Mobile Development and Hacking General] AMV007:
you can edit opera.ini

and add under "User Prefs" - Cache Directory4=\Ramdisk

like :

[User Prefs]

Cache Directory4=\Ramdisk

look first post

as is, have no other ideas how to solve these problem,

I revoked last changes, you can download again.

I suspected this, thanks for testing.
[Windows Mobile Development and Hacking General] illi:
Thanks! It worked by changing the opera.ini and sorry for missing out on the first page.

Great job:cool:
[Windows Mobile Development and Hacking General] zxlch:
great!!!!

thanks!!!!!
[Windows Mobile Development and Hacking General] kevin_diu:
Hi . After I install RAMdisk , the storage card is disappeared. Even I reinstall SDHC driver . Any Solution?
[Windows Mobile Development and Hacking General] AMV007:
device, firmware ?

ramdisk working ?

possible solutions :

- test SDHC card in PC

- Uninstall ramdisk, reboot
[Windows Mobile Development and Hacking General] kevin_diu:
Maybe it's driver problem. RAMdisk working but SD card is not. After uninstall RAMdisk , storage card is visable again.

:( But I want to use RAMdisk.

sorry for my bad engliah.
[Windows Mobile Development and Hacking General] aussiebum:
Hey AMV, I tried the AllocMethod=1 but didn't help - still got the "winmfile.cpp" warning message on startup - more frequently now since I install Cookies Home Tab 1.8.0 on my HD2. It seems to be related to the startup of HTC Sense from what I can tell... haven't pinpointed the process that causes this.

Would you be able to post up/send me debug versions of the file? I'd rather not have to go through the install/uninstall process since I customised the path of the ramdisk and some other settings... thanks :)
[Windows Mobile Development and Hacking General] AMV007:
device ? (for example hx4700, HTC HD2, etc... )

ramdisk size ?

try to decrease ramdisk size.

I'm not sure, that will be possible to replace ramdiski.dll, while ramdisk running.

some updated : http://rapidshare.com/files/396266724/4.ZIP.html
[Windows Mobile Development and Hacking General] kevin_diu:
I am using KS20 WM6.5 build 22022 and it have about 30MB RAM until it boot all the programs and kernel. I just want 2-3MB RAM disk :(

Maybe it is the driver problem because when I install the RAM disk driver and I press do not reboot , It's show the RAM disk and storage card on the root directory . But after I soft reset the device , the storage card is lost but RAM disk is here! After uninstall RAM disk driver , the storage shows again .

:( Any one know where the problem is?

I try the older version but the problem still occur.

:D Thank you for your help
[Windows Mobile Development and Hacking General] AMV007:
1. download program again, maded some changes, this will help save some memory.

2. If problem still present, try decrease ramdisk size to 1 Mb.

3. If problem still present, change HKLM\Drivers\Builtin\RamDiskBus\Order from 0 to 128, reboot.

4. If problem still present,

install debug ramdisk driver, after reboot send to me files : \\ramdisk*.*

dump HKLM\System\StorageManager\Profiles and mail to me.
[Windows Mobile Development and Hacking General] kevin_diu:
I found that it is a driver problem.

I find that in the register [HKLM\Drivers\Builtin\Ramdisk] the Dword key "Flags" value is 0 . After I set it to 1 and soft reset , the RAMdisk cannot load and storage card show again. My solution is use mortscript to change the key "flags" to 1 after run the RAMdisk driver.

News : After I change the value HKLM\Drivers\Builtin\RamDiskBus\Order from 0 to 128 and reboot , its works :D Thanks for your help. :D

Now I'll trying to find any bugs in this program. Thanks again :D

By KevinDiu

Sorry for my bad english
[Windows Mobile Development and Hacking General] AMV007:
I can't understand, what are you doing, and what version of ramdisk you are using ?

in last version [HKLM\Drivers\Builtin\Ramdisk] - not exist, if you haved it, now it's empty, and 'flags' value not 0, but 8.

But I'm happy, that problem solved.

Probably, changing value of [HKLM\Drivers\Builtin\RamDiskBus\Order] from 0 to, for example 128,

can help and in HTC HD2 with aussiebum's problem?
[Windows Mobile Development and Hacking General] kevin_diu:
I did not use the last version (maybe 1.4) before the problem solve . :D Sorry I forgot to told you this.

Change the value of [HKLM\Drivers\Builtin\RamDiskBus\Order] maybe works on other device :D Add it on the first post:D

Thanks again :)

By KevinDiu
[Windows Mobile Development and Hacking General] AMV007:
Why you aren't using latest version ?

I hope, that you changed [HKLM\Drivers\Builtin\RamDiskBus\Order] in latest version, because it not will work in old versions.

I want to add problem solving in programm, as soon, as it will solve problems in other devices, not only KS20.

Can you test [HKLM\Drivers\Builtin\RamDiskBus\Order] - value 1, will this solve your problem ?
[Windows Mobile Development and Hacking General] aussiebum:
What does the Order registry entry actually do?
[Windows Mobile Development and Hacking General] kevin_diu:
Yes . I am using the lastest version :) Change the value to 128 is work for me :D I am sorry that my english is really very bad :(

Later , I will try to change the value to 1 after I hardreset my device .

By KevinDiu
[Windows Mobile Development and Hacking General] AMV007:
Ramdisk load priority in boot time,

theoretically, 0 - best value (and microsoft recommend 0), it must be loaded as earlier as possible, but as you can see, on some devices it may be bad, depends on drivers, firmware in this device.

In KS20, as I think, device SDHC card is binded appear first in system, if ramdisk appearing in first, system trying to work with ramdisk as SDHC driver, but failing, and firmware can't understand, that it must in first check all disk drivers (as normally), and choose SDHC driver from disk's list, and really it's big luck, that changind "order" helping in this case, because may be ramdisk must be waiting, while SDHC card appear in system and only after that load. Wrong firmware dependent SDHC driver.

In HTC HD2, probably, some drivers, also must be loaded in first.
[Windows Mobile Development and Hacking General] aussiebum:
Ah ok. Well I checked SDHC on my HD2 and that has a order of 33... tried ramdiskbus and ramdisk at 1 but didn't get rid of the error I had (which btw I found out seems to be quite important, as lots of services like Activesync don't work properly when I get that error...). Just wondering if it's worth changing it down to 34 for the ramdisk (but 0 for the bus)....?
[Windows Mobile Development and Hacking General] AMV007:
try 34 or 128 for [HKLM\Drivers\Builtin\RamDiskBus\Order].
[Windows Mobile Development and Hacking General] kevin_diu:
I tried set it to 1 and it doesn't work. I will try to find the lowest value later :D

By KevinDiu
[Windows Mobile Development and Hacking General] illi:
Tried the v 2.03 and is creating Storage Card2. The v 2.01 worked best on my device. Would you be kind enough to upload the v 2.01 here please.

Thank you.
[Windows Mobile Development and Hacking General] AMV007:
Problems with 2.03 ?

2.01 - unavailable, I'm not saving all versions, because, latest version must be best.

Thank you for testing, there are no necessity to find lowest value.
[Windows Mobile Development and Hacking General] illi:
The best should not create Storage Card2:confused:
[Windows Mobile Development and Hacking General] AMV007:
Storage Card2 - ramdisk folder ?

Were you tried to rename "Folder name" in Menu->Ramdisk settings ?

can you dump [HKLM\System\StorageManager\Profiles] using, for example resco registry and mail to me ?
[Windows Mobile Development and Hacking General] aussiebum:
As AMV said, did u try to rename the ramdisk to Storage Card? That's the only reason I can think of why the ramdisk would come up with the name Storage Card2, since by default it uses the name "ramdisk".....

Oh btw AMV007, setting the Order = 0 for the ramdiskbus and Order = 1 for the ramdisk device *seems* to get rid of the startup error I was experiencing. Will report back in a few days after some more soft resets. EDIT: it didn't.. will try order 34 next

And what's this about v2.03? I don't see any newer releases on your website? Thanks
[Windows Mobile Development and Hacking General] AMV007:
2.0->2.03 - some minor changes, based on this thread, nothing important (file on the link updated, accordingly with thread), but website updated.

I can recommend to change only one key, in your expirements :

[HKLM\Drivers\Builtin\RamDiskBus\Order]

to 128.