Rom With Ramdisk Preconfigured - Touch HD Windows Mobile ROM Development

Ram disk is a very nice addition to the hd, with the amount of spare ram it has. just the program is a pain to set up everytime you hard reset. would be a lovely additiomn to wm6.1 preconfigured to store temp files, cache storage,temp internet files, system files, bluetooth etc. Will have a go tomorrow in the kitchen, limited on skillz in the reg area, may need help.
ps. why are there no roms with ram disk???

Hardqs said:
ps. why are there no roms with ram disk???
Click to expand...
Click to collapse
I don't know, I have also thought about it, but since my device isn't here yet, I can't do anything . What do you mean by "system files" or "bluetooth"? The other ones are quite clear.

well there is a bluetooth app which redirects the dir, so recieved bt files will go there,should spped things up in terms of the pda should reveives at the same speed but writes faster.
systems files, would be good if the feature of being able to use the feature of ramdisk, to have programs preloaded in a folder into the ram and is not deleted but written to cahce before shutdown and reloaded on start up. could keep favorite programs you wish to run faster in there. maybe startup system files but no sure about that??? to much space??? to complicated..

bluetooth dir - http://forum.xda-developers.com/showthread.php?t=277187
ram disk - http://forum.xda-developers.com/showthread.php?t=382944

I don't think that putting received files in a ram disk is very bright, because you will have to move them, before making a soft-reset, else they will dissappear.
Putting cache files into a ram disk will really improve the speed of the browser, but on the other hand you will loose your cache with each soft-reset. On static sites, where a browser can make heavy use of caching functionalities this will also be an advert effect, which will cost money, because you have to download the same content again and again.

Related

Faria AKU 3.2 Test Rom (Not Public Release)

