[REQ][QUE] Unified memory driver - Windows Mobile Development and Hacking General

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.

Related

Can't install .NET Framework 2.0

Hi all,
i have a fresh JasJar and i need to install the .Net Compact Framework 2.0 but when i try to install (main memory) it gives me an unknow error number 4.
I have a lot of free space in my device, approx 30 Mb, so where is the problem ?
I need the .Net Compact Framework to run IBE Mail.
Bye
nicoska
Me too. I've tried closing applications, but without luck
RE
Using ActiveSync may give problem. I installed using the cab file method
You can get the cab file ffrom here (near to the bottom)
http://www.gopherking.com/download/
If you cannot install try install WiFiFoFum with the CF installer Package. After that remove WiFiFoFum (if not needed) and you'll have the CF left behind
http://www.aspecto-software.com/xoops/modules/wfdownloads/newlist.php
Why install it in the main memory? I installed it to my SD Card and it went without any problems.
cktlcmd said:
Why install it in the main memory? I installed it to my SD Card and it went without any problems.
Click to expand...
Click to collapse
Hi,
did you installed by .cab file or trough ActiveSync ?
thanks
Nico
nicoska said:
cktlcmd said:
Why install it in the main memory? I installed it to my SD Card and it went without any problems.
Click to expand...
Click to collapse
Hi,
did you installed by .cab file or trough ActiveSync ?
thanks
Nico
Click to expand...
Click to collapse
I used the .exe file through active sync. I had reformatted my computer, I had performed hard resets numerous times on my EXEC and Net Framework 2 always installs without any problem to my SD Card and works very well.
cktlcmd said:
Why install it in the main memory? I installed it to my SD Card and it went without any problems.
Click to expand...
Click to collapse
Are you sure it's actually on the SD card?
I tried telling it to install to SD-card three times (uninstalled between each attempt) and practically nothing went onto the SD card - it just created an empty folder there. :roll: Took out over 5-MegaByte of main memory though and didn't recover all of that when it was removed! :evil:
astage said:
cktlcmd said:
Why install it in the main memory? I installed it to my SD Card and it went without any problems.
Click to expand...
Click to collapse
Are you sure it's actually on the SD card?
I tried telling it to install to SD-card three times (uninstalled between each attempt) and practically nothing went onto the SD card - it just created an empty folder there. :roll: Took out over 5-MegaByte of main memory though and didn't recover all of that when it was removed! :evil:
Click to expand...
Click to collapse
YES, I explored my SD Card and it has a folder named NetFrame2 or something like that under Windows>Programs
I did not loose any internal memory. As of now after a soft reset, I have about 32MB of internal memory with 31 different applications installed. 26 applications installed to my SD Card and 5 system applications installed on my internal memory. No freezes, no delays, no missed calls, no loss of system preferences, switching from landscape to portrait or vice versa takes 1 second, so I am pleased with my settings.
YES, I explored my SD Card and it has a folder named NetFrame2 or something like that under Windows>Programs
Click to expand...
Click to collapse
So did mine, but the folder was empty :?
astage said:
So did mine, but the folder was empty :?
Click to expand...
Click to collapse
I didn't actually clicked on the folder, I'll have to check that the next time I sync. I just assumed it was installed there.
cktlcmd said:
astage said:
So did mine, but the folder was empty :?
Click to expand...
Click to collapse
I didn't actually clicked on the folder, I'll have to check that the next time I sync. I just assumed it was installed there.
Click to expand...
Click to collapse
I hope you're lucky and it worked for you!
Might be worth checking the \Windows folder, however, as that's where I found all the .Net v.2 stuff dumped. The .Net v.1.x stuff is in ROM, so I'm hoping that a future ROM update will have v.2 in ROM.
Pants - just noticed that CF2 folder on SD card is empty!
Any solution to this?
Cheers,
Steve
(Am using Opera - apologies for double spaces)
I've looked into this a bit further, and according to the guys at Microsoft http://blogs.msdn.com/netcfteam/default.aspx - the Framework will always take up storage space, and it wouldn't work if it were only installed on the SD card.
Let's hope that a future ROM release will include it.
Cheers,
Steve.
Here is what I noticed on mine. I just performed a hard reset. I started out with 31MB internal memory. I opted to store NetFramework to my SD Card which is around 5MB in size. So if what you guys claim that NetFrameWork does not install to the card is true, it should eat up the 31MB internal memory right? But I still end up with 31MB internal memory after the install. I did check my SD Card and found the folder there which is empty if I clicked on it. But, my SD Card has less memory than I started with, close to 5MB. So my conclusion is: It installs to the SD Card but maybe active sync does not allow us to see the actual file and size, so it appears the folder is empty.
According to what Microsoft say:
Installing NETCF V2 to storage card
While it is technically possible to redirect installation of NETCF onto storage card via standard Active Sync/WCELOD capabilities, it won’t save precious RAM on device. NETCF files have to be in \Windows folder in order for NETCF to function properly.
If NETCF is installed to storage card, NETCF files will be initially deployed to it. However, at some point they would moved to \Windows folder taking out exactly the same space as normal installation would.
In some cases attempt to use storage card would lead to installation failure due to some subtle storage card issues. Thus it’s not recommended to install NETCF V2 to storage card or embedded storage and there are no benefits of doing so.
Click to expand...
Click to collapse
So try installing WifiFoFum (or another .Net CF2 app) and see how your memory availability alters.
Cheers,
Steve.
I also use WiFIFoFum and stored it to my card. It works great. After use of WiFiFoFum, my Internal Memory goes down to about 27MB, I already expected that. Closing all applications via settings puts my internal memory to about 29MB, also expected that as Windows Mobile 5 leaves some parts of the application open for faster reference the next time you open it up. After performing a soft reset my Internal Memory goes back to 31MB. So this still does not change my conclusion that NetFrameWork 2 was installed to my SD Card.
I had a problem installing .NET 2.0 and I found that if I rename/remove previous attempted installs (eg, the dir and files), my 2nd attempt is usually successful.
This goes for most any program that doesn't install properly. I've noticed that this usually happens to me after an upgrade of the same app.
cktlcmd said:
I also use WiFIFoFum and stored it to my card. It works great. After use of WiFiFoFum, my Internal Memory goes down to about 27MB, I already expected that. Closing all applications via settings puts my internal memory to about 29MB, also expected that as Windows Mobile 5 leaves some parts of the application open for faster reference the next time you open it up. After performing a soft reset my Internal Memory goes back to 31MB. So this still does not change my conclusion that NetFrameWork 2 was installed to my SD Card.
Click to expand...
Click to collapse
Are you talking about "Program" memory? I'm talking about "Storage" memory - I don't think that's affected when you open/close applications or perform soft resets...
Cheers,
Steve.
StevePritchard said:
Are you talking about "Program" memory? I'm talking about "Storage" memory - I don't think that's affected when you open/close applications or perform soft resets...
Cheers,
Steve.
Click to expand...
Click to collapse
Ohhhhhhh! My mistake.
Cheers mate!
FOSA said:
Using ActiveSync may give problem. I installed using the cab file method
You can get the cab file ffrom here (near to the bottom)
http://www.gopherking.com/download/
If you cannot install try install WiFiFoFum with the CF installer Package. After that remove WiFiFoFum (if not needed) and you'll have the CF left behind
http://www.aspecto-software.com/xoops/modules/wfdownloads/newlist.php
Click to expand...
Click to collapse
Great that worked for me!! Many thanks!!
J

