yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] theyllib:
Yes, it would be very much appreciated! Ive been looking for a htc wrapper for our sensor since i got the phone.

I attached the accelsensor.dll from the eXpo in case that will help at all. I wish i had the knowledge to do more myself..

edit:

Also, theres a game that comes stock on At&t's model gw820 called Ferrari GT Evolution that uses the gsensor. Its made by gameloft so maybe its not as hard to get to as the incites?
[Windows Mobile Development and Hacking General] iamspv:
to roolku:

Here is a modified version of sensors.dll with reversed Y axis that will a allow you to normally play sensory overload on your GM750. Using the GSensorTest you will see Portrait is now detected correctly.

Also, this version of sensors.dll works on HTC and Samsung as the original one , I managed to separate code. See the attachement.

to theyllib

I dissassembled the gw820 accelsensor.dll you provided. Looks like the interesting part is here

this is some data

.text:100027CC dword_100027CC DCD 0x32100C ; DATA XREF: ACC_IOControl+25Cr
.text:100027D0 dword_100027D0 DCD 0x321008 ; DATA XREF: ACC_IOControl+250r
.text:100027D4 dword_100027D4 DCD 0x321004 ; DATA XREF: ACC_IOControl:loc_1000263Cr
.text:100027D8 off_100027D8 DCD unk_10005650 ; DATA XREF: ACC_IOControl+8Cr
.text:100027D8 ; ACC_IOControl+138r ...
.text:100027DC dword_100027DC DCD 0x22200C ; DATA XREF: ACC_IOControl+80r
.text:100027E0 dword_100027E0 DCD 0x222008 ; DATA XREF: ACC_IOControl+74r
.text:100027E4 dword_100027E4 DCD 0x222004 ; DATA XREF: ACC_IOControl+68r
.text:100027E8 dword_100027E8 DCD 0x222010 ; DATA XREF: ACC_IOControl+48r
.text:100027EC off_100027EC DCD aAcc_iocontrol0 ; DATA XREF: ACC_IOControl+30r
.text:100027EC ; "ACC_IOControl(%08x)"

and this is where they are adressed

.text:10002440 LDR R3, =0x222010
.text:10002444 CMP R6, R3
.text:10002448 BHI loc_100025D4
.text:1000244C BEQ loc_10002588
.text:10002450 MOV R3, 0x222000
.text:10002458 CMP R6, R3
.text:1000245C BEQ loc_100025C0
.text:10002460 LDR R3, =0x222004
.text:10002464 CMP R6, R3
.text:10002468 BEQ loc_10002540
.text:1000246C LDR R3, =0x222008
.text:10002470 CMP R6, R3
.text:10002474 BEQ loc_10002518
.text:10002478 LDR R3, =0x22200C
.text:1000247C CMP R6, R3
.text:10002480 BNE loc_10002660
.text:10002484 LDR R3, =unk_10005650
.text:10002488 LDR R3, [R3]
.text:1000248C CMP R3, #1
.text:10002490 MOVNE R3, #0

The codes that must be sent to DeviceIoControl in coredll.dll are probably the 0x22200C, 0x222008 and stuff. The 0x321008 and stuff are some power get/set codes. But you need a programmer with an actual gw820 device to make it work as it need lots of testing. Hope this information helps and someone with such device will make it work.
[Windows Mobile Development and Hacking General] Chainfire:
Can anyone check if the Incite comes with ACCAPI.DLL, and if so can it be posted ?
[Windows Mobile Development and Hacking General] creative232:
I have a lg gm750 and is resembled incites the and not this that dll

Module name: accelsensor.dll
e32_objcnt: 00000005
e32_imageflags: 0000212E
e32_entryrva: 000015DC
e32_vbase: 7B483000
e32_subsysmajor: 00000005
e32_subsysminor: 00000002
e32_stackmax: 00010000
e32_vsize: 00007000
e32_sect14rva: 00000000
e32_sect14size: 00000000
e32_timestamp: 7C3CBA5C
e32_unit[0].rva: 000034D0
e32_unit[0].size: 0000011A
e32_unit[1].rva: 00003354
e32_unit[1].size: 00000050
e32_unit[2].rva: 00000000
e32_unit[2].size: 00000000
e32_unit[3].rva: 00005000
e32_unit[3].size: 00000150
e32_unit[4].rva: 00000000
e32_unit[4].size: 00000000
e32_unit[5].rva: 00007000
e32_unit[5].size: 00001000
e32_unit[6].rva: 00001000
e32_unit[6].size: 0000001C
e32_unit[7].rva: 00000000
e32_unit[7].size: 00000000
e32_unit[8].rva: 00000000
e32_unit[8].size: 00000000
e32_subsys: 00000009