I installed the Rom last night.
Here is the (short) list of program I have installed:
E-TEN Dialer (with Vista Theme)
Inesoft Cash Organizer '05 Premium (with MS Money Sync)
WisBar Advance
Cyberon Voice Commander 1.6
I have set-up my Cingular Data Connection (wap.cingular APN)
I have paired my Jabra BT500 Headset
I have synced my personal Laptop and Work PC via USB Cable.
So far the only Issue I have to report is with setting the Buttons.
When I select an option in the dropdown list, it doesn't match what is assigned (if I select <None> it show <OK/Close> as the assignment). This seems to be the case for everything above "<Today>" in the list. I wonder if it has something to do with the .RegEdit Entry at the top of the list?
P; When I select an option in the dropdown list, it doesn't match what is assigned (if I select <None> it show <OK/Close> as the assignment). This seems to be the case for everything above "<Today>" in the list. I wonder if it has something to do with the .RegEdit Entry at the top of the list
S; remove the regedit entry from phm traylaunch in the accesories folder. and it will be fixed.or
remove the period from the LinkName (in "\Windows\Start Menu\Programs\System" folder)
..................................................................................................................................................................................................
about task manager issue;
this is the way it works.i spoke to the develepor,and he said that people requested to work that way.this is not a fault in the rom.
......................................................................................................................................................................
tahoma.ttf is in the rom,futher more cleartype is enabled by default in the rom.
............................................................................................................................................
the runonce file is a bit temperemental.you have to click several times to run some times.
the runonce file will only run once per hard reset.it was ingenered to do so
Only one problem till now - SMS Notifier doesn't work. It says:"MissingMethodException, File or assembly name 'Microsoft.WindowsMobile.Status, version 1.0.0.0, Culture neutral, Public keyToken 31BF3856AD364E35', or one of its dependencies was not found.
any idea?
faria said:
nice debuging ....i think you are correct.i will see to it.i will remove the file from the rom
dr.p [my second.. hehe] reported the same.
remove the regedit entry from phm traylaunch in the accesories folder. and it will be fixed.
Click to expand...
Click to collapse
Actually, all I had to do was remove the period from the LinkName (in "\Windows\Start Menu\Programs\System" folder) and everything is working fine now.
Xtriny said:
Only one problem till now - SMS Notifier doesn't work. It says:"MissingMethodException, File or assembly name 'Microsoft.WindowsMobile.Status, version 1.0.0.0, Culture neutral, Public keyToken 31BF3856AD364E35', or one of its dependencies was not found.
any idea?
Click to expand...
Click to collapse
yes i thinks is something to do with netcf 2 sp1.i cant find the cause ,it is the same as hichtiker.if noone finds a solucion it will be removed from the rom.
faria said:
yes i thinks is something to do with netcf sp1.i cant find the cause ,it is the same as hichtiker.if noone finds a solucion it will be removed from the rom.
Click to expand...
Click to collapse
It is not so important app, so it can be deleted from ROM, I think
I hate to say it, but this rom stalled at 99% on my G4 device. I let it stay that way for 25 minutes before I got worried and reflashed Molski's back on so I can make sure the battery didn't die. Any ideas ?
i would like to see a 8mb pagepool but also would like all thirdparty software removed so testing is accurate.
also it seems that your rom works w/o the ext rom and w/o running runonce but the windows directory is filled with too many extras.
what do you want this test to accomplish?
It works really good. 8MB p.pool is great but not removed third party apps (my opinion)
I don't mind the 3rd party apps
Since they don't waste space (removing them frees up nothing).
As for the Start Menu, I would guess that most "Power Users" either customize this anyway or use a launcher (iLauncher, WA Desktop, etc) so no big deal to me really. I just won't click on something that I don't use.
I am enjoying TCPMP and PHM Tray Launch, which are apps I've never used before.
jeffbar1 said:
i would like to see a 8mb pagepool but also would like all thirdparty software removed so testing is accurate.
also it seems that your rom works w/o the ext rom and w/o running runonce but the windows directory is filled with too many extras.
what do you want this test to accomplish?
Click to expand...
Click to collapse
without the runonce installation most softwate and bluethoth etc will fail.
the point of the roms is to have the exras appa without consuming the storage.so u can still install yours.
another first to this rom is that pdf reader is runing from the extended rom!!!!! that took major work.also most apps are higly compressed.pdf reader is 7mb in original form.were mine is 2.9mb.i mean, how do you make something run from a hidden-write-protected drive?????!!
that runonce installer is ther for a reason.
i dont belive that anyone achived to turn cleartype font on automaticly either.i did.
just a few.....
the purpose is to test the rom so i can find out if is good enough to put in the public domain.
like a said before there is plenty roms up there to chose from.
i think it would be better to have as much free program memory as possible rather than worrying about storage memory.
jeffbar1 said:
i think it would be better to have as much free program memory as possible rather than worrying about storage memory.
Click to expand...
Click to collapse
removed apps from ROM will not free much programm memory. Only running apps "eats" RAM and you can close it. Like I said, it would be great to change p.pool sizel. I used ROM with 8MB p. pool with Wisbar, iLauncher, SPB Weather, and other apps in ROM and my free RAM was about 26 MB, storage about 38 MB
ok, installed and everithing appears ok exept for 1 lil detail...some of the lnks on startup folder r in rom and cant be deleted (i try to delete them and get an error)... i mean...i hate the tray bar and cant delete as example the bt-init to delete that icon among others to remove that bar...i mean...i know that is dumb to delete programs cause they dont take space on storage, but they DO take space on today screen...other than that detail i think everithing is ok...
kyphur said:
Since they don't waste space (removing them frees up nothing).
As for the Start Menu, I would guess that most "Power Users" either customize this anyway or use a launcher (iLauncher, WA Desktop, etc) so no big deal to me really. I just won't click on something that I don't use.
I am enjoying TCPMP and PHM Tray Launch, which are apps I've never used before.
Click to expand...
Click to collapse
how do the 3rd party apps not take up memory or program memory
Faria,
what about make your ROM twice? One with 12MB, second one with 8MB paging pool. Everyone can choose which one to use... It should be the best to decide.
PPC Memory Primer
jeffbar1 said:
how do the 3rd party apps not take up memory or program memory
Click to expand...
Click to collapse
The types of Memory that a PPC Device Has:
ROM
Storage Memory
Program Memory
The ROM is where the OS is. There is a defined amout of space on the DOC for the ROM Image. If you Don't fill it up then that extra space is still consumed by the ROM Image and you can't use it. Think of it as a CD, if you burn only 200MB of data onto a single session CD you can't install programs onto the remaining 500MB even though you have that unused capacity.
Storage Memory is like the HardDrive on your PC. When you install programs to "Device" they are stored here. User Data which is not directed to the Sotrage Card is also stored here. The OS makes it appear as though the ROM & Storage Memory are one and the same but they are not.
Program Memory is equivelant to the RAM on your PC. This is the workspace where all of the Apps run and the OS does it's work. Having a program installed doesn't consume RAM. Running the program does.
So....
If the extra apps are embedded into the ROM then all they are doing is filling up space that you normally can't utilize. If it keeps you from having to install 2 programs onto your "device" then it will preserve Storage Memory.
Forget about my suggestion, but something have to be checked, after 2 soft resets now it let me delete the .lnkĀ“s
Did not saw the operator config stuff (i may have missed it), but everything else is fine.
Here is a set of config settings (ppc and smartphone) for all the 3 french operators ... It may be usefull ...
After applying the bouygues one, i send a text message and had notification
kyphur said:
The types of Memory that a PPC Device Has:
ROM
Storage Memory
Program Memory
The ROM is where the OS is. There is a defined amout of space on the DOC for the ROM Image. If you Don't fill it up then that extra space is still consumed by the ROM Image and you can't use it. Think of it as a CD, if you burn only 200MB of data onto a single session CD you can't install programs onto the remaining 500MB even though you have that unused capacity.
Storage Memory is like the HardDrive on your PC. When you install programs to "Device" they are stored here. User Data which is not directed to the Sotrage Card is also stored here. The OS makes it appear as though the ROM & Storage Memory are one and the same but they are not.
Program Memory is equivelant to the RAM on your PC. This is the workspace where all of the Apps run and the OS does it's work. Having a program installed doesn't consume RAM. Running the program does.
So....
If the extra apps are embedded into the ROM then all they are doing is filling up space that you normally can't utilize. If it keeps you from having to install 2 programs onto your "device" then it will preserve Storage Memory.
Click to expand...
Click to collapse
so you are saying that even though the extra apps are running they don't use the RAM they use ROM, thats hard to beleive.

