yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] buggers999:
i have a key threadPOLLINGintervall and i am using an lg ks20 but for now i found a solution . i used this settings pls confirm that is good and cannot harm my phone. thanks.

HKLM\Drivers\BuiltIn\SDBusdriver\Order= 2 was 32 by default

HKLM\Drivers\BuiltIn\SDHC\Order=3 was 33 by default

HKLM\Drivers\BuiltIn\SDHC\CardDetect_Thread_Priority =33 was 200 by default

HKLM\Drivers\BuiltIn\SDBusdriver\thread priority =32 was 108 by default

HKLM\System\StorageManager

PNPUnloadDelay" = dword:4000 default value=4000

PNPWaitIODelay" = dword:4000 default value=4000

so far so good for 4 days with 8gb sandisk on lgks20. not even once had lost the memory.

but i dont know if those keys are good or will harm the phone or will not suspend the cd card slot and drain batter all the time.

thanks in advance.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] buggers999:
so far so good with my settings on my lgks20 .

the memory card detected all the time and doesnt disappeard even once.!

so for now i have 2 solves for the problem.

1) put on both pnp unload and pnpwaitio the value "0".

that makes memory card not dissapearing BUT every time file explorer move the memory folder up and down when i make suspend-resume.(i wish you understund what i mean)

2)the settings i posted before

With these settings again doesn't looses the memory BUT here is not doing the same thing with file explorer.the memory card folder stays in a fixed place all the time, except i leave my phone untouched all the time so is doing only in that situation the folder to move at the end of files,but doent looses the memory.

what you think is the best solution for my phone the first or the second?

thanks in advance :)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] dudeluv:
I do not have these entries in DVH ver 24 full nonbs

While we are at it let us make the SDCard content safer with this entries:

HKLM\System\StorageManager\Profiles\SDMemory\FATFS \DisableAutoScan=0

HKLM\System\StorageManager\Profiles\SDMemory\FATFS \EnableCache=0
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] sanfrenchysco:
That is normal because Disk Caching is enabled by default from higher keys. You do NOT need to turn it on (EnableCache=1) but you have the option to turn it off EnableCache=0 ...

Personaly I disable disk block caching on SD to prevent issues with wear leveling relocating data while the FATCache is pointing at the stalled locations.

I do not know of any way to only disable FAT caching (set to FatCacheSize=0 is for automatic sizing) therefore I disable SD disk caching at the profile level. Speed's great regardless.

To further isolate this problem on a clean slate, I also prevent ENCFilt (Crypto filter) from dealing with SD storage or any of the FATFS file system. The FS Crypto feature is still half-baked at least on my ROM.

PnP keys at 1.5s. I don't think this is so much a problem of enumerating the card than refreshing the SD content upon resuming so I run SD with EnablePowerManagement=0.

What I have seen when the card was acting up is the device was enumerated fine but with content was in limbos.

I guess that is why some people found that disabling PwrMgt and increasing Pnp timeouts provided some relief, BUT not 100% of the time 'cause you can't fix a problem until you find the root cause... at this point my bets are on DiskCaching and ENCFilt drivers.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] sanfrenchysco:
Are you saying that zeroing these two entries is the magic?

It's kind of an odd setting for these keys. :rolleyes:

How did you get to that?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] metkosas:
simply try it on my ks20 works .... :)

i dont know why.i invented by accident and when i made the changes works like a charm but with file explorer problem that i told you before. :)

(moves the memory card folder up and down.like auto arrange works and then reapplyied something like that)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] G.E.O.:
What if...

Having read the whole thread and apply all the various hacks on my hermes didn't help.

I've got to eject the card and reinsert it every time i restart the damned thing, so i had a thought, what if we could emulate that out and in of the card with some software prog so to trick the phone and think that the card was ejected and reinserted back in, would that be a possible solution?

As you might have noticed i'm a newbie when it comes to programming so do excuse me if what i am proposing is totally stupid.

Anyway on a lightrer side, if i had to fix myself the bloody thing i would had put an airplane on-off switch on the top of the phone (yeah, one of the huge ones) connected to one of the 8 contacts from the micro sd bay, so i would switch it back on every time i was resetting. But i guess i would had big problems explaining at the airport control what i'm doing with a... detonator in my pocket! :eek:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] joeblack01:
Just a quick note.

I have the same problem with my HTC Touch Pro.

Here's the link: http://xdaforums.com/showthread.php?t=509081&page=2
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] fmedrano1977:
Micro SD

I may have found a fix! Testing right now!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] luxcrypt:
hello to anyone who has problems with memory card, format in due order

NTSF and the problem is solved
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ckd:
Well, here's another "me too" to throw in to the mix...

My card is a SanDisk, however it's a 1 gigger... This happened once or twice over the last 6 months, but now happens with some regularity since upgrading to the 2.06 ROM...