o32[0].o32_vsize: 000025EA
o32[0].o32_rva: 00001000
o32[0].o32_psize: 000025EC
o32[0].o32_dataptr: 20000283
o32[0].o32_realaddr: 7B484000
o32[0].o32_flags: 68002020

o32[1].o32_vsize: 00000604
o32[1].o32_rva: 00004000
o32[1].o32_psize: 00000600
o32[1].o32_dataptr: 00000000
o32[1].o32_realaddr: 01D5A000
o32[1].o32_flags: C8002040

o32[2].o32_vsize: 00000150
o32[2].o32_rva: 00005000
o32[2].o32_psize: 00000150
o32[2].o32_dataptr: 00000000
o32[2].o32_realaddr: 7B488000
o32[2].o32_flags: 48002040

o32[3].o32_vsize: 00000004
o32[3].o32_rva: 00006000
o32[3].o32_psize: 00000004
o32[3].o32_dataptr: 00000000
o32[3].o32_realaddr: 01D5B000
o32[3].o32_flags: C8002040

o32[4].o32_vsize: 00001000
o32[4].o32_rva: 00007000
o32[4].o32_psize: 00000078
o32[4].o32_dataptr: 10000000
o32[4].o32_realaddr: 00000000
o32[4].o32_flags: 4A002042
[Windows Mobile Development and Hacking General] roolku:
Thank you for this. It is much appreciated. Keep up the good work. :)
[Windows Mobile Development and Hacking General] jowl_tnt:
Is it possible the creaton of HTCSensorSDK.dll and HTCAPI.dll for gm750-730-735 like somebody do for the omnia?
[Windows Mobile Development and Hacking General] TMWH:
Yes, it is possible. Just put file from HTCEmuPanel into Windows directory and than choose the HTCEmu Calibrator from Settings. Enjoy ;)

P.S. For those, who wants to make it better i'm attaching the source code.
[Windows Mobile Development and Hacking General] creative232:
as it works, I put in windows him give to calibrate you and it does not work

