yashsingh1/xdaforums huggingface dataset:
[Desire HD Themes and Apps] Roberto_Lim:
Let's see if we can figure this out. What ROM are you running?

Same error message as above?

Sent from my HTC Desire HD
[Desire HD Themes and Apps] krzych:
Still happy using your app despite I do not really have to, because my sensor is nearly best calibrated, but I just adjust it to best :D Nice job man :)

And why cannot it be for other phones with the same chipset? (are there any phones with the same chipsed but Inspire? :D)

PS.

By the way people, do not copy any *.diff.txt files onto you rom boys, diff is a tool to compare files, and diff.txt as it looks is a result from such diff. Copying it anywher will do nothing :D (but harm only if anything)

By the way, flash the kernel which supports ps_polling_ignore and you should be good. If it's Sense DHD, try Blackout ICS rom or if only kernel - Virtuous one, and if it's ICS, I can advice Ice Cold Sandwich, for JellyBean, JellyTime and so on. Do not know anything about AOSP kernels so far, but Existz's one (aospX rom) should be good as far as I know.
[Desire HD Themes and Apps] Roberto_Lim:
Confirmed. Works fine with aospX 1.0.0-MR1.

Sent from my HTC Desire HD
[Desire HD Themes and Apps] bultack:
I will test this app and I will tell the problems
[Desire HD Themes and Apps] alaci:
Thanks, I'm trying...
[Desire HD Themes and Apps] glintings:
Having the exact same problem myself, running the OTA update of Android from HTC on my Desire HD.

Do I need to root to get this app to work?
[Desire HD Themes and Apps] leppie:
Protip (and valuable life lesson): If you can't read and understand what you are doing, then dont even attempt it.
[Desire HD Themes and Apps] glintings:
Cheers buddy! :good:
[Desire HD Themes and Apps] galiato:
Meanwhile I've tried a new ROM - the last one is Sabsa Prime 8,5 - and the DHD_Proximity_Recalibrator-1.10 is helping me again.
[Desire HD Themes and Apps] brandub:
Thank you so much! I've used this on many roms, currently on pacman v15.

Usually I've set the max to 22 bit on pacman its down to 11, I was worried that the rom didn't support the sensor :p
[Desire HD Themes and Apps] unbeteiligter:
Thank You!

I use JellyTime ROM from Randomblame, and my Prkximity Sensor now finally works again !! :thumbup:
[Desire HD Themes and Apps] kurtph1969:
Hi, I'm also coming from the same thread and i just wanted to thank you for this neat fix. My proximity sensor has never worked so well until now :D
[Desire HD Themes and Apps] (HEROo):
Yes

It's work! Thanks ... cfX
[Desire HD Themes and Apps] waelwa:
thanks man ............. great job
[Desire HD Themes and Apps] snooffy:
Wow, thanks a lot man! Thought that the proximity is broken in the ROM I'm using, but your app fixed it. Thanks!:good:
[Desire HD Themes and Apps] vidaqui73:
also works for galaxy nexus?
[Desire HD Themes and Apps] basscowboy:
Brilliant !!!

Works great on my old Desire HD running Sabsa Prime v9.

Great work.

Thanks!!!

:):):)
[Desire HD Themes and Apps] nj.nikunjjain:
I can confirm working on 4.2 (codefireX)
[Desire HD Themes and Apps] major fecker:
Great Job