Mystery storage memory bloat

My storage memory seems to steadily but significantly grow and grow. It is now at 98% full and I can't find any space. Normally after a hard reset and installing all of my data and apps this figure is in the 80% range. I do keep my temporary internet files cleaned out by removing everything from Windows\Profiles\guest\Temporary Internet Files which can generally free up a very large amount of space, say 10+ MB or so. The obvious additional pieces of information are:
-no new large files added
-quite a few SMSs - but not a thousand, maybe 50-200 total
-no new programs installed
-the mystery bloat seems to be in the Windows directory which is now 138MB (seems odd) as reported by Resco Explorer
I have used find large files feature and have thoroughly browsed my Windows directory and just can not find the large file(s) causing this. Could this be some kind of memory leak? This is the second time this has happened and the last time I resorted to a hard reset which drastically improved the problem (got rid of it and got me back down to the 80% level again which it seemed to stay at for quite some time). I really do not want to get in this mandatory endless hard reseting loop.
BTW: AT&T device and ROM, bloatware removed by reset during bloatware installation at start up. Any advice greatly appreciated.
you sure your removing the PIE cache by opening PIE and selecting to clear history and delete files by going to tools/options in PIE? thats the most common place you get internal memory getting eaten up. ive had 40mb go through PIe because i forgot to delete the files through the PIE settings
Thanks. Emptying that directory does the same thing. Just to be sure I did that anyway. No change. At 96% now. Ugh.
Give us a list of...
Device, is it a stock AT&T Tilt or one of the beta's we are hearing about?
Firmware, items shown on startup from soft reset!
Installed Apps/Cabs,
cause you could have something storing log files that you don't know about!
then we can have a reference of where to go!
OK here goes...
R 1.27.12.11 (std AT&T)
G 22.45.88.07H
D 1.57.00.00
Aps (in addition to std. ROM):
Opera
G Maps
Resco Expl+Today
TT6
iGuidance4
PC MAME
Calc98
Kaiser Notification (LED control)
TCPMP
World Card Mobile
Weather to Go (Tonaya)
MS Voice Com.
MS Live Search
Flash Video Bundle
Thanks again!
Look for a file named Today in the Windows directory. I noticed this on my Tilt ROM and it was steadily growing. It's safe to delete.
Also check your email, this can grow rapidly if you get attachments.
?Glitch
Does google maps save it's map cache to the storage card? I thought it didn't. If not, that would likely cause your memory to drop if you use google maps a lot.
Thanks so much guys.
@URPREY: The only file like that is Today_Order_23Jul07.cab and it is a whopping 3kB
@?Glitch: I only use SMS not MMS not e-mail, I think these guys are pretty darn small.
@snoogisnguy: I thought google maps downloaded everything it needed sort of in real time and cleaned stuff up in real time as well. Can you point me to a directory to examine for large files?
Bribe
OK hate to resort to a "bribe", but this problem is killing me. $25 to the person who can solve it. I'd be happy to simply make another donation to the forum as well.
Google maps keeps almost everything it downloads, if you use that a lot that would be my first guess.
check My device/application data/GoogleMaps and the file cashe-GLM.
Mine's about 2M and i rarely use it.
Try memmaid from Dinarsoft. It can evaluate your storage usage, including the google cache and tell you what is taking up the space. It's got a free 15 day trial.
http://www.dinarsoft.com/memmaid/
hard reset and start again... might be an issue that you may never find
on another note, why dont you sync up to windows and check the file/folder size of each one you have... theres not that many and so it should only take a few minutes
atleast that way you can narrow it down to what area of your phone is taking up so much memory... and then narrow it down to a file hopefully
just an idea
swamp2 said:
Thanks so much guys.
@URPREY: The only file like that is Today_Order_23Jul07.cab and it is a whopping 3kB
Click to expand...
Click to collapse
Which file explorer did you use to check? The file that was on mine was a hidden file and had no extension so I only saw it with Total Commander. It grew very quickly and I had to delete it several time. I believe it was a cache file for the today screen. I use an RSS today plugin and I think that's what caused it. I have no issues after changing to a cooked ROM.
dunneldeen said:
Try memmaid from Dinarsoft. It can evaluate your storage usage, including the google cache and tell you what is taking up the space. It's got a free 15 day trial.
http://www.dinarsoft.com/memmaid/
Click to expand...
Click to collapse
Thanks guys! All of the other suggestions, although great ideas, turned out to not be the culprit. The one above, with some more detective work was the winner. Memmaid located a folder called ~Recycled that was 15+ MB. It is a bug (or maybe even a "feature") in Resco Explorer that it does not show this directory ewven when you check show everything such as hidden, system, in ROM, etc. This directory held some files that were cached images from web browsing as well as other unidentifiable files. Memmaid also nicely deleted the entire directory. All was well until I got a bit too aggressive and used Memmaid to move all of the application caches to the memory card. This made my system very unstable, slow and almost unuseable. Luckily I could get back in Memmaid and undo those changes. Anyway a bit of a long struggle but finally this very annoying and crippling problem is solved. I really hope this thread helps out others with a similar problem.
As a follow up question does anyone know how to prevent such bloat in this directory in the first place? Seems like a very crippling feature of WM wihtout access to this directory.
dunneldeen: Was your suggestion enough of a solution that you want the "bribe" money? Thanks again either way!
You simply have to remove "recycle bin" feature from Resco Explorer settings, so your files will be deleted as soon as you do it and they will doesn't go to the recycle bin that in theory you have to empty manually, like your do with the one on your PC.

