What does this assembler code do? - General Questions and Answers

hey all,
in my MiTAC Mio A702 there is some hi-power led. Unfortunately, the builtin "Flashlight" app allows only 11sec of light, then the LED has to be enabled again by pressing some HW button 6 seconds long.
While studying the camera drivers, I stumbled upon the function "mmpDscSetLedMode" in "mmp_dsc.dll" in the ROM. IDA disassembly is here: http://asm.pastebin.com/d29d8a543
What does this code do, and can I call it from an external VB.NET application?
Thanks,
Marco/harddisk

Related

Mio A701 - does it work with Pharos Ostia?

Hello guys who own the Mio A701,
I'm really interested looking at this Mio A701. Look pretty neat.
Have so questions:
1. Does the built in GPS works with the Pharos Ostia software?
I know its not the best, but it the only one I have right now.
2. It seems the Mio A701 does not have hardware buttons for the WM5 softkey? I noticed two silver things in between the 4 buttons, I thought they are softkey, but nowhere in the documentation mention about them.
Also, can the 2 last buttons (Media Player and GPS software) button be remapped into something else, like Start and OK?
Thanks!
Keys can be remapped to everything, but it stupidly doesn't have the soft key keys, despite bags of space for it. Thus, you're effectively limited to 2 hardware keys. The silver slivers are nothing.
However, using remappers you can remap volume keys, camera key and 2 hardware, and maybe red and green key.
Please note, again ridiculously there's no power key, so it doubles up with the red key. It's essential to use VJDeviceLock or matt's app.
Never tried Pharos, but it should work with any GPS software, it's a standard SIRF III device.
You might want to read my slightly surreal summary here regarding necrophilia:
http://www.vijay555.com/forum/index.php?topic=29.msg60#msg60
Check out
http://www.fourpages.co.uk/mioA701/index.php?sid=df1bfd1b1812a91514549b6ea0330537
V

Tornado and WM6 & a Few Other Questions