Carl
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] duman95:
Here are the values you are looking for those 2 reg entries.

They are both dword 4096.

Hope that helps.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] weinson:
To add to the chorus ... I have the new cingular rom, and same problem on my 2gb disk ... annoying ... and I have no confidence this will be fixed when and if the "official" ROM is released (especially since it is allegedly going to happen in realatively short order), so it is up to us on sites like this to find and fix the ROM problems/issues created by the providers.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] megarek:
I cannot fully confirm this as a fix yet, but I used to have problems with my 2gig sandisk card lockingup on the old and new cingular roms. This is what has helped me: After my last hard-reset, I installed SK Tools. SK Tools has a tool to format the SD card from within the device. I formatted the SD card in SK tools using the same settings as the main storage (FAT32, 512 sector size, Creation of backup copy of FAT table). Since then, I've noticed that my SD card very rarely dissapears.

Ross
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] elivne:
It happens both in 2.06 and in 2.05.

I can find the specific reason, tried it after HR and EXT. ROM install - still happened, it`s not a program we all have.

it`s a but in the new ROMs
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
Ok, I changed the two registry entries to 8196, and that seems to help a bit...

Here's the keys:

[HKLM\System\StorageManager]

"PNPUnloadDelay" = dword:8196

[HKLM\System\StorageManager]

"PNPWaitIODelay" = dword:8196

Make the change and see if that helps you at all..
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
I've also found that there is a device called 'dsk1' in the registry that would (if you didn't make your ext_rom visible) be the SD Card. dsk2 is the SD Card AFTER ext_rom opened, but, dsk2 does not appear in the registry. I don't have time to dissect the registry now, but, I'm guessing that we really need a new device 'dsk2' that basically duplicates what dsk1 would have for information/dlls, etc..

Someone who is better than me at registry tweaks, etc. can feel free to take a look until I have time to investigate further.

But, changing the unloaddelay times to 8196 really seems to make a difference to me so far.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] wwwes:
OK, I guess it is contagious, because it just started happening to me after my post last night on this thread.

I'll try to reformat the card to FAT32 (it is 16 right now)and change the delay keys as shown in this post and post my results.

I actually still had about 3/4 of the content still showing up, and many of the directory names were gibberish. "a little of the old in-out" fixed it right up.

(clockwork orange reference)

This is a BIG bug. I bet HTC won't fix it......
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] piannetta:
Thanks for this, I'll give it a go now and report back on my experience.

Pete
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] elivne:
my card is FAT32 - it wont help.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
Same exact issues here. I've put in the reghacks too. I should know in a few days if it's having an effect or not.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Goatmaster:
About those regedits:

Link: http://blogs.msdn.com/windowsmobile/archive/2007/01/12/everything-you-want-to-know-about-sd.aspx

Interesting comment on that page about preventing SD cards becoming corrupted:

Though no util that can TFAT a card as of right now apparently.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ratcom:
Performance boost!

Ive not long had a Hermes so coming from the Wizard I had to pick myself up a memory card quickly, I was only able to source a SanDisk 256MB card on the day, now Ive just replaced it with a Kingston 1GIG card and WOW instantly my phone is quicker and I dont get any hangs or corruption anymore! I cannot tell you how much BETTER my phone feels, I for one will NEVER buy another sandisk card again!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
The crucial 1GB card definately helps, as does the registry setting. Instead of it unmounting multiple times a day, it only happens once every other day or so now... Hopefully WM6 fixes this bug.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
I've not had an issue with my 2GB sandisk since I made the registry changes. I really couldn't understand the rationale behind the m$ blog regarding the fact that the hive setting was used at startup and that the registry entry itself made no difference. I wasn't aware of the fact that original, unchangeable registry entries exist that have changeable counterparts. My experience has always been that if the value was unchangeable it would revert after a reset even when you made sure the registry was flushed properly. This isn't the case with these. The values remain after a reset.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] eagle 1:
What were your values before you changed them? Mine are at 1500 not 4096, and so far I have not had any issues on 2.06 cingular with 1.34.00.10 radio

[HKLM\System\StorageManager]

"PNPUnloadDelay" = dword:1500

[HKLM\System\StorageManager]

"PNPWaitIODelay" = dword:1500

And I am using a sandisk 2gb card
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Prerna:
I used to experience this with my Wizard (creation of Storage Card2), after tweaking the PIE and attachements' cache to SD card.

The same problem had not happened to my Hermes until today (...)

I got PIE' cache on Storage Card.

I installed WM5 Storage yesterday (could that contribute?)