Temporary Internet Files on Storage Card

I just got a Tilt and am running Alex's stripped ROM. I'm used to storing the Temporary Internet Files, History, and Cookies on the Storage Card with my Hermes.
I've Google Searched this and cannot find it.
I've tried to make the registry changes as follows:
HLCU\Software\Microsoft\Windows\Current Version\Explorer\Shell Folders
Cache = \Storage Card\Temporary Internet Files
Cookies = \Storage Card\Cookies
History = \Storage Card\History
When I do this and reset the device, PIE won't work. It starts to down load files then just starts.
How are you Kaiser Aces doing this.
Thanks in advance.
I haven't tried this myself but I know KaiserTweak has options to change where your files are stored. Give that a whirl.
Unless you want a dead slow internet experience, don't do it. the only reliable place to move the cache to on these devices is a ram disc. But that's a bit of a waste on your ram & not needed. As long as you clean up your temp. iternet files occasionaly you'll be fine in device memory. As far as I know though, there is no reliable way to relocate the cache to SD at this time.
GS Leon 3
Thanks man. I do it on my BA and Hermes with no problem. I'll follow your advice.
Yeah, I n BA also. This is a different beast though.
No storage card for IE files..... SSLLLLLOOOOWWWW and/or DIE. Unfortunately, it is no good.
I've set IE cache to storage card and must confirm that IE becomes very slow and hangs so now and then.
GSLEON3 said:
Unless you want a dead slow internet experience, don't do it. the only reliable place to move the cache to on these devices is a ram disc. But that's a bit of a waste on your ram & not needed. As long as you clean up your temp. iternet files occasionaly you'll be fine in device memory. As far as I know though, there is no reliable way to relocate the cache to SD at this time.
Click to expand...
Click to collapse
sorry for the thread revival, but by "cleaning out" temp files, do you mean just deleting everything under:
\Windows\profiles\guest\Temporary Internet Files\Content.IE5\*
?
I've got 37.9 MB in mine.
simplified. using your browser, go in to settings and delete cookies, cache and temp. internet files.
or you can use the cleartemp program and do it that way.
P1Tater said:
simplified. using your browser, go in to settings and delete cookies, cache and temp. internet files.
or you can use the cleartemp program and do it that way.
Click to expand...
Click to collapse
I did that (cleared cookies/cache/temp files in browser), it didn't remove any of the files in that directory.
so...
- did a soft reset
- renamed my \Content.IE5\ folder to \Content.IE5.OLD\
- did another soft reset
- opened PIE and browsed
- checked that a new \Content.IE5\ folder had been created
- deleted the \Content.IE5.OLD\ one
38MB recovered.
Just deleted 2 Posts as they were adding no value unless we are in a kindergarten.
Thanks for the thread, I just recovered 64mb

