yashsingh1/xdaforums huggingface dataset:
[Desire HD Themes and Apps] bagiabanmaybay:
Which kernel are you using?

I'm Using ADRH 6.3.1 with default kernel and it never works
[Desire HD Themes and Apps] stefan8bc:
I'm having some trouble with my proximity sensor and I tried to use this program but can't get it to work. My rom is Oxygen and when I use the recalibrator it keeps stating far and when I turn the phone sideways it seems to have stopped and I must press 'start monitoring' again, and then it doesn't work. Could it be kernel/software related or is my sensor just broken and do I need to send it back for repairs?
[Desire HD Themes and Apps] sigurd_LU:
Could be kernel related. Maybe try LordModUE kernel and see if it works.
[Desire HD Themes and Apps] stefan8bc:
I could try that, but if that doesn't solve it how can I flash the original kernel back? Just flash the whole oxygen-rom?
[Desire HD Themes and Apps] sigurd_LU:
Exactly ;)
[Desire HD Themes and Apps] stefan8bc:
Unfortunately, it didn't work. Should I now send it back to HTC? :( Then I have to unroot and all that jazz...
[Desire HD Themes and Apps] wahid__:
Help me

Hello,

It's been weeks that I try to install recalibator proximity but without result!:confused:

(in call my screen will not turn off) .

there is always the error Karnell "Ps_polling_ignore_not_fond"

I installed Root Eplorer to change the rights of the file "ps_kadc" but unfortunately after installing it on my SD card I found "property" instead of "Permission":(

I executed the script "Ps_polling_not fond_ignore.txt" with root Explorer but is always the message "" Ps_polling_ignore_not_fond "

Someone to help me ...

Thank you very much ..

the information of my DHD:

Android Version: 2.3.3

HTC Sense: 2.1

kernel version

2.6.35.10-gd2564fb

HTC-kernel @ and18-12 # 1

Thu 914:20:29 CST 2011

The file "ps_kadc" contains

(B_value, C_value, A_value, X_value, THL, THH) = (0x9, 0xe, 0x14, 0xb, 0x9, 0xb)

PS: I am a novice :p

Sincerely,

Amir.
[Desire HD Themes and Apps] wahid__:
Help

so....no replay? :)
[Desire HD Themes and Apps] pashkustva:
I am willing to update my kernel to the one which allow proximity sensor to be configured.

Which one you guys could suggest?

Thanks
[Desire HD Themes and Apps] ximocko:
Hi,

Might I use this fix for HTC Sensation?!

Thanks,
[Desire HD Themes and Apps] sigurd_LU:
We first have to know what rom you're using ;)
[Desire HD Themes and Apps] acidspider:
I am using runny 4.0 and rcmix v12 kernal. Also having issues getting this to work correctly
[Desire HD Themes and Apps] pashkustva:
Installed newest Revolution HD Rom and now I am able to use this tool, but I have got another problem. After some device comes back to default values and I have to readjust again.

More surprisingly, after restart it seemed to work ( I even got a superuser message about proximity sensor calibration being granted an access) .

Did anyone experience such or similar problem?

Regards
[Desire HD Themes and Apps] mcjordan92:
Oh man this is so awsome!!

I have been suffering from this problem since I bought the phone..

tried different dialer but I just pressed different things instead..

Until I learned to shut the screen handly..

I tried your app and it worked very great !!

Unfortunately after reboot it screw the whole thing.. the sensor completely ruined and when I enter the app all the settings are back to default..

Is there any way to fix it?

This is like the most important app for me ever!

Im using ROM Virtuous Affinity the latest (about month ago..)
[Desire HD Themes and Apps] mcjordan92:
anybody? please.
[Desire HD Themes and Apps] golf12:
Try another kernel Lords kernel (any) works fine

Asop kernels http://xdaforums.com/showthread.php?t=1085725