Thanks Leppie, after a few weeks of my ear doing all sorts of annoying things during calls I was watching DHD disassembly videos which terrified me, but two minutes with ur app solved the problem, Prox sensor working perfect again. Cheers.
[Desire HD Themes and Apps] skateman274:
if i recalibrate and then delete the apk will it go back to the old settings?
[Desire HD Themes and Apps] tonylee000:
The app resets the setting every time the phone starts so ensure your phone works how its meant to. If you delete it, then it will be how htc intended it (not working). Keep it ! Leppie did what htc couldnt :)
[Desire HD Themes and Apps] Zupy1:
Finnaly I fixed the last important issue on my Desire HD - great work men :laugh::good:
[Desire HD Themes and Apps] oran3e1:
:(

I think my proximity sensor is broken (or dirty and cant clean), it constanstly says FAR and nothing changes it :(, ive reinstalled and allowed in superSU and Superuser please tell me something is wrong and my sensor isnt broken?
[Desire HD Themes and Apps] NiCk.JaY:
Try lower value 5 and upper value 6

Sent from my Desire HD on steroids by synergye
[Desire HD Themes and Apps] chatonveca:
Hi,

Sorry for my very bad english, I'm french,

since some days its not working correctly for me.

I always use lower value 3 and upper value 4, it tell me FAR, and if I approach my fingers, it tell me NEAR, but, since some days, it always tell me FAR.

If I use 2 and 3 instead of 3 and 4, it always tel me NEAR...

If I use 2 and 4, it tell me FAR, when i put my finger on the sensor it tell me NEAR and it never return to FAR when I put out my finger...
[Desire HD Themes and Apps] yavorm:
the same for me but by values 2/3

Exact the same problem but the values for me are 3/4.....

wondering if anybody can help us..
[Desire HD Themes and Apps] dreamland2000:
I have just changed mine to low = 5 & high = 6, i tried others but they kept messing the screen up and these seem to work best.
[Desire HD Themes and Apps] tonylee000:
The values that work for me are 4/6. If its working somedays but not others then that suggests it dirty/faulty to me. Try giving it a clean with a alcohol wipe :/
[Desire HD Themes and Apps] unbeteiligter:
For it seems to work best with low = 4 and high = 5

I had set the "low" value to "3" before, but then it sometimes happend that the screen didn't switch on after holding the phone to the ear.

It seems to me, that the sensor works less accurate as older my phone gets...

... wondering if it would help to disassemble the phone and clean the whole thing?

Perhaps it's just some dirt or dust inside that causes the sensor to fail... ?

Does ayone have experience regarding this?

Greetings from Cologne...
[Desire HD Themes and Apps] tonylee000:
Dissassembling tge phine and properly cleaning the sensor used to be a common suggestion for people struggling with it until leppie worked his magic.
[Desire HD Themes and Apps] jamezk:
Galaxy S III

Doesn't want to install on my new Sprint Galaxy S III. My case causes the screen to go off during any call, so have to disable it until I find another solution. :(
[Desire HD Themes and Apps] tonylee000:
Your in the wrong forum buddy, HTC DHD only for this app :)
[Desire HD Themes and Apps] unbeteiligter:
Thanks for your Answer,

Sorry for a little OT, but cause we've already mentioned it here:

Could anyone please give me a link to a good disassembling guide?

Just in case if you know a good one....

If not I am willing and able to use search by myself...

;)
[Desire HD Themes and Apps] lenarosso:
5/6 works fine 4 me.

Thank U. Nice app.
[Desire HD Themes and Apps] beerfly:
Sadly , doesnt work with kernel version 3.0.55-BeastMode-v1.5-MOD-v.0.1 ... when install and open the app it says Error running exec(). Command:[su] Working Directory: null Envorinment:null . Kernel not supported. :/ gotta fix this . thanks
[Desire HD Themes and Apps] nickza:
Doesn't work for me either... my sensor hasn't worked for about a year now. Very frustrating. Tried apps that use the light sensor but they're just as frustrating as not having a sensor.

I do believe its a hardware issue on my phone due to the fact that sensor programs that test the sensors cannot pick up the proximity sensor.
[Desire HD Themes and Apps] beerfly:
EDIT: works on sabsa prime v12 Final , obviously kernel is changed and now everything is fine.
[Desire HD Themes and Apps] ramkumar2000:
Not working on FullySamsung-1.0.0

