PDA

View Full Version : [APP]HTC G-Sensor Calibrator [calibration not saved on some devices]


schaps
23rd July 2008, 01:26 PM
Here is HTC G-Sensor Calibrator extracted from HTC Raphael, works as well on Diamond.

[EDIT] G-Sensor can't be calibred on Diamond since original driver doesn't consider calibration data... :( We need to port Raphael driver.

Diamond users, I am preparing a big surprise for you...

Enjoy! ;)

analogital
23rd July 2008, 01:34 PM
Wow, that's awesome !

Thank You

techdave
23rd July 2008, 01:35 PM
Doesn't seem to work for me. Installed it and ran the calibration.
However, it seemed that it didn't save the calibration for me?

Using bElite 0.95.

J.P.
23rd July 2008, 01:38 PM
It doen't work for me, orginal duch rom.
Its say calibration completed but the bubbels are still not in the middle.

GalliKO
23rd July 2008, 01:42 PM
Unfortunately for me too. On Italian Original ROM 1.37 it returns 'Calibration Completed' but after that the left-right bubble turn back un-aligned.
...
What kind a big surprise Schaps, i'm getting so curious!!! :-)

schaps
23rd July 2008, 01:45 PM
I had the impression it was working the first time I tried... Am I wrong?
Ok I will investigate to get it fully working, I think it should be possible.

tomchap
23rd July 2008, 01:46 PM
I get the same thing. The Horizontal bubble is spot on but the vertical is a tiny bit out.

When you correct it, it says its calibrated then the Vertical bubble goes back to where it was?

Strange.

Nice find tho.

Im using a standard Stock HTC Rom 1.37.405.1 WWE. Not a cooked Rom.

schaps
23rd July 2008, 01:46 PM
What kind a big surprise Schaps, i'm getting so curious!!! :-)
You will know more this week-end... ;)

tomchap
23rd July 2008, 01:48 PM
You will know more this week-end... ;)

Great, i love suprises! :) Thanks schaps for all your hardwork and discoveries. :) I speak for all the Diamond users on here im sure!

kangyit
23rd July 2008, 01:53 PM
guys..how can we really make sure the phone is flat? i tried with my diamond cover off, but if u touch the edge of the phone, you still can feel actually its not firmly flatten right?
BTW..i tried out the calibration tool as well...after re-enter the calibration tool with 1st calibration done, the reading is out again:(

analogital
23rd July 2008, 01:58 PM
For me, it does calibrate my G-Sensor, but if i soft reset the device, it come back to the same setting :(

sergiopi
23rd July 2008, 01:59 PM
Schaps, it works flawless in my ATHENA using the X7510/Diamond ROM :)

magicsam
23rd July 2008, 02:09 PM
Dear,
I try it on my HTC original 1.37.406.1 French the soft is beautiful but can't calibrabe. Hope it did in a few time because it seems to be usefull.

Thank you.

impala65
23rd July 2008, 02:16 PM
Sorry but no calibation on my german o2 XDA Diamond with the orginal Rom! But iīm sure you guys will solve the problem!

j0bro
23rd July 2008, 02:43 PM
Schaps, it works flawless in my ATHENA using the X7510/Diamond ROM :)
The Athena has a LIS302DL G-sensor whereas the Diamond (and Raphael?) has a Kionix KXSD9.
This utility runs on my Diamond, but does not calibrate the sensor. Maybe this utility is only intended for a specific chip?

herbaliser54
23rd July 2008, 02:45 PM
Will try it! Thanks :)

uniqueboy
23rd July 2008, 02:46 PM
Hi schaps, since you are looking at the g sensor and the Raphael, is there any chance do you think of it being possible to get VueFlo working on the Diamond, or would it even be worth having? Looking forward to your surprise, I hope it's a rom! Thanks for your hard work.

smogdragon
23rd July 2008, 02:46 PM
Ok,
the software works for sure because it changes some registry keys under :
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSensor

It changes the "calibrateX-Y" keys that were all set at 0 before. I've spot it writes a very strange value for key Calibrate3-2, and I guess that's why the Gsensor driver does set them back to default values. I am trying to understand how it works right now.

EDIT: Noway!! The data in regsitry are always set to default on reset, the strange value could be a negative number in an unsigned rappresentation. The good news is that the calibration work 'til reset.

P.S.: Some of the masters could please be so gentle to advice me on what disassembler to use for ppc software ? I searched this forum but I got confused. Thanks a lot.

schaps
23rd July 2008, 02:59 PM
Calibration works but Diamond driver doesn't consider calibration data, so there is no way to calibrate Diamond G-sensor using original driver. We need Raphael driver since it will use calibration data stored in registry. I have tried to port this driver to Diamond since it has exactly the same accelerometer hardware, but it doesn't work... It may be because Diamond doesn't have keyboard (G-Sensor should be automatically stopped on Touch Pro when keyboard is out or when device is in low power mode).

schaps
23rd July 2008, 03:04 PM
Hi schaps, since you are looking at the g sensor and the Raphael, is there any chance do you think of it being possible to get VueFlo working on the Diamond, or would it even be worth having? Looking forward to your surprise, I hope it's a rom! Thanks for your hard work.
VueFLO is part of my surprise :)
It works on few apps at the moment but I plan to support most of apps in the future (including IE and Opera of course).

SurfHost
23rd July 2008, 03:15 PM
Ok,
the software works for sure because it changes some registry keys under :
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSensor

It changes the "calibrateX-Y" keys that were all set at 0 before. I've spot it writes a very strange value for key Calibrate3-2, and I guess that's why the Gsensor driver does set them back to default values. I am trying to understand how it works right now.

On my device there is no such key generated or present before and/or after calibrating?

j0bro
23rd July 2008, 03:19 PM
Ok,
the software works for sure because it changes some registry keys under :
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSensor

It changes the "calibrateX-Y" keys that were all set at 0 before. I've spot it writes a very strange value for key Calibrate3-2, and I guess that's why the Gsensor driver does set them back to default values. I am trying to understand how it works right now.

...
Odd! On my Diamond the registry isn't affected at all. No new keys are added, neither are existing ones changed. Could this be a ROM difference?

j0bro
23rd July 2008, 03:21 PM
@smogdragon:
I suppose you have the same NLD ROM as mine?

smogdragon
23rd July 2008, 03:36 PM
I am using V2 lite from diamond project team. It is based on .93
I am cuurently looking into the gsensor.dll to see if it access other keys in that folder but it does not seem to.

SurfHost
23rd July 2008, 05:11 PM
Can anyone post the DLL from Raphael en from Diamond for me? the download of the ROM takes way tooo long at RS.

Susurs
23rd July 2008, 11:10 PM
Finally!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It saves data globally and my sensor is working correctly. Even after reset Teeter ball does not drift to a corner any more.

Thank you so mych :cool:

P.S. I have Touch Diamond with original 1.37 ROM from HTC website

swiftgs
23rd July 2008, 11:34 PM
Finally!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It saves data globally and my sensor is working correctly. Even after reset Teeter ball does not drift to a corner any more.

Thank you so mych :cool:

P.S. I have Touch Diamond with original 1.37 ROM from HTC website

And how did you calibrate it that way that it works after a reset? On my device it doesnt work at all! also stock 1.37 rom

lennie
24th July 2008, 04:49 AM
I tried it on my x7501 and my sensor was already calibrated correctly, however, I still did a calibration. after I exited the program I noticed GSen stopped working...so I uninstalled and restarted the phone and GSen went back to full operation. I'm Using irus's ultra lite rom

sergiopi
24th July 2008, 07:27 AM
I tried it on my x7501 and my sensor was already calibrated correctly, however, I still did a calibration. after I exited the program I noticed GSen stopped working...so I uninstalled and restarted the phone and GSen went back to full operation. I'm Using irus's ultra lite rom

After using it in ATHENA GSEN stops working, just stop it and restart, to have it working again....
Schaps, do you need Athena tester for the raphael's vueflo?

lesteryh
24th July 2008, 11:09 AM
so does any1 manage to make it work?

TML1504
24th July 2008, 11:15 AM
not working on my device...

the bubble moves around like a pendulum,
after the oscillations get smaller and stop in a calibrated position it "jumps" to the uncalibrated position and says calibration was done.

so this tool has no effect for me, not even without doing a soft reset!

but it's great to see that there exists an application from htc itself.
i'm sure soon there will be a possibility to use it on diamond as well!

regards,
markus

Susurs
24th July 2008, 01:16 PM
And how did you calibrate it that way that it works after a reset? On my device it doesnt work at all! also stock 1.37 rom


Well, maybe I'm just lucky. I did not do anything special. Installed Bubblelevel, it shoved 5 degrees wrong to the lower right corner. Calibrated it with Bubblelevel to 0 position than installed HTC application and calibrated accelerometer. Launched Bubblelevel again and now it showed 5 degrees wrong to the upper left corner. Than I calibrated with Bubblelevel again to get the ball in 0 position.
Well that was it. 2 phone resets already and Teeter ball does not go to the corner anymore. :)
So for me it works

Da9L
24th July 2008, 08:05 PM
I hope you will get this to work.. :) it would be really really great and iam sure that many people will be very glad about it.. i will sure donate if you can make it work!

Susurs
24th July 2008, 09:53 PM
Finally!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It saves data globally and my sensor is working correctly. Even after reset Teeter ball does not drift to a corner any more.

Thank you so mych :cool:

P.S. I have Touch Diamond with original 1.37 ROM from HTC website

Soory, just checked my Diamond's ROM version and it says 1.93.401.2. WWE

Must have been the stupid service center wich did not fixed the phone:
http://forum.xda-developers.com/showthread.php?t=410550

Anyway all turned out great :)

Da9L
25th July 2008, 12:49 AM
Soory, just checked my Diamond's ROM version and it says 1.93.401.2. WWE

Must have been the stupid service center wich did not fixed the phone:
http://forum.xda-developers.com/showthread.php?t=410550

Anyway all turned out great :)

Any idea where we can get that rom? Just to check if i can calibrate my gsensor with that rom..

helskov
25th July 2008, 06:36 AM
Thx a lot. This calibrator works perfectly on my Diamond. :)
Using Diamond Project V2 Rom.

Others in the local danish forum had to use this rom too, to get it working. Or Elite 3.0

Edit: On the danish forum, a member had to run the calibration 5 times before he could save.
A translated version of the forum
http://translate.google.dk/translate?u=http%3A%2F%2Fmobildebat.dk%2Fshowthrea d.php%3Ft%3D131732&hl=da&ie=UTF8&sl=da&tl=en
I hope the above translation makes any sense ;)

lesteryh
25th July 2008, 07:08 AM
can some1 confirm the Calibrator work on Diamond Project V2 Rom?

fredisco
25th July 2008, 10:59 AM
can some1 confirm the Calibrator work on Diamond Project V2 Rom?

Wow. I got it working. (And I never got it working before)
I tried the danish trick, that helskov above linked to.

The G-Sensor Calibrator didn't work at all for me.
The Bubblelevel did work, but I had an offset on 5 degrees, so I calibrated using the bubble, This made the bubble level correct.

After that I tried to calibrate using the G-sensor Calibrator, I ran it several times. It Didn't help.

Opened up Bubblelevel, selected option -> reset, (answered yes on reset), exit
Started G-Sensor Calibrator, calibrated once. Now it works.
After Reset it still works!
After Power down, and up, still works

I have a DIAM100 model, Running Diamond Project v2 - 1.93.456.2 WWE - 1.00.25.06

j0bro
25th July 2008, 11:16 AM
Guys, guys, my tool BubbleLevel does absolutely nothing to the registry, nor to any global sensor calibration settings. It just measures the sensor bias to the direction of gravity and compensates the readings for that. It saves the calibration data in its own setting.ini file.
Of course, BubbleLevel can be used to check the differences before and after the use of the HTC Accelerometer Calibrator tool, but remember to NOT calibrate BubbleLevel (do a 'Reset' from the Calibration menu!).