Sense kernel http://xdaforums.com/showpost.php?p=16434385&postcount=2
[Desire HD Themes and Apps] acamarin:
Had the problem of not turning on the screen after call since 2 months ago (with ARHD, RCMix, ICS), hope this fixes things.

Thanks!
[Desire HD Themes and Apps] mcjordan92:
Yessssssssss you sir are great!

It workss! !

Finally after all these years!! Wuoh
[Desire HD Themes and Apps] acidspider:
I can't for the life of me get this to work. I change values to that when my finger is over the sensor it changes to near. Reboot and says changes have been set but still screen wont turn off. Then when looking at the app again the values are set very high. Any help.please
[Desire HD Themes and Apps] sigurd_LU:
Try the LordMod kernel: http://xdaforums.com/showpost.php?p=16434385&postcount=2

I'm using 5.0 CFS and the proximity sensor calibrator works just fine.
[Desire HD Themes and Apps] acidspider:
Excellent! Works a treat now. :-)
[Desire HD Themes and Apps] fox1978:
Does anyone have a file I can download for an unrooted dhd to recalibrate the proximity sensor
[Desire HD Themes and Apps] sachin.02:
Does this fix also solves Camera and flashlight..

My FlashLight, Proximity Sensor.. are not working and the 5MP camera is behaving worse than VGA
[Desire HD Themes and Apps] banica.alex:
hi,

can you help me explaining how to install the CFS 5.0? does it work on original ROM as well?

thanks a lot in advanced!
[Desire HD Themes and Apps] mcjordan92:
is there a way to make it work on other kernels? like Virtuous or RCMIX3D? or Leedroid

these are the only ROMs I like and if I put a LordMode kernel on them it slow the hell of it and drain my battery
[Desire HD Themes and Apps] aamadorj:
I use DHD Proximity Sensor Recalibrator with Virtuous Affinity (now with version 2.05.0 and before with version 1.48.0, both using same kernel) and it works fine after a second run (after the first run it always shows an error).

Of course running Sensor Recalibrator for a second time is annoying, but it's a workaround for this ROM.
[Desire HD Themes and Apps] leppie:
new version. ICS support.
[Desire HD Themes and Apps] Riceburner:
AM trying to use this app on a bog-standard Orange UK Rom'd DHD and getting a Permissions error :

Error when writing to ps_kadc

java.io.FileNotFoundException: sys/devices/virtual/optical_sensors/proximity/ps_kadc (Permission denied).

(plus a lot of other error messages that I don't want to re-type here!)

The Software is:

Android: 2.3.3

HTC Sense: 2.1

Buildnumber: 2.50.61.3

Have I installed the wrong version, or is there anything else I can do? The phone screen will NOT turn off during a call, I'm starting to piss my gf off because whenever she calls I put her on hold, or mute or something else without noticing. :(

Any advice?
[Desire HD Themes and Apps] leppie:
The problem is that you failed to read the requirements.

In summary: Due to HTC's kernel changes, I cannot support standard kernels. Please use a custom kernel that is known to work.
[Desire HD Themes and Apps] Riceburner:
Ok, well thanks for the app anyway!
[Desire HD Themes and Apps] shuralash:
you lucky. for me it's not work (sometimes) before recalibration was same i think
[Desire HD Themes and Apps] banica.alex:
Hi all,

can anyone confirm that this app works on "Android Revolution HD 6.3.2" ?

thanks a lot in advance :)
[Desire HD Themes and Apps] olve123:
This worked great! :)
[Desire HD Themes and Apps] banica.alex:
it worked great on "Android Revolution HD 6.3.2"!

thanks leppie
[Desire HD Themes and Apps] ATZ-007:
Thanks for the app.

Is there a way to permanently change the setting of the proximity sensor (i.e. by modifying a file) because this app always resets after a reboot?

ROM: Virtuous Affinity v2.05.0

Sent from my Desire HD
[Desire HD Themes and Apps] Timmermand:
Doesnt work on my DHD

When I run app it says "Kernel not supported - ps_polling_ignore not found" and the only thing I can do is press "Quit".