Nothing happens when i move my finger over the proximity sensor, is it a hardware problem ? I guess this is a Hardware problem thats why no Proximity calibrating app is helping me out..:(
[Desire HD Themes and Apps] tonylee000:
The value didnt change from far to near until id changed the numbers down to 4/6
[Desire HD Themes and Apps] stevie-c:
Realy?

I have Sabsa prime 12 (kernel 3.0.57-BeastMode-v1.5-MOD-V0.3.3-g7a07aab-dirty) and still get the "Kernel not supported" message with the latest version of the DHD proximity app (DHD_Proximity_Recalibrator-1.10.apk)
[Desire HD Themes and Apps] beerfly:
Yes, it works fine with me. I use Sabsa Prime v12 with same kernel as yours and proximity recalibrator works just fine .
[Desire HD Themes and Apps] AnumEndzeit:
Thank you for the app but.. how do you go from 1.9 to 1.1? o.O
[Desire HD Themes and Apps] nidany:
trouble

Refuses to install on LG nexus 4, 4.2.1 JOP40D. This device is plagued with proximity sensor problem: Screen turns black when making a call - unless intensely illuminated.
[Desire HD Themes and Apps] tonylee000:
Its not made for the nexus 4
[Desire HD Themes and Apps] ramkumar2000:
I am currently using SuperGalaxy 1.0.0-BR9 and proximity calibrator always shows far. Any ideas..?
[Desire HD Themes and Apps] tonylee000:
Take ypur values down to 1/3 and if it still says far when you touch it it may need a good clean
[Desire HD Themes and Apps] brtani:
To me works great, I set 4/6
[Desire HD Themes and Apps] BillzillaAus:
How do I do that?

Is this one the same thing? https://play.google.com/store/apps/...yZWRpY29udHJvbC5Qcm94U2Vuc29yQ2FsaWJyYXRvciJd
[Desire HD Themes and Apps] tonylee000:
No thats not it. Check the op on page 1 for the download link :)

---------- Post added at 12:56 PM ---------- Previous post was at 12:55 PM ----------

http://xdaforums.com/attachment.php?attachmentid=1356771&d=1348683727
[Desire HD Themes and Apps] alibabba:
Fixed the problem with the sensor on my DHD with CM10.1 :good:

It didn't fix it in first place, but after some reinstalling 4/2 velues work fine for me.
[Desire HD Themes and Apps] BillzillaAus:
I can see the download link, I don't know what to do with it.
[Desire HD Themes and Apps] tonylee000:
Using your phone, tap the latest (v1.10) download link, that will download an APK file to your phone (make sure 'unknown sources' is ticked in your security settings first) when its finnished downloading it will prompt you to install the apk file. Once installed open the application from your app draw and play with the high and low values until the sensor works correctly. The values that work for me and from what ican tel work for most people is high - 6 and low - 4 but can vary.

---------- Post added at 09:10 PM ---------- Previous post was at 09:08 PM ----------

V1.10: http://xdaforums.com/attachment.php?attachmentid=1356771&d=1348683727
[Desire HD Themes and Apps] BillzillaAus:
Ah yes that did it, thanks.

(It also reminds me how annoying using the phone is to look at forums ....)
[Desire HD Themes and Apps] tonylee000:
Dont know mate, apart from the very rare occassion ive only ever used my dhd and now my gn2 to use the forums so is easy for me. There is an xda app available for android btw :)
[Desire HD Themes and Apps] PhilippeSelhorst:
Samsung galaxy S2 recalibrator?

Hi Leppie,

Interesting program you have there. I have a similar problem with the sensor on my samsung g s2, it isn't broken but detects something near even if there isn't (value of 9 when it should be 0) Hence I need to recalibrate it. Isn't it possible to make this program to work for the SGS2 too instead of only the HTC? As I'm a complete layman regarding these things I don't know how much work this means, but I've looked everywhere on the net and no calibrators exist for the SGS2. So I could as well just ask it... I'll be willing to reimburse you. There are a lot of people here with the same problem, so it might be a useful and/or become a popular app among SGS2 users

My Phone is a rooted SGS2 I9100 with android 4.04 XXLQB and dreamkernel v2.7.3

Many thanks in advance
[Desire HD Themes and Apps] tonylee000:
You have tried cleaning your sensor with rubbing alcohol or something similar?
[Desire HD Themes and Apps] yunaygul:
Good...
[Desire HD Themes and Apps] PhilippeSelhorst:
Thanks for the answer!!

