[Q] detect function paramaters in nativ dlls! - Windows Phone 8 Q&A, Help & Troubleshooting

Hi
I want to see how is it possible to read function parameters in nativ dlls
for example in ShellChromeAPI.dll there's a function to turn screen on or off or other functions like that .
I want to know how can I detect the true calling way of the function !
I am using IDA to view binary files

no idea ?

Related

WiFi and Power Off

Hi guys.
Everybody (almost) know that it's possible to link an image (so a button on our Today) to the bluetooth in order to switch on and off the bt, just putting this file:
http://rapidshare.com/files/86265673/BluetoothToggle_Discoverable.zip.html
in a folder and making a link to it.
Is there a file that makes the same for the power off and the WiFi?
Don't link me any programs whick makes this (like effcomm).
I need the files which turn the ppc off and switch on/off the wifi.
Can u guys help me?
Cheers! Bye!
You can try PocketToolman 2
Yeah, I've already tried it, but it allows me to enable or disable the wifi, the bt, to reset and power off the ppc, but it doesn't give me any file to use for my purpose.
An exe or something I can use to link the image to enable the wifi and to switch off the ppc.
i'm also interesting about the link to poweroff application of the deide

Usb Gamepad Working!!!!!! Andres Ortega First!!!

IVE MADE USB GAMEPADS WORK ON OUR PHONE!!!!! now you can play your nintendo, super nintendo, genesis and playstation emulators on your T.V. and have a matching remote to boot.
You will need the following:
Registry Editor
Hidgamep.dll file (included)
4 in1 cable (and usb gamepad ) any with 1 joypad will work.
1. you will need to unzip the hidgamep.dll file into your windows directory on your phone.
2. open your registry editor, and find the directory [HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default
3. add the value "1_5". ( dont put the "")
4. open the value 1_5 and add the value "gamepad" ( dont put the "")
5. now add the key "hidgamep.dll" ( dont put the "") (this step makes windows use the driver)
6. save your work remove the usb device and reboot your phone.
7. now if you did this right, when you plug in your usb game pad it should give you a message. now all you have to do is set the buttons on your emulator and your off to gaming like a pro!!!!
Questions? email me
If you have any questions please email me at: [email protected]
if you want any other help also email me.
Where do you get a usb game pad? Kind of lost here. Seems interesting though.
it would be nice if you can port USB MassStorage Driver into Athena~
rickyrvl said:
it would be nice if you can port USB MassStorage Driver into Athena~
Click to expand...
Click to collapse
it already has this ??? but there is a size limit
where can u find the playstation emulator
Very interesting! Great work!
Does a normal USB-keyboard work with this?
(And is there a way to use localized keyboards with the Athena?)
Think I shall give this another try
I found the .dll on another forum a while ago but could not get it to work but might of been a very very ancient copy but I think I shall give this a try again, a couple of quick questions do you know how many buttons the .dll supports? And also does it map the pad to the standard joystick layout for games that do not allow you to reconfigure the keys?
If all goes well might consider getting one of these http://www.geniusnet.com/geniusOnli...50&_pageLabel=productPage&test=portlet-action
cuba3377 said:
IVE MADE USB GAMEPADS WORK ON OUR PHONE!!!!! now you can play your nintendo, super nintendo, genesis and playstation emulators on your T.V. and have a matching remote to boot.
Click to expand...
Click to collapse
Do you know if this work on other WM devices too? I might try it next week if you are not sure.
My guess is "no" since it requires a USB host which only Advantage has...
update
this driver supports 2 axis controller and up to 8 buttons.
kareem9nba said:
Where do you get a usb game pad? Kind of lost here. Seems interesting though.
Click to expand...
Click to collapse
you can get a universal usb gamepad anywhere. i got mine at superwalmart 9 bucks
rickyrvl said:
it would be nice if you can port USB MassStorage Driver into Athena~
Click to expand...
Click to collapse
the driver for a mass storage device is already installed. i looked into it. the thing is that the battery on a phone is about 3.7v. a regular usb port has alot more than that. dont expect to power a hard drive with such low current. the drivers are installed so if you use thumb drives or multi usb port drives it will work.
irus said:
where can u find the playstation emulator
Click to expand...
Click to collapse
search google for ps emulator windows mobile fpsece
Moskus said:
Very interesting! Great work!
Does a normal USB-keyboard work with this?
(And is there a way to use localized keyboards with the Athena?)
Click to expand...
Click to collapse
the driver is already preinstalled with windows mobile 6. aslong as the current draw of the keyboard isnt more than 3.7 v
Oberth said:
I found the .dll on another forum a while ago but could not get it to work but might of been a very very ancient copy but I think I shall give this a try again, a couple of quick questions do you know how many buttons the .dll supports? And also does it map the pad to the standard joystick layout for games that do not allow you to reconfigure the keys?
the reason it didnt work is because the buttons need to be maped correctly. all my driver does is tell the pda what we want it to do when you press buttons. the axis is the directional keys on the board.
if you did want to reconfigure the map. its just plug n play with the driver, just remove the current mapping and add the keys you want to the driver. also u will know when u did it right because you will get a pop up box
Click to expand...
Click to collapse
It works
Hi Cuba337,
Got it sussed and now it works with a couple of joypads might get the one I linked above now. For anyone else trying this and getting stuck I found you need to tweak the intructions given.
Step 3, Add a new KEY named "1_5" (ignore the " ")
Step 4, Add a new KEY named "gamepad"
Step 5, Add a new STRING value called "DLL"
Step 5a, edit the value and enter "hidgamep.dll"
And that does the trick for me did not bother reseting the phone just plugged a pad in and it worked. It works with both my genuine HTC 4-in-1 cable and my no name 7500 dock with 2 usb ports on the side. It does feel a touch unresponsive but the only digital gamepad I have laying around is rather shoddy and my other spare pad has analogue pads which it's not keen on either so will get new pad and see what happens, will also see if the new PK4.0 rom helps when that comes out.
Thanks Cuba337
cuba3377 said:
IVE MADE USB GAMEPADS WORK ON OUR PHONE!!!!! now you can play your nintendo, super nintendo, genesis and playstation emulators on your T.V. and have a matching remote to boot.
You will need the following:
Registry Editor
Hidgamep.dll file (included)
4 in1 cable (and usb gamepad ) any with 1 joypad will work.
1. you will need to unzip the hidgamep.dll file into your windows directory on your phone.
2. open your registry editor, and find the directory [HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default
3. add the value "1_5". ( dont put the "")
4. open the value 1_5 and add the value "gamepad" ( dont put the "")
5. now add the key "hidgamep.dll" ( dont put the "") (this step makes windows use the driver)
6. save your work remove the usb device and reboot your phone.
7. now if you did this right, when you plug in your usb game pad it should give you a message. now all you have to do is set the buttons on your emulator and your off to gaming like a pro!!!!
Click to expand...
Click to collapse
nice job... just one question does it work with any game pad?
Awesome job
Thanks for the .dll posting and the notice to get things working for the gamer in all of us
Can you post links to the set of utilities that you are using? A consolidated list of game emulators and versions that support the config that you are using and talking about?
I have all of the older emulators, but I have had trouble getting many of them to work in REALVGA mode. Do you have yours working in VGA mode? Since you have a working solution it would be really really cool to get all of the links from you for the solution that you have put together. I would personnally be grateful for the time saved from testing unknown configurations...
Thanks,
Bob
Auto Config File For The Dll
Instead of asking for it I am deciding to post it. LOL
Create a .REG file and place this into it's content.
Code:
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_5\gamepad
"DLL"="hidgamep.dll"
Place the file on your device and run it. I don't know if the run method works as it should on
a windows pc but it should in theory. After a successful merge of the file you may delete it.
Personally I would place it in the DLL's zip file so it does not get lost for future installations.
If there is a CE Hacker out there looking for an example to follow you might want to
consider the following information taken from windowsfordevices.com
DB files define the default RAM-based property database for the object store. The
syntax is a bit cryptic, but it is documented. For Platform Builder-generated systems,
it is rare to need to use the database at all, except to set up the automatic
connection for ActiveSync, as follows:
Code:
; This is the database initialization file.
; format is as follows -
; Database : db name : type in hex : num sort order : hex propid : hex flags ....
; CEDB_SORT_DESCENDING 0x00000001
; CEDB_SORT_CASEINSENSITIVE 0x00000002
; CEDB_SORT_UNKNOWNFIRST 0x00000004
; CEDB_SORT_GENERICORDER 0x00000008
; A database specifier can be followed by any number of record specifiers
; Record :
; A record specifier can be followed by any number of field specifiers
; Field : hex propid : value [ either string or hex dword ]
; End (ends a matching database or a record context)
Database: "DB_notify_events" : 0 : 1 : 0001001F : 0
; 0001001F - PROPIDR_NAME
; 0002001F - PROPIDR_CMDLINE
; 00030013 - PROPIDR_EVENT
Record :
Field : 0001001F : "repllog.exe"
Field : 0002001F : "AppRunAtRs232Detect"
Field : 00030013 : 9
End
End Database
This DB file will set up the notification database to run REPLLOG whenever an RS232
event is triggered. This will start the connection process on the default "hot plug"
port for ActiveSync.
Maybe you can map an 8-way d-pad with buttons to the keyboard with this method and speed up the response time without using C/C#/C++? I Dunno. I Never heard of
using a DB file as a driver until I read up on the REG files.
For those who don't know but are interested RS232 is Infrared. I'm sure the codes
above could be changed to a USB or even Bluetooth COM Port.
Somebody Push this thread to my favorite COOKS!

G-sensor drive with whitelist in a CAB...exists it?

Hi friends.
I would use my HD with ONLY G-sensor without external application. Now i have saw that Dutty 3.9 has a Whitelist list in registry editor that allow to rotate applications witouth external programs.
Now i want to know if exists an application that install this new g-sensor drive and whitelist automatically.
Good evening.
[email protected] said:
I would use my HD with ONLY G-sensor without external application.
Click to expand...
Click to collapse
That doesn't make any sense. The g sensor just returns some data, which can be accessed through the sensor sdk. But you can't see this data (and especially use it) without an application that uses it ?
I think he means he wants something that will automatically set up the whitelist..
G-config is a great prog for that..
For G-Sensor , You Can Use This File .
This File Is Very Good , And Work Correctly For Me .
This File Make About 50 Whitelist And Module For You , And Active G-Sensor For Them .
http://forum.xda-developers.com/showpost.php?p=3958734&postcount=100
using the g-sensor is still not the best idea...i suggest to use change screen or flip it. The g-sensor has one killer issue...if the sensor ist aktivated the dialer will rotate too...which will lead to major issues. I had to start my device a couple of times because it does not work like it should...even with the latest rhodium dialer (which supports landscape mode), it does not work 100%.

[Q] Registry Tweaker

So I'm thinking of making an app that has a simple toggle button that toggles between screen orientation but uses the registry. I just want to have an app that has a toggle button that alters the registry when toggled. What are the APIs and necessary codes I need?
Depends if you're trying to modify something that can be written to under an existing Capability (in which case you need a registry API, either the native Win32 one or a C++/CX wrapper around the Win32 one such as my NativeRegistry library), or need to modify a location for which no standard capability gives you write access, in which case you need Samsung's RPCComponent library.

[Q] How to use google as search engine in IE?

Does any one know if there is any way to set the IE to use Goolge as the search engine? Thank you.
It's possible via a registry tweak, or sometimes (if already configured this way from the factory) in the Settings screen for IE. Unless you have a Samsung phone, though, the registry option is probably not available. Flashing a foreign ROM (one that comes with Google integration) might work, but you also might create more problems.
There's a way to do it on Lumia phones which I would guess doesn't work for other manufacturers...

Categories

Resources