I know this is a stretch but is there any way (other than trial and error) to determine which files are associated with an application so that they can be removed during the cooking process. When deleting an application I want to make sure that I don't leave any dead files behind...
There is a free tool called Dependency walker.
It shows what DLLs an exe or a DLL is linked to, but there is no way to be completely sure what data files a given app may need.
One option is to use IDA or other disassembler to look for strings referencing files in code.
thank you for the tips, looking to make a rom for the herald with the barest minimum. will make this task much easier.
cheers
There is some various software I searched for on the forum and found, most of the time it was related to posts about "oem packed" software or something.
For instance, I was looking for the latest HTC Audio Manager, ideally the black touch version. I found it and downloaded it but it turned out to not be a cab file and rather a .rar file that when extracted was simply the many files related to the HTC Audio Manager like a theme if you will.
A few other things were similiarly packed, and not a cab file to install.
So my question is and this may be difficult or vague but how does one install or use this? I suppose there is a cab file alternative out there but just curious how one would use this for the sake of learning and understanding the differences.
To know exactly what I am talking about the files in question came from this post:
http://forum.xda-developers.com/showpost.php?p=1530825&postcount=79
And specifically the one I got was the:
Windows Media Player Touch Skin by Duttythroy
Any help or even point me in the right direction? Believe me I have searched, however the results are vague and not helping much.
I don't just want a cab file in this case, so I am not asking for anyone to point me to a cab file, at this point I want to know how I would use these so I can learn more about the file structure and other things.
Thanks!
I am having trouble copying the dll files from my Windows directory on my Dash. I have used Total Commander and Windows Explorer. It says access denied. I can copy some dll files such as the bronzeres.dll. But I cannot seem to get the others. I have tried to make them unhidden (Visible). I have rebooted my phone and pc, just in case there was something weird going on with either. I am stuck. The whole reason I am wanting these is to see how they operate. I have been able to alter my homescreen xml code to insert Fizz Weather into the iconbar, but would like to attempt at adding plugins such as Fizz Weather to the actual panels instead of just a panel with a link to start Fizz Weather. I would really appreciate any help with this. I am really at a stand still at this point.
Those files are XIP (execute in place) they arent real files, they are in a weird format optimised for running fast, although they display in explorer you cant copy them. However you can overwrite them with replacements and the original XIP versions are hidden from applications.
To retrieve these XIP dlls to your PC you need to dump the ROM and reconstruct the files. Its pretty easy there are loads of guides on the Wiki.
Follow this first:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
Then second to extract the files:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoExtractImgfs
here you go heres cmhome.dll
indiekiduk said:
Those files are XIP (execute in place) they arent real files, they are in a weird format optimised for running fast, although they display in explorer you cant copy them. However you can overwrite them with replacements and the original XIP versions are hidden from applications.
To retrieve these XIP dlls to your PC you need to dump the ROM and reconstruct the files. Its pretty easy there are loads of guides on the Wiki.
Follow this first:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
Then second to extract the files:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoExtractImgfs
Click to expand...
Click to collapse
I tried to dump this ROM but I'm not getting very far. The 1st link you gave is for the Hermes and does not appear to be the same as the excalibur. I cannot seem to dump the raw files needed to dump the rom. Any help??
Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Maybe Resco Explorer or Total Commander CE will help.
if it's built in the rom, you might be unable to delete that file.
Please be more specific: which file do you wish to delete?
Maybe you'd have to recook the ROM without that file.
Regards,
EquinoXe
Things built into the rom are "READ ONLY MEMORY" therefore cannot be deleted. if the file is only marked as system and readonly though you can change its atributes using total commander. just long click on item to bring up menu and go to properties. there you need to uncheck everything and delete
I had downloaded Total Commander and installed it, the checked file attributes are 'read only' and 'in rom'; so I guess the file shall be consider undeleteable.
Now I had to learn how to recook, any good guide how can I recook the ROM that I have?
similar problem
I downloaded some software and it came up as being faulty software. The file was a zip folder titled : res_ppc-custom.icons
I tried through my windows mobile device center to uninstall it, but it was never actually installed completely in the first place.
I then tried to delete the file a few times. Once directly from my pda, once through the device center and again through my pc windows explorer. All three attempts were unsuccessful.
How can I get rid of this thing?
Thanks in advance
perhaps you may want to check if the file being accessed by other software, easiest way is to soft reset and try to delete it.
That did the trick! Thanks so much
Move files to storage card
OK I want to move some files (not ROM) in Windows and keep getting error. For example Opera.exe is not marked as anything in properties yet I can't seem to delete the file. I did copy it to my storage card without any issue but can't delete the original from Windows directory. Any suggestions since Total Commander won't delete it. Will edit registry to find it on the Storage Card.
Deleting files in Windows folder
mynullvoid said:
Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Click to expand...
Click to collapse
I have the same problem - I have colpilot.wm6ppc.cab in my Windows directory. It's 12.6mb, I don't want it, and it's taking up a lot of storage space. My phone is a T-Mobile MDA and it obviously came with CoPilot as an option, but I think it's really unfair that the cab is right there in the Windows dir and I can't get rid of it....
Any help gratefully received....
Cheers,
Ed.
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Farmer Ted said:
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Click to expand...
Click to collapse
I think the issue is not on the files in ROM.
I have the same problem. I've copied a file under Windows folder and after that I'm unable to delete it.
Strangely I'm able to rename it, which should mean that file is not in use, however deletion is not possible.
I've used TotalCommander, the built-in Explorer and also connected the phone via ActiveSync, but still nothing happens and access seems to be denied.
The exact message is "deletion error".
Any idea?
Thanks.
Cheers...
-nOra-
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
johnylog.software said:
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
Click to expand...
Click to collapse
Could you please tell us the name of this wonderfull tool, and how to have?
djulen said:
Could you please tell us the name of this wonderfull tool, and how to have?
Click to expand...
Click to collapse
Based on how he said it, I have to really wonder if he really does have such a tool...
badbwoydes said:
Based on how he said it, I have to really wonder if he really does have such a tool...
Click to expand...
Click to collapse
Use Total Commander to modify the contents of the \Windows directory.
Yes, but you won't be able to delete a ROM file anyway.
In the \Windows folder, you commonly encounter three kinds of files :
- Pure ROM files (can't be deleted nor renamed nor moved, nor even copied, but can be overwritten, consuming internal storage memory space in the process to store the new copy, that will become used instead) ;
- Files put there by installation CABs or else (can be freely deleted, renamed or moved, provided they're not currently used by a running process) ;
- Files put on top of previously existing ROM files, wearing the same name (deleting, renaming or moving them will thus make the original ROM file undertneath to reappear with its original contents and attributes).
Once you've understood that, you'll be more aware of what's cooking there.
ROM files can't even be copied, but you can use ROMExtractor to copy them elsewhere, in case you want to study them, or use them in your own ROM (useful to get up-to date versions from another HTC device to cook your own ROM).
Since ROMExtractor is a very minimalistic tool (you have to type in all the files names with their path, same for the target copy, all one by one !) manually extracting hundreds (even thousands) of files is a very tedious taks, I made a MortScript to automate the process in order to extract all those DLLs, EXEs, MUIs, etc. files that can't be directly copied from a phone's ROM.
On the other hand, you absolutely can't delete a ROM file to make room. Overwriting it with a file wearing the same name will jut result in actually adding the new file, thus consuming even more room. The new file will just be used instead of the original one (so you can still update or personalize the ROM).
As a direct consequence, the only way to get rid of unwanted ROM files or permanently replacing them with up-to-date ones is to cook a ROM and flash it to the device to replace the old one.
That's way how operating systems can become better and better, and save space at the same time.
And no, Windows Mobile isn't dead : I'm not quite finished with fixing it until it's perfect, so it's not over yet. LOL
I've extracted some files from an HTC rom that might help in hacking. Almost all of these files can be found in the Windows directory of an HTC WP7 phone. For some reason, the program extracted the dll files as folders?, so they may not be as useful as I hope they are. I've attached them in a 7z.
Code:
7z password:
exilevilify
If you think you want more files from the rom, let me know.
EDIT: Some of these files appear to be encrypted, so I'm sorry if this is completely useless.
They are folders because they are modules. You need a tool called Recmod.exe that will create the DLL out of them. I noticed it isn't compatible with all WP7 DLL's though.
It might be because they are encrypted. I'll try extracting the files from other roms at some point and see if they are encrypted as well.
Makes sense, I've managed to convert a few & Restorator give an error trying to open them.