Associated Files - Upgrading, Modifying and Unlocking

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

Related

CAB file to change File Locations?

I apologize if this is the wrong location for this question. Please move if it is.
I am looking to see if anyone has yet created a CAB file that would modify the File Locations as detailed in the WM5_Tweaks_Other Wiki.
I'm interested in the following tweaks:
Change the location of My Documents
Change the location of email and attachments
Change the location of temporary internet files
The reason I'm asking for a CAB file is so that I can change these automatically when I burn a new ROM without having to install a registry editor each time and make all those registry changes. It's getting old to have to modify those each and every time.
Any assistance would be greatly appreciated!
Greg
As it is only changing keys in the registry, it can be done with a cabfile.
The trial of WinCE CAB Manager can do that.
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
joshkoss said:
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
Click to expand...
Click to collapse
Actually it doesn't seem to have all of those. I tried 2.02.1.0. It allows you to change the location of the IE cache and temporary files, but it does not allow you to change "My documents", and it does not allow you to change the location of email and attachments. At least not that I can find.
Maybe I'm blind and not seeing those though. Can you point them out for me please?
Thanks!
Greg
Advanced Config, 1 or 2, is a wonderful tool, but if you make a cab file that takes care of your own preferences all in one go, including ones Adv Config doesn't cover (it can't cover everything) thenit's a good idea.
I did the same thing with an xml file rather than a cab a while ago. All I actually did was edit the pre-existing orange xml file that set up my network connections.
Might be easier than creating a cab as requires no tools but Notepad.
write all the registry tweaks into one single text file, save it as <whatever>.reg and install dotfred's task manager (which is a single exe-file).
this taskmanager can easily imoprt reg-files.
if you need a template for the reg-file's syntax use dotfred's task manager to export the required reg-keys...
Final Result
I have decided to go with the CAB file. It was a BREEZE! And the resulting CAB file is less than 3k, and take just a second to install. In case anyone is interested in it, I am attaching it here. Feel free to request anything in addition as I can add registry entries very easily.
All this small CAB does is set "My Documents" to be on your storage card, and set email and email attachments to your storage card. 3 registry keys added. Nothing more.
Enjoy.

OEM Files Question, Among Other ?'s Too

I don't seem to get what the OEM packages are for. I downloaded this OEM package, basically a zip file with tons of applications. I thought it would be a compilation of .cab files for the various OEM applications to install the individual ones I wanted.
Rather its a large collection of applications but is not CABs. Folders with files.
I thought that was strange and tried copying a folder over to the 8525 in Program Files and then run the executable but that did not work.
What am I missing here? Apparently I don't get the intent of these files, suspect maybe they are for cooking your own ROM I suppose which I have no clue about, time and laziness issue I suppose.
My application needs are very minimal, which is why I love the most basic of ROM's. However finding current versions of some applications in CAB format is proving to be difficult for me.
OEM Files are for cooking into a rom..

Delete File in Windows Mobile 6

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

These files MIGHT help hackers

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.

Is there a way to remove pre-installed Windows 10 Mobile?

editing the .ffu file or by using some file explorer? I need to remove apps that I always have to uninstall when I recover my Lumia. Easy Tax and others ...
no...
You might wanna extract separate partition images from the ffu then edit the MainOS image but you can't repack them into a new ffu. You can only repack those images into a flashable zip file. If you're not in hurry, I can write a full tutorial next week if you need one. Otherwise, you can experiment yourself with Interop Tools, OSFMount and Total Commander. Just be very, very careful cause you might turn your device into a brick
easier is to remove apps with CU or Interop tools....
I second dxdy.
Ya Interop tools and sftp or Full MTP access is what I use.
Go to C:\PROGRAMS\COMMONFILES\XAPS
Remove what you do not want. But be careful not to remove stuff you may need later, like wallet or other foundation apps. Also if you Hard reset they will be gone next time around. Secondly I have found some OEMs use another folder I think under C:\PROGRAMS\COMMONFILES\OEM\PreinstalledAPPS or something C:\PROGRAMS\COMMONFILES\OEM\Preinstalled......
The main folder is the XAPS folder though, that gets used during OOBE provisioning.

Categories

Resources