Urgently need FakeGPS.DLL and/or FakeGPS.CAB from Windows Mobile 6 SDK (couldn't extract it myself with MSI Extractor form the .MSI file I downloaded from MS).
TIA
The attached file is the zipped contents of :-
C:\Program Files\Windows Mobile 6 SDK\Tools\GPS
It contains:-
FakeGPS.CAB
FakeGPSReadme.txt
Settings.exe
SettingsReadme.txt
The CAB is 1,793Kb
These files also appear in the 6.5.3 DTK, but they seem to be the same files, (size etc.)
Thanks for helping. Now I could extend a project of mines (installing the necessary fake GPSID in WinCE is omitted next):
Code:
If(DeviceEmulator)
// Install FakeGPS
// Fake GPS enables to receive data using the GPS APIs even if there is no GPS receiver on the device.
// The GPS data is read from NMEA .txt files that reside in \Program Files\FakeGPS\GPSFiles.
If(DirExists(MyFolder\"FakeGPS"))
If(NOT DirExists("\Program Files\FakeGPS"))
MkDir("\Program Files\FakeGPS")
XCopy(MyFolder\"FakeGPS\Program Files\*.*","\Program Files",1)
CreateShortcut("\Windows\StartUp\FakeGPS.lnk","\Program Files\FakeGPS\FakeGPS.exe")
// Restart emulator
Reset
EndIf
EndIf
EndIf
Thanks again.
You are more than welcome.
Fortunately I keep an old laptop running 32 bit XP, just so I can run the emulator images and earlier versions of Visual Studio on it. It even has Embedded Visual C++ 3.0 and 4.0.
None of these will run properly under 64 bit Windows 7. Under an XP virtual machine is not a solution either. Virtual machines under virtual machines? Nope!
Related
Anyone knows how to install IBM Websphere Everyplace Micro Environment v6.0 (for WM5) - VGA High Res for the Universal?
It creates a MidLet Manager.
After downloading the program and installing the exe file only the files are installed on the C: drive. It does not install to the UNiversal although activesync is on and there's no cab file to install on the Universal.
Anyone knows where's the cab file?
Thanks
Try checking your PC to see if it has extracted the Cab to the hard drive while attempting an install. You will often find it in
\Program Files\Microsoft ActiveSync.
Sometimes you can also find it in the exe file by opening it with WinRAR.
RE
Hi admisi,
Nope, even unRAR cannot locate the cab file. Its not even in \Program Files\Microsoft ActiveSync since the program does not sync with my Universal even with AS connected.
However, and finally, I managed to get it installed
There's a pdf file with the following instructions :-
1. Download the product Installer to the Host PC from the following Web site: http://www.ibm.com/software/wireless/weme/.
Note: Three versions of the product installer are available. One version supports PDA with VGA/Hi-Res, another supports PDA with QVGA, and the last supports Smartphone with QVGA.
• PDA with VGA/Hi-Res support: ibm-weme-wm50-arm-vga-midp20-6.0.0-
YYYYMMDD-######-###.exe
• PDA with QVGA support: ibm-weme-wm50-arm-midp20-6.0.0-YYYYMMDD-######-
###.exe
• Smartphone with QVGA support: ibm-weme-wm50-sp-arm-midp20-6.0.0-YYYYMMDD-######-###.exe
2. Use the Extraction Wizard to extract the files. IMO, just install to default location. Extract the files to the default location indicated.
3. Use File Explorer to go to the root folder on your mobile device and create a new folder named J9.
4. Open the J9 folder and create a MIDP20 folder.
5. Copy the previously unzipped bin, lib and examples (can ignore this) directories to the MIDP20 folder.
Note: These directories can be copied to any location you choose on the target file system; however, the \bin and \lib directories must remain intact. The base J9 executable and its shared objects must remain in the \bin directory.
Some steps have been ignored.
:lol: :lol: :lol:
Does the personal profile version support midlets too? or only the MIDP version supports it?
hollafrontz said:
Does the personal profile version support midlets too? or only the MIDP version supports it?
Click to expand...
Click to collapse
Nope, PE doesn't support midlets and vica versa.
BTW, here's my tutorial on the 6.1 install: http://www.pocketpcmag.com/blogs/index.php?blog=3&p=787&more=1&c=1&tb=1&pb=1
I've attached two tools to be run under Desktop PC. First of them is NOT mine (freeware from dillsoft), but I have modified it to suit my needs. Connect your PDA to the PC and exec rdump.exe, choose a file name and then your PDA Registry will be dumped (as text) to this archive.
The other tool is RegDiff.jar (use "java -jar RegDiff.jar dump00.txt dump01.txt) writes to the console the diff between dump00 and dump01; in .reg format suitable to be imported by many Registry tools. You need JRE or JDK from Sun to exec java code.
Keys deleted are represented as [-keyName], and keyvals as "KeyNameVal"=-. New creations and modified ones written normally, as stated in MS documentation.
I've been using this as I've flashed many times my Prophet, as a shortcut to install all my apps.
Great site!
I'm starting this because (so far) I have been unable to locate enough information to allow me to try modding dll's that exist (either compiled or decompiled modules) in WM6.
I've known some users have tweaked dll's (such as the phcanoverbmp.dll as an already built or the keybddr.dll as a decompiled) and would like to gain this knowledge and have a better understanding of the steps needed to get "into" the files.
I'd like to learn more about customizing them to either add embedded images, change image paths, touch screen mapping, etc.
I've tried reverse compilers and such, but so far have been unsuccessful in my attempts.
I'm running Visual Studio 2k8 Team Suite with the Mobile 6 Pro SDK on XP SP2.
use RESHACK (freeware) to open up any exe or dll file
Hi Folks.
Many programs for PocketPC are wrapped in MS-Windows .msi installers.
I will never understand why, I don't see any benefits coming with it and you always need a USB connection (not seldomly involving administrative privileges to get the device registered in Windows), active sync and so on, just to install some lousy program
I don't like MS Windows (the desktop versions) and therefore I don't have it and I don't use it. I have access to Windows computers at work, but not enough system rights on the machines to get a usb connection.
Is there a way to
either:
install programs on the Universal using alternative helper applications (GNU/Multisync etc.), preferably open source and running natively on linux machines?
or even better:
extract the .cab archive from an .msi or .exe installer file so it can be directly copied to the PDA and executed there?
I've played with Multisync a little, but it only seems to support contact synchronization, no software installation...
Well if you have a windows pc you can start the installation process,
then when it tells you to install the program on the universal,
don't click on install, but use total commander or a similar program
to search for *.cab files. You will find the cab somewhere.
Copy it to your sd card or wherever because after the installation completes
the cab will be deleted.
Another way would be to install Virtual box on your Linux machine and
install Windows on that. Then you can have the virtual machine use your
usb port.
You'd have to search on google to find information on how to do that.
I'm in the same situation: no windows machine to run installers from.
I've had some luck using cabextract ( http://www.cabextract.org.uk/ )
When that fails (quite often it does) I've usually been able to get the .CABs by running the installer under Wine.*
To do this, I had to install activesync under Wine. It's a while since I did this, but apparently I downloaded the file activesync_4.2.setup.exe from microsoft.com and ran that with Wine.
When you run an installer for a WM app, it won't actually install onto your device (that would be too easy!) and in fact I don't even bother connecting my uni to my linux box during this stage. The aim is simply to get the .CAB files extracted.
The app installer usually craps out at the stage when it would transfer the files to my uni, but it's already extracted the .CABs. I generally find these in
Code:
/my/wine/drive_c/Program\ Files/ActiveSync/
or
Code:
/my/wine/drive_c/Program\ Files/Name_of_Application/
or sometimes in
Code:
/my/wine/drive_c/windows/temp/
Hope this info is some use to you!
*Full disclosure: actually, I use the version of wine that comes with Google's picasa 2.2, wrapped in a little script to set up the environment variables. That script, which I call picasawine goes as follows:
Code:
#!/bin/bash
mydir=/opt/picasa
export PATH=$mydir/../wine/bin:$mydir:$PATH
export LD_LIBRARY_PATH=$mydir/../wine/lib:$mydir/../lib:$LD_LIBRARY_PATH
export WINEDLLPATH=$mydir/../wine/lib/wine
export WINELOADER=$mydir/../wine/bin/wine
export WINESERVER=$mydir/../wine/bin/wineserver
export WINEPREFIX=$HOME/.picasa
exec /opt/picasa/wine/bin/wine [email protected]
so I run as (eg)
Code:
picasawine SETUP.EXE
Can anyone suggest tools/utilities that would allow me to disassemble a WM 6.5 dll to reveal it's methods and parameters? In .net desktop world I can use tools like Reflector to do this, but I seem to be having difficulty doing this on WM apps.
Unregister dll - EDiT - Register dll
Here two threads discussing Developer tools & Kitchen Utilities for (ROM) Chef's;
Kitchen Utensils
60 Universal Tutorials for Customizing any Device and Cooking
Have fun, develop something nice for free and please do it here on xda-developers
There are a lot of ifs and buts to this but here goes:
If the dll was created as a .NET app, then reflector should be able to list the code within it, as it will contain the MSIL code within it. If it has been run through an obfuscator when it was built, this can mangle some of the internals and give Reflector a bit of a hard time.
Otherwise it will be a Win32/MFC/ATL object containing ARM object code. A DLL file is the same format as an exe file i.e. Microsoft's PE (Portable Executable) format. Microsoft's DUMPBIN, part of Visual Studio, (run it from the VS Command Prompt), is able to dump out the EXPORT table which lists the public functions visible in it.
There is a freeware ARM dissassembler , CHARMED, which can run on your device which can display the ARM assembly code, but to make any sense out of it, you will require a pretty good knowledge of the ARM instruction set and basic knowledge of how compilers work. If you don't know what a stack frame is, you'll struggle.
Providing a link to chARMed and C/P from that page
stephj said:
There is a freeware ARM dissassembler , CHARMED, which can run on your device which can display the ARM assembly code, but to make any sense out of it, you will require a pretty good knowledge of the ARM instruction set and basic knowledge of how compilers work. If you don't know what a stack frame is, you'll struggle.
Click to expand...
Click to collapse
Here is the link for this nice freeware ARM dissassembler;
http://sites.google.com/site/naphos/software
Requirements: Windows 98,Me,2000,XP Size: 246kb Description: ABOUT ChARMeD:
ChARMeD is a Windows Mobile / Pocket PC / Win CE (for ARM CPUs) Disassembler and Assembler
The name ChARMeD stands for:
Carolo's Hexadecimal ARM Editor and Disassembler
FEATURES:
· Disassemble a Windows CE Executable for ARM CPUs.
· Assemble instructions in ARM Assembler.
· Upload modified file to Windows CE Device.
· View MZ and PE Headers of executable.
· View Import Table of executable.
ASSEMBLER:
· Added NOP instruction 0x90909090, which is not part of the ARM instruction set, but nevertheless works because it is an undefined instruction.
· Supports all no operand instructions, Branches (Jumps) and instructions with two registers as operands.
DISASSEMBLER:
· Recognises 0x90909090 as NOP (see ASSEMBLER above)
· Supports all no operand instructions, Branches (Jumps) and double operand instructions.
ARM Classic Processors
ARM Infocenter
I think IDA is standard for this kinda reversing. If you can find a location where the DLL is called from in another app, you should be able to quickly identify at least the number and format of the parameters. Obviously you can also refer to the import/export tables for this.
V
Awsome bits of info to get me started ... thanks!!
Is a DLL signed?
And if it is, how does one know it? I use a tool from sysinternals called Sigcheck
Sigcheck
Verify that images are digitally signed and dump version information with this simple command-line utility.
One way to use the tool is to check for unsigned files in your \Windows\System32 directories with this command:
Code:
sigcheck -u -e c:\windows\system32
Though there are way more options than the example above.
As all reverse engineers/hackers or cooks you too should investigate the purpose of any files that are not signed.
Besides some nice sysinternals standard utilities, there's also;
SystemInternals_Suite
For obvious reasons I'm using not a direct link to the Suite. Therefore you need to click on it (on the left) yourself. There's a load of useful utilities there waiting to be downloaded by (would be) developers, power users and system / network administrators (are we not all).
If it is signed with a signature; you need to unsign it before editing it!
It's dead easy.
1) Copy your DLL from your phone to your PC. You may need to use ROMExtractor to do this if you have problems.
2) Unsign it using Unsigner. To do this download Unsigner and the Unsigner batch file here. Copy Unsigner, the Batch file and the dll from the phone to one directory and run the .bat file. It should tell you that the certificate has been removed.
3) Download Reshack
4) Open the dll from the phone using Reshack or the better not free PE Explorer
5) Do your editing.
6) Click Compile String at the top and then save the file.
7) Download Ssigner. Launch it and use Select File to select the DLL file you've just modified. Click Start Sign Process! When it's done check the text file that's created to make sure it signed properly.
8) Copy the file back to the Windows directory on the device using for PPC/handheld/CE free Total Commander. If necessary Reboot.
Kitchen Utils Reviewed gives links to programs a developer / cook needs!
Have fun edtinig, vewinig ,bwroisng, assilimating, copamirng and itengaritng your files,
o/~