Yes I've tried to clean it also with alcohol. It just badly calibrated. As with other people here on this forum I've noticed that when I hold it in strong direct light, the sensor works perfectly and a value of 0 is obtained but under normal light (indoors) it will read 9 in +#0*# mode which means it detect something. Below 9 it works fine, I'm just on the lower limit of the calibration I suppose.
[Desire HD Themes and Apps] keattila:
htc one x problem

I have a htc one x, my proximity sensor does not work (it is clean)

installed the app but this is what I get upon startup : "Kernel not supported - ps_polling_ignore not found"

Is this due to the HTC Sense Kernel? Is there a way around it?

thks
[Desire HD Themes and Apps] tonylee000:
Its to do with it being a one x kernal. You need a dhd kernal. And rom.
[Desire HD Themes and Apps] homie3250:
No effect

I tired this app for calibration but unfortunately nothing happened. :(
[Desire HD Themes and Apps] ramkumar2000:
Hello, i have tried this app with many many ROMs but still no luck..it always shows as far, so may be i need to clear the sensor...? but i dont know how..? do i need to open my mobile..? or just from outside..?
[Desire HD Themes and Apps] taticuio:
Thx

Works good on my DHD, Thx a lot :)
[Desire HD Themes and Apps] superbeast_87:
Thanks

Worked great form me on CFX 4.2.2!
[Desire HD Themes and Apps] Shoppey:
Just awesome!

Just wanted to say THANKs! :D

Had issues with this since the phone was new but just recently it got hell of a lot worse.

This fixed it easy as pie :)
[Desire HD Themes and Apps] tonylee000:
Its been a big problem on the dhd, make you wonder why htc couldnt manage such a great solution themselves! They should hire leppie :)
[Desire HD Themes and Apps] jhpianist:
Thank you for this app!! I have hated talking on the phone for months because the sensor never turned the screen off when the phone was up to my ear... I'd always end the call to find that several buttons/settings/etc had been pressed or set and that was a real pain. This app solved it completely and I'm pretty excited!

Thanks!!!!
[Desire HD Themes and Apps] ThunderDesire:
Thanks for the guiding path, I will give a try...
[Desire HD Themes and Apps] Boneyy:
Thx
[Desire HD Themes and Apps] Gio_ital:
R: [APP] DHD Proximity Sensor Recalibrator 1.10 (26-Sep-12)

Works great for me

Used with Sabsa prime, Blackout and Jellytime

Low - 9

High - 11
[Desire HD Themes and Apps] savo86:
Hi, I've just installed CM7 Nightly on my Milestone and the app doesn't start because of kernel error. Previously I installed a newer mod but had the same problem. Please somebody tell me what version/mod should I install so this program will work. I have trouble with my proximity sensor and I want to fix it. Thanks in advance.
[Desire HD Themes and Apps] PHOENIX-9:
dose it work for sense ROMs??
[Desire HD Themes and Apps] tonylee000:
Yes. Almost any dhd rom. On a dhd
[Desire HD Themes and Apps] rongati:
a problam with the Karnel

Thank you

but it says than the Karnel don't support

my carnel:

3.0.56-Beastmode-v1.5-MOD-V0.2

can I do something ?
[Desire HD Themes and Apps] coolpixs4:
+1

Do all the values keep remain at calibration process after reboot and if we uninstall without wipe data ?
[Desire HD Themes and Apps] beerfly:
Anyone using Sabsa Prime v16 ? I have error for kernel that is unsupported by Proximity Sensor Recalibrator, so I need to know which kernel is siutable for the new version. Please tell me :? :)
[Desire HD Themes and Apps] tonylee000:
Im on Sabsa Prime v16 with Proximity Calibrator v1.10 with no problems at all (im using the kernal hat comes with the rom. Havent changed anything)
[Desire HD Themes and Apps] irfan_omi22:
Does my DHD need to be rooted to use this app? I have proximity sensor problem, screen doesn't go black while calling.
[Desire HD Themes and Apps] tonylee000:
You tell us! Give it a try and report your findings :)
[Desire HD Themes and Apps] paaja:
Manual cleaning proximity sensor with air compressor