What can I do? Please help me. Kernelsystem says:

2.6.36.10-g931a37

Htc-kernel@and18-2 #1

Is there anythinh I can do?
[Desire HD Themes and Apps] Tycorc:
thx man great app!
[Desire HD Themes and Apps] nokixxx:
pleas app hd2 android? Thank you.
[Desire HD Themes and Apps] shahdeensohail:
where to download the app from?

Please help me out with downloading this application. I'm experiencing the same problem. IF you can explain me the whole procedure?
[Desire HD Themes and Apps] DeltaHF:
Great great great great ! :D
[Desire HD Themes and Apps] samjack50009:
Please Help

This blog has a DHD Proximity Recalibrator File which is a Zip File. How do I Install it on my phone?

Please help
[Desire HD Themes and Apps] magregory1985:
Thank God.....!

Thanks for this app been bugging me for past year, always thought they was a fault but no rom fixed it, but this nice simple app fixes it :)
[Desire HD Themes and Apps] mariosaraylian:
There are only really 2 things you can do with .ZIP files when it comes to these ROMS:

Unzip the file and see what contents are in the folder. If there are any EXE files that you can access and if you also see any TXT files with instructions, then open that TXT file and follow the instructions.

If you unzipped the file and you only see some system files that are only used by the ROM (files that you cannot open yourself from within Windows), then you need to transfer the .ZIP file to the root of your SD card, then boot into Recovery, and launch the .ZIP file from in there to install what it is.

---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------

Look at my most recent post here.....
[Desire HD Themes and Apps] jayantmsol:
issue with proximity sensor

i have sony ericsson live walkman, i have the same issue with my proximity sensor. when i download the app and run the app its show kernel issue error is "ps_kadc not found". Can you please help me, i am not able to end my call while calling someone. its very urgent. please do reply me as soon as possible.
[Desire HD Themes and Apps] Tiuz:
Thank you so much! You are a life-saver. searched for hours what the problem could be, found your thread via a blog.

Thanks so much again!
[Desire HD Themes and Apps] krzych:
Good app. It would be much better if it would save the values to the ROM and would not run in the background.
[Desire HD Themes and Apps] leppie:
The values are saved in the app's database. (Saving values to ROM is nigh impossible)