I have a few questions, and I'm sure the answers are here somewhere but filtering through these forums is rather daunting, so I hope you'll suffer a fw questions.
After installing WM6, there's no t9 input language. So there are seperate cabs for each language, but it seems that if I install 2 cabs, it overwrites the first language and I'm left with only one (the last) language installed.
How do I get to languages for input, like English and Spanish?
Just to clarify, I'm using andot's perfect wm6 ROM.
If I copy my contacts off my SIM, is this data going to be stored on my SD or in the memory?
Similar question for documents, temp files and ringtones. How do I keep all of this off the ROM/RAM?
Hardware Questions:
I found one copy of the i-mate PDF manual for this device, which turned out to be exactly like the paper copy I already had for Qtek.
Oddly, there's no picture of the device itself with arrows pointing at all the buttons, bells and whistles.
The jack on the bottom of the phone, is that 2.5mm? Is it just for hands free, or can it use a stereo headset for music?
The tiny hole right by that... is that for a hard reset?
WTF is the little slot-like gap in the top of the phone between the power button and the windows logo?
What do you call the internet and media player control buttons and is there an app to reasign them?
There are 3 led light holes on the face, what do they signal?
Install a T9 wich you can find in the extras.zip in phils BETA-thread. That will enable input.
The jack on the bottom is 2,5mm. You can buy 2,5 ->3,5mm adapter, or a headset with 2,5mm. Yes stereo hp is supported.
Tiny hole next to that is prolly a mic.
Slot-like? I'm not sure, but can imagine it's for use in a car. There is a button-fix in the before-mentioned extras.zip.
The green LED blinks to show that you have coverage. Blue LED for bluetooth, and the third blinks when wifi is activated. When charging your phone, one LED turns red.
Exitao said:
I have a few questions, and I'm sure the answers are here somewhere but filtering through these forums is rather daunting, so I hope you'll suffer a fw questions.
After installing WM6, there's no t9 input language. So there are seperate cabs for each language, but it seems that if I install 2 cabs, it overwrites the first language and I'm left with only one (the last) language installed.
How do I get to languages for input, like English and Spanish?
Just to clarify, I'm using andot's perfect wm6 ROM.
If I copy my contacts off my SIM, is this data going to be stored on my SD or in the memory?
Similar question for documents, temp files and ringtones. How do I keep all of this off the ROM/RAM?
Hardware Questions:
I found one copy of the i-mate PDF manual for this device, which turned out to be exactly like the paper copy I already had for Qtek.
Oddly, there's no picture of the device itself with arrows pointing at all the buttons, bells and whistles.
The jack on the bottom of the phone, is that 2.5mm? Is it just for hands free, or can it use a stereo headset for music?
The tiny hole right by that... is that for a hard reset?
WTF is the little slot-like gap in the top of the phone between the power button and the windows logo?
What do you call the internet and media player control buttons and is there an app to reasign them?
There are 3 led light holes on the face, what do they signal?
Click to expand...
Click to collapse
2.5mm, any other 2.5mm headphone can be used
There isnt any hard reset button for that phone, to hard reset, you either use the software or press the two soft key and on the phone
The 3 LED light holes? I think you mean the top there
There are 5 holes, the left most one is for power status, yellow for normal, orange for charging, red for low power, the right most hole is for connectivity, yellow for WiFi, blue for BT, the 3 in the middle is simply the earpiece, while the hole above is the loudspeaker
Thanks for the replies guys! Just a few clarification questions and a bit of repeating things back to ensure I have it correct.
In regards to the language thing:
I did find the Extras.zip and did use the "English xT9.cab", but this only gives me one language input option when I hold down the * key. If I install a Spanish T9 after the English T9, I only get the Spanish language option when inputting text. I want them both... Is there any place to get the full western language(s) WM5 T9 cab?
Audio Jack:
It's good to hear that the jack is stereo. So I could get a set of stereo headphones/handsfree combo for music. Now I just have to wait for someone to hack support for bigger than 2gb of miniSD (I know there are some that still work, but the newer ones are faster...)
So, onto the lights:
To be clear, I'm not talking about the LCD display, just the lights in the hardware fascia.
Top Left
blinks green for GSM service
solid amber when connected to USB charger/PC
Top Right
blinks green for WiFi
blinks green for WiFi
Centre Bottom (under the "0+" key)
I've seen it lit when the keypad was lit for bootloader. I don't know when else it lights up
.
The T-Mobile quickstart guide says that middle bottom one is the mic, which makes no sense as mine is filled with that plastic like the other LED lights. More likely the mic is the hole between the headphone jack and the pound (#) key .
The slot-like opening on the top back of the phone is the ringer/loud-speaker.
Along the narrow outer side of the phone, going clock-wise, we have 3 buttons:
volume toggle
comm manager
power/quicklist key
camera button
So the left and right-most buttons on the Start/Home row of buttons under the LCD are the "soft keys."
On the face above the standard numeric keypad and beneath the LCD, from top to bottom:
Start, Home, Back, Contacts/Menu/Context
Internet, Rewind, FF and Play/Pause
Extended press of Start key does nothing.
Extended press of Home starts Celetask (what would it start if no Celetask, and how would I configure it?)
Extended press of Back key does nothing.
Extended press of Contacts key does nothing.
Extended press of ie and windows media buttons do nothing, when not playing media, all 3 media buttons do nothing except start windows media player (and because these buttons are bigger than the more useful row above, windows media player starts a lot).
Is there more configurability for changing purpose of Media buttons when at Home screen or there is no Media context?
Is there any more configurability for adding extra extended key-press function for home/start row keys?
The "button fix" cab is to do what? Just make the buttons work properly with WM6, or to allow reassignment?
There's no way to disable all function (i.e. backlighting) of thumbstick while phone is locked?
I guess this is more of a WM6 question, but this type of smart phone doesn't use the Today screen with tabs?
--------
I'm actually a little surprised that there's no diagramming anywhere of button functions and that most binaries released don't have NFO files or that there's no list of what these standard files everybody downloads do. There's a couple nice lists of files to download, with some reference links, but a lack of information about their purposes.
That's why I was hoping that somewhere there was a Quick Start guide for the phone. Actually, I just found T-Mobile's here (clicky)
What's really stupid is that every other provider/reseller than T-Mobile of this handset makes you sign up for a "club" to access these PDFs and if your IMEI or serial number isn't in their database, you can't join the club.
Again guys, thanks for the info and I look forward to being able to contribute in the future.
I think they have to make you sign up for a club because it contains the ROM upgrade and the ROM are licensed, hence they just can't publish it publicly. Same reason why the ROM archive in xda-devs was told to be taken down months back ( but we dont give a damn )
karhoe said:
I think they have to make you sign up for a club because it contains the ROM upgrade and the ROM are licensed, hence they just can't publish it publicly. Same reason why the ROM archive in xda-devs was told to be taken down months back ( but we dont give a damn )
Click to expand...
Click to collapse
I applaud that. I really hope they can't do anything against you.
I still have a few hanging questions.
I read somewhere about the Bluetooth stereo needing a registry hack. Does the hardware audiohone jack also require a hack? Is it proper stereo or joint stereo?
I'm still interested in changing functions of media buttons and adding extended keypress function to otther buttons like Celetask uses with the Home key.
Exitao said:
Centre Bottom (under the "0+" key)
I've seen it lit when the keypad was lit for bootloader. I don't know when else it lights up
.
The T-Mobile quickstart guide says that middle bottom one is the mic, which makes no sense as mine is filled with that plastic like the other LED lights. More likely the mic is the hole between the headphone jack and the pound (#) key .
The slot-like opening on the top back of the phone is the ringer/loud-speaker.
Click to expand...
Click to collapse
that's the light sensor.
and about the xt9 thing i think in smartphone general forum it's a sticky topic about this. now i write from mobile and don't have the mood to 'research' :-D
DSF said:
that's the light sensor.
and about the xt9 thing i think in smartphone general forum it's a sticky topic about this. now i write from mobile and don't have the mood to 'research' :-D
Click to expand...
Click to collapse
The files there are for Vox and Xcalibur (sp?), do they work for Tornado too?
I found my answer to the English Spanish question here:
http://forum.xda-developers.com/showthread.php?t=271641&highlight=t9+spanish+english
* Extract T9SpanishLdb.dll and T9ImeRes.Dll040a.mui from t9_tornado.rar to \Windows
* [HKEY_LOCAL_MACHINE\T9 Input Method\LDBs], add string value '040a' with data 'T9SpanishLdb.dll'
* [HKEY_LOCAL_MACHINE\T9 Input Method\MUI\Languages], add '040a' to the list of 'Available', so the data will be '0409,040a' (or whatever your phone uses.. just add the one for the language you're installing)
Click to expand...
Click to collapse
Any updates on re-mapping the media buttons? I would love to re-assign these keys to Messaging and other apps I use frequently.
On my Samsung Blackjack, there is actually a function in the Windows Mobile Settings called "Buttons", which allows me to reassign the buttons to pretty much anything. Does anyone know if there is a small app or something that could do this on my SDA (I have upgraded it to WM6 using the posted sticky instructions - thanks you guys, awesome work!)
bigern79 said:
Any updates on re-mapping the media buttons? I would love to re-assign these keys to Messaging and other apps I use frequently.
On my Samsung Blackjack, there is actually a function in the Windows Mobile Settings called "Buttons", which allows me to reassign the buttons to pretty much anything. Does anyone know if there is a small app or something that could do this on my SDA (I have upgraded it to WM6 using the posted sticky instructions - thanks you guys, awesome work!)
Click to expand...
Click to collapse
I don't know anything yet and no one has answered here.
The buttons are pretty stoopid. I didn't buy this phone for mulitmedia. I bought it for productivity apps. And these media buttons are so big that it's hard to miss them when using softkeys.
So until someone gives an answer, I guess we have to find our own answers and there's a bit of a learning curve for me.
I think I found it - check out post #4 in this HowardForums thread:
http://www.howardforums.com/showthread.php?t=865189
These exact instructions worked for me on my SDA running WM6 Perfect English Edition. I changed the last button to go to Messaging (tmail.exe).
Exitao said:
I found my answer to the English Spanish question here:
http://forum.xda-developers.com/showthread.php?t=271641&highlight=t9+spanish+english
Click to expand...
Click to collapse
This wasn't the full answer to my question.
There's also a reg key:
[HKEY_LOCAL_MACHINE\T9 Input Method\Settings] Options
Changing the d-word value to 1033 (00000409 should work too) from 00003317 is what gave me my language settings back.
It took a bit of looking to find out what 00003317 was. 3317 is a ghost script name for a Chinese simplified font, as far as I can tell.
The one thing you'll notice as you look at that string is that key shares that string with a another dword entry, "chinese pinyin."
As I don't read or speak putonghua, or any hua, I thought it might be nice to delete this key. But it just keeps turning up over nad over, like a bad penny.
there's another string elsewhere:
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH] Which could probably be safely removed from the ROM.
I wonder if we collected a list of all useless registry entries and had someone remove them from a future ROM, how much space could we save?
bigern79 said:
I think I found it - check out post #4 in this HowardForums thread:
http://www.howardforums.com/showthread.php?t=865189
These exact instructions worked for me on my SDA running WM6 Perfect English Edition. I changed the last button to go to Messaging (tmail.exe).
Click to expand...
Click to collapse
Yes, you did find it. Yay!
Short_AP1
Short_AP2
Short_AP3
Short_AP4
Click to expand...
Click to collapse
The files are in the Windows directory and they're just shortcuts. Easy to edit.
Just make sure that you use the button fix if your upgrade mod requires it, otherwise those shortcuts don't exist.
We'll also have to find out if it interferes with media player when it's the active app/window.

Source code to disable Home and Back Buttons?

Hello.
I've developed an application for HTC Mobiles, and I've just received a Diamond. Mi app hides Windows Mobile, but in this device you can press the Home Button to exit to Today screen, and I'd like to disable it.
I've downloaded Dredsensor, which works perfectly and allows a lot of things more, but I'd need to implement it in my application, and I only need to disable the buttons.
How could I do this?
Thanks,
Enrique

Keyboard HTC 7 Pro

Hello,
I need help. In my HTC 7 Pro keyboard backlight is lighting all time. Also when screen isn't lighting and when keyboard is closed. How it works in your devices?
bloosik said:
Hello,
I need help. In my HTC 7 Pro keyboard backlight is lighting all time. Also when screen isn't lighting and when keyboard is closed. How it works in your devices?
Click to expand...
Click to collapse
I answer the question to myself, because I solved this problem and if anyone would have the same one, maybe it will help.
It was hardware problem. What I did? I stick off black tape in up part of keyboard and it helped. I've no idea why, but it helped
bloosik said:
Hello,
I need help. In my HTC 7 Pro keyboard backlight is lighting all time. Also when screen isn't lighting and when keyboard is closed. How it works in your devices?
Click to expand...
Click to collapse
What do you mean "keyboard backlight is lighting all time" ? The hardware QWERTY keyboard of HTC 7 Pro lights only under these scenarios:
- when you tap on a text field and when you enter text. If you stop pressing keys it dims in 4-5 seconds.
- when the display is lit up and you open the sliding mechanism.
I have some questions:
1. Did this problem appeared immediately after you purchased the phone or some time later? Was it new or used?
2. Can you please post a picture of the duct tape that solved the problem?
3. Do you experience the problem described in post #10 in this thread: http://forum.xda-developers.com/showthread.php?t=1216057
fashion_m said:
What do you mean "keyboard backlight is lighting all time" ? The hardware QWERTY keyboard of HTC 7 Pro lights only under these scenarios:
- when you tap on a text field and when you enter text. If you stop pressing keys it dims in 4-5 seconds.
- when the display is lit up and you open the sliding mechanism.
I have some questions:
1. Did this problem appeared immediately after you purchased the phone or some time later? Was it new or used?
2. Can you please post a picture of the duct tape that solved the problem?
3. Do you experience the problem described in post #10 in this thread: http://forum.xda-developers.com/showthread.php?t=1216057
Click to expand...
Click to collapse
Sorry I'm reply so late. And sorry for my english
Now my phone works in right way. I mean:
The hardware QWERTY keyboard of HTC 7 Pro lights only under these scenarios:
- when you tap on a text field and when you enter text. If you stop pressing keys it dims in 4-5 seconds.
- when the display is lit up and you open the sliding mechanism.
Click to expand...
Click to collapse
And my answers for your questions:
1. I bought used phone with this problem.
2. I can't take a picture of the tape, because i threw it out. But you can easy find it. Under it there are LEDs backlighting keyboard. In construction of the tape is somthing like metal net, so maybe it caused the problem. I don't know, I have no knowledge in this field.
3. I have no this problem, so unfortunelly i can't help you. I guess you should disassembly screen-part of the phone and check what's wrong. If you don't solved it yet

Use a Surface RT as Smarthome Display

Hey there,
im just installed a few smarthome components here and think about using my old surface rt as a display. The task is easy: Only show the webpage of my smarthome software (lokal website).
But I've got two problems:
1.)
I can't get the lock screen disabled. I've tried with the group policies and the registery hack. The folder to delete the lockscreen (method #3) doesn't exists on my surface.
2.)
How to wake up the surface from standby by hardware?
Theres no problem to generate a digital signal to wake it up (motion sensors, door sensors etc) which switch a relay on. But drilling a hole into the surface to solder it as a paralell connection to the on button isn't a good solution.
So what can I do?
Is there a possibility to use the keyboard connector?
Can i use a USB device to wake it up? Or a bluetooth connection?
Quite good would be a solution using the power cord. I could set my relay into the power cord, which let the surface think the power connector was removed for short time. This brings the surface to wakeup but will it harm the battery or supply?
Anybody an Idea?
Thanks,
Dirk
HI! you can use something that touch constantly the screen(for example a piece of these pens for tablet) on a calculated time
or, you can take it always waked up in the impo>screen>wake up, or something, i don't use my surface by months, i can't remember now, sorry

Categories

Resources