the sensor test yes work but the calibration no`t work
[Windows Mobile Development and Hacking General] TMWH:
creative232, the games are working too, there is the list of working games(on my lg gm730):

Resco Bubles

Seismo

Lightsaber

Resco Snake

PBA Bowling

Marble Worlds

hdWobble

DiamondBeer2

Caver

Teeter

lunarTilt

But calibration doesn't work too. It is strange...

UPD: Yeah, you've found a bug, ok, I'll fix it and update that post, thanks!
[Windows Mobile Development and Hacking General] creative232:
i I calibrate and values-3 +3 do not change stays in 0

values always stay in 0, that picture does not correspond with the reality
[Windows Mobile Development and Hacking General] TMWH:
creative232, thanks for testing, it was my bug, sorry, I've updated that post, now it is the version with working calibration there.
[Windows Mobile Development and Hacking General] creative232:
thanks to you, do not understand good my groins is bad, achieved primp?, if is asi it prove
[Windows Mobile Development and Hacking General] creative232:
yes works,but values are-1 and-63 and varian constantly

they are standard values?
[Windows Mobile Development and Hacking General] TMWH:
no, if you will rotate your device in your hands, there will be other values, and these values are values, that our accelerometer is giving to us in horizontal position.
[Windows Mobile Development and Hacking General] creative232:
if it works to wonders, even with the G-alarm,

but they put his phone number in a flat area before the calibration. the reading should be between-3 +3 after calibration.

this does not happen, but if I you says that is normal am contentment

because varian values although this still one the device in horizontal position?
[Windows Mobile Development and Hacking General] TMWH:
I can't find what is wrong in code, that's why i think it is our device's accelerometer specific feature, but i know, that calibration is working, because after using it test program works better.
[Windows Mobile Development and Hacking General] creative232:
if in clublgmobile all users with devices lg gm750 estan proving and it works, they are standard values

attached my msn fiestuky4@hotmail.com
[Windows Mobile Development and Hacking General] tootang:
is it possible to use this dll on the incite?
[Windows Mobile Development and Hacking General] gokhankeskin:
TMWH, thanks for the valuable tool.

I tried couple of HTC games. Things move in X direction but no movement in Y direction ??
[Windows Mobile Development and Hacking General] TMWH:
What device do you have, what games did you try on it? Because on my gm730 it works absolutely normal(all axises), even screen autorotate tools.
[Windows Mobile Development and Hacking General] gokhankeskin:
TMWH, Sorry!.. It seems I missed a step in calibration.

Everything works fine. Thanks again... Both to you and iamspv..
[Windows Mobile Development and Hacking General] creative232:
values are not the correct ones if you enter the menu engineer and evidence the sensor test that are between -1 and 3 and not between -3 and 63

menu enginner 3845#*750# and press desvice test and test sensor and gyro, the valures of sensor in x 1,2,3 an y -1,0.
[Windows Mobile Development and Hacking General] TMWH:
In calibration are values, that gives our accelerometer, I don't convert them, maybe that test gives us the converted values.
[Windows Mobile Development and Hacking General] ghostfaceg35:
So is this accelerometer a lot harder to work with? Would really like to be able to use the expo/IQ's accelerometer for more than simple rotation.
[Windows Mobile Development and Hacking General] roolku:
It appears that (on my gm750) 64 gets added/subtracted under certain circumstances. When you slowly move the device you can observe a sequence such as:

3, 2, 1, 0, 63, 62, 61

instead of

3, 2, 1, 0, -1, -2, -3

This is after a reset. A calibration just shifts it by an offset to for example:

3, 2, 1, 0, -1, 61, 60

This suggests to me, that there are only 6 significant bits in the sensor value and there is a bit extension problem when converting the read value into an integer. I admit I haven't looked at the code, but something like:

if(val>=32) val-=64;

immediately after the sensor read should work.

I may be completely wrong though...
[Windows Mobile Development and Hacking General] TMWH:
You are completely right, but I said, that calibration is the values, that we get from accelerometer, in dll I do such conversion as if(val>=32) val-=64;, but calibration is used before this conversion, that's why we see such values.
[Windows Mobile Development and Hacking General] roolku:
Which version of Teeter did you try? I tried the Omnia from here:

and the HTC one from here

and neither work :(
[Windows Mobile Development and Hacking General] gokhankeskin:
Did you replace the HTC files in the "program" directory with the ones came with HTCEMuPAnel ?
[Windows Mobile Development and Hacking General] roolku:
Good call! All working now. Thanks
[Windows Mobile Development and Hacking General] creative232:
this giving bad values, if we put the spbshell with funcion of acelerometro the spbshell not for of getting around even having the movil still which is why I think that values are unstable
[Windows Mobile Development and Hacking General] gokhankeskin:
Recently pocketkai add LG option in its "Bubble Level" program device menu.

The program works but it is a chalange to get it calibrated.

I copied the HTCEmuPanel files to the program directory and set the device to HTC.

The calibration now works and the bubbles are steady.

I believe this also shows that our sensors.dll needs some touch-up.
[Windows Mobile Development and Hacking General] creative232:
if it needs some readjustments, then with the movil stopped, the sensor not for
[Windows Mobile Development and Hacking General] joefrank:
does this work on the incite?:)
[Windows Mobile Development and Hacking General] jowl_tnt:
Why you did not test it and let as know;

If it didn't unistall it...
[Windows Mobile Development and Hacking General] tootang:
ill test it out but which files do i install and how do i test it
[Windows Mobile Development and Hacking General] gokhankeskin:
iamspv,

LG has some sensor applications written in swf (flash) format.

They can be opened by mobile flash player but no movement.

Should somethingh be changed within swf files in order for them to see your sensors.dll ?

Attached is one of them.

you can google for more samples with following keyword.

lg-motion-sensor-games-down-free-download
[Windows Mobile Development and Hacking General] joaoccl:
Hi guys I have a GM750 and I've been looking for a solution for the g-sen for quite some time.

Any expert out there can help me to understand this?
[Windows Mobile Development and Hacking General] joe_sonic:
how to get my sensor work?

hi, I really need help.

Since I'm not a programmer and know very little about the code, I don't know how to get my sensor work. I download the sensortest_plus_dll, it works very good. Then I download some applications, i.e. Resco bubbles and Teeter. Should I put the sensor.dll into those program's folders? The ball rolls only in x-axis and doesn't go in y-direction... What should I do? Thx very very much!!!
[Windows Mobile Development and Hacking General] joaoccl:
Same here. What we need is someone with the necessary skills to program the HTCEmu available in the 3rd page of this thread to work on our phone. If that works you won't need to use the sensors.dll file.

It does work on my LG GM750 but it's behavior on the Y and the X axis when the phone is face up (x=0, y=0) is very erratic so it needs to be rewritten.

If someone can help us please do :)
[Windows Mobile Development and Hacking General] Purple Drama Llama:
So will this work with the incite? If not, what happened with developing it for the incite as well?
[Windows Mobile Development and Hacking General] musti35:
"Face down mute" LG Gm735

Hi;

I have LG Gm 735 .

I use HTC emulator. It works well.

I want "Face down mute" as HTC, Omnia.

I looked for application for this but i coldn't find anything. :(

Is there any possibility "Face down mute" for LG GM730/735?

Thanks a lot.

Nice days..
[Windows Mobile Development and Hacking General] joefrank:
ok, guys please tell me in a simple yes or no, does this work on the incite:)
[Windows Mobile Development and Hacking General] joaoccl:
TMWH would you please have one more look into the code?

Thank you :)
[Windows Mobile Development and Hacking General] geleiahp:
Nice

Hello guys,

Nice work here! Congratulations!

I have a phone that some people with no much money (like me) to buy a good phone can have, it is the CECT T32+ (or DAXIAN X999+, Hiphone...). It is a china clone of iphone, but have GPS, Windows Mobile 6.0 and... Accelerometer!

I'm trying to make the "Unified Sensor Api" work in this phone since the creation of the API, but, no success...

Can someone help me? I'm posting the DLL, it is a simple DLL with known methods like ACC_Open, ACC_Read, but I think I dont have knowledge to disassemble this file and find the adresses as iamspv did.

I found some other people in the internet trying to do this work, but, no results...

Sorry for posting in the CT810(incite) thread. If necessary, i can move to a new thread.

Thank you very much.
[Windows Mobile Development and Hacking General] WarRaven:
+1

Yes, Theres quite a few of us with this issue local and abroad that look forward to any hope or continued work with/into it.

WR
[Windows Mobile Development and Hacking General] ghostfaceg35:
Yeah if there is anyone that could use this info and make an HTC wrapper or find a way to make the HTC Emu work that would be fantastic. There is even a $$$ bounty for it on lg-expo.com
[Windows Mobile Development and Hacking General] biosxjj:
I install htcemu on lg 750 but it works abnormal. especially y axis

DWORD bytesReturned = 0;

char InBuffer[] = {1};

DWORD InSize = sizeof(char)*1;

char OutBuffer[3];

DWORD OutSize = sizeof(char)*3;

memset(OutBuffer, 0, OutSize);

BOOL result = DeviceIoControl(hFile, ACCReadValues, &InBuffer, InSize, &OutBuffer, OutSize, &bytesReturned, NULL);

CloseHandle(hFile);

hFile = INVALID_HANDLE_VALUE;

/*Such version is working too, maybe it is even better:*/

SHORT accx = (SHORT)OutBuffer[2];

if(accx<=31)

accx/=2.17;

else

accx=(accx-64)*0.47;

accx=(-accx)*666;

SHORT accy = (SHORT)OutBuffer[1];

if(accy<=31)

accy/=2.17;

else

accy=(accy-64)*0.47;

accy=(-accy)*666;

SHORT accz = (SHORT)OutBuffer[0];

if(accz<=31)

accz/=2.17;

else

accz=(accz-64)*0.47;

accz=accz*666;

/*	SHORT accx = (SHORT)OutBuffer[2]-CalibX;

if(accx<=31)

accx=accx*33;

else

accx=(accx-64)*33;

accx=-accx;

SHORT accy = (SHORT)OutBuffer[1]-CalibY;

if(accy<=31)

accy*=33;

else

accy=(accy-64)*33;

accy=-accy;

SHORT accz = (SHORT)OutBuffer[0]-CalibZ;

if(accz<=31)

accz*=33;

else

accz=(accz-64)*33;*/

what's does this code means? thank you
[Windows Mobile Development and Hacking General] 2dxxx:
I replaced accelsensor.dll in my windows folder with yours and now my g sensor won't work at all. what should i do? PLEASE answer.
[Windows Mobile Development and Hacking General] T-nm:
Well, hard reset it. The lastest Dark Wolf rom on www.lg-incite.com works well with accelerometer also.
[Windows Mobile Development and Hacking General] 2dxxx:
Are you sure that will return original dll file to my windows folder? Can I make it work with this file?
[Windows Mobile Development and Hacking General] T-nm:
When you hard reset a device, it comes back to the original state of the rom you installed. So yes, it will work.
[Windows Mobile Development and Hacking General] totike90:
I have a problem with my GM750. I use HTCEmu and it works almost perfect. My problem is that if i open the HTCEmupanel, and i put the phone on a desk or table, the values are still changing. So some applications that use g-sensor are hard to use(eg. NFS Undercover[the car is turning automatically left/right] or Diamondhologram, the sprites are moving in a short range without touching the phone). I talked with some1 who have this handy too, and he has the same problem, so its not only with my phone. Can i fix this, is there a way to make my diamondhologram work perfect? and any other app?
[XPERIA X1 General] Skurai123:
I have been scouting around the Wiki but there are still a lot of things I do not know. I plan on getting the X1 and modding it but I don't know a lot of the terms and how to do this kind of stuff. Is there any newbie guide which can teach me about all these various terms? Like ROMs and all that. Also is it possible to break your phone with these programs?
[XPERIA X1 General] Angelusz:
Yes, you can "brick" it, as it's called, but there's most often ways to fix even that. It's possible, but unlikely to cause hardware damage.

The best way to learn iss just to look around and read.
[XPERIA X1 General] Skurai123:
So exactly what are ROMs? So to use all the applications in the sticky, the XPERIA itself does not need to be modded or jailbreaked or whatever first right?
[XPERIA X1 General] Rudegar:
a rom == read only memory

== the os/firmware which control

the device kinda like windows or macosx or linux

does on a pc

no a wm device should not be required to be modded to run every

arm based windows mobile program written since 2000

but some may require the wvgafix to run if they can't handle the

res of the x1
[XPERIA X1 General] Skurai123:
For those downloads available on this website. How do I install them? Do I use my XPERIA to log on and install? Or? (Is there an FAQ on this?)
[Touch HD General] bogdatov:
Hello,

I'm having a problem with HTC Album. Whatever mp4 movies I'm trying to play with Album - they play video, but absolutely no audio :(

When I play EXACTLY same movie with CorePlayer - it playes audio fine. Video is choppy though.

I tried different mp4. Coverted, downloaded from intet. They all play fine on my PC, they all play fine with CorePlayer. No audio with HTC Album :(

Does anyone have this problem ? Is there a fix ?

Can somebody upload short mp4 video, that plays fine with audio in HTC Album, so that I can download it and try ?
[Touch HD General] pippolino123:
Hello Bogdatov, did you find a way to get audio on HTC album? I have the same issue but didn't find any useful hint in the forum...
[Touch HD General] MaierHermi:
try to convert the mp4 with the encoder tool and play again in htc album.

some mp4 are corrupted or have a corrupted header
[Touch HD General] IC3 DEMON:
The Opposite

I have the opposite of your Problem. When I play a MP4 the screen turns black and there's only audio!

Can't one just download a codec or something like that for the HTC HD?:confused:
[Touch HD General] pippolino123:
Thanks MaierHermi, I will try again but... the files were converted using HTC Touch HD Video Converter 1.21; they play the audio using Coreplayer but they are "muted" when playing with HTC Album... I don't think its a codec problem.
[Touch HD General] Roupette:
Same problem here :/

Have you done any tweak?

I've been using AdvancedConfig 3.3 and have installed flashlite3.1.

I've been tweaking the AudioBooster with AC 3.3, while enabling 3D Sound and Bass. I've activated Prim_EQ_On on the registry to see what it does (nothing obviously...).

I have them all uninstalled (and 've restored default parameters in Advanced Config Before and in the registry) and the problem is still there. No audio on any mp4 which I can read with sound few days ago.

'Cannot say exactly which modification did affect the sound codec in the album.

Also I've been looking in the registry and found that key :

HKLM\Software\HTC\StreamingDShow\DisableVolume (1)

Fixing it to 0 did not resolve anything.

I'm in the dark right now and think to hard reset :(

Did you do any tweak like I just quote? We could maybe find an explanation that way :)
[Touch HD General] StarvingHero:
Solution - check vol in wm player

I found that if vol is set to 0 in WM Player - HTC Album will be mute. Just set higher volume in WMP.
[Touch HD General] Roupette:
Thanks for that, I've already hard-reset, but I'd know why it happen if it does reproduce! :)
[Touch HD General] Xeon:
Same here ... any suggestion ?
[Touch HD General] tomi737:
Solution

I had this same problem and I found a solution.

Find and change key in Registry:

HKEY_CURRENT_USER/Software/Microsoft/MediaPlayer/Preferences

find key "Mute" and set to "0".

Really works... sound in HTC album mp4 videos is back :)
[Touch HD General] Krazie316:
Didn't work for me, part of my problem un like others is only SOME of my mp4's don't work in the album player whereas on my stock T-Mobile Touch Pro2 Rom they all worked
[Touch HD General] Damager:
I have exactly the same issue. Some mp4s work fine in HTC Album and some dont.

The thing is.. every mp4 used to work in HTC album. I use Energy ROMs and this issue started a few ROMs back, cant remember exactly when.

Tried the various registry mod solutions in previous replies however the issue remains.
[Off-topic] verticall:
So excited, and can't wait to start messing with it on Saturday. This community looks good, and I won't even know where to start once I get it!
[Off-topic] denco7:
Start here: http://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser

Then here: http://xdaforums.com/announcement.php?f=377

And my favorite : http://xdaforums.com/showpost.php?p=2031989&postcount=45

Welcome , read these while you wait and when you get your phone start having fun
[Off-topic] DaveShaw:
And not forgetting mskip : http://xdaforums.com/showthread.php?t=433835

Dave
[Off-topic] Ather:
im getting a tilt aka kaiser too, hopefully this week :)

though its already HSPL'ed (aka in godmode)
[Off-topic] P1Tater:
Why didn't you tell me. I just sold my Tilt, Hardspl'ed and Security Unlocked with car charger, wall charger, leather case, 8GB SD Card, Data Cable and SD card reader.

Oh well. I think AllTheWay still has his for sale as well as Kyphur.
[Off-topic] denco7:
Just remember to read the wiki and the kaiser posting rules, before starting any new redundant threads. Or risk getting a slap on the wrist from Jimmy and Dave.:D
[Off-topic] DaveShaw:
I'll be keeping my eye on him :D

Dave
[Off-topic] Ather:
lol sure, ill be a nice lil boy :p

@P1Tater :i already bought it before, but internation shipment takes max 2 weeks so thats what im waiting for..
[Off-topic] _fm:
@P1Tater

Wow, its so long to sell your tilt, my kaiser (HTCTyTN II) sold very quick,. :D
[Touch Pro CDMA] dyskinesia:
anyone using the alltell rom have any luck getting this to work?

i really need this extension to work and I downloaded the "safe" version and can't get it to do anything. says it downloaded but no function?
[Touch Pro CDMA] syntrix:
No worky on VZ, just tried it.
[Touch Pro CDMA] grhuff:
The safe inbox extender from the following link does in fact work on my stock VZ TP.

http://xdaforums.com/showthread.php?t=379265