The app does not run in the background.
[Desire HD Themes and Apps] krzych:
Thanks for replying, that's a good news :). I thought that this app corrects proximity on the fly (that's how I got it from your description) but now I suppose it just set config values and exits, right? If so, it's flawless :D
[Desire HD Themes and Apps] lateral18:
is this app only for cm7???
[Desire HD Themes and Apps] makarand14:
New to this forum, had problems with the sensor. Rooted and installed Cyanogen Mod 7.1.0 (stable release, I'm 2weeks new to rooting)

Installed leppie's recalibarator and all works smooth until I restart the phone.

The after reboot auto thing didn't work, had to recalibarate it. (The values had reset)

Any suggestions?
[Desire HD Themes and Apps] Crusheer:
Hey, I have the "Screen does turn off when holding to face on a call, but fails to come back on, requiring taking out the battery" issue on my Wildfire S. This app, however, dosn't work on it (kernel incompatible).

Do you guys have some advice?

(I hope it's not much of an OT)
[Desire HD Themes and Apps] kiel.basa:
leppie,

I have a short question.

I've been using galaxy ace since couple of months but there's this little thing that's really irritating - when I finish a call (generally move the phone away my ear) the screen waits about 2 seconds to light up and before that i'm not able to disconnect nor use numeric keypad.

I'm using 2.3.6 kpp and here is the question - is Your app able to fix this delay ?

thx!
[Desire HD Themes and Apps] carisuno:
dude

Thank u so much. I've been trying this app 10 months ago, but I couldn't get the sensor to work properly... now I've been reading through the whole thread again and got it working at low 4 and high 7... before that the sensor always responded with far and I've been thinking for the last 10 months that the sensor was broken... anyway thank u once again.
[Desire HD Themes and Apps] krzych:
I just got here again to say it's a really good piece of code! :D Thank you again :D
[Desire HD Themes and Apps] zenga:
My sensor is always far, and never turns screen off. Low is 18 and high is 19.

What can i do?

Thanks
[Desire HD Themes and Apps] makarand14:
The App lets us modify the low and high settings. if you have 18 and 19 set when you open up the app, its the default setting.

Change to lower values (app works this way)

low 6 and high 9 works for my DHD
[Desire HD Themes and Apps] leppie:
Thanks for all the info. Unfortunately, I have no idea why you are having issues.

Try uninstall/reinstall app maybe?

Maybe SuperUser is 'broken' ?

If you feel confident, grab the source, build and debug it on your device. That is the only way to really see what is going on.

Alternatively, ask you kernel provider to make the permissions more lax on ps_kadc. IIRC 666 is ideal (wont require root).
[Desire HD Themes and Apps] leppie:
I had to recently 'up' my thresholds as my phone decided not to turn back on after a call. Was using 5-7 for a year now, and suddenly I have to use 7-9.

For easy calibration:

1. Put both values high (will show FAR).

2. Cover sensor with finger.

3. Lower High threshold till it says NEAR.

4. Lower Low threshold by a notch or 2.

5. Test behavior
[Desire HD Themes and Apps] makarand14:
I just tried your easy calibration tips! Ohh boi!

Started app, started monitor, i put both values at 255.

put my finger upon the sensor and it reset right back to the preset values.
[Desire HD Themes and Apps] leppie:
No idea how that happens. I dont change the values of the sliders except when the app UI starts. So if it changes after automatically, something else is interfering.

Will go thru the source code again to see if I forgot something.

Edit:

It seems the values do get read occasionally. But if it is getting changed like your's, something is modifying it somewhere else.

What kernel do you use, and can you provide a link to source code to see if the patch has been implemented correctly.

It might be due to changes made by HTC in newer kernels are affecting it.
[Desire HD Themes and Apps] neo.power:
i try it now.... very thanks
[Desire HD Themes and Apps] zenga:
Sudently it started working.

Don't ask me how but it's now working:confused:
[Desire HD Themes and Apps] makarand14:
I rebooted and the problem disappeared, now the app works as intended (doesn't change the values by itself)

I use the CyanogenMod-7.1.0-DesireHD with android 2.3.7

kernel = 2.6.35.14-cyanogenmod-g9e5cdf1android@portatile # 1
[Desire HD Themes and Apps] makarand14:
Silly me! I installed the app on SD card. Moved it to phone and all works flawless! Cheers!
[Desire HD Themes and Apps] leppie:
Ahhh! Good catch! :D

I will see if there is some setting to prevent that :) (UPDATE: Release new version to prevent this type of thing ;p)

Might be the cause of the weird problems others have experienced (besides a 'reboot' fix).
[Desire HD Themes and Apps] Henfah:
Problem with ps_polling_ignore not found

Hi.

I am running factory Android 2.3.5 and I get the message in the header when I am trying to start the application. Does anyone know what's wrong?
[Desire HD Themes and Apps] Keioboy:
Same problem.
[Desire HD Themes and Apps] spyderbvg:
HI, i install the apk, and i have this error: "ps_kadc not found" i'm using CM7.1, phone is desire, please give a solutions my phone is killing me with this black screen
[Desire HD Themes and Apps] krzych:
Hmm, it seems you are not quite right. App is running after boot. I do not know why, is it android keeping it alive or your app waits for something, but it's just happening. Screenshot below.

Never knew I can grab a source of it. SUrely I will compile it by myself with some more debugging, I'm a dev too ;). When I find the problem, I'll post you about it. Thanks for helping :).

PS. It is not superuser app - I just changed it to superSU and result is the same. Kernel is ok too because after boot it works, and kernel stuff is initialised much more earlier than even init starts, But I'm not expert that much to be 100% sure, I'm only 99% sure ;). Maybe Android has permission script run after boot - it this is the case, I will have to find a way to wait for this to happen.