My SD is a SanDisk 2gb. (I think I'll never buy again SanDisk)

Now, what is the best way to get everything back to normal (no more Storage Card2)? I can't remember how I had fixed it with my Wizard long time ago.

Thanks!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] walshieau:
yeah im having the same issues... not sure if this is related... i use windows media player a lot and everytime i have to rebuild the playlist/db as it keeps getting corrupt... ive tried fat16 and fat32...

sleuth did those reg hacks fix yours??
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] tsc:
In cingular aku3.3, in 2.05 AKU3.3 WWE, RUS I have same problem with Sandisk 2Gb.

FAT16 or FAT32, 512 bytes or 4096 bytes, formatted SKtools or PC, changing registry

[HKLM\System\StorageManager]

"PNPUnloadDelay" = dword:4096 or 8196

[HKLM\System\StorageManager]

"PNPWaitIODelay" = dword:4096 or 8196

NO changed this issue.

Files on card is disappears randomly 1 time in 1-2 days.

Card reinserting or SR solve problem.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
I've had more luck with the card not disappearing since I did the hack and also, relocated my email to the internal memory (yeah, that sucks, but, it's better than the whole phone being screwed because the SD card shows up as 'Storage Card2')... Too bad there isn't a magic button that says, "Fix all my problems now" :)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
Mine were at 4096 originally and I changed both to 8192. I haven't had a failure since I made the change.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
I'm surprised that it's working so well with your 2GB SanDisk MicroSD.. I've been using the 1GB Crucial MicroSD in addition to the reg. hacks I posted and the moving the email/etc... It's rock solid now.. Of course, not exactly the layout I'd prefer, but, it's a business device for me, so, stability is more important than having it 'exactly' how I want.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
I updated the wiki with the reg edits and this thread. It seems to be fixing a lot of people problems, so I thought it appropriate :)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LuckeeLou:
I dont' know if it's the best way, but this is what I did:

1. Went into Messages-Menu-Tools-Options-Storage and unclicked 'Store attachments on storage card'.

2. Opened a Total Commander and changed the IEM reg hack entires. In the cookies, cookies and history keys, I changed 'Storage Card' to 'test'.

3. Opened IE so that 'test' will be created in the root directory of the Mobile Device.

4. Soft reset.

5. Opened file explorer and deleted Storage Card from the root directory of the Mobile Device.

6. Soft reset. When rebooted, Storage Card 2 should be Storage Card.

7. Opened a Total Commander and changed the IEM reg hack entires. In the cookies, cookies and history keys, I changed 'test' back to 'Storage Card'.

8. Deleted the IEM folder from Storage Card. (Didn't know if this was necessary but felt that it couldn't hurt).

9. Opened IE to create IEM on Storage Card.

10. Soft rest.

11. Deleted 'Test' from the root directory of the Mobile Device.

12. Performed the Reg Hack in this thread.

13. Sent the message attachments back to Storage Card.

It was laborious but much better than a hard reset. Everything seems to be well so far.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] dy2592:
Just thought I add to the list. I have the same exact problems people are describing here. I noticed it seems to be on the the 3.2 and 3.3 roms.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ibeqa:
I used to have this kind of problem with my himalaya device. I had a delkin 512 mb card and a takeMS 512 mb but both had Toshiba chip (or whatever it is). Then I bought PQI 1 GB card and never had this issue. Now I use 1 GB kingston and I don't have those problems (I hope never will).
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] robt2379:
I have a Sandisk 1GB card. Never had this problem until I upgraded to the Test AKU3.3 rom.

The most consistent failure comes when I have TT6 running in the car, switch off to pop into a shop or similar leaving TT running, return to the car and switch back on. About one in three times it starts with the licence screen and then cant find the maps.

Ive done the regedit today, so we'll see if it helps. Only ever had the problem when I switch the device back on, never mid session. Happens once every few days.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] spastico:
So,

I can just make this change, and that's it?

[HKLM\System\StorageManager]

"PNPUnloadDelay" = dword:8196

[HKLM\System\StorageManager]

"PNPWaitIODelay" = dword:8196
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] robt2379:
Thats what Ive done.

Dont know if its worked yet . . .
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LuckeeLou:
I performed that registry tweak 2 days ago. The device hasn't lost the card (Sandisk 2GB) yet. Prior to the tweak I was losing the card at least once a day.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] spastico:
I'm Sorry,

I guess I wasn't clear.

Can I just make the reg change, soft reset, and that's it.

or do we need to do this: ?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
That process isn't necessary. Make the reg. change, reboot. Done.

IF you see a 'Storage Card' **AND** a 'Storage Card2', just copy all the contents of Storage Card to Storage Card2 and rename Storage Card to Storage Card.bad. Reboot. Done.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LuckeeLou:
Those instructions are for getting rid of Storage Card 2.

You can just perform the reg tweak:

[HKLM\System\StorageManager]

"PNPUnloadDelay" = dword:8196

