Gsensor help - Windows Mobile Development and Hacking General

I am trying to use the solution that you can get on this site: http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/
However I´m getting: Can’t find PInvoke DLL ‘HTCSensorSDK’, please help.
I have downloaded HTCsensor.dll and put it in the bin-folder but that didn’t help.
I tried to first run the GSensorSDK and then the SensorTest.

Related

Digital Signature PITA

I have search for about three hours now. On the forums and google. I can not find a way to make this work. Any help would be much appreciated.
I am simply trying to customize "phcanOverbmp.dll" so that it matches my phone pad skin. I use resource hacker to change the images and when I save the new DLL it looses the digital signature (expected).
I am using signtool.exe from the Visual Studio SDK and the certificates from the WM5 PPC SDK.
I tried wizard mode and I get "The Digital Signature wizard did not complete."
I also ran it via command line with the "/f SDKSamplePrivDeveloper.pfx" switch and I get "SignTool Error: ISignedCode::Sign returned error: 0x80070057"
I have tried "signcode_294" with the .bat file, that gives me "Error: Signing Failed. Result = 80070057, (-2147024809)"
I researched this issue and found that if it is XIP you cant sign it, but this .dll was taken from my device, so it should be PE.
I am really at a loss...
PLEASE help me solve this. There are soooo many things I have customized that I cant use cause of this issue.
Thanks, Lew
Ok, the problem is you are trying to edit a signed file. This is a big no no!
The thing is signature has a checksum. Once you edit a signed file it automatically becomes invalid so you can't run or resign it.
You need to find a way (sorry, can't help you there) to remove the signature before editing the file.
lewcamino said:
I have search for about three hours now. On the forums and google. I can not find a way to make this work. Any help would be much appreciated.
I am simply trying to customize "phcanOverbmp.dll" so that it matches my phone pad skin. I use resource hacker to change the images and when I save the new DLL it looses the digital signature (expected).
I am using signtool.exe from the Visual Studio SDK and the certificates from the WM5 PPC SDK.
I tried wizard mode and I get "The Digital Signature wizard did not complete."
I also ran it via command line with the "/f SDKSamplePrivDeveloper.pfx" switch and I get "SignTool Error: ISignedCode::Sign returned error: 0x80070057"
I have tried "signcode_294" with the .bat file, that gives me "Error: Signing Failed. Result = 80070057, (-2147024809)"
I researched this issue and found that if it is XIP you cant sign it, but this .dll was taken from my device, so it should be PE.
I am really at a loss...
PLEASE help me solve this. There are soooo many things I have customized that I cant use cause of this issue.
Thanks, Lew
Click to expand...
Click to collapse
If you run the sdk cab before replacing "phcanOverbmp.dll" it will work. It did for the batteryfix project that i helped jimm98y with
download one of his earlier zips that has the file you need in it. Can be combined all in one cab. edit i attached it
see here http://forum.xda-developers.com/showthread.php?t=267321&highlight=battery+fix
Thanks,
I installed that cab to my TyTN and the dll still is a no go. Any other ideas or ways to digitally sign it? I am really desperate, I have been trying for soooo long to get these to work.
Thanks, Lew
Thats strange can you send me the file to my email [email protected] and i will try to get it to work. I will include it in a cab i made before and see if that does the trick.
Microsoft has problems signing on windows 2000 SP4?
Any chance you're using Windows 2000 SP4, If so you might want to check out this link.
http://support.microsoft.com/kb/829924
Probably not the issue but, I figured I'd mention it just in case.
Sorry, but I am running Windows 95 version C. So I don't think that is the issue.
I just got a chance to check the forums, I will e-mail you the dll.
Thanks again, Lew
P.S. I am running XP sp2
I've got a similar problem. I tryed to edit some dll's from HTC Touch Phone Pad International, but since they are digitaly signed, i can't change the contents without invalidating the digital signature. The goal would be to make the phone pad look more like the dialpad. I've created all the pictures I need, and I know which dll's to change. I'm using PE Explorer to edit the resources from the dll's, but first I need a way to remove the digital signature, and after changes are made, re-sign it.
Advices anyone?
FInixNOver said:
I've got a similar problem. I tryed to edit some dll's from HTC Touch Phone Pad International, but since they are digitaly signed, i can't change the contents without invalidating the digital signature. The goal would be to make the phone pad look more like the dialpad. I've created all the pictures I need, and I know which dll's to change. I'm using PE Explorer to edit the resources from the dll's, but first I need a way to remove the digital signature, and after changes are made, re-sign it.
Advices anyone?
Click to expand...
Click to collapse
Well I got it to work. With some help I was able to rebuild the signature in the changed dll's.
FInixNOver said:
Well I got it to work. With some help I was able to rebuild the signature in the changed dll's.
Click to expand...
Click to collapse
How did you achieve this? I am having the same problem and i guess i need to somehow remove the signature too.
Yes, it'll be great to have some information about achieving this!
Thanks in advance
any more information on how to do this?
Did anyone figure out a way to do this ?
*bump* *bump**bump**bump**bump**bump**bump**bump**bump**bump*

Getjar.com help instaling programs help

I am running the newest version of open touch and i am trying to download and use , http://www.getjar.com/products/13076/SuperBluetoothHack , this bluetooth hacking program because it looks like it could be some fun but i dont know how to use the .jad and .jar download files to install them on my phone after they are downloaded, and i tried going to the quick downoad site on my phone to download the files but that doesnt work either. If anyone could help me, with a short step by step guide of what to do, i would greatly appreciate it.

flashvideobundle.cab wont install

hello everyone this is my first post so I don't know if this post is in the right place.
I am trying to install the new flashvideobundle.cab file on t-mobile wing with wm6.1 open touch and it just tells me was unable to install to be installed
oldd one installs fine bujt goves me youtubes swf args not found
any ideas on how to fix it and be able to I.nstall the new one tried downloading from different site and none have worked thank you in advance.
@[email protected]
@[email protected] still can't get it working

*Noob in need of help with Themes..pleasee !

hey XDA
i have a CDMA version of the touch diamond, so can someone help me with downloading themes with the CDMA version? because ive tried other ways but it doesnt seem too work
so if anyone could help it would be greatly appreciateedd !
If it is a .theme file you will need to install a program (name slips me) otherwise .cab files seem ur route.
you need to download tf3d config v.67, its somewhere here in the forum. i actually attched it for you. from there you just have to download the themes and run the program.
when i installed it, and tried to run it, it was unexpected error occured?

[Q] can not Install *.jar files

Hey guys, I updated my Rom to Miri WM6.5 which can be found at
HTCPedia
/miri_wm21892_manila25_nomessaging_v21_1/soft/htc-blackstone-rom.html?c_page=5#comments ( I can not write the link because the system does not allow me)
but I have some problems with it. Firstly, when I try to install a java application, I get an error says " There is no application associated with "opera-mini-5.1.21051-advanced-en". Run the application first, then open the application".
What can I do to get over this problem ?
And secondly, How can I change the folder of an application ?
The last two comments are mine at that thread but I get no answer, so I decided to ask it more experienced guys
Thank you for your help =))
Seems like no one knows..
For Java applications you must install midlet manager (Jbed or Jblend) first.
Knuckled said:
Hey guys, I updated my Rom to Miri WM6.5 which can be found at
HTCPedia
/miri_wm21892_manila25_nomessaging_v21_1/soft/htc-blackstone-rom.html?c_page=5#comments ( I can not write the link because the system does not allow me)
but I have some problems with it. Firstly, when I try to install a java application, I get an error says " There is no application associated with "opera-mini-5.1.21051-advanced-en". Run the application first, then open the application".
What can I do to get over this problem ?
And secondly, How can I change the folder of an application ?
The last two comments are mine at that thread but I get no answer, so I decided to ask it more experienced guys
Thank you for your help =))
Click to expand...
Click to collapse
use this to instal Jar file
Thank you

Categories

Resources