yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] Susurs:
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....

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

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
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
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 :)
[Touch Diamond, MDA Compact IV Themes and Apps] Susurs:
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....
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
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...
[Touch Diamond, MDA Compact IV Themes and Apps] pokevitek:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] niemand101:
Trying here, no luck yet
[Touch Diamond, MDA Compact IV Themes and Apps] Antimus:
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
[Touch Diamond, MDA Compact IV Themes and Apps] indran78:
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
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
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...
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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.. :(
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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.. :(
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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.. :(
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
Please delete! (Double post)
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] pokevitek:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] kultus:
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:
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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?

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.
[Touch Diamond, MDA Compact IV Themes and Apps] Sergio PC:
Always following your work great!
[Touch Diamond, MDA Compact IV Themes and Apps] puredreamz:
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!
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
How many degrees where your device off in calibration?
[Touch Diamond, MDA Compact IV Themes and Apps] surface_rom:
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
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
Yeah that is also what i have been thinkin..
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
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...
[Touch Diamond, MDA Compact IV Themes and Apps] fuorionda:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] dutch64:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] wonderiuy:
I confirm the calibrator working on the new Original ROM 1.93 ITA

Setting kept also after reset
[Touch Diamond, MDA Compact IV Themes and Apps] antagon:
a lot of users write the angle 15-16-20. I dont understand: how they measure it? My calibrator shows only pictures without numbers.
[Touch Diamond, MDA Compact IV Themes and Apps] Artyaw:
With another tool http://xdaforums.com/showthread.php?t=408056
[Touch Diamond, MDA Compact IV Themes and Apps] antagon:
Yes! I did it!

Instruction:

1 - set all register calibrate settings on 0 in hklm/drivers/bultin/gsensor

2 - run gsensorcalibrate.

3 - calibrate
[Touch Diamond, MDA Compact IV Themes and Apps] Noam23:
There are many entries inside this directory, which should we put on "0" ?
[Touch Diamond, MDA Compact IV Themes and Apps] Susurs:
Has all of you who did hard reset done just hard reset or hard reset with NAND flash clean?
[Touch Diamond, MDA Compact IV Themes and Apps] sakky:
yes working and saving calibration after soft reset! :)
[Touch Diamond, MDA Compact IV Themes and Apps] Alfredos:
Works on my device

oeps, no it doesn't
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
Do you set ALL strings to 0 or just some of them in that directory?
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
**** ! 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..
[Touch Diamond, MDA Compact IV Themes and Apps] puredreamz:
My diamond was about 9-10 degrees off before I calibrated it
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
Okay and it calibrated right away ? Could be because it was within the 15 degrees threshold..
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
Okay i have tried that now and that does not work.. :( But we need to know what in the register you set to 0?
[Touch Diamond, MDA Compact IV Themes and Apps] pokevitek:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] Hennes19:
Yes!

After applying 1.93 GER my diamond "calibrated itself"

on a flat surface, nothing moves when starting teeter!!
[Touch Diamond, MDA Compact IV Themes and Apps] puredreamz:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] pokevitek:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] pokevitek:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] tretre:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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.. :(
[Touch Diamond, MDA Compact IV Themes and Apps] imranbashir_uk:
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...
[Touch Diamond, MDA Compact IV Themes and Apps] kenshironanto:
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...
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
how many degrees were you device off before you calibrated? sounds like this will be a go for me.. :)
[Touch Diamond, MDA Compact IV Themes and Apps] Chatbox:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] kenshironanto:
Hello,

not really, i just press calibrate, i was @t 12 degre.
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
It could still be that 15 degree threshold.. How many degrees are your gsensor off?

Have a look at this ..

His was 12 degrees of which is below 15 degrees.. it dosnt work for me either and mine is around 20 degrees of..
[Touch Diamond, MDA Compact IV Themes and Apps] swiftgs:
strange things

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 ****, 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
[Touch Diamond, MDA Compact IV Themes and Apps] M3rl1n0:
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
[Touch Diamond, MDA Compact IV Themes and Apps] Ruedbert:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] mass82:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] Ruedbert:
Thanks, but it doesn´t work too.

I think it depends on the ROM.
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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..
[Touch Diamond, MDA Compact IV Themes and Apps] Ruedbert:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
It has allready been tried out which doesn't help.. But give it a go if it works for you nothing makes sense.. :P
[Touch Diamond, MDA Compact IV Themes and Apps] pgriffith:
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
[Touch Diamond, MDA Compact IV Themes and Apps] dutch64:
lol, tried that also, even burned candles around my phone while it was being flashed, nothing helped so far:)
[Touch Diamond, MDA Compact IV Themes and Apps] kenshironanto:
haha,

:D
[Touch Diamond, MDA Compact IV Themes and Apps] pgriffith:
even burned candles around my phone ....... lol good one :)

What about in the centre of a pentacle drawn with chicken blood hehe
[Touch Diamond, MDA Compact IV Themes and Apps] MasK:
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.
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
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..
[Touch Diamond, MDA Compact IV Themes and Apps] Black93300ZX:
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. ;-)
[Touch Diamond, MDA Compact IV Themes and Apps] xep624:
perfect!

Hi,

thanks a lot! It worked perfect for me.

Got the official HTC ROM.