[HKLM\System\StorageManager]

"PNPWaitIODelay" = dword:8196
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Prerna:
Thanks LuckeeLou!

I wonder if this issue will or not appear on the WM6. Got it since today only and no prob so far...
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
Now that the cat's out of the bag so to speak, I can say that WM6 has the exact same issue

Good news though: I have not seen the problem since I put the reg changes in.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LuckeeLou:
I noticed the same thing. I performed the reg changes but still had problems. I had to remove SBSH Pocket Weather from my storage card onto the device. Everything appears to be good now.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Sleuth255:
point taken: I don't run any apps from my SD card.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Kassad:
I had the same problem and after switching to WM6 Vanilla it got worse: I havent got a storage card at all in the explorer (or memory settings). It was there and functioned, then the problem with the empty directories occured, so I removed the SD card and put it back in. After that the storage card just dissapeared.. I did a couple of soft resets, removed the SD card, changed the registry but noluck so far..
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LuckeeLou:
Do you have a lot of apps on your storage card? I think the biggest culprit are apps that affect the today screen. I moved all of those apps into device storage and don't have that problem anymore. I am running the xda live v0.10 rom.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Kassad:
nope, all I had on my today screen was installed in device storage. Now I dont have storage card at all so moving software around isnt really an isue ;-)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
I've still experienced the problem, but, I've had a good thought....

Those people who are having issues with the SD card disappearing OR some of the files on the card vanishing, etc.. How many *files* (not directories) do you have on the ROOT of the card? In other words, how many files are located at:

\Storage Card

I noticed that mine (which had quite a bit) took a while to show all the files in the file explorer. I thought that perhaps the system is trying to catalog the entire root of the card, and is running out of time, then, unloading it. SO, here's what I did:

I moved all the files from the root of the card into their own directories (I actually made it all pretty by creating subdirectories for things as appropriate).

What I'm really looking for is feedback... Is *this* the reason for the SD card disappearing?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Maarten_NL:
I have no files in the root of the SD card... and only 6 dirs.

I think it is just a drive issue, not a filesystem or cardproblem.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
@Maarten_NL: Did you apply the reg. hack? Are you still having the problem?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Kassad:
I just formatted my SD card and can see it again in my explorer, turned out the files on the card went corrupt. Restored the backup I luckily made of the card and things seem to be ok again.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] at10ti0n:
i now got this error too on wm6 xda live with a 2 gb san disk. i see the files/folders but when i try to use them it says file is corrupt

and when i checked the reg keys both were 8196 by default...
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
ok, I give up.. I was having a terrible time last night with my card, so I changed the value to 15000... It got worse! I changed it to 1500 and it got better.. So, with that in mind, if 8196 isn't working for you, try 1500.... Let me know if it helps..
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Maarten_NL:
I just did... so I will let you know in a few days how the reghack works for me.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] pmm0724:
Corrupt SD Card

I have seen this problem on multiple WM5 phones and you won't believe what fixed it: Make sure the today screen is the windows default.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] LegolasTheElf:
The theme should be the windows default? or it should not have loaded 3rd party today screen plugins?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] edwinyuen:
I guess I'll chime in. I was losing files off my SD card several times a day, even after I edited the registry settings with the 8196 value. I just hard reset my phone for the first time since my upgrade to the AT&T ROM and I'll see how that goes. I didn't change my default today screen away from the AT&T one, although I do have SPb Mobile Shell installed.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Kikouyou:
All my today apps are in main memory or extended memory. but the card still disappear from time to time whatever the registery twiks I have tried as suggested in this thread.

I have a question about the sandisk 2gb cards as there are 2 cards of this type:

- Regular one (no special marking)

- Ultra 2

Have everybody tried both of them?

I experienced more stability with the regular one over the past with OS 1.26

The Ultra got corrupted after a few deep shutdown (press and hold power button)

I need to try it again with Vanillia and see if I get the same issues...
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] sirtrini:
I only have the regular Sandisk 2gb. I had no troubles with the card "disappearing" on older ROMs, but since I've upgraded to the Test AKU3.3 ROM the problems have started.

The only cure that has worked so far is to eject and reinsert before I use an app that requires the card.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Applestar:
...there are a huge amount of (perfectly) faked SANDISK-Cards on the market. And their data storage & transfer quality is totally different. So make sure its an original one. There is a big discussion about this in Germany right now.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] BoarderMX:
I'm having the same problem but only since the upgrading using WM6 Vanilla
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ghz:
I have this problem as well. The other that I have problem related to memory card is that, the phone take long time to boot to today screen but not if I remove the card prior to reboot.

Now I have install WM6 Vanilla + format the card to FAT32 + change registry setting for the last 24 hours. So far still working well.

I have an 2GB sandisk memory card.