fredisco
25th July 2008, 11:29 AM
I'm not complaining here.
It could be a fluke that it happened just as I tried them both one after each other.
I tried the calibrator many times during the days it has been released without success.
Now it worked, just after pressing reset, then calibrating.
I find it strange to.

frankpr
25th July 2008, 11:45 AM
Does not work on my stock HTC ROM :-( My G-sensor is off by 11 degrees :-((

Can anybody who was successful maybe post the registry entries which have been created, so we could add & adjust them manually, and find out if this changes anything?

Thanks!

nandoorfei
25th July 2008, 06:39 PM
Thx :-).works perfectly on last bepe Ita Rom

SurfHost
26th July 2008, 02:23 AM
I can calibrate on this rom: RUU_Diamond_HTC_WWE_1.93.405.1_Radio_Signed_Diamon d_52.29.25.12_1.00.25.05_Ship.exe

But its gone after a soft reset.

tretre
26th July 2008, 07:40 AM
Seems like some newer roms have a different version of gsensor.dll??

Even if a soft reset kills the calibration it should be easy to create a small batch that re-applies the settings on startup.

Can someone with 1.9x ROM give more info on the dll? Upload maybe?

oscahie
26th July 2008, 10:41 AM
I've a 1.93 based ROM and calibration doesn't work.

Chatbox
26th July 2008, 12:07 PM
Does this work on any particular Diamond ROM? I've tried 4 different 1.93 based ROMs and the Calibrator doesn't work on any of them.

Has anyone got this working? And with what ROM combination/requirement?

andrewloh
27th July 2008, 05:12 AM
cool. support you ~

Da9L
27th July 2008, 06:08 PM
Any news on this?

Still waiting for our big surprise.. :)

dotcompt
27th July 2008, 07:09 PM
I can't wait.

dotcompt
28th July 2008, 11:17 PM
So, where is that big surprise???

Artyaw
29th July 2008, 01:16 AM
Thanks for the thread & the cab file, it was a great inspiration for my first post here ;)

I'm loving my week old diamond, its the best WM phone I've got except that g-sensor issue...

Anway here is my contrubution to the subject.... As you might know a new ROM for Raphael posted recently (RUU_Raphael_HTC_WWE_1.66.405.1_Radio_Signed_Rapha el_52.33.25.17_1.02.25.11_Ship.exe) and I've decided to take a look.

Bad news is, calibration tool is not updated... It's the same as the one in your cab file.

And now to the good news:

1. Teeter seems to be updated* and got a config file now. I think it might support self calibration, at least we can play it right if it does!
2. Calibration tool is trying to write in flash memory. Thats why it works on some devices and not on others. It's not related to ROM itself! (btw, I've tested almost all available ROM's in last couple of days just to make sure)
3. Raphael ROM had 3 new* g-sensor related DLL's. Another note is, keyboard slide out shouldn't be a problem since those commands also exists in diamond's original DLL's.

* I'm using RUU_Diamond_hTC_Asia_HK_WWE_1.93.831.1.exe, those files were newer than mine..

And some suggestions (as I'm not a ROM pro it would be great if some cooks can take a look):
1. Integrating new Teeter in to a cooked ROM might give us a quick fix...
2. Integrating new DLL'S in to a cooked ROM might give us a permanent fix (I hope)
3. Calibration tool might work with any current ROM if we can figure out what can prevent (or allow) it to write to flash memory. Just a tought but might be related to the SPL versions or those new DLL files?

Attached file contains following extracted from the Raphael ROM:
* Labyrinth.exe (7/7/2008)
* Teeter_Config.ini (6/4/2008)
* GSensor.dll (7/14/2008)
* HTCSensorSDK.dll v3.3.1817.1426 (7/4/2008)
* HTCSensorService.dll v3.3.1817.1426 (7/4/20008)

Artyaw
29th July 2008, 01:46 AM
Calibration appears to be working for following users:

Susurs
lennie
helskov
fredisco
nandoorfei

Guys if that's right, can you please post your SPL versions? (Stock, Signed, Unsigned, version, etc.)

techdave
29th July 2008, 03:43 AM
Uhm. Something strange here.
A week ago I tried this tool and it didn't work.

I've just tried it again and now it works for me.
Weird!..What I did in the past week is install a Vodafone theme, and that was it.
Bepe 0.95, 1.0.0.25, Unsigned 1.40 SPL

Update: The setting is gone after soft-reset, but then I still can recalibrate it.

Kisja
29th July 2008, 04:23 AM
@ Artyaw
ive tried to copy those dlls to the windows directory. After a soft reset the seonsor stopped working at all. deleting them restored the functionality, but still no calibration possible. perhaps there are some more updated files missing.

I'm using Mossis Rom 1.0 (from here http://www.ppc-welt.info/community/showthread.php?t=133214) and Unsigned-Hard-SPL-Diamond-OliNex 1.40

fredisco
29th July 2008, 08:43 AM
Calibration appears to be working for following users:

Susurs
lennie
helskov
fredisco
nandoorfei

Guys if that's right, can you please post your SPL versions? (Stock, Signed, Unsigned, version, etc.)

I got 1.34 Hard
http://forum.xda-developers.com/showthread.php?t=408621&highlight=check+spl

I have flashed now to the latest dutty 1_1, it's still calibrated! This is really strange.

onkytonk
29th July 2008, 12:25 PM
Hey all,

My Diamond should be arriving tomorrow... What are the chances my G-sensor will need calibration?

Are people only having issues after flashing their devices or with OEM roms too?

Thanks heaps.

Markus_Th
29th July 2008, 04:25 PM
Works fine on my MDA Compact IV (german T-Com). Calibration Data saved and is still ok after shutdown or softreset. My phone is running under Diamond Project V2 Lite german, radio rom is version .05

Chatbox
29th July 2008, 05:45 PM
Alright, from now on, if the calibrator works for you, please post the following info:
Country of purchase
Date of purchase
Default phone carrier (if you purchased yours from a carrier)
SPL version
ROM version
Radio version

Please?

Artyaw
29th July 2008, 06:29 PM
Thanks for the posts...

I've tested with HardSPL 1.24 & 1.34 and also with new Elite 3.0 ROM no luck so far... I think that rules out SPL difference.

Based on the posts here most of the time it works after few re-tries, not at the first run. So, something prevents it from writing calibration data to flash. But when it can, it works...

As posted before, if you got this working please post as much detail as you can regarding your setup & phone.

katerini
29th July 2008, 07:08 PM
Calibration works for me too! It saves the calibration after soft reset! Even taken the battery out and start up again.
From the first Calibration.
The Teeter ball stays without to move now! The bubles are in the midle.
I have the latest NOT cooked original rom 1.93.831.1 WWE
Radio 1.00.25.05
SPL 1.93 original
Vodafone GR Sim.
The device is from expansys, from the first ones.

Artyaw
29th July 2008, 09:39 PM
Just tested with 1.93.831.1 WWE & 1.93 Hard SPL (since I couldnt find stock 1.93) still no go :(

I wonder if any installed software or tweaks might affect something? Can you please list the apps/tweaks installed?

Susurs
29th July 2008, 11:03 PM
Thanks for the thread & the cab file, it was a great inspiration for my first post here ;)

I'm loving my week old diamond, its the best WM phone I've got except that g-sensor issue...

Anway here is my contrubution to the subject.... As you might know a new ROM for Raphael posted recently (RUU_Raphael_HTC_WWE_1.66.405.1_Radio_Signed_Rapha el_52.33.25.17_1.02.25.11_Ship.exe) and I've decided to take a look.

Bad news is, calibration tool is not updated... It's the same as the one in your cab file.

And now to the good news:

1. Teeter seems to be updated* and got a config file now. I think it might support self calibration, at least we can play it right if it does!
2. Calibration tool is trying to write in flash memory. Thats why it works on some devices and not on others. It's not related to ROM itself! (btw, I've tested almost all available ROM's in last couple of days just to make sure)
3. Raphael ROM had 3 new* g-sensor related DLL's. Another note is, keyboard slide out shouldn't be a problem since those commands also exists in diamond's original DLL's.

* I'm using RUU_Diamond_hTC_Asia_HK_WWE_1.93.831.1.exe, those files were newer than mine..

And some suggestions (as I'm not a ROM pro it would be great if some cooks can take a look):
1. Integrating new Teeter in to a cooked ROM might give us a quick fix...
2. Integrating new DLL'S in to a cooked ROM might give us a permanent fix (I hope)
3. Calibration tool might work with any current ROM if we can figure out what can prevent (or allow) it to write to flash memory. Just a tought but might be related to the SPL versions or those new DLL files?

Attached file contains following extracted from the Raphael ROM:
* Labyrinth.exe (7/7/2008)
* Teeter_Config.ini (6/4/2008)
* GSensor.dll (7/14/2008)
* HTCSensorSDK.dll v3.3.1817.1426 (7/4/2008)
* HTCSensorService.dll v3.3.1817.1426 (7/4/20008)



Calibration appears to be working for following users:

Susurs
lennie
helskov
fredisco
nandoorfei

Guys if that's right, can you please post your SPL versions? (Stock, Signed, Unsigned, version, etc.)

Ok, A few reflection questions there: :)
1) How can the bootloader impact calibrator software?
2) If calibrator saves data correctly what changes are made and where? Does it changes and saves data in .dll's or it changes some fundamental acceleometer data or something?
3) How does the program determines weather it shoud write data to flash or no. Is it a random "game"? Where should it write data?


I'm wondering if I'd reflash ROM weather calibrated sensor continue to work correctly....

I got 1.34 Hard
http://forum.xda-developers.com/showthread.php?t=408621&highlight=check+spl

I have flashed now to the latest dutty 1_1, it's still calibrated! This is really strange.

That's what I'm talking about...weather the calibrated data goes into .dll's or somewhere fundamental...

Calibration works for me too! It saves the calibration after soft reset! Even taken the battery out and start up again.
From the first Calibration.
The Teeter ball stays without to move now! The bubles are in the midle.
I have the latest NOT cooked original rom 1.93.831.1 WWE
Radio 1.00.25.05
SPL 1.93 original
Vodafone GR Sim.
The device is from expansys, from the first ones.

So it seems that from the few people being lucky to recalibrate sensor, we
have not used any cooked software etc. and calibration data is not lost after reset...

P.S. Have you installed calibration software in storage or device?

My Diamond:

ROM 1.93.401.2 WWE 07/10/08
Radio: 1.00.25.05
Original bootloader

Bought approximately a month ago in Latvia

Artyaw
29th July 2008, 11:31 PM
Ok, A few reflection questions there: :)
1) How can the bootloader impact calibrator software?
2) If calibrator saves data correctly what changes are made and where? Does it changes and saves data in .dll's or it changes some fundamental acceleometer data or something?
3) How does the program determines weather it shoud write data to flash or no. Is it a random "game"? Where should it write data?
I'm wondering if I'd reflash ROM weather calibrated sensor continue to work correctly....

So it seems that from the few people being lucky to recalibrate sensor, we
have not used any cooked software etc. and calibration data is not lost after reset...

P.S. Have you installed calibration software in storage or device?

My Diamond:

ROM 1.93.401.2 WWE 07/10/08
Radio: 1.00.25.05
Original bootloader

Bought approximately month ago in Latvia

Here are my toughts:

1) After testing with most bootloaders, I can say impact is zero... My initial toughts were related to flash memory which is next answer. I'm also sure its not related to ROM it self.

2) No files or DLL's changed. It appears to write calibration data to flash memory. So, once calibrated it won't change even if you flash a new ROM. It changes some registry values as well but I dont think those are important.

3) It is not random. I tries to write to flash everytime. On some hardware it can, on some it can after few retries (one post mentioned to save after 5 retires, another mentions using bubblelevel but I think those were simply retries if you skip the middle app), and for the rest it cannot write at all! If we can figure that out, problem should be solved.

Since ROMs & SPLs ruled out, I'm currently thinking if that might be caused by some installed software and/or system tweaks.

But of course, most simple solution would be having the tool in next diamond ROM just as Raphael ROMs :)

