View Full Version : HOW TO FIX Disappearing SD Cards!
johnburn
1st August 2007, 02:49 PM
For what it's worth - since upgrading to WM6 (Black MAJIK then SATIN) I hacve not seen one single error or experienced one single problem worth my Micro SD card. Could of course be luck - but I doubt it. The same card was giving me no end of problems with corruption to files and then whole folders going missing.
I have not had a single problem either with the latest WM6 builds. I think the RTM and higher releases have a fix in it for this issue...
John
Sleuth255
1st August 2007, 03:29 PM
concur. SDHC support + a fix for this issue was added in the RTM build.
fireman54
4th August 2007, 03:26 PM
... In the 3 weeks I had them, I wasn't able to go more than about 12 hours on either of them without a soft reset (had a SanDisk 2GB card). Last Friday I picked up a 2GB Kensington card made in Japan...
Is that Kensington or Kingston?
CrunchyGremlin
5th August 2007, 11:26 AM
one you can just disable sleep and the storage card should not have issues.
two there is a reg setting to disable power management for the sd card.
i had this set for my wm5 build.
hklm\drivers\sdcard\class\sdmemory
DisablePowerManagement 1
solved my issues for wm5.
then i jumped through the hoops to install sleuths 3.1 wm6 build.
the registry setting was already in place on sleuths build. i figured you all must have known the fix and added it yourself.
the key isnt there in wm5 you have to add it.
it is in by default in sleuths wm6 build (you all totally rock at this. smoothest hack install ever)
from what i can tell this has 0 effect on battery life.this weekend my phone with an extended battery was off power for about 40 hours or more.
with wm6 my phone is almost useful as more than a phone.
i installed spd mobileshell, pocket plus,diary, time, and maybe voice command 6.1 on the sdcard in wm6. very few issus and no lock ups. i havent had my phone lock coming out of sleep since i made the change
YMMV
Barneyabz
6th August 2007, 07:37 PM
Is that Kensington or Kingston?
Don't know about Shorty but I solved mine by getting the Kingston 2gb card (made in Japan). Had it two weeks now and never had this problem since.
Cheers
Barney
fireman54
8th August 2007, 03:30 AM
Don't know about Shorty but I solved mine by getting the Kingston 2gb card (made in Japan). Had it two weeks now and never had this problem since.
Cheers
Barney
Thanx for the info. I ordered a Kingston 2gb. I'll let you know how it works. The 2gb Sandisk I have now got so corrupted that it was unreadable. I was able to retrieve most of my data off of it.
Regards.
Barneyabz
8th August 2007, 10:29 AM
Let us know how it goes Fireman.
Cheers
Barney
short/y
8th August 2007, 05:24 PM
Don't know about Shorty but I solved mine by getting the Kingston 2gb card (made in Japan). Had it two weeks now and never had this problem since.
Cheers
Barney
Sorry, guys, finger check on my part. It was a Kingston card, not a Kensington. And I'm still having the same success with this card that I originally posted about. I reboot about once a week now and that's because it's a habit I developed.
fireman54
13th August 2007, 03:45 AM
Great! Had my 2GB Kingston Micro SD for a few days now. No problems at all. I have my WA2 Skins located on the SD card. With the Sandisk 2 GB SD, I had problems with the skin loading all the time. Especially switching from portrait to landscape and vice versa. With the Kingston micro SD, WA2 loads the skin properly. It seems to be quicker, too. Thanx for the suggestion.
Barneyabz
15th August 2007, 11:46 AM
Good to hear - guess getting a Kingston card is the answer (as others have said).
Cheers
Barney
CrunchyGremlin
15th August 2007, 11:37 PM
try installing an app on the storage card that has boot services like spd pocket plus.
watchdog2003
21st August 2007, 11:05 PM
Ever since I upgraded to the new AKU3.3 Cingular roms, I've been having an issue where my 2GB Sandisk MicroSD Card will just 'disappear'. It can take one of two different forms when it disappears:
1) The card looks like it's simply not there. The OS creates another directory on the device itself called "Storage Card". Ejecting the card and reinserting it makes it visible to the device again, but, then the card itself is called, "Storage Card2", with the obvious issues of all links being broken until I manually rename everything to be what it should be.
2) The card is there, and I can navigate the directories, but, there is nothing IN the directores. Removing and re-inserting fixes this, and all my info is there again.
This is getting REALLY annoying, and only happened since the upgrade to the new Cingular rom. Anyone have any ideas of what is causing the problem, and/or how to fix it?
Thanks!
EDIT:
After working at the issue for a while, here is the end results:
Do the following reg. hack (numbers are in DECIMAL! hex equiv. is 0x2004):
[HKLM\System\StorageManager]
"PNPUnloadDelay" = dword:8196
[HKLM\System\StorageManager]
"PNPWaitIODelay" = dword:8196
Additionally, the Kingston 1GB MicroSD Card is *much* better (Japanese made) than the SanDisk or even the Crucial :eek: MicroSD (Taiwan).
I had SEVERE issues with the card going missing; changing to the Kingston SD and applying the above fixes made the issue GO AWAY!
Given to me by an XDA member,
SO ALLWAYS CREATE FOLLOWING FOLDER ON STORAGE CARD
Storage Card\My Documents
You do not have to have any files in this folder (mine is empty)
hotrodbx
8th October 2007, 12:37 PM
I have a Vario 2 with everything still standard on it. I hard reset my phone and started to re install the software i have. I noticed that my folder that i kept all of my pics, vids and music in has disppeared!! The card says there is still data on it but i can't find it anywhere.
Can anyone help?
Thanks
Spit
11th October 2007, 09:20 PM
Even with all those tricks, using WM5 I still have this problem ! I'm really fed up with this stupid card and/or ROM.
:mad:
tony.wheeler
12th October 2007, 11:18 PM
I had lots of problems with WM5. I have been on WM6 (Black ROMS) fo rmonths and have not seen a single loss of, or corruption of, data on the card. I have also run WM6 for weeks without having to do a single soft reset. The move to WM6 has solved the 2 major Hermes for me:) .
Aware4321
15th January 2008, 05:20 PM
Anyone think it may just be all Sandisk cards and not the rom? I had a sandisk in my treo and had the same thing happen as I now do with my micro sandisk sd now in my hermes. One day I was listening to music and accidentally hit the camera button, after this my windows media player would not recognize the music files off the sd card.(it would search for the files, find them, then hang up after adding about 3/4 of the files, yet none of the files could be found in the library.) these files ARE although able to be played individually through file explorer though...weird stuff!! ....disregard this if the issue has already been discussed :) oh ya and if it has someone please send me a link!
KiloSat
4th February 2008, 02:23 PM
Do you guys really think its the card?
Whats wierd for me is that its Only the "My Documents" folder that is empty.. very very annoying to lost that folder. Have to restore my files to it and say goodbye to pictures.
I tried a jpg restore software to recover them but no luck.. nothing there..
Shoaibz
10th February 2008, 09:43 AM
Hi,
I've been reading this thread since last month. I got myself an Orange SPVM3100 and it had an old rom installed, so I upgraded to the latest official orange rom and then bought a 2GB micro sd card, of "AMCO". I think its a Korean company. Anyway I didn't notice any problem, soon I upgraded to official WM6 HTC tytn rom, and made a quick jump to Schaps 4.31, and then the problems started. My apps installed on the card started disappearing. File explorer started to show empty folders Sometimes my tytn had to be soft reset, as I couldn't wake it up out of standby by using the power button etc, you all know the usual problems. I explored my registry after reading this thread, but my values, (as it was a cooked ROM) were already on 8196. I tried the tweak of having nothing in "my documents" option. Formatted the card to fat32, and every other tweak mentioned here, then I went and got a Kingston card with JAPAN written on it, later a SANDISK card and then even a KINGSTON card with Taiwan written on it!!!! but nothing worked. So I decided to reflash to the official orange ROM. Well it has been three days, and I've haven't had a single issue with my SD card. The phone comes out of standby in normal manner, no lagging in file browser, in any. And I've been heavily using the card, like placing 400 mb of music and videos, installing dictionary and encyclopedia, which alone take a GB. And syncing with my pc for contacts and emails. So IMHO its a ROM issue. At least thats for me !
Keyosuke
22nd February 2008, 06:02 PM
|Edit:Ignore everything after this edit/paragraph in this post as it is partially wrong and won't help. Seems I didn't test it well enough. Always give fixes more than a hang full of tests ;-) I'll keep working on it. In the meantime you can read this: http://blogs.msdn.com/windowsmobile/archive/2007/01/12/everything-you-want-to-know-about-sd.aspx
I was trying to find a way to stop the storage card from unmounting, though that would be against the intent of microsoft, it seems. I'm leaving this because it shows what doesn't work and I'll change it if I find something that works. Seems you can't edit the pnpunloaddelay during CE runtime or it has no effect, and you can't stop the card from unloading by the other means I haven't posted about. Buying a card that reinitializes faster might be the only solution, as well as using a rom cooked to have a super late pnpunloaddelay. Note: it's in miliseconds so the values you guys use make no sense at all. Might as well just use 5000 if you're going over what can be specified in a 3 nibbles of memory, which is 4095. If you're using 8*** might as well use 8 something rounder there as well, like 0x1FFF| Idiocy starts here:
I think I've found a workaround that should solve this problem for everyone (though solve isn't the best word because it introduces a disadvantage). I have chosen to use this workaround and the change it creates can be observed without even a soft reset.
The conditions this fixes: My storage card becomes corrupt, doesn't allow file access, disconnects, and many other strange things if the device goes into true standby/suspend mode. This can be enduced through a software function that triggers suspend, or through leaving the device alone for enough time to cause the screen to become dark, and then perhaps a little more time depending on the device. This isn't limited to Hermes and is seen in many WM6 and WM5 roms that utilize SDHC driver patches or "more recent" memory card drivers. When the device goes into suspend, all use of the card is suspended and it is shutdown until the device comes out of suspend. This confuses the driver due to how some cards initialize, causing the driver to fail. The previous registry workarounds mentioned here can help some particular cards due to the delay they introduce in the reinitialization of the card, but other cards such as my cheap brandless ones do not reinitialize regardless of the time period given to them.
The Fix:
I then recalled that my videocard had this problem under Windows XP, and the solution was simply to avoid suspend mode, but a better solution is available on Pocket PC, and that is to set the storage device manager so that it never disables the storage card upon entering suspend. This causes the card to never need reinitialization after leaving suspend mode, which guarantees the card will always be available and working. If it doesn't suspend the card, it doesn't have to "unsuspend" the card. (Scroll to the bottom for the registry setting that fixes this)
The Catches:
Leaving the card enabled means more power consumption while in suspend mode, so if you like to leave your phone in your pocket and not use it, with the card inserted, it will now lose its charge faster. Benchmark this and let us know how it effects the time, if anyone would be so kind.
This fix will probably fail for someone and cause complaining; either because that person did something incorrectly or because they have a different storage card hardware than I have (which is the reason the other fixes only work for certain folks). I hope this works for you and good luck.
How to Apply The Fix:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ SDMemory]
;The key below is a DWORD and not a string
"DisableOnSuspend"=0
The [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ SDMemory] is the path to where the setting needs to be created and set. If you don't know how to use a registry editor to safely do this, please rely on someone else here to make a registry file. My registry editor doesn't export and I don't want to risk a syntax error so I'm not planning on doing that.
The line starting with a semicolon is simply telling you to make the setting of type DWORD, since there are multiple types available.
The final line is telling you the name of the setting and what to set it equal to. Be careful not to include the quotes in the name when you create it. The syntax I used in this post is what Microsoft uses in .reg files and on MSDN. You may also have to change the SDMemory into any of the following due to the nature of drivers and hardware on your device. I don't own a Hermes so I don't know which storage device it has or what it calls its storage in the registry. Take a look at the Profiles and try this tweak on the one that sounds the most like your storage device. If it fails to help, try it on another. All registry edits of this low level have risk, so don't blame me if it screws something up when you pick the wrong one or make a typo. A list of possible replacements of "SDMemory" is below:
CDProfile, HDProfile, MMCProfile, MMC, MSFlash, PCMCIA, SDMMC, USBCDProfile, USBFDProfile, USBHDProfile, TrueFFS_DOC, TrueFFS_DOC1, and TrueFFS_DOC2.
My devices SD slot is an SDIO slot that can accept several of the things on this list, so if you find that this solves the problem with SD cards but not MMC cards (or something like that) then try it on both. If you're having this problem then the odds are that you've flashed your rom before so this level of risk is normal for you.
To make this setting take effect immediately after entering it, initiate a suspend via the suspend button on your device (my HTC Universal has a suspend button labeled as a power button). After that, initiate a suspend using software like QuickMenu, which is a truer suspend than what my Universal does by use of the button. Right about now you are wondering how I know all of this, why I'm in the wrong location talking about the wrong phone, and why I think this works when it doesn't work for you. Well, you can call this all an educated guess, but I would rather think of it as I knowing this from being and engineer who reads a lot of microsoft webpages and likes to hack the windows registry (and who does realtime software engineering on such hardware), I'm in the wrong forum talking about the wrong phone because this issue applies to MANY phones and I'm experiencing it too, even if I'm not on identicle hardware, and this was tested by me and proved to be an excellent workaround for my specific cards and device so I am sharing it in the hopes it'll help someone else.
Thanks and Good Luck.
niteczka
17th May 2008, 05:58 PM
I foundsolution that work in my case at 100%. Beside i did above registry trick (it wont work) i did, what states at below link:
Comment from: Jason [Visitor]
Window Media can't read storage card to update the library, but File Explorer can read storage card.
I found the answer to the Prob
Solution!
Delete the MSMETADATA folder on the root of the card.Then go back to Windows click on Library then update and watch all your files get updated.
Just another Windows bug....
Permalink 22/12/06 @ 16:50
http://www.tracyandmatt.co.uk/blogs/index.php/2006/08/11/orange_spv_m3100_review
sanfrenchysco
11th September 2008, 12:19 AM
|Edit:Ignore everything after this edit/paragraph in this post as it is partially wrong and won't help. Seems I didn't test it well enough. Always give fixes more than a hang full of tests ;-) I'll keep working on it. In the meantime you can read this: http://blogs.msdn.com/windowsmobile/archive/2007/01/12/everything-you-want-to-know-about-sd.aspx
I was trying to find a way to stop the storage card from unmounting, though that would be against the intent of microsoft, it seems. I'm leaving this because it shows what doesn't work and I'll change it if I find something that works. Seems you can't edit the pnpunloaddelay during CE runtime or it has no effect, and you can't stop the card from unloading by the other means I haven't posted about. Buying a card that reinitializes faster might be the only solution, as well as using a rom cooked to have a super late pnpunloaddelay. Note: it's in miliseconds so the values you guys use make no sense at all. Might as well just use 5000 if you're going over what can be specified in a 3 nibbles of memory, which is 4095. If you're using 8*** might as well use 8 something rounder there as well, like 0x1FFF| Idiocy starts here:
I think I've found a workaround that should solve this problem for everyone (though solve isn't the best word because it introduces a disadvantage). I have chosen to use this workaround and the change it creates can be observed without even a soft reset.
The conditions this fixes: My storage card becomes corrupt, doesn't allow file access, disconnects, and many other strange things if the device goes into true standby/suspend mode. This can be enduced through a software function that triggers suspend, or through leaving the device alone for enough time to cause the screen to become dark, and then perhaps a little more time depending on the device. This isn't limited to Hermes and is seen in many WM6 and WM5 roms that utilize SDHC driver patches or "more recent" memory card drivers. When the device goes into suspend, all use of the card is suspended and it is shutdown until the device comes out of suspend. This confuses the driver due to how some cards initialize, causing the driver to fail. The previous registry workarounds mentioned here can help some particular cards due to the delay they introduce in the reinitialization of the card, but other cards such as my cheap brandless ones do not reinitialize regardless of the time period given to them.
The Fix:
I then recalled that my videocard had this problem under Windows XP, and the solution was simply to avoid suspend mode, but a better solution is available on Pocket PC, and that is to set the storage device manager so that it never disables the storage card upon entering suspend. This causes the card to never need reinitialization after leaving suspend mode, which guarantees the card will always be available and working. If it doesn't suspend the card, it doesn't have to "unsuspend" the card. (Scroll to the bottom for the registry setting that fixes this)
The Catches:
Leaving the card enabled means more power consumption while in suspend mode, so if you like to leave your phone in your pocket and not use it, with the card inserted, it will now lose its charge faster. Benchmark this and let us know how it effects the time, if anyone would be so kind.
This fix will probably fail for someone and cause complaining; either because that person did something incorrectly or because they have a different storage card hardware than I have (which is the reason the other fixes only work for certain folks). I hope this works for you and good luck.
How to Apply The Fix:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ SDMemory]
;The key below is a DWORD and not a string
"DisableOnSuspend"=0
The [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ SDMemory] is the path to where the setting needs to be created and set. If you don't know how to use a registry editor to safely do this, please rely on someone else here to make a registry file. My registry editor doesn't export and I don't want to risk a syntax error so I'm not planning on doing that.
The line starting with a semicolon is simply telling you to make the setting of type DWORD, since there are multiple types available.
The final line is telling you the name of the setting and what to set it equal to. Be careful not to include the quotes in the name when you create it. The syntax I used in this post is what Microsoft uses in .reg files and on MSDN. You may also have to change the SDMemory into any of the following due to the nature of drivers and hardware on your device. I don't own a Hermes so I don't know which storage device it has or what it calls its storage in the registry. Take a look at the Profiles and try this tweak on the one that sounds the most like your storage device. If it fails to help, try it on another. All registry edits of this low level have risk, so don't blame me if it screws something up when you pick the wrong one or make a typo. A list of possible replacements of "SDMemory" is below:
CDProfile, HDProfile, MMCProfile, MMC, MSFlash, PCMCIA, SDMMC, USBCDProfile, USBFDProfile, USBHDProfile, TrueFFS_DOC, TrueFFS_DOC1, and TrueFFS_DOC2.
My devices SD slot is an SDIO slot that can accept several of the things on this list, so if you find that this solves the problem with SD cards but not MMC cards (or something like that) then try it on both. If you're having this problem then the odds are that you've flashed your rom before so this level of risk is normal for you.
To make this setting take effect immediately after entering it, initiate a suspend via the suspend button on your device (my HTC Universal has a suspend button labeled as a power button). After that, initiate a suspend using software like QuickMenu, which is a truer suspend than what my Universal does by use of the button. Right about now you are wondering how I know all of this, why I'm in the wrong location talking about the wrong phone, and why I think this works when it doesn't work for you. Well, you can call this all an educated guess, but I would rather think of it as I knowing this from being and engineer who reads a lot of microsoft webpages and likes to hack the windows registry (and who does realtime software engineering on such hardware), I'm in the wrong forum talking about the wrong phone because this issue applies to MANY phones and I'm experiencing it too, even if I'm not on identicle hardware, and this was tested by me and proved to be an excellent workaround for my specific cards and device so I am sharing it in the hopes it'll help someone else.
Thanks and Good Luck.
I like this workaround of not suspending the SDcard but it uses more battery than intended. Knowing that this problem apears accross the board on many non HTC WM phones... it seems it is caused by a generic WM implementation problem.
Okay all above information in the forum points to a genuine timing issue, specialy evident when resuming. Even MS engineers acknowledged this with an official workaround: \StorgeMgr\PnPDelay settings that sometimes help, sometimes not based on the phone and make/model of SD card in use. (see earlier posts about Taiwan vs. Japan)
So what is the core of this problem: Windows "PlugNPray" runing through a laundry list of enumerations!:mad:
The rational: enumarate SD early so we don't depend on other drivers hanging before we get to it.
How to fix this once and for all: load the SD driver stack earlier, tweak priorities and bump up timeouts. (Based on a Hermes 8525 PDAVietV2x)
HKLM\Drivers\BuiltIn\SDBusdriver\Order=3
HKLM\Drivers\BuiltIn\SDHC\Order=4
HKLM\Drivers\BuiltIn\SDHC\CardDetect_Thread_Priori ty<109
HKLM\Drivers\BuiltIn\SDHC\PollingTimeout=384 (0x180)
(The evidence shows that the SD stack was only involved way near the bottom after too many high level protocol drivers and such.)
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
There are some settings available for auto formating SDcards but I guess no one has really used AutoFormat since WM SD implementation has proved to be half-baked. :(
To test my tweaks I am runing with PnPUnloadDelay and PnPWaitIoDelay set low (1.5s) at 1500/1500 on a 2Gb LG card.
SanFrenchysco.
buggers999
16th September 2008, 07:37 AM
i Found another solution that works 100% simply set 0 to both PnPUnloadDelay and PnPWaitIoDelay at regisrty.
buggers999
16th September 2008, 08:36 AM
I like this workaround of not suspending the SDcard but it uses more battery than intended. Knowing that this problem apears accross the board on many non HTC WM phones... it seems it is caused by a generic WM implementation problem.
Okay all above information in the forum points to a genuine timing issue, specialy evident when resuming. Even MS engineers acknowledged this with an official workaround: \StorgeMgr\PnPDelay settings that sometimes help, sometimes not based on the phone and make/model of SD card in use. (see earlier posts about Taiwan vs. Japan)
So what is the core of this problem: Windows "PlugNPray" runing through a laundry list of enumerations!:mad:
The rational: enumarate SD early so we don't depend on other drivers hanging before we get to it.
How to fix this once and for all: load the SD driver stack earlier, tweak priorities and bump up timeouts. (Based on a Hermes 8525 PDAVietV2x)
HKLM\Drivers\BuiltIn\SDBusdriver\Order=3
HKLM\Drivers\BuiltIn\SDHC\Order=4
HKLM\Drivers\BuiltIn\SDHC\CardDetect_Thread_Priori ty<109
HKLM\Drivers\BuiltIn\SDHC\PollingTimeout=384 (0x180)
(The evidence shows that the SD stack was only involved way near the bottom after too many high level protocol drivers and such.)
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
There are some settings available for auto formating SDcards but I guess no one has really used AutoFormat since WM SD implementation has proved to be half-baked. :(
To test my tweaks I am runing with PnPUnloadDelay and PnPWaitIoDelay set low (1.5s) at 1500/1500 on a 2Gb LG card.
SanFrenchysco.
i cant find this key what i can do ?
HKLM\Drivers\BuiltIn\SDHC\PollingTimeout=384 (0x180)
sanfrenchysco
17th September 2008, 10:49 PM
i cant find this key what i can do ?
HKLM\Drivers\BuiltIn\SDHC\PollingTimeout=384 (0x180)
What do you have under HKLM\Drivers\BuiltIn\SDHC\ ?
What ROM build are you on?
.. perhaps your build has an older/newer SD driver
On top of what I have posted above I am testing disabling *Disk* caching for SD as I suspect there may be some internal wear-leveling logic involved with some SD cards that can invalidate FAT cache content.
That could explains why problems only happen overnight and on some models and not others...
buggers999
18th September 2008, 09:23 AM
What do you have under HKLM\Drivers\BuiltIn\SDHC\ ?
What ROM build are you on?
.. perhaps your build has an older/newer SD driver
On top of what I have posted above I am testing disabling *Disk* caching for SD as I suspect there may be some internal wear-leveling logic involved with some SD cards that can invalidate FAT cache content.
That could explains why problems only happen overnight and on some models and not others...
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_Priori ty =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.
sanfrenchysco
19th September 2008, 08:41 PM
[QUOTE=buggers999;2657686]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.
"pls confirm that is good and cannot harm my phone..." the only thing I can confirm for sure is there is no garanty in life :D Some settings may be safe for your HW but not for your data. As soon as you start tweaking you become part of the developers community and your enlighted experience is invaluable.
On a serious note, go easy when you bump up the Priorities, this is always touchy class on a wanna be real time platform. You may be getting ahead of tasks that require immediate attention unlike PnP enumerations.
Try to play with one setting or class of settings at the time so you have an idea of what is causing what.
I found that when you bump up the loadOrders you need to look at the Active key to see where things end up -- do that tweak interactively so you don't try to load things early that can never load early.
Here is what I have:
SDBusDriver order=3 > SDC1 loads as #35
SDHC order=4 > SDH1 loads as # 43
SDMemory: (no order it's PnP) > DSK1 loads as #56
buggers999
20th September 2008, 09:07 AM
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 :)
dudeluv
21st September 2008, 06:16 AM
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
sanfrenchysco
22nd September 2008, 09:13 PM
I do not have these entries in DVH ver 24 full nonbs
HKLM\System\StorageManager\Profiles\SDMemory\FATFS \DisableAutoScan=0
HKLM\System\StorageManager\Profiles\SDMemory\FATFS \EnableCache=0
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.
sanfrenchysco
22nd September 2008, 09:24 PM
i Found another solution that works 100% simply set 0 to both PnPUnloadDelay and PnPWaitIoDelay at regisrty.
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?
metkosas
23rd September 2008, 02:15 PM
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?
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)
G.E.O.
27th November 2008, 09:46 PM
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:
joeblack01
2nd August 2009, 04:54 PM
Just a quick note.
I have the same problem with my HTC Touch Pro.
Here's the link: http://forum.xda-developers.com/showthread.php?t=509081&page=2
fmedrano1977
17th December 2009, 03:58 PM
I may have found a fix! Testing right now!
luxcrypt
2nd September 2010, 09:57 PM
hello to anyone who has problems with memory card, format in due order
NTSF and the problem is solved
venomcorp
14th November 2010, 01:29 PM
[QUOTE=fmedrano1977;5166695]I may have found a fix! Testing right now![/QU
what is the fix?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.