Hacking DLLs - Windows Mobile Development and Hacking General

I've tried searching the forum for this, but unfortunately, like all search systems, the searching system doesn't work so effectively with small queries.
Anyhow, I'm interested in hacking a dll to make the internate sharing in my Wing (Herald) use the wifi instead of the bluetooth pan, but I don't know exactly where to start. I tried looking at the DLL through RedHack but it didn't show anything within it. Anyone have any tips that I can use?
Thank you!

First, you should use google instead of the search engine of the forum.
Code:
hacking DLL site:www.xda-developers.com
Now, reshack only shows resources in DLL like bitmaps, icons and strings.
To read the code you need a disassembler like IDA and a profound understanding of ARM assembler language.
But there already is a tweak to do what you want. Right here.

Tell me the name of the adapter (i.e., TIACXWLN1 in the Hermes) and I'll add the dll to the Internet Sharing over WiFi thread.
And FYI, if you'd like to edit the dll you'll need, as levenum mentioned, a disassembler such as IDA Pro. Find the pointer to the wifi adapter string and change it to point to a new string you add in the data section. It was a PITA.
fluxist

fluxist said:
Tell me the name of the adapter (i.e., TIACXWLN1 in the Hermes) and I'll add the dll to the Internet Sharing over WiFi thread.
fluxist
Click to expand...
Click to collapse
TnetWLN1
THANK YOU!!!

Related

URGENT URGENT: Bluetooth OBEX

Hi all,
I am really mad from this OBEX bluetooth thing, I have spent a month trying to add BT OBEX support in my program but ith no luck, I scanned the internet line by line and found almost nothing.
I found things on codeproject and experts-exchange, but not of much use and some did not work correctly.
I saw some programs that deal with obex developed in this forum like GSMBeam and maybe others.
Any one knows how to program BT OBEX for file exchange?? I need to only send a file!! any libraries for evc++? I am really tired now and this is my last place to save my project.
I hope I will find help here
Don't know if this works for you... give it a go..
To change the ability to receive files via Bluetooth (OBEX)
* The setting is at 'HKEY_LOCAL_MACHINE\Software\Microsoft\Obex'
* The 'IsEnabled' DWORD value should be set to '1' to enable OBEX and '0' to disable OBEX.
Hi,
The problem is not with my device, the registry settings are correct, but I need help for developing my BT Obex application, specifically, I need my application to be able to send files to other devices via bluetooth (just like resco explorer).
ANY HELP GUYS? ANY C++ LIBRARIES? ANYONE DID THAT BEFORE?
please shade some light if you can.
Thanks in advance
Aaaa... IC
U could try here... http://www.gatefold.co.uk/obex/
It's a test-ware for sending contacts and files by bluetooth and there's a source and compiles software that u could d/load 2 test...
Hope this helps
Hi,
Thanks for your help, but as I wrote in the first post, I need it for c++, I already have this library but unfortunately it is for .NET applications, not c++.
I need some help on c++
Thanks again.
Come on guys... provide something
Would this help you out?
And maybe this
Thanks _Nomad_ for your help.
But again, both links are dedicated to the .NET CF, but I am using eVC++, so they are not useful for me.
I need some thing to use in eVC++, not .NET.
Thanks anyway.
And Guys, if any body knows anything useful please let me know.
mohgdeisat said:
I need some thing to use in eVC++, not .NET.
Click to expand...
Click to collapse
Use the force luke...
search for "obexsquirt"
the result will lead you to a full functioning c++ source code for obex transfer over both bt and irda.
cheers
Yes, thanks.
Actually I have the book that introduced this sample but some code is missing in the book.
I found another code derived from obexsquirt sample, it works fine but the problem is that it fails to disconnect from the target device and the connection remains open, I tried to debug it but found nothing to correct, the code seems to be written correctly but I don't know why the problem arises.
Please try to see the code guys and tell me whatever you get:
Article:
http://www.developer.com/ws/palm/article.php/10946_3573636_3
Code sample:
http://www.developer.com/img/2005/12/Obex.zip
Thanks guys

Accessing the registry through VB or C# ?