Susurs
30th July 2008, 12:07 AM
Thank's for the replay :)

When I calibrated accelometer the phone didn't had any 3rd party software installed besides BubbleLevel. Just clear ROM. Not contacts no modifications.
But before running calibration tool, I did a hard reset and cleared NAND flash....

Artyaw
30th July 2008, 01:27 PM
Okay people, I've finally got it working. Probably with a solution to get it work for everyone! :D

Here is what just happened here...

First of all nothing changed on my device since yesterday, and now I'm sure its not the device, SLP or ROM. Problem was in the calibration application itself..

1. While wondering what would be the reason, I was trying to calibrate (that is clicking calibrate button in the app) time to time...

2. Suddenly it get calibrated. At this time I had no idea why. Immediately tested with bubble level and tested Teeter, both were working f**king great!

3. Decided to test the calibration again. And that caused calibration go back to original setting. You can image how bad I feel at that point.

4. Decided to try to calibrate it again. After 4-5 mins of trying, when changed the position of the phone a bit it gets calibrated again!

5. After that one I did a soft reset & a hard reset and calibration is still saved. I didn't try to calibrate it again, at least not before some of you confirm that is working.

As for the solution. It looks like calibration depends on the angle of the surface you are calibrating on. I'm not sure if it wants the perfect flat surface or not but it will save the calibration if its correct. I think that might be a bug in the calibration program.

So, you don't need to change your ROM or go between g-sensor apps. Just fire up the calibrator and try to calibrate on different surfaces or even try to calibrate with a bit angle (fx 1 or 2 degress off the flat).

If your surface fits the program requirement (not sure what it is looking for) it'll just save the calibration. ;)

Please post your results...

pokevitek
30th July 2008, 02:13 PM
First, thanks for "tutorial" and thanks for program, I cannot try it now, bud I will try it tonight, so I will inform you. I am just wondering, why HTC did not include this app into the Diamond? There are 3 options I think. 1, HTC dont care about us, they are care just about the more expensive Raphael. And the 2, HTC thought, that G-sen. is calibrated well, so they started to make Calibration app after they discovered that lots of devices are bad calibrated. So, they made app and gave it to Raphael ROM and Calibration app will discover for Diamond on HTC pages soon. And the last, 3, They planned to make some Calibration app, but they need to release Diamond too soon (for some marketing reason, maybe to be before Omnia and XPeria), and there were this calibration app always planned, and again, it will be downloadable from HTC soon. What do you think? I am new at HTC, sooner I had differents brands, so I dont know how well HTC cares abou they customers. I just hope that HTC dont think that Diamond users are just "laboratory rats" to make Raphael better.

niemand101
30th July 2008, 02:56 PM
Trying here, no luck yet

Antimus
30th July 2008, 03:28 PM
First, thanks for "tutorial" and thanks for program, I cannot try it now, bud I will try it tonight, so I will inform you. I am just wondering, why HTC did not include this app into the Diamond? There are 3 options I think. 1, HTC dont care about us, they are care just about the more expensive Raphael. And the 2, HTC thought, that G-sen. is calibrated well, so they started to make Calibration app after they discovered that lots of devices are bad calibrated. So, they made app and gave it to Raphael ROM and Calibration app will discover for Diamond on HTC pages soon. And the last, 3, They planned to make some Calibration app, but they need to release Diamond too soon (for some marketing reason, maybe to be before Omnia and XPeria), and there were this calibration app always planned, and again, it will be downloadable from HTC soon. What do you think? I am new at HTC, sooner I had differents brands, so I dont know how well HTC cares abou they customers. I just hope that HTC dont think that Diamond users are just "laboratory rats" to make Raphael better.
We're ALL lab rats for HTC, why do you think they let this forum exist? I can't imagine how many ideas they've got from here, but I'll bet it's a lot.
You can't blame them for improving things for their new device, it is a bit annoying that they haven't fixed things for previous ones yet, but it's still early, it may happen.
Bear in mind the Diamond is still a baby, not even 6 months old, I had a Trinity and they were still bringing out new improvements for that in new ROMS after it was a year old, for a big company HTC aren't that bad, but remember, they're still a big company, interested in profit, we've already paid them the money, they're interest is now on the next sucker/customer

indran78
30th July 2008, 03:56 PM
i thought you guys had a faulty HTC Diamond till i realised mne was also off by 7 degrees a few days back.
I tried all the rememdy mentioned here other that hard reset but didnt do anything?...so i am welcome to more suggestions...

I am using the HTC Diamond (MDA Compact IV) with original ROM

Artyaw
30th July 2008, 04:32 PM
i thought you guys had a faulty HTC Diamond till i realised mne was also off by 7 degrees a few days back.
I tried all the rememdy mentioned here other that hard reset but didnt do anything?...so i am welcome to more suggestions...

I am using the HTC Diamond (MDA Compact IV) with original ROM

I'm sure no one has a prefect calibration but it might be hard to notice if its close to zero. Mine was 16 degress off...

Maybe an image would help you better to understand how it works for me...

Da9L
30th July 2008, 04:51 PM
Okay people, I've finally got it working. Probably with a solution to get it work for everyone! :D

Here is what just happened here...

First of all nothing changed on my device since yesterday, and now I'm sure its not the device, SLP or ROM. Problem was in the calibration application itself..

1. While wondering what would be the reason, I was trying to calibrate (that is clicking calibrate button in the app) time to time...

2. Suddenly it get calibrated. At this time I had no idea why. Immediately tested with bubble level and tested Teeter, both were working f**king great!

3. Decided to test the calibration again. And that caused calibration go back to original setting. You can image how bad I feel at that point.

4. Decided to try to calibrate it again. After 4-5 mins of trying, when changed the position of the phone a bit it gets calibrated again!

5. After that one I did a soft reset & a hard reset and calibration is still saved. I didn't try to calibrate it again, at least not before some of you confirm that is working.

As for the solution. It looks like calibration depends on the angle of the surface you are calibrating on. I'm not sure if it wants the perfect flat surface or not but it will save the calibration if its correct. I think that might be a bug in the calibration program.

So, you don't need to change your ROM or go between g-sensor apps. Just fire up the calibrator and try to calibrate on different surfaces or even try to calibrate with a bit angle (fx 1 or 2 degress off the flat).

If your surface fits the program requirement (not sure what it is looking for) it'll just save the calibration. ;)

Please post your results...

This is also what i have come up with.. But i can't get it to calibrate it completely still, as it will then go back to the first settings if i try.. :(

Da9L
30th July 2008, 05:05 PM
I'm sure no one has a prefect calibration but it might be hard to notice if its close to zero. Mine was 16 degress off...

Maybe an image would help you better to understand how it works for me...

Hmm tried it and can't get it to work.. If i spin it all 360 degres around it still won't work.. Mine is almost 20 degrees off.. :(

Da9L
30th July 2008, 05:27 PM
Okay i got it to calibrate ! But i didn't do the same as on the screenshot shown.. What i did was to tilt the device a little to get it to calibrate (look at picture), but ofcourse the device is not calibrated completely then.. :(

Da9L
30th July 2008, 05:45 PM
Please delete! (Double post)

Artyaw
30th July 2008, 09:50 PM
Okay i got it to calibrate ! But i didn't do the same as on the screenshot shown.. What i did was to tilt the device a little to get it to calibrate (look at picture), but ofcourse the device is not calibrated completely then.. :(

Well, that's a start... It should be better than 20 degrees anway ;)

I think calibration program has some kind of feature (or bug) to not to calibrate in certain conditions such readings not stable enough or they are not in a pre-defined range or something.

In your case I would place it flat and try to recalibrate by doing very minimal angle differences. If its looking for some stable readings that should work.

pokevitek
30th July 2008, 11:02 PM
We're ALL lab rats for HTC, why do you think they let this forum exist? I can't imagine how many ideas they've got from here, but I'll bet it's a lot.
You can't blame them for improving things for their new device, it is a bit annoying that they haven't fixed things for previous ones yet, but it's still early, it may happen.
Bear in mind the Diamond is still a baby, not even 6 months old, I had a Trinity and they were still bringing out new improvements for that in new ROMS after it was a year old, for a big company HTC aren't that bad, but remember, they're still a big company, interested in profit, we've already paid them the money, they're interest is now on the next sucker/customer

Oh, no, I dont blame them for improving new devices. All I say is, that if Diamond is practically the same as Raphael, with major system difference only in bigger RAM, they could develop Calibration utility also for Diamond, and implement it to future ROM or some cab fix. And every other Raphaelīs improvements, just becouse there is nothing that can Raphael do and Diamond cannot (I mean from performance state), Today it is relativelly normal, that with device you buy support for it. That is everything I expect from HTC. I can absollutelly agree with new improvements in Raphael first, they are working at him now, and Diamond was released soon to prepare Raphaelīs way, but Diamond should get them too.

kultus
30th July 2008, 11:14 PM
First of all...HOW could it be calibrated after hard reset??? Bring the proof where it could save calibration information when HR didnt erase it weird:confused:

and the second thing Im cool:cool: and why??? Because I know that we are nothing for HTC not test rats...nothing...and Im waiting for riping Raphaels ROM to get some stuff working and we'll all be cool :cool:

Da9L
30th July 2008, 11:57 PM
Okay if its a bug in the calibration tool, what about we try the newest version of it from HTC ? That should be found in the newest rom for raphael? Maybe they have fixed the issue?

Well, that's a start... It should be better than 20 degrees anway ;)

I think calibration program has some kind of feature (or bug) to not to calibrate in certain conditions such readings not stable enough or they are not in a pre-defined range or something.

In your case I would place it flat and try to recalibrate by doing very minimal angle differences. If its looking for some stable readings that should work.

I have tried that.. But now iam 5 degrees off and that is the minimal i have been.. If i try it more it will go back to 20 degrees.. :S

BTW: I noticed that someone here was able to calibrate his diamond completely.. His was off by 16 degrees.. Mine is of by 20 degrees and i can't get to closer to 0 degrees than 4-5 degrees which is 15 - 16 degrees in maximum calibration. Since i read that he tried several times where i did get out of the calibration and back to normal again iam suspecting the tool of having somekind of threshold that says it can maximum calibrate 15 degrees ? Iam not sure of this but that could be an explanation of why someone get it to work right away, because their g-sensor is only around 12 degrees off or something? Just a sugestion.

Sergio PC
31st July 2008, 05:43 AM
Always following your work great!

puredreamz
31st July 2008, 06:02 AM
Hey you guys. Just thought I would chime in to say my diamond is calibrated perfectly thanks to this software! Thank you Schaps! For those who would like to know.. I am running SwiftBlade rom v4.0. The software didnt work at first... but I got really frustrated and i kept pushing calibrate real fast until it calibrated about 5-7 times and VOI LA! It stayed calibrated... then I performed a hard reset... to my surprise it was still calibrated! Just to make sure i'm on the same page with you guys on what perfectly calibrated means... In the Teeter game the ball stays still when I lay it on the table... In the calibration the bubbles are aligned when i lay it on a table. Good luck to all and I hope it works for you!

Da9L
31st July 2008, 12:27 PM
Hey you guys. Just thought I would chime in to say my diamond is calibrated perfectly thanks to this software! Thank you Schaps! For those who would like to know.. I am running SwiftBlade rom v4.0. The software didnt work at first... but I got really frustrated and i kept pushing calibrate real fast until it calibrated about 5-7 times and VOI LA! It stayed calibrated... then I performed a hard reset... to my surprise it was still calibrated! Just to make sure i'm on the same page with you guys on what perfectly calibrated means... In the Teeter game the ball stays still when I lay it on the table... In the calibration the bubbles are aligned when i lay it on a table. Good luck to all and I hope it works for you!

How many degrees where your device off in calibration?

surface_rom
31st July 2008, 01:10 PM
I think the gesensor has its own little storage to store its calibration values, thats why after a hard reset the cali remains intact.

thi program writes directly to the gsensor chip.

gr

Da9L
31st July 2008, 01:41 PM
I think the gesensor has its own little storage to store its calibration values, thats why after a hard reset the cali remains intact.

thi program writes directly to the gsensor chip.

gr

Yeah that is also what i have been thinkin..

Artyaw
31st July 2008, 02:21 PM
Yes, that might be where it keeps the calibration data...

I've decided to give it another shot and managed to get it calibrated everytime.

It looks like current version of program has some kind of safeguard feature to not to save calibration data if the calibration is off for more than 15 degrees...

Mine was 16 degrees off, I can calibrate if I tilt the device around 1 degree..

So, if your original calibration is off by <= 15 degrees, calibration program should work fine. If your calibration is off more than that (lets say 20) you'll need to tilt your device enough (5) degrees to get it calibrated....

I hope next version of the program will allow more than 15 degrees...

fuorionda
31st July 2008, 03:38 PM
Hi! Just upgraded from 1.37 to Italian ROM 1.93.408.3 (no tweaks) on diamond shipped 1st july and calibrator works in every condition! :)

