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

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.

Related

How to open attached *.php files?

I'm able to open every attached 'download.php' file on this forum, but a few seems to be empty to my variO, while other members don't have that problem. I myself use pRAR 3.60. Are there other tools/programs to open them or are there diffferent types of *.php files which are created by forummembers?
If I understood correctly you are talking about downloading stuff from this forum directly to your device?
The *.php extension in this case is a bug. Any file may it be exe or zip or doc downloaded from a thread here by PIE will wind up as php on your device.
The only way I know around this is to use Total Commander (or similar) to change the extension to what it suppose to be (doc, exe, zip) and then try opening the file.
Opening the *.php files is not the problem, but they seems to be empty, no archived included. Like the attached one. I renamed it as rar but still no joy.
Could you try to see if this one is empty?
And are there other NLD variO users experience the same problem, with my config (see signed info)?
I think I solved you problem.
Quick look with a hex editor reviles that his is not a rar file.
It's a cab. Also desktop WinRAR has no problem opening it or extracting files.
If you rename it with cab extension then run it by clicking on it in file explorer you get the desired effect.
I am not familiar with pRAR but it may be limited to rar and zip file formats.
That's it..!!
I wished I asked this months before...
Thanx alot

HTC Home plugin not using Windows directory (quicker)

Hello
I noticed that many installations of HTC Home plugin put their files in Windows directory. This leads to speed problems.
It is better to use the version which puts its files into a separate directory HTCHome.
http://forum.xda-developers.com/showpost.php?p=1388377&postcount=609
Mirek
I thought all rom files went into the \Windows directory and that only via initfiles.dat (I think that's the file) would files be copied elsewhere (ie, using up double the space).
Please, correct me if I am wrong. Also, how do you put ROM files in a location other than \Windows?
I've re-heated a couple ROMS with the update HTCHome plugin that uses a server other than htc.accuweather.com because TMob has problems with it. It orginally pointed to \HTCHome for some of the files so I had to change the HTCHome.dll to use \Windows instead otherwise I would need to copy those needed files to \HTCHome which was a waste of space. I don't notice any slowness with it running from \Windows though. YMMV.
Using other location then Windows is good when adding the plugin later (I mean when it is not part of the original ROM).
HTC Home plugin has many files and when these are added to Windows it slows down significantly booting times/showing the content of Windows directory.
I think that if the plugin is part of the ROM there is not the speed problem. I had it as part of a Whiterat's ROM and it was ok.
But installing HTC Home which puts its files to Windows to TNT 4.0 rom (which does not have it) lead to a lot of problems...
The above mentioned version is ok - I installed it on TNT 4.0 without having any problems.
Mirek
tekknogenius said:
I thought all rom files went into the \Windows directory and that only via initfiles.dat (I think that's the file) would files be copied elsewhere (ie, using up double the space).
Please, correct me if I am wrong. Also, how do you put ROM files in a location other than \Windows?
I've re-heated a couple ROMS with the update HTCHome plugin that uses a server other than htc.accuweather.com because TMob has problems with it. It orginally pointed to \HTCHome for some of the files so I had to change the HTCHome.dll to use \Windows instead otherwise I would need to copy those needed files to \HTCHome which was a waste of space. I don't notice any slowness with it running from \Windows though. YMMV.
Click to expand...
Click to collapse
tekknogenius, can you please share your .dll so that those of us who want to use the weather server workaround on T-Mobile, can do so on other cooked roms?
johnnycs said:
tekknogenius, can you please share your .dll so that those of us who want to use the weather server workaround on T-Mobile, can do so on other cooked roms?
Click to expand...
Click to collapse
Here's where I posted it already... note this is for the 6-tab version (if that matters)
http://forum.xda-developers.com/showthread.php?p=1463506#post1463506
at last, someone figured it out here, lol
mobi can you see this?
btw, throw weather xml to /windows(maybe someone said that already, didn't read whle thing..).
that's all.
tekknogenius said:
Here's where I posted it already... note this is for the 6-tab version (if that matters)
http://forum.xda-developers.com/showthread.php?p=1463506#post1463506
Click to expand...
Click to collapse
I disabled the HTC Home plug-in, then overwrote the existing HTCHome.dll, but when I go to re-enable it, it is no longer in the list of Today items.
I tried to enable it manually through the registry, but no luck

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!

cab uninstallation cache?? retrieving in-use system dll

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

[Q] Writing a file back to a Marketplace apps Isolated Storage?

Hi All,
I've used Heathcliff's WP7RootTools 0.9 to extract a file from an installed apps IsolatedStorage. The app in question was installed from the Marketplace, but I want to modify some of the files it's saved to it's Isolated Storage.
I extracted the file I wanted to edit by using the Explorer utility in WP7RootTools to copy the file to the "My Documents" folder, and renamed the extension to docx. From there I could simply go into the Office Hub, where the file was now listed, and emailed the file to myself.
I have made the edits to the file, but now need to get the file back into the app's Isolated Storage. This is where I have now got a bit stuck
I've tried copying the file to SkyDrive, and using the Office Hub to download it from SkyDrive to my phone. The file downloaded and is cached on the phone somewhere, but the file location, according to Office is not "Phone". This is normal, as Skydrive downloaded documents are not saved to the "Phone" location until you open the document and do "Save as".
I cannot of course open the downloaded file, as it isn't really a .docx file. Files loacted in the "Phone" location show up in "My Documents" in the WP7RootTools explorer. SkyDrive downloaded documents I have no idea where they are located?
Can you guys help? Does anyone know the path to location of SkyDrive downloaded items on the phone. If so, then I can easily just use the WP7Roottools Explorer to copy the file back to the apps Isolated Storage.
Is there a better way to copy a non-Office file back onto the phone?
Regards,
Micro666
You could use one of these apps:
sh4d0w86 said:
i was going to suggest using WPV App Data Backup, but it seems i saved the Backups in the wrong location... (will fix in next release)
so,
you can use TouchXperience or WMDC Launcher.
Click to expand...
Click to collapse
I'm looking to do the exact same thing....
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
GoodDayToDie said:
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
Click to expand...
Click to collapse
I used TouchExperience.
1.On my Fully unlocked Device(I assume you can do this with root tools), I installed a file manager that gives full access to the device.
http://forum.xda-developers.com/showpost.php?p=24636416&postcount=23
2. I installed TouchEperience on my PC. After giving the WP7 app, Root tools rights, it should show most of the file system(on the PC) but, not all of it. So I created a new folder in \Windows (temp).
3. On the Phone, I hunted down the file I was looking for from Isolated Storage, I copied it to the \windows\temp folder.
4. Used the PC TouchExperience and browsed to \Windows\temp, there was my files, I copied them to my PC. USed the File Explorer to delete the files in my \temp folder(to make sure they were gone).
5. I edited the files, copied them back to \Windows\Temp on my device via TouchExperience on the PC. Then used the file explorer to copy them back to the Isolated Storage.
Note: The file explorer I posted a link to is GREAT, it can even edit files (basic text editor) in Isolated storage. I found a way to Cheat on a marketplace Xbox live game (didn't try others), right before the achivements, so they were really easy to get
I'm sure there is easier methods but, this worked for me...
Can I ask, what app did you try this on ?
Hope this helped...
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
GoodDayToDie said:
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
Click to expand...
Click to collapse
To be honest, I only did it with a game that had an error when I got so far, so the final achivements of the game. A Game with a Known issue but, no fix.
And I just really wanted to see if I COULD do it...
I used WPDM but, the PC version even with my phone fully unlocked (custom rom on my VZW HTC Trophy) and using Root tools 0.9 to give full to TouchExperince root, would not see all the folders and would not see the IsoStore. SO I had to copy the files to a folder that WMDM could see.
Personally, the new File Explorer above is awsome, it's even got a editor in it, I didn't even need to go through all that......

Categories

Resources