Yeah I know... Nobody likes a newbie, but I hope we've all been at my state...
Can anyone tell me how to access the registry from my program ?
I've tried searching msdn, but seriously this doesn't help me.
What am I missing and what do I need to include ?
I'm not new to VB or C#, but I'm used to using it for different purposes.
Oh, one last question : Is there a good reference overview out there anywhere (for beginners in mobile development ?)
Thanking you for your help up front.
Try total commander: http://www.ghisler.com/ce.htm and then check the wiki http://wiki.xda-developers.com/ for registry hacks
no difference between windows .net and compact famework when it comes to most things
http://www.google.dk/search?hl=da&q=c#+modifying+registry&btnG=Søg&meta=lr=lang_da|lang_en

Find dll functions from rom dll

Not sure if I have worded this properly as I'm at the edge of my knowledge but I wish to call a function that I am assuming is in a DLL which is contained in ROM. I know the name of the DLL but how can I get a list of functions available from it when I cannot copy it onto my PC?
Many Thanks
Hi Tailor.
First, what function exactly are you looking for? There may be some documentation on it somewhere.
To browse a ROM dll you need to get a ROM dump. The simplest way for your purpose, provided you have a WM5 device is to search for TESTWM5.exe by mamiac on this forum. It will dump all files to your SD. They won't be workable for coding purposes, but still good enough to use dependency walker to get exported functions from DLLs.
Unfortunately that still won't tell you the parameters the function expects. only its name.
Hi Levenum and thanks for your reply.
Its a Sony Sat Nav Windows CE 4.2 device so unforunately theres not much chance of a ROM dump or documentation. Then unit is sold as a finished product and not intended for further developement.
I have installed TomTom instead of the poor app already installed and was trying to get access to the hardware buttons and Light sensor on the unit and then intended to use the TomTom SDK to recreate their functions.
The keys don't not trigger a key press event but their are DLL's called something like powerbutton.dll and navbutton.dll and so it's a fair guess that they could be used to trigger these events.
Obviously without knowing their exported functions I'm not going to get much further.
Any further thoughts ?
Many Thanks
How exactly are you trying to catch the key events?
For what you describe, you don't just need to know function names, you need to know with what parameters to call them so this is definitely not the way to go.
If you are coding with C++ search for info on SetWindowsHook. I am not sure of its implementation on CE, but this might be what you need.
I'm using VB.Net 2005
I'll have a look at SetWindowsHook, Thanks.
Any ideas for the light sensor, there's a test app that Sony have left on the device, it gives a reading from 0 to 100?
How are they likely to be reading this value?

advice on creating cabs

hi all
I would like to email a friend with some registry changes (to sort out the joint stereo problem).
what is the best way to do this?
i assume that it is less straight forward than doing the same in xp given the lack of an inbuilt reg editor..
he has no idea of how to use a reg editor.
do i need to create a cab and if so could you point me in the write direction. Or is there an easier method?
thanks
daryl

Provisioning with XML questions

Hi,
I am using XML to provision and configure my PDA with settings and I have a couple of questions for anyone who has done this before. I have some settings working so I got cocky and thought I could do some more but I now need a little help with this...
Needless to say I am very grateful for any help/advice I can get on these...
1. Using XML I want to be able to delete unhelpful registry entries such as today items
2. I would also like to be able to set the following values in seconds:
BattSuspendTimeout
ACSuspendTimeout
3. I would like to be able to increase my Screen\Text Size up one level from the default
4. I would like to be able to creat shortcuts in the program menu for Office via the XML/CPF route but do not know the correct syntax
Is there a good resource for making these changes? I have serahced Google and come across various MS Visual Studio elements but not much for the XML, MakeCab, CPF route.
All the best, and thank you for anyone who can help me,
Sam.
PianoSam said:
Hi,
I am using XML to provision and configure my PDA with settings and I have a couple of questions for anyone who has done this before. I have some settings working so I got cocky and thought I could do some more but I now need a little help with this...
Needless to say I am very grateful for any help/advice I can get on these...
1. Using XML I want to be able to delete unhelpful registry entries such as today items
2. I would also like to be able to set the following values in seconds:
BattSuspendTimeout
ACSuspendTimeout
3. I would like to be able to increase my Screen\Text Size up one level from the default
4. I would like to be able to creat shortcuts in the program menu for Office via the XML/CPF route but do not know the correct syntax
Is there a good resource for making these changes? I have serahced Google and come across various MS Visual Studio elements but not much for the XML, MakeCab, CPF route.
All the best, and thank you for anyone who can help me,
Sam.
Click to expand...
Click to collapse
The best place to look is the MSDN books.
If you do a search of XML syntax it has all the options.

Categories

Resources