P.S. Sorry for my poor english.

dutch64
31st July 2008, 03:57 PM
Yes, that might be where it keeps the calibration data...

I've decided to give it another shot and managed to get it calibrated everytime.

It looks like current version of program has some kind of safeguard feature to not to save calibration data if the calibration is off for more than 15 degrees...

Mine was 16 degrees off, I can calibrate if I tilt the device around 1 degree..

So, if your original calibration is off by <= 15 degrees, calibration program should work fine. If your calibration is off more than that (lets say 20) you'll need to tilt your device enough (5) degrees to get it calibrated....

I hope next version of the program will allow more than 15 degrees...

That doesn't work for me, if i hold the device so the bubbles are exactly in the middle and then calibrate, it still doesn't work.

wonderiuy
31st July 2008, 04:04 PM
I confirm the calibrator working on the new Original ROM 1.93 ITA
Setting kept also after reset

antagon
31st July 2008, 05:31 PM
a lot of users write the angle 15-16-20. I dont understand: how they measure it? My calibrator shows only pictures without numbers.

Artyaw
31st July 2008, 05:43 PM
a lot of users write the angle 15-16-20. I dont understand: how they measure it? My calibrator shows only pictures without numbers.

With another tool http://forum.xda-developers.com/showthread.php?t=408056

antagon
31st July 2008, 06:09 PM
Yes! I did it!
Instruction:
1 - set all register calibrate settings on 0 in hklm/drivers/bultin/gsensor
2 - run gsensorcalibrate.
3 - calibrate

Noam23
31st July 2008, 07:45 PM
Yes! I did it!
Instruction:
1 - set all register calibrate settings on 0 in hklm/drivers/bultin/gsensor

There are many entries inside this directory, which should we put on "0" ?

Susurs
31st July 2008, 08:12 PM
Has all of you who did hard reset done just hard reset or hard reset with NAND flash clean?

sakky
1st August 2008, 12:42 AM
I confirm the calibrator working on the new Original ROM 1.93 ITA
Setting kept also after reset
yes working and saving calibration after soft reset! :)

Alfredos
1st August 2008, 11:49 AM
Works on my device
oeps, no it doesn't

Da9L
1st August 2008, 02:59 PM
There are many entries inside this directory, which should we put on "0" ?

Do you set ALL strings to 0 or just some of them in that directory?

Da9L
1st August 2008, 04:05 PM
Do you set ALL strings to 0 or just some of them in that directory?

Shit ! I wrote zeros in everything, although not the entrys with text in, and now the gsensor has stopped working .. :p Could someone upload a reg file with the right settings? Maybe i should have taken a backup before i did the changes..

puredreamz
2nd August 2008, 12:52 AM
How many degrees where your device off in calibration?
My diamond was about 9-10 degrees off before I calibrated it

Da9L
2nd August 2008, 03:31 PM
My diamond was about 9-10 degrees off before I calibrated it

Okay and it calibrated right away ? Could be because it was within the 15 degrees threshold..

Da9L
2nd August 2008, 03:34 PM
Yes! I did it!
Instruction:
1 - set all register calibrate settings on 0 in hklm/drivers/bultin/gsensor
2 - run gsensorcalibrate.
3 - calibrate

Okay i have tried that now and that does not work.. :( But we need to know what in the register you set to 0?

pokevitek
3rd August 2008, 11:17 AM
OK too :)

So, I have tried it lots of times, I tried much angles, nothing worked. Then, a first deleted all files from Diamond, cleared storage and ROM, than flashed same ROM, and now it is calibrated well. So, there is a way, but you will lose all data you had.

Hennes19
3rd August 2008, 11:45 AM
Yes!
After applying 1.93 GER my diamond "calibrated itself"

on a flat surface, nothing moves when starting teeter!!

puredreamz
3rd August 2008, 12:09 PM
Okay and it calibrated right away ? Could be because it was within the 15 degrees threshold..

I tried to calibrate it again and it went back to my 9-10 degrees off... so this time I tried my method of furiously tapping calibrate. This time it took me about 10 tries before it calibrated.

pokevitek
3rd August 2008, 01:47 PM
OK, I flashed new ROM, and all calibration data are OK. Like I said, flash new ROM, format Internal Storage, than install just calibrator, and it will work. I did it on new ROM instantly. On old ROM, nothing happened even after many, many pushes of the Calibrate button.

pokevitek
3rd August 2008, 07:25 PM
Even if I have my Diamond now calibrated, thank to schaps, I still want to know what is the problem, and why is this app working just sometimes.

tretre
3rd August 2008, 08:03 PM
This worked on stock 1.93 WWE/radio 05, even after soft reset. Thank you SOOOOOOOO much schaps!! :):):)
I ony had to calibrate once btw.

Da9L
3rd August 2008, 10:38 PM
This worked on stock 1.93 WWE/radio 05, even after soft reset. Thank you SOOOOOOOO much schaps!!
I ony had to calibrate once btw.

