cab uninstallation cache?? retrieving in-use system dll - General Topics

If someone installs a cab that overwrites a system dll but makes a copy of the dll somewhere to restore when the time comes to uninstall that application, where would I find that copy? I am having a heck of a time trying to copy a stock dll from my phone. I can overwrite the dll when I install the app and when I uninstall it the old one is back. the stock one is 14k and the other is 20k. they are different files altogether. I thought maybe if I could get at the file while it was stored away in the cab manager then I could retrieve the file and life could go on. I can't just copy the file with activesync - it says access denied. I try to copy it with total commander on the device and that does not work. I even wrote a mortscript to copy the file and that did not work either. I think it is because the file is in use - it's the file that controls the data connection. I tried shutting off the data connection but still cannot get to it. can anyone offer any tips?
another Idea might be to include mortscript as an OEM and then execute the script that copies the file during autorun right after the rom is flashed?
thanks all.
edit: same result when trying to copy the dll from a stock sprint, touch pro, custom rom sprint tp, or custom rom verizon tp

Related

Extracting files from the ROM

my fexplore.exe is corrupted and I cant run it anymore and I dont want to do a hard reset yet. I'd like to copy fexplore.exe from another phone to mine, but I get an error about the file being in rom and premission being denied.
So how would I go about copying the files from the rom?
Should I dump the rom and extract the files??
please advise.
killershot20 said:
my fexplore.exe is corrupted and I cant run it anymore and I dont want to do a hard reset yet. I'd like to copy fexplore.exe from another phone to mine, but I get an error about the file being in rom and premission being denied.
So how would I go about copying the files from the rom?
Should I dump the rom and extract the files??
please advise.
Click to expand...
Click to collapse
No, don't do anything yet about your ROM except create a backup file of everything using SPB Backup or Sprite Backup if you have it.
All you need is SCOTER KITCHEN to extract files or modules: http://forum.xda-developers.com/showthread.php?t=293296&highlight=ROM+Cooker
The instructions are there too. Just read it and carefully follow the instructions. You need not borrow another phone with this procedure. All you need is your own ROM files distributed by your manufacturer.
If after reading this thread and you still think it is too much. All you need is TOTAL COMMANDER (free) or RESCO FILE EXPLORER (not free) and install either of those 2 applications to the phone you want to extract the files from. Copy the files to an SD Card. Transfer the SD Card to the device you want the files to be replaced and also install either TOTAL COMMANDER or RESCO FILE EXPLORER so you can use either of them to transfer the file. OVERWRITE the file and you should be done after a SOFT RESET.
Good Luck!!! Hope it helps...
----
Yes, unfortunately, dumping a ROM and extracting files is the only way to get a working copy, but there is no need for that!
First, how did your fexplore.exe become corrupted? Did you overwrite it with a bad file?
If so, just rename fexplorer.exe to something else, then reset and the original ROM version will be visible again.
Alternatively, you could install the free PPC version of Total commander which is much better anyway.
I have both resco explorer and total commander.
so use total commander to extract the files from a dumped rom??
killershot20 said:
I have both resco explorer and total commander.
so use total commander to extract the files from a dumped rom??
Click to expand...
Click to collapse
No use total commander to extract the files off another working phone (like you suggested in the first place). Place the file on an SD Card. Transfer the SD Card to your phone and use total commander again to OVERWRITE the corrupted file.
OR simply follow levenum's advise from above.
---
But I get the same error with Resco explorer and total commander when I try to copy fexplore.exe from a working phone to a memory card. Permission denied or parameter incorrect
killershot20 said:
But I get the same error with Resco explorer and total commander when I try to copy fexplore.exe from a working phone to a memory card. Permission denied or parameter incorrect
Click to expand...
Click to collapse
Make sure you soft reset prior to trying to copy the file.
what would soft reset do?
killershot20 said:
what would soft reset do?
Click to expand...
Click to collapse
It will make sure that the application you are trying to copy is not currently in use. That is the reason why sometimes Total Commander or RESCO File Explorer won't allow you to copy or transfer a file.
---
The reason Total commander wont copy it is becasue it's in the rom.
Is there any settings on total commander I have to modify before doing this?
I'm about to give up on this and just dump the rom.
You can't use total commander to copy this file.
No setting - nothing!
Files that are in ROM appear as usual in the list, but in fact they are stored in a special way so system functions used by all file explorers can not read them as data and copy them.
Only the application loader (the part of the system that actually runs apps)
knows how to open them.
This is why ROMs have to be dumped using special tools that can access restricted memory region using special commands, then unpacked and decoded before you see actual files.
But as i said before - there is no way you could actually damage ROM file, only overwrite it so renaming and resetting (soft reset - no data loss) should work.
As levenum said you wont be able to copy fexplorer.exe with any file explorer - its a system file and although its not running still not possible to copy - some other non-system windows files you are able to copy. You need to dump the rom if you want that file - or post the details of you phone anf someone may send the file to you.
fair enough.
I'll dump the rom

Another noob weather question