Storage question?

Great forum guys...already have had some fun modding my 8525.
I'm a convert, new to WinMo, been a Symbian supporter for 5+ years...so WinMo is new to me.
I have a noobish question. I've been loading ringtones, and .cab files onto my phone and seem to be running low on storage.
1. How do I tell how much space is left on my phone?
2. What files can I delete to make some room for important stuff?
I've searched the forum...but haven't found anything conclusive yet.
Thanks!
xj
I can answer the easy question...
To find how much storage you have go to START\SETTINGS\SYSTEM\MEMORY then select the main/storage card tab.
If you're running out of memory you can try unlocking and unhiding the extended rom which should give give you a few extra MB's. Most of the cooked WM6 roms here include Schap's advanced config which will do this for you (or maybe it can be downloaded as a cab file).
As for deleting files - the only safe ones I know about are my data files, unused programs (via uninstal) or some ringtones or other sounds in the windows or windows\rings directory.
to check your memory go to start>settings>system>memory then on the bottom theres 3 tabs..Main, Storage Card, and Running Programs..
Under Main you have Storage and Program.. Program is your ram and storage is your device memory which you can install apps to. Go to running programs and you really should only have activesyn running (if you have an exchange account that is). Anything else open is eating up your ram and will cause your device to run slow.
Now on the bottom of the memory settings it says Find large files using storage memory. Click on find and you can remove whatever you don't want.. (i don't think it'll pull up system files in the search)
My advice is to only install critical apps and apps that will be running on your today screen onto the device itself.. everything else should be installed to yoru Storage card.
If you don't delete cabs after installing them, move them over to yur storage card if you want them for later reference but they shouldn't be taking up device memory after they're installed.
thanks for the input guys, already helping me out. I look forward to being a contributing member of the forums...I'm gonna check out the wiki and sticky threads in more detail to get all the info I can.
Thanks again

