Methods/Tools for Resolving WM Lock-ups - Windows Mobile Development and Hacking General

I am seeking information on any methods or tools that exist to help in resolving/debugging OS freezes/crashes/lock-ups.
Is there:
- any way to enable a type of system log, or to locally capture the kernel messages (usually visible via KITL)?
- any way to drop the phone into KITL mode upon a lock-up?
- any tool that will activate when a system exception/error/etc. occurs?

Related

HTC Debug Tools

Hi guys.
I stumbled upon this fantastic website which has already help me to understand my windows mobile 6 device.
However i have noticed that in the program list there is a folder named - HTC Debug Tools. Within this folder is a program named - QxdmSdLog.
Now i know that QxdmSdLog is a logging tool. I want to know how this tool can be activated so i can log the workings of the device. I know that the QxdmSdLog program states to have the Radio Flags in the Debug Tool program set to 4xx. Does anyone know what 4xx means???
If only i could get the logs through QxdmSdLog!!
Any help would be greatly appreciated please.
Thanks in advance.
bashme
I am interesting. How to get the HTC debug tools?
1. Run Debug Tool
2. Set [5]Debug flags to '5'
3. Set [8]Radio Flags to '405'
4. Reset device
You'll see \HtcLog folder with a text file inside. Actually this file should appear on SD card but looks like it depends on the phone. I have XPeria X1

ode 402: Cannot communicate with device fix

Since the day I bought my iPaq 614 I wanted to update it to the newest version, but every time the HP RUU would return a "Code 402: can not communicate with device". I've searched for hours to fix this problem only to find out tips like 'disable your firewall and A/V' and 'don't use Vista'. But today I found the solution:
Normally, Active Sync acts as a DHCP server for your Windows Mobile device, but this doesn't work if Windows Mobile isn't running which is the case when you're flashing a new ROM. In this case, the Internet Connection Sharing service should deal with assigning the right addresses, but since I normally don't use ICS, I had this service disabled.
Because of this, no addresses where assigned and no communication path could be set up between my computer and my iPaq. Simply be re-enabling this service (and the dhcp client service, don't know if you really need it, but I enabled it just to be sure) I fixed the annoying code 402 error
Hope this information is helpful because it looks like I'm the first one to discover this solution
//edit: damn, can a mod change add a 'C' to this post's title
i got a code 402 while updating RUU_1.8.0_081208_MP_M089_WWE (radio fm 0.89) now i am stuck withthe HP blue screen.
If your 614c dies during radio update, please have a look here.
solved !!!
Found post on HP forum.
OKâ ¦unfortunately previous note wasnâ t so accurate.
Iâ ve tried this solution once again and it doesn't work properly.
Iâ ve spend much time reading many articules on pocket/mobile forums and I found 2 workaround methods to upgrade our iPAQs.
Starting from the beginning.
We have to download ROM from HP Support site (in *.exe format) and executed it to unpack all files (as Iâ ve already written in C:/iPAQ ).
Among many files that we have, find FLASH.NBF file and edit it using HEX-editor (i.e. xvi32). When we display the context of a file, we have to delete first 3432 bytes (in xvi32 editor - XVIscript > Editorâ ¦ > type command DEL 3432 and press Execute â then close the editor without saving and then save file on HDD as FLASH.DIO). When we create FLASH.DIO file we have to decide which method weâ ll use.
1. METHOD is:
Just copy FLASH.DIO file on empty microSD card. Put inside of our device and turn it on in SDLoader mode (VOICE UP + OK + RESET). Important thing is to fully charge the battery of the device.
2. METHOD is:
We change the type of FLASH.DIO to FLASH.nb0 â just rename.
We have to search network for DNW app and execute it. Firstly in Configuration tab select Option and change connection type from 0xc000000 to 0x3000000 (USB). Secondly turn on our device in DOWNLOAD IMAGE mode (VOICE DOWN + OK + RESET) and connect it to PC. In SEC folder (subfolder of DNW) we can find drivers that we have to install after connecting iPAQ. When weâ ve covered everything, we select USB Port > UBOOT > and select our FLASH.nb0 file.
For me worked first method!

My TyTN Brick - KITL + PB

I've been trying to bring a locked and bricked TyTN back to life without the manufacturer rom to work with (Canada Rogers).
I've built a PB image with Windows CE 5.0 following the wiki instructions.
http://wiki.xda-developers.com/index.php?pagename=PB_KITL_HERMES
I'm using virtualbox and xp sp3
The image builds and loads to the attached device - semi success
I've added the release directory modules (blank dlls)
ril.dll
rilgsm.dll
serial_cmd.dll
stk_service.dl
Instead of seeing a splash screen I now just see a blank screen.
I can see TP events triggering in the debug window so I'm definitely connected but at this point I'm stuck.
I've got no interface to work with....
the last couple of messages in the debug window are "netui not ready".
Any clues as to what I'm missing.
thanks much.

How to find Your Mobile's DeviceID Without Entering Registry

I have not found about this.So, i thought i should make a post here about how to find your Device ID without searching in Registry.
There are a few steps only & they are idiot proof.The regular method posted in the official & some other threads can give you more than one DeviceID for your Phone if you have plugged the Phone in different USB Ports.
Even searching in Registry can give you more than one DeviceID if you used multiple USB Ports.So, in that case you will need to know which is the correct deviceID for your model & this does not involve searching in Registry.
1) Install SEUS ( Sony Ericsson Update Service ) from the official website.
2) Install the Update Software while your phone is connected to your machine.After installing the Software , Disconnect your Phone from your Computer & start the Update application & follow the prompts.
3) Put your phone in Flash Mode.
4) A Green light will turn on while your phone is off if you have done it properly which is shown on the above picture.
5) Now press your Keyboard's Windows & Pause Break buttons at the same time.And go to Device Manager.
6) Expand the " Universal Serial Bus Controllers " & Click on " SEMC Flash Device " .
7) Now from the SEMC Flash device window, scroll through the value of " Device Instance ID " .
8) There you will get your DeviceID.Just highlight & Ctrl+C & Paste it in a Notepad.As you know the last parts are your DeviceID.
In this way you will not search into registry & you will get the correct DeviceID every time you connect your Phone to your machine in the Flash Mode.
Thank You.
Mod. edit: not dev related, moved to general
thx for sharing