I also had the issue with proximity sensor. I tried to recalibrate with this great tool but I had tresholds 2/3 :(. I didn't want to dismantle Desire HD to clean it. So that I tried to use an air compressor to do the cleaning - I mean without dismantling the phone. Guess what, it worked! The compressor was pressured to 10 atmospheres and the output of the compressor was directed to the proximity sensor from the front and then from left side of the sensor through the speaker holes. I hope it helps somebody ;)
[Desire HD Themes and Apps] AJH101:
Stock Rom

Hi I am running a UK T-Mobile stock ROM (rooted). I know I could flash alternative ROMs/Kernels but I wonder if there is another way around a "Kernel Not Supported -ps_kadc not found" error? Thanks
[Desire HD Themes and Apps] taticuio:
For those who need more info my settings like these:

Low -6

High -8

Works very good on viper.

Thx dev.
[Desire HD Themes and Apps] kondrat23rus:
as this program utanovit on HTC ONE? very necessary!!
[Desire HD Themes and Apps] kondrat23rus:
how to install this software on HTC ONE? very necessary!!

tell me where to get the optimized program for HTC ONE?
[Desire HD Themes and Apps] Blindie:
UPS
[Desire HD Themes and Apps] tonylee000:
Have a look in the htc one forums. You wont find it in the dhd forums ;)
[Desire HD Themes and Apps] dvhttn:
I'm running AOKP 4.2.2 on my DHD. Sensor has been fine until recently (not sure if it first didn't work with this ROM or a previous one). However, just seen this post as the re-calibrator doesn't work on the ROM and the above situation is happening with mine. Do we have a way around this?

Thanks.
[Desire HD Themes and Apps] tonylee000:
Cant really remember what I did to fix this. Maybe installed the new version 1.10. I remember thinking it was a corrupt file system or something, try a nandroid then wipe and start over. Never had an issue with v1.10, worked on everything ive tried it on so havent explored any issues regarding it

Edit: Havent used my dhd with 4.2 as a daily driver so cpuldnt really say about those jb roms but im pretty surr I had it installed with jellytime 4.2 r8 without issue
[Desire HD Themes and Apps] tejendra6955:
I Can't install the application, pls. help:rolleyes:
[Desire HD Themes and Apps] dvhttn:
Got 1.10 installed so something else. I'll try looking in to why this recursive loop happens .......
[Desire HD Themes and Apps] tejendra6955:
worked ......................
[Desire HD Themes and Apps] dvhttn:
Seems with the AOKP release I'm using that the 'subsystem' folder is actually a symbolic link - pointing to '/sys/devices/virtual/optical_sensors/proximity/../../../../class' (according to my file manager). Anyone know what it should be really?

UPDATE: just checked the wife's Wildfire S running Android 2.'something' and that's the same ..... hmmmm. Maybe this is a wild goose chase ....
[Desire HD Themes and Apps] Xiamen:
"Kernel not supported - ps_kadc not found" ... with Galaxy Note 2 model N719 - Stock - Rooted (4.1.2) Kernel version 3.0.31 - 999893.

:crying:
[Desire HD Themes and Apps] tonylee000:
Yes its for the dhd only as stated. Your having problems with the proximity sensor on the note 2? I havent had any issues with the note 2 but have probably only tried 6 different roms on it
[Desire HD Themes and Apps] Xiamen:
Yes with the Note 2. Saw similar issues with other make and models (HTC etc.) but am convinced it's not maker specific. Prox sensor stuck "near" when activated when in low ambient lighting. Under bright ambient lighting or shining a flash ligh, the sensor would work the way it is supposed to. Sad: tried many apps and calibration tool I could find but no luck... Sorry my issue is not about specific ROM but I begin to think it's Jellybean or Jellybean-based stuffs...
[Desire HD Themes and Apps] tonylee000:
Give the sensor a good clean, alcohol wipes or something, I havent had any problems myself with the note 2 (mine is a n7100 though) but the dhd didnt make any difference what rom I used, it was always the same problem, weather it be gb ics or jb, and this app worked perfect. It should be included with all dhd roms imo.
[Desire HD Themes and Apps] tejendra6955:
Pls. help,

I have previously installed it, but now it throws error that " Installation aborted"
[Desire HD Themes and Apps] mohammadyaseen:
Thanks