installing programs on Diamonds (memory question)

As all us Diamond owners know all too well, we are dealing with a pathetically small amount of main memory. I've got virtually no aftermarket apps installed, and my main storage memory only has about 20MB left.
Two Q's
1. Is it possible to uninstall bundled apps? When I go to "Remove Programs" I only see the apps/cabs that I've installed aftermarket.
2. Is it adviseable/possible to install apps to the internal storage card? I've always been under the impression that programs should go in the "partition" where ...\Windows resides, but that may not be true.
Thanks.
1. yes it is possible if u cook your own rom.
http://forum.xda-developers.com/showthread.php?t=413782
2. why not ? (you wore wrong )
ajd6c8 said:
2. Is it adviseable/possible to install apps to the internal storage card? I've always been under the impression that programs should go in the "partition" where ...\Windows resides, but that may not be true.
Click to expand...
Click to collapse
Every app I install goes in the Internal Storage because, well, what's the point of having 4GB of memory and not using it? I did the same with my previous XDA IIi; everything went onto the external memory card and it's never caused any problems.
cool, sometimes it's good to be wrong!
no way am I cooking my own ROM though. I would totally find a way to screw that up.
no other way to remove pre-installed apps?
and additionaly why install apps??? I have quite a long time apps folders on my internal storage with shortcuts in windows folder and they WORK so I saved space and as bonus doesnt screw up system with aditional installs after HR...
kultus said:
and additionaly why install apps??? I have quite a long time apps folders on my internal storage with shortcuts in windows folder and they WORK so I saved space and as bonus doesnt screw up system with aditional installs after HR...
Click to expand...
Click to collapse
bingo boingo!
Install apps onto the internal storage and create shortcuts in \windows with total commander. It saves memory space and also headache from reinstalling apps after flashing a new ROM.

How to delete ROM files in Windows folder