[WINDOWS APP] Galaxy S Toolbox v1.0.0.0

This tool is designed in order to support our Galaxy S.
I just introduced some few features in this version; I hope to add more in the future. If you have some idea you're welcome.
INSTRUCTIONS:
-----------------------------------------------------------------------------
- Open the tool and connect your phone; You can launch the tool also if your phone is already connected.
- Supported connection is Kies one (MTP).
- Once connected tool will show you the Phone informations reading them from the phone directly (this tool doesn't use registry to retrieve data).
- Using menu "Mode > Change to Download" is possible to send your phone in download mode.
NOTE:
-----------------------------------------------------------------------------
If you would like to test the download mode without using it to upgrade, the only way to return back to Normal mode is to put battery out and insert it again.
Nodial said:
This tool is designed in order to support our Galaxy S.
I just introduced some few features in this version; I hope to add more in the future. If you have some idea you're welcome.
INSTRUCTIONS:
-----------------------------------------------------------------------------
- Open the tool and connect your phone; You can launch the tool also if your phone is already connected.
- Supported connection is Kies one (MTP).
- Once connected tool will show you the Phone informations reading them from the phone directly (this tool doesn't use registry to retrieve data).
- Using menu "Mode > Change to Download" is possible to send your phone in download mode.
NOTE:
-----------------------------------------------------------------------------
If you would like to test the download mode without using it to upgrade, the only way to return back to Normal mode is to put battery out and insert it again.
Click to expand...
Click to collapse
Great idea, going to test it
what is in there?
What's this do better than what MyPhoneExplorer does perfectly already?
Well,
You can check informations like product code without to install SGS toolbox.
By the way this was most like an exercise for me

Categories

Resources