How to know files to be modified - Upgrading, Modifying and Unlocking

Dears
I want to cook a ROM for my Prophet (Jamin)
I want to delete some programs that I don't need from AKU Aserg 3.13 and Add some programs that I use them
So I download tools for cooking rom and extract the ROM to my PC...
But I don't know how can I determine the files for a program That i want to delete or ADD from ROM.
for example I want to delete Total Commander from my ROM and ADD Resco Explorer 2007 !
But I don't know which Files and DLL files are related to Total Coammander , and I have an EXE file or CAB file for Resco Explorer how can i put Resco Explorer or other program to my ROM?
Thanks for helping me.

Couple of notes:
1) There is a free tool called "Dependency walker" which will show you what DLL files a certain exe is linked to.
2) There are several apps that can unpack a cab file, some free some not just google for them.
You will have 2 problems with Resco explorer:
a) If the cab contains a setup.dll you would need to find out what that does and replicate its function or the installation will not be complete.
b) This is a commercial program so you need to find out how its registration is stored (which is not easy) and add the registration manually.

There's a tool call ssnap (system snap?) to take a snap shoot of yr PDA (registry, file systems). Then use a diff tool (beyond compare is very good but not free) to compare the before and after install (and register)

levenum said:
Couple of notes:
1) There is a free tool called "Dependency walker" which will show you what DLL files a certain exe is linked to.
2) There are several apps that can unpack a cab file, some free some not just google for them.
You will have 2 problems with Resco explorer:
a) If the cab contains a setup.dll you would need to find out what that does and replicate its function or the installation will not be complete.
b) This is a commercial program so you need to find out how its registration is stored (which is not easy) and add the registration manually.
Click to expand...
Click to collapse
Thanks u for good helping.
we know that the programs in te ROMs is not sufficient so we install programs for our needs. for example Dr.YAR Bluetooth manager, SPB pocket plus , SPB Mobile shell that use storage memory for installing and can't be install correctly in Storage card, so the Storage memory will be full after installing these programe and same...
So would u plz help me to put these file to my AKU3.13 ROM ?
Thanks a lot

Related

Extracting .cab files

is there any way of extracting the .cab files from (desktop based) software setup files? l would like to create an autorun type of program that executes all the .cab files listed in a corresponding config.txt file in a similar way to the one in the extended ROM.
if you just want to open it then total commander does that without any problem
if you want a cmd line extractor to call from a program then google would prob give some results on that search
please i need cab extractor.cab apps because I have not a pc, so to extract cab files from exe.
thank you in advance

ERD2003 how to install a *.EXE file

I wan't to add an executable to my ROM (i know how to add *.cab) how should i do that ?
So in my case i want to add PocketNav.exe and it should be installed into the following directory: \Windows\StartUp\
Is it possible to do that or is there a way to make a cab file from it wich will install it into the correct folder
Tuurtje
Me too
I too would like to know this. I have spb pocket plus and some other software which i would like to load into ext ROm. All you clever people out there please help. :?
if they are activesync install exe files they are bin files following the x86 cpu instructionset which of cause a pocketpc cant execute
if they are exe activesync install files you can often rename them to zip and copy out the cab files for your cpu which is arm
@Rudegar
We know the difference between a windows file and a PPC file.
In our case we are talking about a plane PPC file.
Tuurtje
google knows all
http://www.pocketpcdn.com/sections/installation.html
http://www.google.dk/search?hl=da&i...file+to+cab+file+pocketpc&btnG=Google-søgning
@Rudegar
Thanks for the link.
Starting to build my own Cab, but not easy
Tuurtje

automatic install without hacking rom!

Hi Folks,
i found a trick to make an autoinstall from strorage card (like from extended Rom)!
autorun.exe looks for the file config.txt on the place is in registry stored in:
"HKLM\Comm"
"AutoRunCFG" = "\Speicherkarte\Autoinstall\config.txt"
so i changed the registry entry and now i am able to put config.txt and the files to install on every place i want.
on windows Mobile 2003 devices this works wonderful!
on problem i have now with windows mobile 5 devices:
when installing a question appears where to store files (device or storage card)!
can anybody help me to get rid of this question during automatic cab install??
i want install all cab files to device without any questions!!
pbelcl: apologies for my ignorance, but is this very different to a 2577 folder?
with a 2577 cab we could use this info:
http://forum.xda-developers.com/viewtopic.php?p=225375#225375
and choose a default install folder I think for WM5.
V
Thanks for your quick answer!
i read the other tread and if i understood it right i have to remove the .dll file from my cabs?
i'll try this and tell you if it worked ....
I think the other way round.
I've never done it before, but you need to make a custom cab and .inf file, and specify the installation location in therere, and then the "choose a location" dialog doesn't come up. I'm not sure, I'll try this at home later.
V
vijay555 said:
...I'll try this at home later.
Click to expand...
Click to collapse
Thanks, that would be interesting for me because i cant generate cab files because i hav no developer software for this.
i also have access to a cab file manager (at a customer) where i can edit the cab files and change them as i need it.
if it is possible to generate an "empty" cab file for me that would be nice ....
pbelcl: I never use the cabwizard either, I use cab manager. To make an empty cab, take any normal cab (download one of mine?) and just remove all the files from it. That's what I always do!
V
vijay555 said:
.just remove all the files from it. That's what I always do!V
Click to expand...
Click to collapse
ok, this is also my way to get an empty cab file
there is one question interesting:
Sometimes there is a "CheckFile.exe" and a "CeSetup.dll" in the cab file.
Do i need them for any work during install this cabfile or can i delete them also?
I remove everything from my cabs, and then use cab manager and drag and drop stuff. So I've never used those files. I will have to read up on how to make a "normal", but I don't think they're necessary if you didn't put them in there!
V
Hi folks,
again my last problem with automatic install on WM5 devices:
when my automatism starts to install the cab files (from where ever) each time there comes a popup windows where to install the cabfile (storage card or device).
for my routines it is not important becaue most of my cab files only set some registry keys and dont install files on the device!
Does anybody know how i can get rid of this window and install the files to device WITHOUT question popup window??

Installing software from Extended ROM

Hi
I wonder if somebody could give me some pointers on how to modify software installtion CAB's so that I can load them into extended ROM so that on a hard reset they automatically install & register..
For example SPB GPS monitor. I've downloaded the CAB and install file. I have installed it to my MDA,registered it and downloaded the tariff file.
Now, I can find the tariff registry file and update the CAB file (using WinCAB). Also, I can search for the registration files in the registry an add those to the CAB file.
But how do I automatically install to the device or storage card without having to specify?? Has anybody customised the install CAB's???
Cheers
John
Well for doing this u must do the following:
1) unhide the extended_rom
2) unlock it
3) view it with a third party program
4) copy into it the .cab u want
5) edit config.txt in extended_rom so it will run the .cab u want.
But the most important thing u must do.... it took me 2 days to find it out and over 20 hard reset... is to first run a .cab file that it will disable the wm5 security. When u install a program not to ask u if it is not authorized.
That is it...
I cannot find a working cab to disable the WM5 security.
Can you point me in the right direction?
Thanks for that. But I have no problem with modifying the extended ROM. What I wanted to know was is there a way that when a CAB file is run from extended ROM it will be installed to the device/Storage card and be registered, withour having to enter anything during installation.
I guess I could look for the Registry entries and make those into a CAB file, I wondered if the program installation CAB could be mofified in any way??
Cheers
Ody

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

Categories

Resources