Great Chefs please consider adding RAMDISK to your custom ROM

since blackstone has sufficient ram, it would be highly efficient to install a ramdisk and relocation all tmp file to the ramdisk. At least it will make web browsing and other related applications to start a lot faster. We can also use it to store some tmp files. A 8M ramdisk is good enough for general use and I believe a lot of program can make benefit from it. Thanks.
Uhm, Since the device uses ALL flash memory, wouldn't using a RAMdisk be pointless?
snootch said:
Uhm, Since the device uses ALL flash memory, wouldn't using a RAMdisk be pointless?
Click to expand...
Click to collapse
No, the RAM is a lot faster than the flash memory ...
I had the same idea a while ago, but figured out that it is quite useless. Using a ramdisk for browsers will make it faster on the one hand, but on the other hand you loose the possibility to cache content, so you'll have to download all data again and again, which means that you have to pay for it again and again .
Beside the browsers I don't see any usefull application, which uses temporary files (and the temporary files are slowing down the application).
So, what exactly do you have in mind?
johnpatcher said:
No, the RAM is a lot faster than the flash memory ...
I had the same idea a while ago, but figured out that it is quite useless. Using a ramdisk for browsers will make it faster on the one hand, but on the other hand you loose the possibility to cache content, so you'll have to download all data again and again, which means that you have to pay for it again and again .
Beside the browsers I don't see any usefull application, which uses temporary files (and the temporary files are slowing down the application).
So, what exactly do you have in mind?
Click to expand...
Click to collapse
I think a ramdisk can be used for a lot more than just browsers. It can be used as a cache for any program that needs to cache commonly used data (such as the theme files in G-Alarm) If it could be used as a cache for the .NET CF VM, that would be even better as it takes ~5-10 seconds for the VM to start up when you start an application built using .NET CF. P.S.: Were you thinking of having the chefs include this program? http://www.amv007.narod.ru/en/index.html
for the best performances, i would suggest to put the swapfile onto the ramdisk....do you agree?
This is something i was first asking when i joined. onoklog early roms for blackstone did have it but now ha stopped. it is good for dump tempory files and does have a feature in it that supports caching files so certain dumps are not lost on reset. Would be happy to see this intergrated into new roms.
install it by yourself.not veryone need it
mcdull said:
since blackstone has sufficient ram, it would be highly efficient to install a ramdisk and relocation all tmp file to the ramdisk. At least it will make web browsing and other related applications to start a lot faster. We can also use it to store some tmp files. A 8M ramdisk is good enough for general use and I believe a lot of program can make benefit from it. Thanks.
Click to expand...
Click to collapse
is there really that much difference in the access time between main storage and memory ?
for disks its milli seconds vs nano seconds so ram disks make sense
I can't tell how fast the RAM is .. but the nand is extremely slow...
web browsing does benefit noticably when u have opera, etc. cache writing to RAMdisk instead of "main" (nand) memory. also works great as a place for temp. storage (ie. all those files that usually get written to "Volatile" folder). that's about it though...
I don't think it needs to be cooked in either - self-installation is easy enough anyways