I have read all of the post on adding your town to the weather list, and have edited my HH_409 file. I cannot get it back into my windows folder on the phone. The original is marked as read only. Even total commander can't remove it. I cannot overwrite it! How do I replace this file?
Total Commander should be able to overwrite the ROM file. It throws an error message in your face, but should be fine.
The file manager I use is Resco Explorer, it never let me down regarding moving files in/out the \Windows folder.
You know that editing the file isnt enough, right? You'll need a patched HTCHome.dll... If you're running the original ROM, you might need to install the SDK certificates too.
Thanks Schaggo! Is the htc home plug in language independent? I do have the factory ROM and am getting resco explorer, maybe that is my problem, I was just using total commander and the windows mobile file explorer.
Yes it's language independent.
The File Explorer is rather useless, but Total Commander should be able to replace ROM/Systemfiles. But I'm not a 100% sure, I only know Resco does, it throws a warning message but the file gets replaced in the end.
So if you are on the stock ROM, you have to install the SDK certificates, then the patched DLL and before you reset, select/set your custom city. After the needed softreset youll be able to use any city www.accuweather.com lists!

How do I copy a file that is in ROM that is tied to services and resists copying?

The file I'm trying to copy is ezinput.dll. Specifically, the version from my new Sprint Diamond Touch Pro.
I never had any problems copying files from ROM, but this one resists.
I tried using 1) Explorer via Activesync, 2) Resco Explorer (error: Cannot copy, Invalid parameter), 3) Total Commander (Cannot copy), 4) zipping the file (result is a 0 byte file), and stopping all the related services but results are the same.
Thinking that the dll is locked because it is loaded, I renamed all references of this file in the registry, reset, no joy.
Using Memmaid, I see that Services spawns many threads, and some of the et9 related dlls are started by it. Is this why I can't copy the file? If so, how do I keep Services from starting the .dlls?
The big questions are 1) Why can't I copy? and 2) How do I copy a file that resists copying?
Thanks.
question here is why do you want to copy the file, well i would like to know why lol
Have you got a rom update for the diamond rom you could extract the file from that, maybe it is protected ,which is why it cant be copied. Have you tried clicking copy in resco then just paste a copy back into the windows directory it will just rename it copy of ezinput.dll ,then maybe you will be able to copy that copy of the file?
Yes, I can extract the ROM (no update as far as I know) if I needed to, but I'm trying to avoid that.
I want to copy that file because the Touch Pro has slightly variations in its soft keybard that I would like to use.
I asked one of my developers, and he explains that the file is opened as "exclusive". I need to find a way to keep that file from running on startup. It's not running as a service, it's not in the startup, it's a registered .dll that is being called by another process.
Does WM6.x have a .dll cache?
There must be a way to copy this file... Help?
use total commander; works for me
zeezee said:
use total commander; works for me
Click to expand...
Click to collapse
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
snovvman said:
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
Click to expand...
Click to collapse
ohh...i didnt read carefully enough, sorry.
Might be a way to see content of the flashdisk on the PC while in the erm...tricolor screen (i cant believe i dont remember the term at the moment x.x) - but then again, probably not.

AT&T Tilt Cab File Help

I have an AT&T tilt device and have replaced the phone skin on my device by editing the images on the phone. I can manually put the rebuilt files back on the phone without error. Everything works fine. I'v created a cab file install, to change the images in a more automated fashion. This also is working; however, the install is then recorded by the device and with each following install I'm warned of the already existing app. Keep in mind I'm not adding or removing any files just overwriting them. My questions are as follows.
Is there any way to install the files without the device recording the install?
Is there a way to supress the warning messages about the already installed software.
Is there a way to prompt the user to restart the device after an install.
i have never done these things myself (except removing the warning through a reg edit)
but they may be possible through "cab manager" here
I am using cab manager to create the cab files, I guess I was hoping someone with more experance with it could point me in the right direction.

nleddrvr.dll for i617 WM 6.1

Hi,
I accidentally replaced my nleddrvr.dll file without backing it up.
Could anyone send me the file or post it here for the WM 6.1 ROM
The original size was 14632 bytes.
Thanks a lot.
I would, but .dll are almost impossible to copy or move from the /windows directory. Your best best would be to do a hard reset, which erases everything off the device & goes back to stock condition
Actually you can extract dll files from \windows directory using ROMextractor utility in this thread 1571715 posted here. I've done it in WM 6.1
used ROMExtractor to get it. Was 14k before extraction, 16k after. Dont know if itll work, good luck.
Thanks a lot.
For any future references. Looks like replacing the dll file did not help. LED was still non-functional. I got around this problem by doing a full system backup using Sprite backup with the exclusion of the corrupted dll. Hard reset the phone and restored my data from backup.
We can't copy .dll from \Windows directory, not until you have unlock the security configuration.
Find a installer called security powertoy, install it on your window, run it, connect your phone with activesync and set the security to Security Off.
That will unlock your permission to copy dll from \Windows folder.

Categories

Resources