Hi.
I have searched for this issue, but haven't been able to find any answer to it.
I am running low on space on the phones main storage, and I discovered that there are several albums sample pictures which takes up a lot of space and I don't use CoPilot and the exe file takes up about 6MB. I tried to delete them but couldn't.
I have done step 67 in hints, tips and tweaks thread, and I install most of my apps on the storage card, but I am still running low on space.
So my question is: is it possible to delete some of the albums sample and CoPilot.exe?
Thanks
Copilot.exe is burned in the ROM, so the answer is no.
But I don't think that is the problem, as well as the sample pictures.
Try this instead:
http://forum.xda-developers.com/showthread.php?p=6231410#post6231410
CRO_Misho said:
Copilot.exe is burned in the ROM, so the answer is no.
But I don't think that is the problem, as well as the sample pictures.
Try this instead:
http://forum.xda-developers.com/showthread.php?p=6231410#post6231410
Click to expand...
Click to collapse
Thanks for the help but, that thread didn't help me.
I don't get any error when I try to install an app. I just noticed that I don't have much space left on the phone's memory.
It seems that although I install most of my apps on the storage card, some files are still copied to the phones memory. And trying to cleanup the space on the phones memory I noticed some files that I don't use (e.g. CoPilot.exe and all the Albums sample images, total about 17 MB!). I just cannot delete them, since they are part of the ROM. So I was just wondering if someone had succeeded in deleting them. Has anyone succeeded in deleting those files?
By the way, I have done steps 65 and 67 in the tips & tweaks thread.
try cleaning your internet browser history
there's no point deleting files in rom because they are not consuming ram anyway... because they are in rom! So even if you could delete them, it wouldn't help.
deleting the googlemaps cache and the htc album cache will free up device ram.
you can also move your opera cache files to the storage card. If you use the MS facebook app, the thumbnail images located in \Temp\fbimagecache can also be moved to the storage card and i'm pretty sure the HTC generated facebook thumbs can be moved there as well. But you'll need to delve into the registry to do it
The \windows\rings folder can also be moved to storage card
dexterslab said:
there's no point deleting files in rom because they are not consuming ram anyway... because they are in rom! So even if you could delete them, it wouldn't help.
Click to expand...
Click to collapse
that's not relevant, he's looking to free more space from the internal storage memory, not the ram...
And alas, you cannot remove files that are in the rom... that's why you'd be better off finding a custom rom suited to your needs without all the apps that you don't really need.
Best I've seen is ~250MB free after flash with sense, or about 30MB more without sense
ephestione said:
that's not relevant, he's looking to free more space from the internal storage memory, not the ram...
And alas, you cannot remove files that are in the rom... that's why you'd be better off finding a custom rom suited to your needs without all the apps that you don't really need.
Best I've seen is ~250MB free after flash with sense, or about 30MB more without sense
Click to expand...
Click to collapse
Yes, exactly.
Anyway, thanks for the help. I'll take a look at the custom ROMs.
Its a HTC Touch but for this simple Question don't want to open a new Thread in the Touch Forum:
My Girlfriends HTC Touch P3450 (with this 6.5.3 ROM http://forum.xda-developers.com/showthread.php?t=636589) is running out of space.
(even with Original 6.1 ROM the little Space was a big Problem)
All Apps but Windows Marketplace and My Phone are installed on Micro SD.
Office Mobile 2010 needs less Space than the "old" Office Mobile so i upgradet
Ist there a Way to delete the sample Pictures, Sounds/Ringtones and other (unused) Files?
No success with Windows 7 or RESCO File Explorer.
I remember that it was possible with original Windows Mobile 6.1 ROM on P3450 and T7272 but with 6.5.3 it isn't.
Thanks
(and sorry for my poor english)

HTC Website Updates/Hot Fixes.

Hi all,
There are a few updates/hotfixes for the Leo on the HTC website at the moment which I want to download and install. My question: As some of these files are quite large, one is 12mb, where would these files be installed, internal memory or SD card, or will I be given a choice as per cab installation?
Thx for any replies.
RoN_HD2 said:
Hi all,
There are a few updates/hotfixes for the Leo on the HTC website at the moment which I want to download and install. My question: As some of these files are quite large, one is 12mb, where would these files be installed, internal memory or SD card, or will I be given a choice as per cab installation?
Thx for any replies.
Click to expand...
Click to collapse
I surgest to install to Memory, it's safe.
douhua said:
I surgest to install to Memory, it's safe.
Click to expand...
Click to collapse
Thx for the reply.
I have about 60mb of free memory on my phone at the moment. The updates/hotfixes I've downloaded, 9 files in all, add up to about 32mb. I know I should have probably gradually downloaded and installed these files. Therefore I would prefer to install to SD card. Can anyone see any problems with this, or do these files NEED to be installed direct to the device?
Again thx for any replies.
RoN_HD2 said:
Thx for the reply.
I have about 60mb of free memory on my phone at the moment. The updates/hotfixes I've downloaded, 9 files in all, add up to about 32mb. I know I should have probably gradually downloaded and installed these files. Therefore I would prefer to install to SD card. Can anyone see any problems with this, or do these files NEED to be installed direct to the device?
Again thx for any replies.
Click to expand...
Click to collapse
these updates are not like cabs, and install into the ROM directly replacing previous file, so no extra storage is used up.
Not to mention you could just, take the stuff on your actual phone's memory and shift whatever files you have eating up the ridiculous amount of space the phone has on board to the SD card as well.
System files or updates shouldn't ever go on the SD card unless you're doing rom changing and that's a completely different beast. Reason being for me is that an SD card can mess up over time plus its nice to have reference to the files incase you need them again in the future.

Categories

Resources