Thanks a lot your are the best
[Desire HD Themes and Apps] kao1994:
Thanks Helped me a lot.:laugh:
[Desire HD Themes and Apps] fosfato:
I got only "near" when I put the low sensor to 0 and then it doesn't go far anymore. So I guess my proximity sensor is dead? :( Using ViperDHD 2.3.0 ROM on HTC Desire HD.
[Desire HD Themes and Apps] samg42:
In many cases it is not a matter of software but hardware. Maybe someone in the forum has already said, but in my case I had to remove the case back and clean up the proximity sensor (which is placed under the metallic net next to the light sensor) because it was full of dust.

To remove the back cover (the aluminum) you can follow this video up 2.45 per minute. Obviously you must have a Torx screwdriver (or one small dish) and a bit of manual work;)

http://www.youtube.com/watch?v=MDBt2f0Y10E

In addition to cleaning the sensor board also clean the back cover, and all the rest, as the dust gets everywhere.

I recommend careful when removing you never know.
[Desire HD Themes and Apps] RealMcoy:
hey everyone right nw this is the problem i'm getting

the sensor cuts the screen off but doesn't bring it back idk if this app will help me

i have an Xperia Play with NXT 2 Rom installed and stock kernel

will this wrk on my fone ?
[Desire HD Themes and Apps] s0ulreaver:
This app is for HTC Desire HD
[Desire HD Themes and Apps] RealMcoy:
well then can any one refer me to one that i can use on my xperia here

its the first time i'm dealing with this problem and sum one refered me here (i know its for HTC hence the reason i asked if wud just wrk on the play)
[Desire HD Themes and Apps] tonylee000:
No it wont. It only works on the htc desire hd
[Desire HD Themes and Apps] RealMcoy:
According to this link

http://allmsoft.com/android/a_system/132679-dhd_proximity_sensor_recalibrator.html

The app supports the xperia play as well
[Desire HD Themes and Apps] tonylee000:
Yes it does state that! Im sure it said here somewhere it was dhd only. Theres no real reason that this app *wont* work on any other phone, but I dont find it likely myself but I dont know. Give it a go and see what happens, if it doesnt work ypu could possibly try using different kernals and see if it work with those. Pm leppie and ask him about it.
[Desire HD Themes and Apps] RealMcoy:
Hey agen everyone

Nw I'm trying to install cwm recovery and when I reboot no light in the notification that means cwm isn't installed

Any help here again?????
[Desire HD Themes and Apps] tonylee000:
I only tried cwm for 10mins once. Its inferior compared with 4ext. Use 4ext
[Desire HD Themes and Apps] RealMcoy:
srry i posted this in the wrong section
[Desire HD Themes and Apps] Franzuu:
Altough, this app is old, it works even with 4.2.2! Great work!
[Desire HD Themes and Apps] amrimed:
Thanks a lot
[Desire HD Themes and Apps] mlotek01:
Try with this: gsm.proximity.enable=true in build.prop. Now it looks good.
[Desire HD Themes and Apps] Ultraboss:
I only can give you the link to the topic...

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

But why I cant execute the adb cmd, have I to install something else ???
[Desire HD Themes and Apps] Dev Null:
Anyone here with ZTE Blade?

Proximity sensor works fine using any ROM, but CM-7 beta. This app only shows "FAR", no use to set the sliders anywhere!
[Desire HD Themes and Apps] leppie:
Check the file permissions on: /sys/devices/virtual/optical_sensors/proximity/ps_kadc

It should be readable and writable by any user. It sounds it might not be writable in your case.
[Desire HD Themes and Apps] gabbek:
There is no "optical_sensors" in /sys/devices/virtual folder.

:(

ZTE Blade - CM7 Nightly12
[Desire HD Themes and Apps] 3sade:
Hmm my phone keeps saying "FAR" what combination i try...

It worked well before, I'm on CM7 RC1.

What values work for you guys, any advice?

Kind regards!
[Desire HD Themes and Apps] SMN™:
always it shows far!! is it a hardware problem?!
[Desire HD Themes and Apps] josmul123:
Verified also works on Inspire 4G.

VERY useful.
[Desire HD Themes and Apps] leppie:
State phone and software please.