Main Memory Low

I save all my programs and install them on the internal drive. I am still getting a low memory warning. Are there any specific places I need to look , i.e Windows folder, etc.., where I can remove useless files? I'm afraid to delete some important things.
I have an Alltel Touch Diamond. Thanks in advance.
Low memory warning is not about the storage where you save your stuff & apps. Its the RAM of the diamond. To solve the issue you'll probably have to install another ROM with lower mem usage or close TF3D before running your heavy apps.
HI THERE
the program pocket mechanic solve me a lot of that issue .
after installing the prog. i removed some what of files to the intenal storage .
it did work for me just great /
windows folder/directory
open windows directory. goto Opera folder. goto images folder. any files that aren't jpg or png (meaning files that will have an opera logo in front of them) are deletable. If you use opera a lot and have never done this, there may be many. Also Windows/Messaging. this stores info from all emails, even when you delete, info is left here- delete all old stuff. If you feel iffy about trying any of this, create a folder in your internal storage to cut these files into, and if you have any trouble or do something wrong, you can cut/copy them right bsck (but these sre things i do to keep memory clear). Also, ClearTemp is an AWESOME HELPFUL program (and free). I think v1.21 is the latest, but after 3rd day of using it, it had recovered about 10mb of storage memory. (set it up properly, din't just hit 'clean'). good luck.
Lastly, some early diamonds (roms) had a known issue with unrecoverable storage memory, so last case scenario, update to newest official rom.
nickschot said:
Low memory warning is not about the storage where you save your stuff & apps. Its the RAM of the diamond. To solve the issue you'll probably have to install another ROM with lower mem usage or close TF3D before running your heavy apps.
Click to expand...
Click to collapse
au contraire. memory on diamond is partitioned 3ways (storage memory, program memory, internal storage)
when you get a 'main memory low' msg, it's usually because your storage memory (not RAM), and not program memory, has dropped to <1mb. not your operating memory or program memory.
UgXvibe said:
I save all my programs and install them on the internal drive. I am still getting a low memory warning. Are there any specific places I need to look , i.e Windows folder, etc.., where I can remove useless files? I'm afraid to delete some important things.
I have an Alltel Touch Diamond. Thanks in advance.
Click to expand...
Click to collapse
I dealt with this on my first diamond. Had to return it - it is an issue on early diamonds, known by htc (storage not erasing things it should, regardless of user settings). A search will turn up a handful of other threds on this topic.
Thanks for all the replies.. here are screens of what I'm talking about.
As you can see I have a ton of storage on the Internal but 1Mb left on Device... If you still agree that I should follow the advice above I will do that. Just wanted to clarify what I was talking about.
thank you scottspa74
I have exactly the same problem with storage memory and what scottspa74 proposed just gave me the solution to my problem .
Thank you very much
Well, I also found that if you have taken a lot of pictures and video with the phone it takes up a ton of device storage. Try deleting big video files or transferring them somewhere else.

Categories

Resources