I allready have a 1.93 based rom.. :( It is Swiftblade v3.5 and it wount store the calibration settings! even if i press calibrate millions of times.. :(

imranbashir_uk
3rd August 2008, 11:44 PM
Just tried it on mine, it worked first time and calibration remained saved after a soft reset.

All I did was install it on the internal storage, soft reset the device, toggle Gsen to off, run the calibration tool, close it, start bubble level to confirm calibration worked, soft reset the device, uninstall the calibration tool, re-run the bubble level and teeter to confirm all still worked.

This was by means no fresh install, all my contacts are on their along with various other apps, did not have to perform hard reset or do another fresh install...

kenshironanto
4th August 2008, 02:44 AM
Hi mates.


I did it!

I follow this topic as creation. I try all method describ in, to calibrate my HTC. i try to calibrate over 100 times, run bubblelevel and press 5 times clibrate blablabla, changing reg values by 0, changing files form Raphael s' rom. Nothing work.

I was on official lasted french rom.

As last post reading, i've decided to change for DIAMOND PROJECT ROM Release V3.2.

I start to install the Hardspl 1.34 from jockyw2001. He advices to install the 1.24, but idk why i install the 1.34. :D

ok then i format internal storage (just internal storage, i didn't perform a hard-reset before)

I start the installation of Diamond Project Rom. Installation succesfull. Allright.

Then i start to configure my network proprieties, and perform a soft reset as it was ask.

After restarting, i plug my HTC, select sync with active sync, connection etablish, i transfer HTC calibration soft.

Unplug the devide, then run Start->Programs->Explorer(the Microsoft tools to browse files, i tell that cause i don't know how it nammed in English rom)

Run the .cab, install in internal memory (not on 4gb storage)

then i close Explorer, run Start->Programs->Accelerometer calibrator.

i put device on floor and press calibrate.

Yeahhhhhhhhh!!! work perfectly even after a soft-reset.

Bubblelevel show that my device is calibrate perfectly.

My device is a DIAM100 - Hard-SPL 1.34 - Diamond Project Rom = calibration work perfectly

I was in official rom before that = over 100 tries to calibrate nothing...

Da9L
4th August 2008, 11:55 AM
Hi mates.


I did it!

I follow this topic as creation. I try all method describ in, to calibrate my HTC. i try to calibrate over 100 times, run bubblelevel and press 5 times clibrate blablabla, changing reg values by 0, changing files form Raphael s' rom. Nothing work.

I was on official lasted french rom.

As last post reading, i've decided to change for DIAMOND PROJECT ROM Release V3.2.

I start to install the Hardspl 1.34 from jockyw2001. He advices to install the 1.24, but idk why i install the 1.34. :D

ok then i format internal storage (just internal storage, i didn't perform a hard-reset before)

I start the installation of Diamond Project Rom. Installation succesfull. Allright.

Then i start to configure my network proprieties, and perform a soft reset as it was ask.

After restarting, i plug my HTC, select sync with active sync, connection etablish, i transfer HTC calibration soft.

Unplug the devide, then run Start->Programs->Explorer(the Microsoft tools to browse files, i tell that cause i don't know how it nammed in English rom)

Run the .cab, install in internal memory (not on 4gb storage)

then i close Explorer, run Start->Programs->Accelerometer calibrator.

i put device on floor and press calibrate.

Yeahhhhhhhhh!!! work perfectly even after a soft-reset.

Bubblelevel show that my device is calibrate perfectly.

My device is a DIAM100 - Hard-SPL 1.34 - Diamond Project Rom = calibration work perfectly

I was in official rom before that = over 100 tries to calibrate nothing...

how many degrees were you device off before you calibrated? sounds like this will be a go for me.. :)

Chatbox
4th August 2008, 06:39 PM
Hi mates.


I did it!

I follow this topic as creation. I try all method describ in, to calibrate my HTC. i try to calibrate over 100 times, run bubblelevel and press 5 times clibrate blablabla, changing reg values by 0, changing files form Raphael s' rom. Nothing work.

I was on official lasted french rom.

As last post reading, i've decided to change for DIAMOND PROJECT ROM Release V3.2.

I start to install the Hardspl 1.34 from jockyw2001. He advices to install the 1.24, but idk why i install the 1.34. :D

ok then i format internal storage (just internal storage, i didn't perform a hard-reset before)

I start the installation of Diamond Project Rom. Installation succesfull. Allright.

Then i start to configure my network proprieties, and perform a soft reset as it was ask.

After restarting, i plug my HTC, select sync with active sync, connection etablish, i transfer HTC calibration soft.

Unplug the devide, then run Start->Programs->Explorer(the Microsoft tools to browse files, i tell that cause i don't know how it nammed in English rom)

Run the .cab, install in internal memory (not on 4gb storage)

then i close Explorer, run Start->Programs->Accelerometer calibrator.

i put device on floor and press calibrate.

Yeahhhhhhhhh!!! work perfectly even after a soft-reset.

Bubblelevel show that my device is calibrate perfectly.

My device is a DIAM100 - Hard-SPL 1.34 - Diamond Project Rom = calibration work perfectly

I was in official rom before that = over 100 tries to calibrate nothing...

I tried to follow your footsteps, but no luck. Tried many other methods...no luck either.

I'm starting to think that maybe it's due to something else "during" the calibration.

kenshironanto
4th August 2008, 10:50 PM
Hello,

not really, i just press calibrate, i was @t 12 degre.

Da9L
4th August 2008, 11:12 PM
I tried to follow your footsteps, but no luck. Tried many other methods...no luck either.

I'm starting to think that maybe it's due to something else "during" the calibration.

It could still be that 15 degree threshold.. How many degrees are your gsensor off?

Have a look at this ..

Hello,

not really, i just press calibrate, i was @t 12 degre.

His was 12 degrees of which is below 15 degrees.. it dosnt work for me either and mine is around 20 degrees of..

swiftgs
4th August 2008, 11:26 PM
Things getting weirder every day, ma G-sensor performed like rubbish, with many different roms...

Now Ive flashed the new diamond surface rom, and it was still shit, but then.... Just trying the calibrator one more time. Installed it, and after that it soft resetted itself, guess what, when it was finished booting up, the gsensor works flawless, teeterball doesnt move at all!

removed the program afterwards and it works still great, just installed, never runned it and removed it. Anyway, Im happy now :D

M3rl1n0
7th August 2008, 12:52 PM
I have tried any solution! It don't work :(


(sorry for my bad english)


WORK!!! I left the calibrator open for about an hour and when I tried again it has worked!!! :D

Ruedbert
8th August 2008, 12:44 PM
I have a german MDA Compact IV with original ROM 1.37.111.3 and nothing works for me. :mad:
Possibly i have to wait for an ROM Update from T-Mobile.

mass82
8th August 2008, 12:58 PM
Find real flat surface and place the phone face down on it so that little bit of the phone is outside from the edge so u can push the "calibration" button with pen :) ... Doesnt save calibration for me :( Using orginal HTC Europe rom.

Ruedbert
8th August 2008, 04:50 PM
Thanks, but it doesnīt work too.
I think it depends on the ROM.

Da9L
8th August 2008, 06:27 PM
Thanks, but it doesnīt work too.
I think it depends on the ROM.

Doesn't seem to be rom dependent.. I have tried every rom that i could find and it still dosn't work.. For some it works no matter what rom they try it on.. But i still thinks it has something to do with how much the g-sensor needs to be calibrated in degrees.. if its over 15 i won't work..

Ruedbert
8th August 2008, 08:06 PM
Mine is about 11 degrees of. Its not that thing, but 0 degrees would be nicer. :D

The next thing i could try is to do a hard reset and only install the calibration tool.

Da9L
9th August 2008, 12:49 AM
Mine is about 11 degrees of. Its not that thing, but 0 degrees would be nicer. :D

The next thing i could try is to do a hard reset and only install the calibration tool.

It has allready been tried out which doesn't help.. But give it a go if it works for you nothing makes sense.. :P

pgriffith
9th August 2008, 05:01 PM
Hi guys, a bit of info for you.

Like many of you my Diamond sensor was quite a bit off center and the calibration tool didn't work at all on my device.

Today I installed my first cooked ROM..

SwiftBL WWE Diamond v5.0 Full (awesome by the way)

While it was installing, I thought to myself, I wonder at what point does the OS interrogate the sensor for the first time, and wondered if it does a calibration as such.

So what I did was for the whole process I kept my phone face down on the table so it was always perfectly level. I left it this way until the standard "tap screen to start using your device" welcome appeared.

Now lo and behold my sensor is dead on balls accurate level :)

Might be worth a try for some of you that have their sensors off, be good to see if mine was a fluke....... or

Prove I am a complete genius lol :)

Cheers

dutch64
9th August 2008, 07:26 PM
Hi guys, a bit of info for you.

Like many of you my Diamond sensor was quite a bit off center and the calibration tool didn't work at all on my device.

Today I installed my first cooked ROM..

SwiftBL WWE Diamond v5.0 Full (awesome by the way)

While it was installing, I thought to myself, I wonder at what point does the OS interrogate the sensor for the first time, and wondered if it does a calibration as such.

So what I did was for the whole process I kept my phone face down on the table so it was always perfectly level. I left it this way until the standard "tap screen to start using your device" welcome appeared.

Now lo and behold my sensor is dead on balls accurate level :)

Might be worth a try for some of you that have their sensors off, be good to see if mine was a fluke....... or

Prove I am a complete genius lol :)

Cheers

lol, tried that also, even burned candles around my phone while it was being flashed, nothing helped so far:)

kenshironanto
10th August 2008, 03:23 AM
haha,


:D

pgriffith
10th August 2008, 03:48 AM
even burned candles around my phone ....... lol good one :)

What about in the centre of a pentacle drawn with chicken blood hehe

MasK
10th August 2008, 03:58 AM
Theres no way a calibration would have been done that way. ppl generally hold their phone while it boots up or walk around as well. WHat kind of calibration data can be obtained with that?

Calibration here is just a software offset, so that the hardware can be accurate. It's the sensors in our devices that vary from set to set.

Da9L
11th August 2008, 01:40 AM
I seriously hope that we will be able to calibrate our sensors soon.. :( I do not want to return my diamond for repair just because of this.. Wish i can do something to help if someone has a thought of a solution..

Black93300ZX
13th August 2008, 07:50 AM
[EDIT] G-Sensor can't be calibred on Diamond since original driver doesn't consider calibration data... :( We need to port Raphael driver.


Don't get so hopeful, my AT&T Raphael didn't come with a G sensor calibrator... Using this, it would not save the calibration data. Maybe it's just because this wasn't meant to be calibrated either, but not all Raphaels are created equal. ;-)

xep624
13th August 2008, 09:35 AM
Hi,

thanks a lot! It worked perfect for me.
Got the official HTC ROM.

Schermbecker
14th August 2008, 05:21 PM
Hm, did not work for me :(

I am using Diamond Project Rom 3.2 and when I first started the calibrator the indicators showed 100% correct calibrated positions.

Stupid as I am I nevertheless pressed the calibrate-button and afterwards I had the same situation like I had before - while using the t-mobile stock rom (1.37)... the indicators where not correct anymore. Even when trying several times.

Where does the gsensorcalibrator save the data? Is there a way to get back to the original rom values (which were perferct)?

Would appreciate any hints :o

Da9L
14th August 2008, 05:34 PM
Schermbecker

It saves the data in the memory of the g-sensor so even a hard reset won't help .. You can't get your old data back unless you find some other of calibrating your device.. :(

Black93300ZX
14th August 2008, 06:09 PM
Anyone know if there'd be a reg edit for the G-sensor to be calibrated or not? I have a Raphael, so I know the hardware must be capable, but even after installing this app it won't save the changes. Hoping I could just change a 0 to 1 and call it a day.

Baronic
14th August 2008, 07:48 PM
not working on mine as well no matter the rom. i tried all roms

andrew_sh
14th August 2008, 08:05 PM
hello people, I just want to contribute a bit.
I have the European 1.93 rom installed and 1.93 unsigned spl.
I tried many times to calibrate but the settings got lost after a soft reset.
I was bored today and gave it another shot and it worked!!!!!!!!!!
What I did is press calibrate, wait for the message "calibrated successfully" (or something like that) and then did it again about 5 times. THEN I SOFT RESET THE DEVICE WITH THE STYLUS. I don't know if that was the solution or I was just lucky but these are things you can try.
I hope the setting are saved in a permanent memory that is not affected by rom updating, hard reset etc.

Good luck

PJ6363
15th August 2008, 03:01 PM
I've been playing with the calibrate program, HTC Test tools (testHTCSensorDemoAP.exe) and the Teeter programme......
With my device I faund that it needed calibration (out by approx 9deg) using HTCsensor and Teeter (drift when on a level surface), so
Ran the calibration tool and within moments all was calibrated (perhaps because within the 15deg tolerance threshold??)
Once calibrated all was well with the device.....however......
after reset (immediately after callibration) it returned to off-spec by a few degrees...Calibrate again, no problems!

It seems fairly obvious that the calibration details (i.e. the software offsets applied to the "mechanical" hard sensor device in the Diamond) are written somewhere (registry/memory/wherever???) that is overwritten by a SOFT-RESET! Now I'm not clever enough or patient enough to find out where, but I get the feeling that some clever folk in this thread could pin-point this easily and quickly :rolleyes:
Find where Accelerometer Callibrator for the GSen writes the sensor offsets in the "memory" (as affect by a soft-reset) and your half way to the solution.
Not sure if this will help......:o

Da9L
17th August 2008, 09:03 PM
I've been playing with the calibrate program, HTC Test tools (testHTCSensorDemoAP.exe) and the Teeter programme......
With my device I faund that it needed calibration (out by approx 9deg) using HTCsensor and Teeter (drift when on a level surface), so
Ran the calibration tool and within moments all was calibrated (perhaps because within the 15deg tolerance threshold??)
Once calibrated all was well with the device.....however......
after reset (immediately after callibration) it returned to off-spec by a few degrees...Calibrate again, no problems!

It seems fairly obvious that the calibration details (i.e. the software offsets applied to the "mechanical" hard sensor device in the Diamond) are written somewhere (registry/memory/wherever???) that is overwritten by a SOFT-RESET! Now I'm not clever enough or patient enough to find out where, but I get the feeling that some clever folk in this thread could pin-point this easily and quickly :rolleyes:
Find where Accelerometer Callibrator for the GSen writes the sensor offsets in the "memory" (as affect by a soft-reset) and your half way to the solution.
Not sure if this will help......:o

Thats not a bad idea! We just need someone to do that.. Schaps maybe?! :o

Chatbox
19th August 2008, 07:07 PM
Hey Da9L,

I finally managed to have my sensor calibrated (using Shine On 1.3 ROM, but it has more to do with the version of the G-Sensor Calibrator than anything else). You can read my reply to the ROM's thread here: http://forum.xda-developers.com/showpost.php?p=2542234&postcount=598

My Diamond was like yours in the sense that nothing managed to get it to calibrate for 6 weeks or so. Try the ROM, see if you can get yours calibrated.

Good luck!!

clovis
20th August 2008, 01:46 PM
i don't know if this was already solved. If not, can someone use a workaround?

just make the g-sensor calibrator to save the settings to a registry key. then make a small program to read these settings at windows startup and re-apply them to the driver.
That is, if the calibration doesn't survive a soft-reset, lets re-apply the calibration every reset.

TML1504
20th August 2008, 05:46 PM
Hey Da9L,

I finally managed to have my sensor calibrated (using Shine On 1.3 ROM, but it has more to do with the version of the G-Sensor Calibrator than anything else). You can read my reply to the ROM's thread here: http://forum.xda-developers.com/showpost.php?p=2542234&postcount=598

My Diamond was like yours in the sense that nothing managed to get it to calibrate for 6 weeks or so. Try the ROM, see if you can get yours calibrated.

Good luck!!

thanks, but it didnt work for me...
one question: are the bubbles in the calibrator totally steady when you do
not move or shake the device (when it lies on a table for example)?
maybe it could be a problem that the bubbles oscillate (what comes from
the data-noise of the sensor i guess), and if this oscillation is above a certain
limit the calibrator wont work because it "thinks" that device is not in a
steady position...

Da9L
20th August 2008, 08:41 PM
Hey Da9L,

I finally managed to have my sensor calibrated (using Shine On 1.3 ROM, but it has more to do with the version of the G-Sensor Calibrator than anything else). You can read my reply to the ROM's thread here: http://forum.xda-developers.com/showpost.php?p=2542234&postcount=598

My Diamond was like yours in the sense that nothing managed to get it to calibrate for 6 weeks or so. Try the ROM, see if you can get yours calibrated.

Good luck!!

Thank you so much for the tip! I have allready tried the rom, but unlucky as i am it did not work for me either.. :( But thanks for the tip!

petkos01
21st August 2008, 04:23 AM
People, this program is working out of my or any logic. I've used many times G-sensor calibrator (may be 10 times) After nothing happend I installed BubbleLevel. I've calibrated by it. After Reset it showed the same wrong slope. Then I runed G-sensor calibrator again. Nothing happend. My Diamond was connected by USB cabel to PC. G-sensor calibrator was running on top. When I was reading forum My Diamond felt to stand by. After that I pressed power button to wake it up and SURPRISE! Bubbles in G-sensor calibrator were in the middle! Now I can play Teeter flawlessly :) :) :)

SO Try this:
1. Put your Diamond to the right level connected to PC.
2. Run G-sensor calibrator. Press Calibrate. (Try to run BubbleLevel as well, but I don't think it is important)
3. Let aplication running and let the phone go to sleep by itself.
4. Awake it by power button.
5. Press Calibrate again. I think it was calibrated when I've awaken phone. I'm not sure if you have to do this last point.

Good Luck! I hope I am helping many Diamond owners :)

P.S> I've just tried Soft Reset and it is still OK !!!!!

losdrivare
22nd August 2008, 12:34 AM
I'll be damned. IT WORKS!

I was going to try the steps petkos01 suggested, but all I needed to do was to connect it by USB to my PC and run ActiveSync. Then the calibration works!

(using SwiftBL 6.0)

EDIT: well, it worked once but I seem to be unable to replicate it. We're definetly on to sth, though. I've never been able to calibrate before.

PJ6363
22nd August 2008, 12:44 AM
I'll be damned. IT WORKS!

I was going to try the steps petkos01 suggested, but all I needed to do was to connect it by USB to my PC and run ActiveSync. Then the calibration works!

(using SwiftBL 6.0)

soft reset still returns out of calibration setting.....:(

Da9L
22nd August 2008, 01:16 AM
People, this program is working out of my or any logic. I've used many times G-sensor calibrator (may be 10 times) After nothing happend I installed BubbleLevel. I've calibrated by it. After Reset it showed the same wrong slope. Then I runed G-sensor calibrator again. Nothing happend. My Diamond was connected by USB cabel to PC. G-sensor calibrator was running on top. When I was reading forum My Diamond felt to stand by. After that I pressed power button to wake it up and SURPRISE! Bubbles in G-sensor calibrator were in the middle! Now I can play Teeter flawlessly

SO Try this:
1. Put your Diamond to the right level connected to PC.
2. Run G-sensor calibrator. Press Calibrate. (Try to run BubbleLevel as well, but I don't think it is important)
3. Let aplication running and let the phone go to sleep by itself.
4. Awake it by power button.
5. Press Calibrate again. I think it was calibrated when I've awaken phone. I'm not sure if you have to do this last point.

Good Luck! I hope I am helping many Diamond owners :)

P.S> I've just tried Soft Reset and it is still OK !!!!!

Just tried your method.. Dosn't work for me either.. :( But my diamond never goes to sleep when its connected to pc? You mean turn the screen of right?

petkos01
22nd August 2008, 01:27 AM
I've got "not to charge, when connected to PC" in power settings. Than is going to Stand By, because is running on battery and I have setted to go to sleep after 5 minutes during my experiments. ActiveSync is running of course, because is connected to PC.

petkos01
22nd August 2008, 01:28 AM
My calibration still last, even after Soft Reset.

Good Luck to All, but it realy works.

petkos01
22nd August 2008, 01:39 AM
I'll be damned. IT WORKS!

I was going to try the steps petkos01 suggested, but all I needed to do was to connect it by USB to my PC and run ActiveSync. Then the calibration works!

(using SwiftBL 6.0)

EDIT: well, it worked once but I seem to be unable to replicate it. We're definetly on to sth, though. I've never been able to calibrate before.

I am not sure, because I've tried to run calibration with phone connected to PC and ActiveSync running, and nothing happend.

I think, "G-sensor calibrator" must already running when you connect or awake phone with cable connected to PC. ActiveSync might be important as well.

MasK
22nd August 2008, 02:23 AM
K.. most guys here.. when they mention "works", can we assume working even after soft reset?

Of all the ROMs Ive tried, all of them could be calibrated without soft-reset, except for 1, which I can't remember. It will start calibrating, and when it says complete, the bubbles will be out of position.

For the rest which works, it looses data after soft reset. I have a feeling SwiftBL's v6.0 might work as it's using 1.94 base..
Hmmmm

petkos01
22nd August 2008, 02:53 AM
New Experiments And Results:

I've Done Calibration Again. Succesfuly. It Didn't Work With Short Time (50 secs) Before Go To Stand By. But When I've Set 5 Minutes As In First Succesful Experiment, it Worked. Maybe G-sensor Need For Calibration Longer Time Without Moving. After I Awake Phone From Stand By, I Was Able To Do Calibration Again. Phone Was Connected To Pc And I Did Calibration Before Phone Sleeping And After As Well. One After Phone Sleeping Was Writen To Registry Or Somewhere.

P.S. I've got SwiftBL's v4.5 and calibration last after Soft Reset.

MRE-net
22nd August 2008, 11:45 AM
I have a HTC Diamond Pro with sliding keyboard in front of me at work. It has G-sensor built in.

Rom info is:

ROM Version: 1.90.401.1 WWE
ROM Date: 08/01/08
Radion Version: 1.02.25.19
Protocol Version: 52.33.25.17U

HTC Touch PRO T7272

I've extracted the dll files from the HTC Diamond Pro....

* GSensor.dll (8/1/2008)
* HTCSensorSDK.dll v3.3.1817.2628 (7/16/2008)
* HTCSensorService.dll v3.3.1817.2628 (7/16/2008)

PJ6363
22nd August 2008, 12:51 PM
I have a HTC Diamond Pro with sliding keyboard in front of me at work. It has G-sensor built in.

Rom info is:

ROM Version: 1.90.401.1 WWE
ROM Date: 08/01/08
Radion Version: 1.02.25.19
Protocol Version: 52.33.25.17U

HTC Touch PRO T7272

I've extracted the dll files from the HTC Diamond Pro....

* GSensor.dll (8/1/2008)
* HTCSensorSDK.dll v3.3.1817.1426 (7/16/2008)
* HTCSensorService.dll v3.3.1817.1426 (7/16/2008)

WOW.....Overwrote these files with what you have provided (only HTCSensorSerice.dll appeared revised/newer, but still replaced all) and callibration sticks after soft reset now :eek:
Legend mate...and big thanks!! :D :D

Try this!!

petkos01
22nd August 2008, 02:04 PM
WOW.....Overwrote these files with what you have provided (only HTCSensorSerice.dll appeared revised/newer, but still replaced all) and callibration sticks after soft reset now :eek:
Legend mate...and big thanks!! :D :D

Try this!!

In my case it worked without these new files. Calibration last after soft reset.

P.S> I've tried new calibration. I let mobile connected to PC with G-sensor Calibrator running untouched for 5 min. Than I pressed power button to put mobile to Stand By mode. Than I awoke it, calibrated and it's worked. Calibration was written to registry :) Last after Soft Reset with using only calibrator from first post.

Good Luck to all calibrators!

PJ6363
22nd August 2008, 03:54 PM
WOW.....Overwrote these files with what you have provided (only HTCSensorSerice.dll appeared revised/newer, but still replaced all) and callibration sticks after soft reset now :eek:
Legend mate...and big thanks!! :D :D

Try this!!

OK bad form, all it did was "freeze" the GSen totally as callibrated..in other words the GSensor not working now, reverting to back-up...OH well!! :(

Studebaker72
22nd August 2008, 04:20 PM
OK guys, I fooled around and messed up. Of course I overwrote the files in the Windows folder with the files from MRE-net ( => GSensor.dll (8/1/2008), HTCSensorSDK.dll v3.3.1817.2628 (7/16/2008), HTCSensorService.dll v3.3.1817.2628 (7/16/2008)) and the calibration froze like PJ6363 mentioned already. Well, ich copied my backup-files into the windows folder but oh my!!! Still stuck....
Anybody knows what else to change back?? Thanks folks!!!

PJ6363
22nd August 2008, 04:41 PM
OK guys, I fooled around and messed up. Of course I overwrote the files in the Windows folder with the files from MRE-net ( => GSensor.dll (8/1/2008), HTCSensorSDK.dll v3.3.1817.2628 (7/16/2008), HTCSensorService.dll v3.3.1817.2628 (7/16/2008)) and the calibration froze like PJ6363 mentioned already. Well, ich copied my backup-files into the windows folder but oh my!!! Still stuck....
Anybody knows what else to change back?? Thanks folks!!!

I was lucky...I had a bckup (Spb Backup)....what I think you have to do is stop the GSen file processes using task manager, delete existing files (there will be copies/duplicates as you could not write over the files as they were in use!) and replace with the originals...if not, perhaps back to square one (good time to move up to SwiftB new v6.0 ROM :o )

Studebaker72
22nd August 2008, 06:21 PM
Hm. OK, thanks allot for your help so far! I checked the Task Manager, there is none of the GSen processes present. Do you know how to identify any "copies/duplicates" that I may have created in the Windows folder during my raging noob session? I managed to rename all three files in the Windows folder, and copied my backup files once again. After that I deleated the renamed files from Windows. But I did not think of the possibility of duplicates being present that the system may have generated. After a soft reset I tried again, the backup files are still there (date of creation shows that these were the original files), but the calibrator and Teeter of course are still dead. Well, what to do. I have indeed a backup set of Sprite, but after I created it I installed some additional stuff. If I restore the Sprite backup set, does that mean that all programs I installed after the set has been created are gone for good? Oh, I would not like that too much... Greetings, and thanks again pal!!!

P.S. I found out that the glorious Sprite let's you decide which folders to restore! So my magical question is, which one did you restore? I will try the same then... 8-)

Baronic
23rd August 2008, 04:53 PM
using petkos' sleep method still doesnt work. my problem isnt the "unable to save after soft reset" but when i press calibrate, the bubbles move and go to the middle and IMMEDIATELY reverts back to square one. any ideas guys?

Schermbecker
23rd August 2008, 05:35 PM
freezing completely here :eek:
trying to copy backup files again...

hm, seems that HTCSensorServices.dll can not be deleted anymore (after overwriting it once). what now???

petkos01
23rd August 2008, 06:16 PM
using petkos' sleep method still doesnt work. my problem isnt the "unable to save after soft reset" but when i press calibrate, the bubbles move and go to the middle and IMMEDIATELY reverts back to square one. any ideas guys?

It is important to let running calibrator untouched for 5 min (time is important, short time doesn't work!) than put to stand by, awake and do calibration again. Aplication is still running and phone is always connected to PC. After this calibration bubbles last in the middle.

ginfreeces
24th August 2008, 04:12 PM
Thank you so much, I use HTC Diamond

hTC Touch Diamond SingTel ROM Code Update (2008/31/07)
ROM version: 1.93.871.1 WWE
ROM date: 07/23/08
Radio Version : 52.29.25.12H_1.00.25.05


It is so much work!!! though soft reset

PJ6363
25th August 2008, 03:35 PM
For those who suffered from the GSen freeze :mad: (from Raphael file replacement/overwrite) and don't have a back-up you might be able to stop the freezing GSen process (?) using this...

http://htc-diamond.sosref.com/download/TaskMgr_3.1.cab

...then, apply your original files immediately after. Be careful, make back-ups, and use these apps at your peril.

Good luck!!

Studebaker72
25th August 2008, 04:48 PM
Thank you PJ6363 for your assistance, I tried already with Schap's Advanced Taskmanager v0.7. There is no Process running which points to the Gsen, or would you be able to identify it by a specific name or desigantion? Will try my luck on that one :confused:

Edit: Tried your Taskmanager, disabled the HTCSensor Service, copied my files again. No luck at all. Will press the big button now and start from scratch...

habitat.dnb
26th August 2008, 03:26 PM
Weird things happen. I was playing around with that today as petkos adviced and let's say that it has started to work after many attempts. I don't even know what a special move i've done, but suddenly it calibrates even when the phone is disconnected from ActiveSync. I'm running on SwiftBL Full 6.0. Phone was laying today in various time periods on the table, connected to ActiveSync and from time to time i've clicked to Calibrate button and suddenly, it works!

Seems being patient is the only way? :)

petkos01
27th August 2008, 02:11 PM
Weird things happen. I was playing around with that today as petkos adviced and let's say that it has started to work after many attempts. I don't even know what a special move i've done, but suddenly it calibrates even when the phone is disconnected from ActiveSync. I'm running on SwiftBL Full 6.0. Phone was laying today in various time periods on the table, connected to ActiveSync and from time to time i've clicked to Calibrate button and suddenly, it works!

Seems being patient is the only way? :)

Perfect, next succesessfull calibrator. In my case works any time as I've writen above, just need to wait 5 mins and it works by one attempt :)

frankpr
28th August 2008, 10:13 PM
Yessss! Updated my Diamond with the new ROM from HTC (1.93.407.1 GER), and the calibrator saved the calibration data on the first attempt! It's still properly calibrated after several soft resets. I'm happy :-)

Schermbecker
29th August 2008, 08:02 AM
Yessss! Updated my Diamond with the new ROM from HTC (1.93.407.1 GER), and the calibrator saved the calibration data on the first attempt! It's still properly calibrated after several soft resets. I'm happy :-)