======EDIT========

Hmm, I'm lost... Are the sources actual? Because... after boot now I achieved a result that the application runs, sets proper values but it also _starts_gui_ ?! (which I think I never saw before and it's quite not proper... annoying even). Am I missing something or ... I don't know. I'm totally lost now :)
[Desire HD Themes and Apps] tuncays44:
Please support more kernels
[Desire HD Themes and Apps] bogddy87:
DHD

Hello,

I have a problem with my sensor. I had tryed a few ROM's but non of them make any changes. I think i have a hardware problem cause sometimes my sensor work when i have a phonecall but only for a second or 2. After that display turning on again an remain on till i finish conversation. Sometimes display it's turning off but...remains off. It will wakeup if a hit any key ( i use volume button to make that ) but sensor doesn't work properly....

Can i repair somehow that strange thing?? :(

Thx guys:(
[Desire HD Themes and Apps] krzych:
About my issue - have no phone to test it already. Joined ICS testing team ;P. On ICS all works fine.
[Desire HD Themes and Apps] adchesney:
I have a problem with my HD2 proximity/light sensor – the light sensor is damaged (apparently two resistors broken). Thus when I use the phone to make call the screen goes off and I can’t get the keyboard on screen again – hence no way of using automated phone systems or even retrieving my voicemail.

I have recently flashed from Wm.6.5 to ICS 4.01 – and this works great but does not fix the proximity/light sensor problem.

I cold not get your Appto run, is there any way to fix the problem – I don’t mind the phone being on during a call (I know battery life will be affected), but at least I can continue to use this great phone. I'm happy to purchase a fix...just let me know.

ANDREW
[Desire HD Themes and Apps] Beamen1:
I fixed it! I started having problems a while back. The screen didn't turn off when I was in a phone call. It got worse and worse until I had the settings down to 5/6.

The kernel I have is not fully supported, so after each reboot I had to start the program 2 times to get it to work.

I took the phone apart - How to here: http://www.youtube.com/watch?v=2Zc0k994Pl4

Do everything until 2:27. Clean the proximity sensor and the surrounding areas and put it back together. It works like new now :)

I also did the GPS fix by connecting a wire between the antenna contacts inside the LED cover. 10 satellites now!
[Desire HD Themes and Apps] Cako_SK:
Help please, my galaxy S3 write Kernel not supported - ps_kadc not found :( I have original android 4.0.4
[Desire HD Themes and Apps] leppie:
Please learn to read. This is only for Desire HD.

Send me a Galaxy S3, and I will see what I can do, no promises, and I get to keep the phone. Deal?
[Desire HD Themes and Apps] Cako_SK:
Oh, sorry my english is very very bad... My proximity senzor not good working. I call, mobil give ear, turn off display... But not turn.

I try "move activation" turn on "direct call", info and test, not work...

But i cal *#0*# and test sensors, proximity sensor write: PROXIMITY: 1.0 ADC: 20 (19,19,20)

covered sensor my finger: ADC: 232 (231,232,233)

Hmm it should work.... somehow try calibrate it my idea
[Desire HD Themes and Apps] leppie:
Send me a Galaxy S3 then. You understand that?
[Desire HD Themes and Apps] oliv615:
Hello,

After a while, I must again change the write permissions of the file (ps_kadac) and start over. But it does not matter! Thank you for this app!

:laugh:
[Desire HD Themes and Apps] nqk:
It works with Jelly Time Rom. Thanks for the app.
[Desire HD Themes and Apps] Saluco:
Kernel

LK kernels v5.0 works very good for ARHD user

we try to raise trhe issue to Klquicksall maybe when he will have some time will patch his RCMIX kernels

TNX LEAPPIE for your tool
[Desire HD Themes and Apps] IroD:
I fixed this problem too :)

Clean the proximity sensor!
[Desire HD Themes and Apps] daedric:
I've seen you proximity sensor calibrator source, and noticed that ou meddle with ps_kadc.

There are several roms with a extremly uncalibrated light sensor, and there's a similar file, ls_kadc.

You think you could make such software to calibrate light sensor ?
[Desire HD Themes and Apps] digitalghostt:
This app is for rooted devices or it is working ot stocked too?
[Desire HD Themes and Apps] leppie:
It used to work unrooted on the really old firmware. Then HTC broke it.

I had to give kernel developers a patch, so yes, you must be rooted and running a supported kernel.
[Desire HD Themes and Apps] Roberto_Lim:
I seem to be having the same issue.

DHD on Blackout ICS v3.
[Desire HD Themes and Apps] leppie:
Uninstall, and make sure you run the latest version. I have seen some ROM links to the old version still.
[Desire HD Themes and Apps] iphonoid:
Thanks for this fantastic app leppie (been using it on every ROM on my dhd since it came out). It recently stopped working however :( but after reading around a lot of posts said clean the sensor. I took my phone apart, gave it a good clean, now it works perfectly again. (Tested on 4.1 AokpB4) thanks!
[Desire HD Themes and Apps] lyaline:
Hope this app solve my problem,thanx anyway.

sent from my Dhd
[Desire HD Themes and Apps] tonylee000:
This is problem that has plagued me for a year and half now. My second DHD had this issue and htc fixed it only the problem reoccured soon after and didnt want to lose my phone another week to ten days for them to fix it again so haave been using the power button to turn the screen on and off ever since. Rooted my phone a year ago and recently started using the new blackout Rom last week and decided to do a bit more research on it. Found this app mentioned in a lot of posts and is supposedly available on the play store but couldn't find it. I'm assuming now that its because this Rom is ported from an Incredible S and appears to the play store as that phone not a dhd, maybe the restrictions on the app can be relaxed for the play store so all dhd users can find it but obviously state that its only for dhds or which devices it works on?

I found that the values that worked for my phone was low set to 2 and high set to 6. Massive thanks to leppie for this amazing app!
[Desire HD Themes and Apps] vaskopes:
I'm on a latest Nik Project X v4.1 ROM and have installed this Recalibrator app v1.8.

When I oppened for the first time after installation of the rom was set to 30/32 I think and have changed to 4/6. Works great BUT till reboot, than again back to 30/32.

Must say that before on other ROMs was working like is stated in OP, was staying on the 4/6.

Is it maybe something with Kernel 3.0 related?
[Desire HD Themes and Apps] Stoffl_:
Same here, using v 1.8 on Lords ICS Rom 8.5
[Desire HD Themes and Apps] geko1966:
Outstanding App Leppie!!! BIG Thank You for this and keep up the great work!

:highfive:
[Desire HD Themes and Apps] fuzzyslk:
super!

omg! thanks soo much! now i dnt hv to keep locking my phone as i dial a call!

works well on dHD, had to install app, restart phone and then calibrate.
[Desire HD Themes and Apps] chachoi:
will there be a chance this would work on my phone?

Android version: 2.3.3

HTC sense: 2.1

Kernel : 2.6.35.10-gd2564fb, htc-kernel@and18-2#1

Software number : 2.50.405.2

I tried installing version 1.7 and 1.8

but notified me my kernel is not supported

Im not running a customROM, this is sense official 2.3.3

and my problem is the display does not turn OFF when I make a call, it's always ON

as a result I can't use Proximity apps like SMART SCREEN OFF
[Desire HD Themes and Apps] Roberto_Lim:
Is your phone rooted?

Sent from my HTC Desire HD powered by Ice Cold Sandwich 8.6.1
[Desire HD Themes and Apps] chachoi:
yes rooted but with S-on

i did not use AAHK as it doesnt work for me

I used www.unlockroot.com to root my phone
[Desire HD Themes and Apps] leppie:
It should work :)

Try it, if it does not work, just uninstall.

Leave me feedback, so I can inform DZ/G2 users.