PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Apache (http://forum.ppcgeeks.com/forumdisplay.php?f=14)
-   -   Missing SD Card problem in AKU3.3 fixed!!!! (http://forum.ppcgeeks.com/showthread.php?t=2083)

Robb Bates 01-26-2007 01:55 PM

Missing SD Card problem in AKU3.3 fixed!!!!
 
Quote:

Originally Posted by schettj
Just checked my \Windows properties for:

\Windows\QCT.dll
\Windows\SDMemory.dll
\Windows\rilphone.dll

And all three of these are 'in ROM' for me...

So, I guess I didn't run that Sprint Cab :D

If you deleted those files and soft-reset, would the ROM versions re-appear? How do you get those back?

Well, I just renamed these to *.bak and after a complaint about "cannot delete" the ROM versions of these files appeared.

I have reset my device four times. Before my SD card would be missing after a reset almost 90% of the time. Now it's there. This may be the big fix we've been waiting for.

I'll keep playing with it and see if I ever lose the SD card and I'll update this thread.

I suspect all you'd have to change is the SDMemory.dll file.

Robb

colonel 01-26-2007 01:58 PM

These are all from the Sprint cab right? So, we could just try skipping that cab in the ExtRom to avoid the overwrite. Keep us posted.

Robb Bates 01-26-2007 02:06 PM

That appears to be the case. All credit goes to jimeverett for finding this. I just tried it and it seems to work.

Quote:

Originally Posted by jimeverett
I may have found the problem with the SD card not being seen by the phone at times. If you hard reset and your Extended Rom has the Sprint Files or the file of "PP_LockUp_Apac_212705.sa" this over rights the newer or current "sdmemory.dll" thus a problem. The other files I see that could also get affected from even a clean Ext_Rom.

\Windows\QCT.dll
\Windows\SDMemory.dll
\Windows\rilphone.dll


Just something I found.

What else the .cab file does, I'm not sure. Jim seems to be researching that. I also don't know what the QCT.dll and rilphone.dll do, or what the effects of restoring the ROM versions will do.

Does anyone know what these other two files are for?

I'll update this thread with any more findings.

Robb

schettj 01-26-2007 02:36 PM

Quote:

Originally Posted by Robb Bates
Does anyone know what these other two files are for?

http://pdaphonehome.com/forums/ppc-6...laination.html

"Radio Interface Layer" is RILphone... looks like it gets patched twice (PT_Ril_Apac_206301.sa.CAB, and
PP_LockUp_Apac_212705.sa.CAB)

http://purl.rikers.org/%23htc-linux/20061123.html.gz

QCT.dll is the serial driver. Not serial/USB, just serial.

So, something to do with fixing lockups in the radio/serial drivers? Unclear to me if the DLL versions in the 3.3 ROM are older or newer then the "2.x SPRINT/UTC" patches. My guess is, they are all NEWER in the rom, and you should not install any SPRINT extended rom "patches/updates" to any of the 3.3 OS files.

A quick look at the \Windows folder, in total commander, sorted by extension, looking at the dlls, and hiding ROM files will give you a list of what you've (potentially) overwritten in the ROM.

I'll try and post my list a bit later today, weeding out the dlls for installed apps.

Robb Bates 01-26-2007 02:43 PM

The patched versions:

QCT.dll 8/1/06
rilphone.dll 8/31/06
SDMemory.dll 8/1/06

AKU3.3 versions:

All 1/18/07

So it appears that they all are newer.

So far so good with the SD card. Haven't seen it disappear yet.

Robb

Alwaysbelieve1 01-26-2007 03:00 PM

Quote:

Originally Posted by Robb Bates
The patched versions:

QCT.dll 8/1/06
rilphone.dll 8/31/06
SDMemory.dll 8/1/06

AKU3.3 versions:

All 1/18/07

So it appears that they all are newer.

So far so good with the SD card. Haven't seen it disappear yet.

Robb

What does this mean they are all newer? They are 06 when the 3.3 is 07. How is that newer?

What are supposed to do then- not install certain patches. If so, which ones?

Robb Bates 01-26-2007 03:23 PM

I meant that the AKU3.3 versions are newer. The disappearing SD card problem arose from having old ExtROM patch files overwriting the newer AKU3.3 files.

If you've already installed the patches, just delete the files. The newer ROM versions will then reappear. Then soft reset.

jimeverret is figuring out which .cabs are causing the problem. Hopefully he'll post more info on which ExtROM .cabs you shouldn't install.

Robb

imkk 01-26-2007 03:27 PM

You are a genius. That seems to have worked for me. I cannot make the card disappear. I even took the card out and it still shows up as long as it is within 6 inches of the PPC. (just kidding)

Robb Bates 01-26-2007 03:29 PM

I can't take the credit for this one. All goes to jimeverret. I just followed through with his idea.

Robb

colonel 01-26-2007 03:31 PM

Umm, Robb, are you sure those dates aren't coming from the day you installed the rom? I am pretty sure those dlls weren't written 8 days ago. :wink:

Give me some time and I will try to compare the .dlls with the ones in the rom.

Bushrod 01-26-2007 03:33 PM

The ROM files are dated the date that the ROM was built.

Robb Bates 01-26-2007 03:34 PM

Very well could be the case. But regardless, the AKU3.3 versions that are in ROM are the correct working versions and the older ExtROM patch versions are causing the problem.

Robb

colonel 01-26-2007 03:35 PM

Quote:

Originally Posted by Bushrod
The ROM files are dated the date that the ROM was built.

Mine all say 1/25/07 :D

takmsdsm 01-26-2007 03:36 PM

hmmm ill try this out. maybe it will cure some of my lockups.

im thinking that pocketbreeze might use some .net 1 features, and if i have .net loaded on the sd card, and the card disappears, then that might be the point of failure. Ill give it a try. I have also been experiencing some random lockups with wisbar advance and maybe spb diary. ill check and report back.

colonel 01-26-2007 03:36 PM

Quote:

Originally Posted by Robb Bates
Very well could be the case. But regardless, the AKU3.3 versions that are in ROM are the correct working versions and the older ExtROM patch versions are causing the problem.

Robb

Cool. I guess we just need to determine if all of the files from the sprint cab are junk or just some. If one or two need to be put in the rom I can do that.

Robb Bates 01-26-2007 03:45 PM

Quote:

Originally Posted by colonel
Quote:

Originally Posted by Bushrod
The ROM files are dated the date that the ROM was built.

Mine all say 1/25/07 :D

And you haven't had any disappearing SD card problems?

If that's the case, then Sweet! Another confirmation.

Robb

naigaboy 01-26-2007 04:28 PM

Ok i just deleted those 3 files and I noticed there were other files that seem to be outdated (e.g:- qctusb.dll), can anybody make a list of wat can be deleted and wat not. no more sd card problems though. just trying to make sure something we all dont know about is not being overwritten.

Robb Bates 01-26-2007 04:31 PM

naigaboy, what are the dates of the ROM files?

Mine were 1/18/07, colonel's were 1/25/07. It looks like the dates might be the install date and not the build date.

Robb

naigaboy 01-26-2007 05:05 PM

It is the install date. mine are also 1/25/07. Did another reinstall yesterday. also take care not to delete system files for programs you installed. those are dated back to their creation date or something like that if i'm not mistaken. just compare a basic 2.2 install with a 3.3 install. dont have anybody with a 2.2 phn around for me to check and my ppls finally got hold of my test phn.

dprout69 01-26-2007 07:09 PM

It's the install date people

imkk 01-26-2007 10:53 PM

renaming/deleting just the file named \Windows\SDMemory.dll
worked for me.....

Jady 01-26-2007 11:16 PM

So if I understand correctly, its the Sprint extROM CABs that are overwriting the .dll files. Does that mean that if you ave a vzw extROM and dont have it installed, should there still be a SD problem?

Robb Bates 01-26-2007 11:23 PM

Quote:

Originally Posted by Jady
So if I understand correctly, its the Sprint extROM CABs that are overwriting the .dll files. Does that mean that if you ave a vzw extROM and dont have it installed, should there still be a SD problem?

I'm not sure it's specific to Sprint. I think it's an Apache patch. And if you let that particular .cab file install during the hard reset custimization then you'll have problems. If not, then you shouldn't... in theory.

Do you have disappearing SD card problems?

Robb

colonel 01-26-2007 11:29 PM

That file is present in the bare rom. Can someone who is having these issues load the bare rom only. You will not have data access, but phone and text are fine (talking about Sprint users). If you have issues with the Sprint cab, but not with the bare rom we can start to narrow it down. Also, it still begs the question about Verizon and other carriers.

One thing to look at if someone has it is a dump file from the older stock roms to see if it is there. If someone has the ability to compare the .dlls I can send them the one in the rom.

Jady 01-27-2007 12:13 AM

Quote:

Originally Posted by Robb Bates
Quote:

Originally Posted by Jady
So if I understand correctly, its the Sprint extROM CABs that are overwriting the .dll files. Does that mean that if you ave a vzw extROM and dont have it installed, should there still be a SD problem?

I'm not sure it's specific to Sprint. I think it's an Apache patch. And if you let that particular .cab file install during the hard reset custimization then you'll have problems. If not, then you shouldn't... in theory.

Do you have disappearing SD card problems?

Robb

I had 3.3 on for a day or so and whereas my SDcard never truly disappeared, when coming out of suspend, it would take 15-20 seconds to be recognized. In 2.2 it only rook maybe 2 seconds to be recognized. Gonna try Colonel's custom cook this weekend and I'll see if its any better.

Alwaysbelieve1 01-27-2007 01:52 AM

How do you delete files in the Rom?

I am using Total Commander and it will not do that.

naigaboy 01-27-2007 11:19 AM

only qct and sdmemory will delete, ril??? will not delete, you have to rename it it to .bak. I tried renaming some other dlls to see if it will automatically bringup the new one so i can know wat else can be deleted, no success at that. about to back it all up and just delete them, then see. I just see myself reflashing again so soon from last night. LOL :D

Videonut 01-27-2007 11:41 AM

I upgraded from BellMobility 2.2 to the Colonel's Custom 3.3 and I had the lost sdcard problem too. Renamed the 3 files mentioned here and after reset all is seems good now.

colonel 01-27-2007 02:25 PM

FWIW, I did not do anything to these .dlls in my rom. I am waiting until we are sure as to what the solution is and I will put it in the next release.

Jady, if you do see any changes it may be due to reg tweaks. So, let me know.

Running just the base custom rom and the attached NoJunk ExtRom, I can power off and have the SD dismount. It does come back within a few seconds though. I will try installing apps to the SD and see if this causes a longer delay.

imkk 01-27-2007 02:52 PM

you will just have to rename it then.

Quote:

Originally Posted by Alwaysbelieve1
How do you delete files in the Rom?

I am using Total Commander and it will not do that.


imkk 01-27-2007 02:53 PM

what do the other two files do? I only had to replace sdmemory and my card will not go away...

Quote:

Originally Posted by naigaboy
only qct and sdmemory will delete, ril??? will not delete, you have to rename it it to .bak. I tried renaming some other dlls to see if it will automatically bringup the new one so i can know wat else can be deleted, no success at that. about to back it all up and just delete them, then see. I just see myself reflashing again so soon from last night. LOL :D


dprout69 01-27-2007 03:19 PM

Quote:

Originally Posted by colonel
FWIW, I did not do anything to these .dlls in my rom. I am waiting until we are sure as to what the solution is and I will put it in the next release.

Jady, if you do see any changes it may be due to reg tweaks. So, let me know.

Running just the base custom rom and the attached NoJunk ExtRom, I can power off and have the SD dismount. It does come back within a few seconds though. I will try installing apps to the SD and see if this causes a longer delay.

colonel I can tell you this much... I woke up this morning and my sd card wasnt showing. I left it that way for an hour because I didnt want to soft reset yet... right before I did soft reset I deleted sdmemory.dll for the first time just for the heck of it and instantly my card showed back up (even before I soft reset)... the file never reappeared in windows, but it still shows in ROM, so IMHO evidently the file being written to windows conflicts with the one in ROM and as long as you only have one file the sd card stays. I dont know what the other 2 .dll's do but I can verify there is a direct connection between deleting sdmemory.dll out of windows and the card reappearing.

colonel 01-27-2007 03:40 PM

Quote:

Originally Posted by dprout69
the file never reappeared in windows, but it still shows in ROM, so IMHO evidently the file being written to windows conflicts with the one in ROM and as long as you only have one file the sd card stays. .

So you had it there twice? When viewing with Total Commander, I only have one SDMemory dll. When you say it is not in windows, but still shows in the rom, what exactly do you mean?

dprout69 01-27-2007 03:49 PM

Quote:

Originally Posted by colonel
Quote:

Originally Posted by dprout69
the file never reappeared in windows, but it still shows in ROM, so IMHO evidently the file being written to windows conflicts with the one in ROM and as long as you only have one file the sd card stays. .

So you had it there twice? When viewing with Total Commander, I only have one SDMemory dll. When you say it is not in windows, but still shows in the rom, what exactly do you mean?

Before deletion... it was present in the stock explorer and that's where I deleted it from.

After deletion... if you "show all files" in the stock explorer, the file no longer shows. However if you do a search in total commander it's still listing in windows with properties of in rom.

colonel 01-27-2007 06:49 PM

Gotcha.

Okay, I just did another flash of my phone (next rom beta :D ). This was done with a blank ExtRom. The SDMemory.dll does not show up in the stock File Explorer when viewing all files. It is still in the rom as Total Commander shows it. Actually, all of the .dll files installed by the Sprint cab are in the rom, but not displayed in Windows with the stock File Explorer. I am going to run without installing this cab and see how things go. However, I never really had problems so if someone who did have problems wants to try this we may be able to at this cab to the list of junk.

dprout69 01-27-2007 07:40 PM

Yeah, I added AKU 3.3 then let it install all the sprint customizations (minus junk) which is probably why some people are having problems with card disappearing and some arent depending on how they set it up. Depending on where the sdmemory.dll file is being loaded from (native windows?) it might in fact be the the whole reason for DSOD since the very beginning (sprint adding that file and conflicting with the windows native file)

nickfuzz 01-27-2007 11:29 PM

To test this theory, I tried the following experiment.

1) After installing the helmi_C 3.3 ROM, backed up all data with SPB backup
2) Hard reset
3) Let NO Sprint customizations load
4) Started file explorer
5) Had to wait 5 minutes or so ... but the SD Card disappeared and reappeared at the bottom (confirming to me that the "fix" of changing the three .dll files back to the native 3.3 files doesn't work)

So I reloaded my SPB backup file and things are, once again, almost perfect. Can't wait to see the day when I can actually load programs to the SD card, have the device sleep for 2 minutes or 2 hours, and not have the programs shut down when I power on the device.

Robb Bates 01-27-2007 11:40 PM

Well, ever since I restored the ROM versions, I have NEVER lost the SD card. Before, I would lose it regularly.

So, if this "fix" doesn't work, then I'm quite happy with the way it's not working on my PPC. :wink:

Robb

dprout69 01-28-2007 12:13 AM

Quote:

Originally Posted by nickfuzz
To test this theory, I tried the following experiment.

1) After installing the helmi_C 3.3 ROM, backed up all data with SPB backup
2) Hard reset
3) Let NO Sprint customizations load
4) Started file explorer
5) Had to wait 5 minutes or so ... but the SD Card disappeared and reappeared at the bottom (confirming to me that the "fix" of changing the three .dll files back to the native 3.3 files doesn't work)

So I reloaded my SPB backup file and things are, once again, almost perfect. Can't wait to see the day when I can actually load programs to the SD card, have the device sleep for 2 minutes or 2 hours, and not have the programs shut down when I power on the device.

nick try it again if you feel the urge... when the sd card disappears just delete the sdmemory.dll file from explorer and see if the card doesnt come right back

nickfuzz 01-28-2007 10:47 AM

Okay, I will try to to delete the SDmemory.dll, but I'm not sure that will help. My card disappeared/reappeared from a fresh install of 3.3 with hard reset and no Sprint cabs installed, so it is purely the stock 3.3 ROM with its native SDmemory.dll.

My issue is that the card disappears then reappears. I see the card fine, but the device has "unloaded" the SD card while the power was off, then reloaded the card when the power was turned back on. When the device unloads then reloads, I access the card right away, but if I have programs running from the card, they quit immediately. The programs that quit lose all saved information, so I can't reliably use programs run from the card unless I plan on closing them immediatly after using them. Certain programs work great for closing immediately, but many don't. When I have 10mb of Skyscape programs that I would like to run from the card but can't ... well ... that's alot of internal memory space. I'll try again, as you said ...


All times are GMT -4. The time now is 04:12 PM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0