Did this work for you without replacing the sensor.dlls?

I had a ROM somewhen before which had perfect calibrated sensors. I don't remember exactly but I think it was a Diamond Project ROM (3.2?). I tried to calibrate even if it was ok and since then the crap began. All ROMS after that one were decalibrated and I was not able to get the stuff in shape again.

Thats pretty bad - Teeter is a advanced task for non-calibrated devices :cool:
Now I use panosha Shine On 1.5 but same problem.

Maybe I should flash that HTC GER ROM and calibrate it. And then back to another ROM again.

computman
29th August 2008, 08:53 AM
Diamond users, I am preparing a big surprise for you...



Alors cette surprise ...???

Then, what about the surprise .... ??? i'm so impatient !! :D

frankpr
29th August 2008, 09:46 AM
Did this work for you without replacing the sensor.dlls?



Yeah, did not replace anything. I usually try not to mess with system files :-)

andrec
31st August 2008, 02:24 PM
Great! Worked for me the first time. Have official ROM 1.93.413.3 (Swedish) with no mods.
When I bought the Diamond the g-sensor was ok, but after some time it got very unaligned.
I just installed the calibrator (ActiveSync via Bluetooth connected), put my phone on a level desk, launched the software, hit the calibrate and got the successful message. I tried Teeter and it worked super! After that, I did not do a soft reset, as that is the same as pulling the power from a PC (might loose unsaved data). Instead I did a gentle shutdown by long-pressing the On/Off button.
After device started up again, g-sensor is still perfectly aligned (hope calibrator will be included in future official ROMs).

