how to get application from Windows Mobile 5.0's ROM - Windows Mobile Development and Hacking General

is there someone how to get application from Windows Mobile 5.0's ROM ,such as battery monitor.

Hi
did you already read about grab_it and dumprom? The first will make a dump of the rom and the second tool will extract all files from the dump.
What will you do with the file?
If you like to disable a rom executable, just copy another executable on top of it (use the same name). The rom file is then behind and will not be launched. So you can disable, for example, ActiveSync comming up, if you write a small exe and place it as repllog.exe in the windows dir.
regards
Josef

Related

Difference from .exe installation and .cab ...

Hi guys,
I think I don't understand the difference between the desktop (.exe) installation and the .cab installation for a ppc programs....
Is there a possibility to install the program in a dir. of the SD? For example, I'd like to create a dir called "Program files" in the SD.
P.S: How can I change the default location for programs installation from device memeory to SD?
Use cabinst (search on google) to install cabs from PPC to different folders - essential tool!
You need registry tweaks to change the default folder, although this isn't really advisable. See Tweaks2k (i think) for this. But with cabinst, not required!
V
Thanks!
If I understand well... I have to install at first cabinstl on my Jam and after that I must use .cab installation!!? (I have to copy cab file in to particolar path of SD or?)
Using .exe install is not possible?
The .exes you download from sites wil (almost always) be for installation on the PC. You double click that, that'll load up activesync and install that way.
The other way is to copy the .cab to your pocketpc and double click. That will install, but gives little control over custom folders to install to and will also delete the .cab after install.
However, after installing cabinst you can double click on .cabs on the PPC and install anywhere.
V
Yeah! With cabinst I can instll app on my own "Program Files" dir in SD...
That's nice but I can't find all the app I have to install in CAB format so... my question is if is there any method to put the files on a specific dir from .exe installation..
Many thanks guys!
if you've got the .exe for the pc, double click it WITHOUT your pda connected. Activesync will load up and you'll get the Add/remove programs screen, saying the program will be installed next time you connect your pda.
Then, on your pc, you have to hunt around for the cab.
I use a program called filetracer to find files, but generally try looking in (I think, I'm not in front of my pc right now) C:\program files\Microsoft active sync\ (or something like that). There you should find folders, eg
\spb\Weather Panel (that's not a real example!).
Dig through there, and you should find eg
Arm_VJStuff.cab.
This is the file you need.
Sometimes you'll get a bunch of numbered files. eg If you see one like
2577_vjstuff.cab amongst other numbered files, the 2577 is the one you want (2577 refers to ARM, the chip in your PDA).
Copy that cab file to your desktop or wherever you want to store it, and copy a copy to your PDA. When you connect up your PDA activesync will ask if you want to install the installation you aborted earlier. Just cancel it.
From there, just install on your PDA with cabinst!
Sounds complicated, but you'll get the hang of it very quickly!
I keep all of my cabs in a folder for installation from hardreset very quickly.
V
Sounds good!!! :wink:
Thanks!

How do I integrate apps into the OS ROM for Wizard

I have been able to extract the EXT ROM and OS ROMs using the NB2NBF and IMGFS tools. I know that by using a custom ROM I can save on storage space by loading in my programs. I'd like to load Pocket Informat, Alarm Today, Phone Alarm , isilo and TCPMP into the OS ROM. How do I do this? I have all their cabs. I will keep reading the forums too.
I know that some like summiter have done this. Anyone able to help me get started or point me in the right direction?
J-Man5
the only device i ever heard supporting that is walaby
dont know if it's possible with other devices
i mean the os part of the rom is well you know full already
yes it is possibel.you need a tool called [typhoonnbfdecode_v5] look for this tool and how to use somehere in the ftp, and here in the wizard forums
you need to make a dump of the os from a nk.nbf image with the above tool
then you need to extract the files from de cabs you want plus the reg settings,
simply copy the extracted files from cab to your rom dump folder
make a cab file with the reg files from the cab files an also the shortcuts to the programs.
repack the rom with the typhoonnbfdecode_v5, convert the nba image with NB2NBF back to nbf and flash,after that install the cab with reg settings plus shortcuts,
you have a long jorney ahead.
i took me several weeks to make my own rom with netcf.2,adobe acrobat e several other programs integrated to the rom.
faria said:
then you need to extract the files from de cabs you want plus the reg settings,
simply copy the extracted files from cab to your rom dump folder
<snipped>
make a cab file with the reg files from the cab files an also the shortcuts to the programs.
Click to expand...
Click to collapse
OK I have gotten the nk.nbf extracted and the EXT ROM opened using winimage and the OS ROM dumped via imgfs.
Where I am running into problems understanding is how to unpack the .cab install files for the programs I am planning on using and how to "move" them to the \Program Files\ directories that they need to be in. For example PocketInformant is loaded into the \Program Files\WebIS directory. Do I put all the files from the .cab file in the dump OS directory? Is there some sort of program that will extract the .cab file and let me look at what registry settings are being set by its installation?
What program is used to create registry settings into a .cab file?
Thanks
J-Man5
BUMP
wincecab manager ,google it.
Hey!
I want to add some apps to the Rom of my Wizard, too.
I have used imgfs tools to great a dump from my OS.
Now i want to Install Total Commander to a Folder "\Programme\Total Commander\".
How can i do this? Or is it only possible to copy the files without any folder?
Sry for my bad english

Auto install of CAB files

Hi all,
I have a cab file (call it cab1) containing three files to install on a WM5.0 device. These three files are another cab file (call it cab2) and two config files. I drop cab1 onto the device and it executes. This puts cab2 and the two config files into the correct folders that I want. This is all fine
What I need to happen then is for cab2 to auto execute without anymore interaction. How can I add this instruction to cab1?
Dropping cab2 into the startup folder and waiting for the device to soft reset is not an option for me
The whole install needs to happen on the device by sending a single cab file to the device i.e. I cannot use any msi etc to install over ActiveSync
I've created the cabs in VS2005
Thanks for any help
This one is tricky. You need to create a setup.dll for cab1 then have it launch an exe and exit. The exe will wait about a second for th cab installer to complete then launch the installation of cab2.
i believe this is the only way to accomplish what you want with one cab without combining the content of cab1 and cab2 in to a single cab.
Thanks levenum
Combining the cabs is what I would like to do but cab2 is signed so I can't unpack it without breaking it. That's why I went down the road of putting it into another cab with the other files I need to install
Is there a way to add a post-install command to launch cab2 in the setup.dll of cab1(or anywhere else)?
What levenum means is that you can't launch the installation of the second cab from the first one. The reason for this is that only one instance of wceload.exe can be running.
You need to build a setup.dll in the first cab file. The first cab must also have an exe that will install the second cab file. You launch the exe from the setup.dll. The exe must wait until wceload.exe has shut down after installing the first cab before it can install the second one by running createprocess on wceload.exe with the right arguments.
If you don't know how to make the setup.dll, take a look in the Windows Mobile 5.0 SDK. It includes an example on how to do this.
Did you get it?
Øystein

Any App For Changing .Exe to .Cab ? ? ?

is there any program to convert .exe to .cab ?
i don't want to use pc for installing files like that .........
what i do,.... use the exe in your pc without the pda,... activesync will try to install the app in the ppc,... dont't touch it....
Go thru my pc to the folder where activesync is installed,... there you will see one folder named usually like the app you wanna install,... open it and you will see the cab ,... done....
Excuse my english ,.... thanks
I've never tried it myself, but presumably the CAB file is just wrapped up in the installer so you can probably open the EXE using something like WinRAR and just extract the CAB file from it yourself.
There is no general solution for this.
In most cases the CAB files are inside an installer EXE. The possibility and effort to "extract" the cab varies depending from the EXE (there are many different packers and installers on the market).
Some of them can be opened with packers like WinRAR or 7zip, others can't.
There is one thing they all have in common: the CAB has to be (temporary) installed onto your harddisk. This might be under "Programm Files\Software Vendor\", ActiveSync directory or an temp directory, for example "C:\Documents and Settings\<user>\Local Settings\Temp\<subdir?>" in Windows XP. In some cases the CAB will be deletet when the setup programm ends.
So, unfortunately, there is no generic method to extract the CAB.
open the exe in winrar or a similar archiving program and look for the cab (probably a jumbled up name, though still has the .cab file extension)
just extract the EXE using winrar and copy the CAB file in there to your mobile device.

How to install Zipped EXE files?

hi guys..
seems like a n00b question..i know
but i downloaded some cool apps from handango which are made for Xperia..but i was unable to install them.
do i need to use Activesync for such files?...and if yes..i also tried to install activesync 4.5 but it says 'not for Vista'
any tips?
exe files can be
1. pda exe's which is not install files but the program itself
which you yourself have to copy to where ever you want it
and make a shortcut in programs yourself
2. windows exe's which use activesync on xp and Windows Mobile Device Center on vista
to copy the cabs to the pda and auto install them
in many cases those exe files are self-extracting zip files and one can just rename them zip and copy out the cab files one needs typically the arm one
thanks..i installed Windows Mobile Device center on my vista..connected X1 via USB and done!

Categories

Resources