morphox
31st August 2008, 05:06 PM
Didn't work for me :( (HTC_NLD_1.93.404.1) When i calibrate it goes right back to old settings. So guess it can't save data. Hope this get fixed.

giangishanghai
1st September 2008, 10:49 AM
Hi all,
try the app. on my Diamond. RUN perfectly and i can save the setting after soft reset.
my rom in my signature.

thanks a lot for the great app.

ciao

MRE-net
1st September 2008, 01:25 PM
For those who suffered from the GSen freeze :mad: (from Raphael file replacement/overwrite) and don't have a back-up you might be able to stop the freezing GSen process (?) using this...

http://htc-diamond.sosref.com/download/TaskMgr_3.1.cab

...then, apply your original files immediately after. Be careful, make back-ups, and use these apps at your peril.

Good luck!!

To copy back the original files, use the taskmanager 3.1 as in the link above and select the processes tab. On the processes tab, stop the HTC Sensor Service and copy back the original files. After copying, restart the HTC Sensor Service.

edl
3rd September 2008, 09:56 AM
Hello,

i have german diamond with latest original HTC-Rom.
Calibration works fine without any modifications.
To save the calibration, ihave to switch the phone off via the on/off button on the upper side.
Simply performing a softreset, donīt save the calibration.
Thank you for this great Application.

PJ6363
5th September 2008, 12:19 PM
Anyone got this sorted yet? Seems a bit silly to create a callibration tool that does not work accross all ROM's and then doesn't keep said callibration (if it does work!) beyond a soft reset !!

Anyone....HTC perhaps....we know your out there.....:rolleyes:

Argun
5th September 2008, 11:24 PM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08

tararura
8th September 2008, 08:18 AM
Thanks Argun
Your method worked for me too.
thanks again

PJ6363
8th September 2008, 02:26 PM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08

Did not work for me unfortunetely....will try changing the polling interval for the Gsensor, might make a diff :confused:

boolean22
11th September 2008, 07:44 AM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08
Weird, but worked!!
At last Hologram and Teeter will work as intended, if only Gsen would cooperate!

bau33
11th September 2008, 08:31 AM
finally i found the solution for me - after i tried hundreds of times all the solutions form this thred i did the following - open Calibrator - leave it working for 15 minutes without doing nothing (phone goes to stand by), awake the phone from standby with power button, pressed Calibrate and voila! - its working! (press Calibrate 1 or 2 or 3 times after phone it's awake - depends from case to case). No activesync, no bubble level , no nothing - just leave Calibrator app running for 15 minutes

tabugman
11th September 2008, 12:34 PM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08

Worked like a charm, thanks! I'm using the SWE 1.93 original HTC ROM.

klern12
11th September 2008, 02:21 PM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08

Working with 1.93 Original rom too. Thank you.

Baronic
12th September 2008, 02:48 AM
1. I started Accelerometer Calibrator.
2. I put the device on a flat surface.
3. I pressed the Calibrate button.
4. I pressed the ON/OFF button while it was being calibrated (the device went to sleep).
5. I pressed the ON/OFF button again to wake it up. (A message appeared: Calibration Aborted!)
6. I pressed the Calibrate button again.
7. I pressed OK and closed the application.

The application was installed in the Device Memory and the USB cable was not plugged in.

The calibration was off 11 degrees and now it is OK even after soft resets.

I hope this works for you too.

HTC Touch Diamond, the latest HTC ROM from their support site, with no mods...
ROM Version: 1.93.456.2 WWE
ROM Date: 07/10/08


does not work! the problem is it calibrate when i press calibrate, but after 2 secons the bubbles become unalligned again! anyone got solutions?

dutch64
12th September 2008, 08:00 AM
does not work! the problem is it calibrate when i press calibrate, but after 2 secons the bubbles become unalligned again! anyone got solutions?

Exactly same issue here, it starts calibrating, bubbles go to middle, then suddenly jump back to 'start position' again and it says 'calibration completed'. Tried all solutions in the thread here, all i noticed that once the device seemed calibrated when using Dutty's 1.7. All other Duttys and other builds the calibration was way off

BloodyCkickenSoup
16th September 2008, 01:11 PM
I have two diamonds here. Both had the exact same os and bootloader before flashing. Both now have identical roms (TOR V5 GER), SPL, software... Well, i could do that "both"-stuff all day. Point is, they seem similar. Number one calibrates (That would be mine, thank god), the other one won't. (Thats the one of my collegue, he hates me for that). Funny thing is that my device was ok, when i got it, the one of my colleague is completly out of level. He would be the one who could really use such a thing as callibration. I tried all suggestions i found here to no avail.

He got his device a month earlier. Then it was sold out with our provider and i received mine 4 weeks later. I cant spot any difference. Are there different chipset revisions noone knows about?

Edit: I found out that at last there is one difference. He got the 1.37 OliNex Spl flashed. I am using the 1.40. Can anyone with probs check their spl in bootloader mode? Or is it noobish to think that this could make a difference?

Baronic
16th September 2008, 07:33 PM
i dun think an spl would make the difference. more of the rom. also, my problem started after i sent my unit for warranty, so perhaps, it is possible to open up the diamond, to align it, before calibrating?

Argun
16th September 2008, 09:45 PM
does not work! the problem is it calibrate when i press calibrate, but after 2 secons the bubbles become unalligned again! anyone got solutions?

To clarify:

I pressed the on/off button to put the device into sleep, right after pressing the Calibrate button.

When I pressed the on/off button again the device woke up with a warning "Calibration Aborted!"

Then I pressed Calibrate again and the Calibration was saved.

Before that, when I pressed the Calibrate button, bubbles were going to the middle, then jumped back to where they were as you have described...

Hope this works for you too...

Baronic
17th September 2008, 10:13 AM
To clarify:

I pressed the on/off button to put the device into sleep, right after pressing the Calibrate button.

When I pressed the on/off button again the device woke up with a warning "Calibration Aborted!"

Then I pressed Calibrate again and the Calibration was saved.

Before that, when I pressed the Calibrate button, bubbles were going to the middle, then jumped back to where they were as you have described...

Hope this works for you too...

i did as u instructed, but it still doesnt work, still bounces back to the normal position. what rom u using? did the calibrator come with the rom or u installed the cab? i wanna check if it matters

Baronic
18th September 2008, 05:25 AM
bump for attention

Blazeitup123
18th September 2008, 07:08 AM
it does not work on some diamonds

Baronic
18th September 2008, 07:02 PM
the question is, WHY?

morphox
18th September 2008, 11:38 PM
Originally Posted by Argun
To clarify:

I pressed the on/off button to put the device into sleep, right after pressing the Calibrate button.

When I pressed the on/off button again the device woke up with a warning "Calibration Aborted!"

Then I pressed Calibrate again and the Calibration was saved.

Before that, when I pressed the Calibrate button, bubbles were going to the middle, then jumped back to where they were as you have described...

Hope this works for you too...
i did as u instructed, but it still doesnt work, still bounces back to the normal position. what rom u using? did the calibrator come with the rom or u installed the cab? i wanna check if it matters

Same here :(

veil
19th September 2008, 12:32 AM
NO problem with Xda diamond 1.93 official rom .

Argun
19th September 2008, 12:41 AM
Same here :(
Do you guys see the Calibration Aborted message when you wake your devices up? I have calibrated two more diamonds by this way...

Actualy this is a similar trick to "wait for 15 minutes and calibrate again" which some members was able to calibrate their devices with.

Maybe you can try Resco Bubbles...

Baronic
19th September 2008, 04:14 PM
yes, calibration aborted. then i try calibrate again, but it simply jumps back to the off centre position. the Resco Bubbles calibrator works fine, but its only for Resco Bubbles? doesnt affect Teeter at all

morphox
20th September 2008, 06:22 PM
Do you guys see the Calibration Aborted message when you wake your devices up?

yes, but first didn't work. But now it does. This is how i did it:

Pressed calibrate on, and put in sleep. waited for 5-10 sec and wake up the phone.

Then i pressed calibrate again and did the same as above.

the third time i pressed calibrate and waited. This time it worked and saved the settings
Hope it works for the rest who experienced the same problem.

Baronic
21st September 2008, 07:47 AM
still doesnt work. i sent it for warranty, and they fixed it, and now its PERFECTLY alligned though. :)

NoFutureKid
22nd September 2008, 10:04 PM
Perhaps it helps somebody:

mine HTC Pro, also won't to calibrate, but when i lay it down on the table a little bit harder than normal, it will calibrate...

so long

SkizZO
23rd September 2008, 01:46 AM
Guys, i think is a rom issue, i've flashed DIB v 1.2 ita & the calibrator worked well, now i am returned to the DiamProject v3.3 and doesn't work

WhiteCell
23rd September 2008, 08:18 AM
works for me perfectly.


i have uptodate stock ROM

niemand101
24th September 2008, 01:46 PM
Perhaps it helps somebody:

mine HTC Pro, also won't to calibrate, but when i lay it down on the table a little bit harder than normal, it will calibrate...

so long

same here :S did it on my soft qpad tho :D

PJ6363
24th September 2008, 10:15 PM
still doesnt work. i sent it for warranty, and they fixed it, and now its PERFECTLY alligned though. :)

Did you ask what and how they "fixed" it? Did they have to flash a standard ROM?

dutch64
25th September 2008, 01:33 PM
Did you ask what and how they "fixed" it? Did they have to flash a standard ROM?

Yes, also would like to know this, especially how the gsensor reg keys look like now.

abuluayshurafa
27th September 2008, 03:50 PM
hi guys
it seems it doesnot work with jasjam ppc so help me please

Wolfblood
27th September 2008, 04:17 PM
Hi all, you can try my version and it work on Diamond :)

http://forum.xda-developers.com/showpost.php?p=2699065&postcount=1

Argun
28th September 2008, 02:47 AM
HTC released the G-Sensor calibrator for Touch Diamond...

Here is the link:

http://www.htc.com/europe/SupportDownload.aspx?p_id=133&cat=0&dl_id=112

Argun
28th September 2008, 09:59 PM
HTC released the G-Sensor calibrator for Touch Diamond...

Here is the link:

http://www.htc.com/europe/SupportDownload.aspx?p_id=133&cat=0&dl_id=112

Grrrr :mad:

I uninstalled the old calibrator and installed the new one from HTC.

The calibration was 1.2 Degrees off. I tried to calibrate and now it is 11 Degrees off :eek:

I am back to where I was started. It is not saving calibration anymore. I tried to uninstall the new one, installed the old one, I uninstalled all of the G-Sensor applications... No luck at all...

I will be hard resetting my device in a few minutes and posting my results...

Wish me luck...

Argun
28th September 2008, 10:24 PM
Oh God!

The USB cable was plugged in, WMDC was connected, the calibrator was running since my last post. I pressed the calibrate button for one last time before the hard reset and voila, the calibration is OK now :confused: Wierd!

Da9L
28th September 2008, 11:08 PM
HTC released the G-Sensor calibrator for Touch Diamond...

Here is the link:

http://www.htc.com/europe/SupportDownload.aspx?p_id=133&cat=0&dl_id=112

Hmm dosn't seem to work on my device either.. :( Oh god if HTC can't make os something that works then who can..

PJ6363
29th September 2008, 02:09 AM
"New" version does not work for me either......you would think they got their act together :mad:

Darkzell
29th September 2008, 03:35 AM
it isn't working for me either

ParaTr00per
29th September 2008, 09:41 PM
Hmm dosn't seem to work on my device either.. :( Oh god if HTC can't make os something that works then who can..

well... i was one of the unlucky with problems to calibrate g-sensor with schaps tool, but this HTC released app worked for me.

TheMusicMaster
22nd October 2008, 10:14 PM
Thanks to user gadjet, who had the link in his signature, my g-sensor is now calibrated :-)
I tried everything, changing roms, installing different versions of the g-sensor calibrator, all the tips & tricks from this thread but nothing worked.
Today i saw "Working G-Sensor" with link in his signature.
I figured it would not hurt to try it, although i did not have much faith in it, since i already have put so much effort in trying to fix this issue.
I did not bother to uninstall the "old" version (which was the official one, from the htc website).
(I am currently running the latest official rom from the htc website, "_HTC Touch Diamond_QMR_RUU_Diamond_HTC_NLD_1.93.404.1_Radio_S igned_Diamond_52.29.25.12_1.00.25.05_Ship.exe")
I rebooted after install (the installer did not ask me to remove a previous version) and started the app, with activesync connected.
This time, the calibration went well in one single effort.
Tested it with teeter, the ball does not move when the device is placed on a flat surface.
I am so happy :-) :-)
Here is the working app (many many thanks to gadjet) :

LINK (http://rapidshare.com/files/148847820/Diamond_GSensorCalibrator.cab)

TheMusicMaster
26th November 2008, 05:26 AM
O.K., i was very happy with this cab until 2 days ago.
I was at my family's house, they had a spirit level, so i decided to calibrate my sensor to that.

They had a table that was 100% water level, so i put my device face-down on it, and initiated the calibration process (trough activesync, bluetooth (i could not hit the calibration button on the device since it was laying flat on the table)) so i was sure no movements could occur during the calibration process.

To my horror, after the calibration was done, it re-calibrated itself to the initial (totally wrong) settings. So it had nothing to do with the position the device was in, it just resetted itself to manufacture defaults (which were totally wrong).

Re-calibrating did not work, i was facing the same exact problem i had from the beginning.
I even tried hard-resetting the device, installed the cab that worked for me and tried re-calibrating - no joy.

I restored a backup (made with sprite backup), a backup i made with all installed programs running perfectly, and a perfectly calibrated g-sensor) - still the g-sensor would not return to its calibrated state.

So at that point i realized it was not the "magic" cab that eliminated the g-sensor problem i had, in fact, it "resetted" the g-sensor calibration app to its initial state, and it does not help me now (anymore, for some reason) to re-calibrate my device.
So i tried re-installing it, without any luck.

Then i downloaded the latest version of the calibration tool from the official HTC site in a desperate attempt to try to calibrate my g-sensor.
After i downloaded it, i noticed it had the same exact filesize as the one that did the trick for me.

At this point, i had absolutely no hope this file would do any good, keeping in mind that i followed this thread from the beginning, i tried every trick in the book but still i was not able to calibrate my device.
And after installing, it confirmed my doubts and it did not calibrate my device at all - after finishing, the water levels went back to the initial state - no good at all.

For some reson, i let the activesyc connection intact and went on browsing xda to see if any solutions were available.
Unfortunately there were none - in fact, i am replying right now and it will be the very next post after my last one, over a month ago -.

After one hour or so, i hit "calibrate" and IT HELD ITS CALIBRATION!!!
i decided right then and there, i would not hit this evil button ever again.
I was actually thinking of having my device repaired, which would mean i have to miss it for about a month.
But with this i can live.

Now i still have this question, (and maybe some developers out here can shine their light on it) is this problem hardware or software related?
Software seems to be out of the question, since i calibrated it and hard-resetting the device or restoring a backup does not seem to have any affect.

On the other hand, installing software may _sometimes_ do the trick, but not always. To this day i now cannot say "this software calibrates your device 100% sure"
It remains a dark hidden secret probably only known to HTC or Microsoft.

Up until this day i could not get a satisfying answer from this community either.
I am happy now, since my device is calibrated, but i am now terrified to use the calibration software again as well.
This should not be this hard!

As this is still an issue (like i mentioned, i still cannot find a working-out-of-the-box solution) i would like to hear some of the specialists give their opinion about this.
WHY is it working sometimes but not always? Why are there still users out there that can't get their devices calibrated, eventhough they have downloaded the right patch (from HTC website)??

shantnu
13th December 2008, 08:20 AM
Still no solutions :(

I have tried everything in this thread --- nothing works :(

andrediaslopes
3rd January 2009, 06:27 PM
yep me too, none of them work! :(

tommm
3rd January 2009, 10:10 PM
Had the same probs and any of apps didn´t save the calibration after the device reseted to its default. I also thought it´s a HW problem and wanted to send it for repair, but I tried one more time to calibrate it again and suddenly at the first attempt it saved the right settings. Till now I didn´t figure out how it happened and what caused previous error:confused:

ykat
19th January 2009, 09:56 AM
i have the same problem:
can not calibrate, always goes to the left side.

some research
http://www.kionix.com/accelerometers/accelerometer-KXSD9.html
http://www.kionix.com/App-Notes/AN012%20Accelerometer%20Errors.pdf
read about "re-zero the 0g" under calibration..

another pick:
check this app:
http://forum.xda-developers.com/showthread.php?p=2511016
this is a set of debug/tweak app.
when you launch the testHTCSensorDemoAP.exe
choose properties than g-Sensitivity and play with sensitivity. try value "4"
the calibration, the til, coordintes will change..
i hope somebody will figure out something from this.. :D

ykat
19th January 2009, 10:03 AM
one more thing.
my english is not good enough but i try to summarize what i learned from those docs i linked before:
Many thing makes effect on the calibration: noise, celsius, tiling angels, etc.

the point: (something like this) IF the resultant of the data is level (0) then it is regarded as level even if it is not..
does it make any sense?

pascallee
1st March 2009, 01:07 AM
Sorry to bump this thread up again but I may have found a solution that is worth trying.
I have done this test three times (each time with fear that I will not be able to save my calibration) and succeeded in saving the calibration. I have read somewhere that temperature may affect the calibration of an accelerometer. So I tried to lower the temperature of my HTC before calibrating. This may sound dumb but I put my diamond in the fridge for about 3 minutes in a plastic bag and after getting it out from there, I immediately do the calibration and it saved.
Would someone try this and confirm my finding.

xgigi
4th March 2009, 03:45 PM
is this post valid?

i am not sure if any1 noticed

- my calibration data can survive after soft-reset, means if i calibrate gsen with G-Sensor Calibrator, the register data is still there atfer reset

- but i manually modify the data in register, it will recover to last version

i guess the APP must write some flags/data somewhere... can we find out?

arix
5th March 2009, 12:25 AM
My G-sensor is not working at all,
I tried any calibration program and nothing help...
I tried testHTCSensorDemoAP.exe
and got:
X= unknown Y = unknown Z = unknown
Tiling Angle = unknown
Rotate Angle = unknown
Does it mean the G-sensor is broken or not connection at all with the G-sensor ?

xgigi
6th March 2009, 12:20 PM
some updates from my study. when i refreshed rom, surprise to find the calibration data from last rom still there! so calibration data definitely is not stored in rom. then I formated sotrage card, no influence... HardSPL, neither. anywhere?? maybe BIOS...:confused:

solae
15th March 2009, 09:26 PM
Hi Guys

I had many problems today to make the calibration on my Diamond work...
First i installed the App from the first site of this Thread. It didn't save the settings. Every time the Bubble go back to the uncalibrated settings. After that i Installed the Hotfix from HTC and restart the calibration. Did not work again...

Then i Installed the Hotfix before the App and it wan't work again...

After many Installations and removing I installed the App and after (like before lol...) the Hotfix and it WORKED!

I don't know why but if there has some people the same problem as I, try to Install and Remove the programms 2-3 times and test it again. Worked for me :)

BTW: If i just made something wrong and it works now, but have nothing to do with my story just ignore this post ;)

EDIT: I don't know if the settings will be saved after a Hard-Reset on my Device. I can't Hard-Reset it because i made many Custom things and i don't want lost them.

CJCOOL
18th March 2009, 10:21 AM
In the release of the new rom update from HTC the G-sensor calibrator is allready installed...:p

Mostro!!
2nd April 2009, 02:51 PM
In the release of the new rom update from HTC the G-sensor calibrator is allready installed...:p

still don' t work for me with new rom :(

oscahie
2nd April 2009, 02:58 PM
In every ROM I've tried in the last 8 months I could calibrate the sensor but after a soft reset the calibration is always gone. There's no way to make it persist...

ducati
2nd April 2009, 03:47 PM
Hi ,
I have tried every calibration tool here, from HTC,... Nothing works. Put it in the fridge, installed un-installed the tools. installed the testing software (getting readings everywhere so chip should be ok) still no luck calibrating. This is really frustrating. Even tried all (or almost all different roms.) Strange thing is that I can calibrate with kay his software perfectly, but this does not help ,because it is not setting the chip) hope this makes sence. English is my 4 th language so....

So if anyone has another idea, Please share. Or even knows how to reset the chip ?

thanks for all your help.

kallafiore
11th August 2009, 08:59 AM
This works fine with me. After calibrating I run G-config and added manila. Then reboot and vu la :D works. Easy :P

herpez
14th September 2009, 08:09 AM
On mine, Y axis is stuck.

I tried mtty and nothing...

Any other idea please?


Thanks

nin0
15th September 2009, 01:47 PM
Tried the calibrator & hotfix on every ROM i've ever had (custom & official) & it has never once worked. Are the older Diamonds different in some way? How can it be that hard for HTC to make this thing work :confused:

kof1965
19th September 2009, 08:43 PM
Here also g sensor not works, foto's upside down and explorer does not go in landscape.
Do we all have the same problems??
The vertical has the ball stuck on the calibration.

herpez
20th September 2009, 08:25 PM
Here also g sensor not works, foto's upside down and explorer does not go in landscape.
Do we all have the same problems??
The vertical has the ball stuck on the calibration.

For me, the vertical axis is not working. That makes all photos and so on upside down :(

I used an htc debug program and found that the Y axis is not working (always on the same position no matter what movement we do)

airmale-dts
21st September 2009, 01:41 AM
Hello ,

I just took a htc touch diamond but i think that it is a problem with my g-sensor because it doesn;t work at all? please please help me sugestions ...

THX

herpez
2nd October 2009, 03:35 PM
Does anyone knows where is the hardware part of the G sensor?

I need mine to work so i'm thinking of buy a new part.

Thanks

davidgiga
30th October 2009, 12:25 PM
I've got a problem with my g-sensor. the Axis are swapped (X=Y Y=X) so when I hold the device with the power button up it turns the webpage to the right and when the Power button is downside it turns the page to the left. rotate it to the left or right has no function. has anyone an idea to fix this ?

ellaia
2nd November 2009, 01:05 AM
I have the same problem.
the diamond g-sensor worked for a while. but, for some reasons that t dont know, i do not work. i downloaded a Diamond_GSensorCalibrator.cab from htc wensite, but the problem still. is it a hardware issue ???? please help