How to recalibrate proximity sensor? - Desire HD Q&A, Help & Troubleshooting

I've started flashing roms on my DHD since january and I've noticed for a month or so that when I am in a call, the phone won't turn off the screen unless I squish it to my face. Is there any way to recalibrate that proximity sensor? Thank you

see post here
http://forum.xda-developers.com/showthread.php?t=951858

How come some phones are getting worse? very strange.
I tried CM7 yesterday and my sensor stopped working completely, dead, nada!
Returned back to a sense ROM and now it works as it did factory default.
Anyway the app does not work with Gingerbread and no solution today.

Prodelin said:
How come some phones are getting worse? very strange.
I tried CM7 yesterday and my sensor stopped working completely, dead, nada!
Click to expand...
Click to collapse
ive used cm7 from the start.. and i had no problems at all except the phone may restart once in a while by itself.. im currently running RC 7.0 i dont think its CM7 thats the problem here

Unfortunately, the app runs but every time I try to change the values I get a huge "unable to write error". Using gingerbread
Sent from my Desire HD using the Department of Magic & Spellcasting

Hello !
If the error is about /sys/devices/virtual/optical_sensors/proximity/ps_kadc then :
Try to go ADB and execute this
adb shell
chmod 666 /sys/devices/virtual/optical_sensors/proximity/ps_kadc
then modify as you wish , after that
chmod 664 /sys/devices/virtual/optical_sensors/proximity/ps_kadc
Enjoy
P.S. : Debug mode on
After restart i lose my settings too..
Can anyone help us ?

Related

[Q] Camera Broken Upon Update?

Anyone else have the camera load to a blank black screen with no buttons in any and all apps that utilize the camera? Camera, Barcode Scanner, Sniper Shot, and all other programs that use the camera fail to load since the update. Anyone have any idea as to why?
DanielWGK said:
Anyone else have the camera load to a blank black screen with no buttons in any and all apps that utilize the camera? Camera, Barcode Scanner, Sniper Shot, and all other programs that use the camera fail to load since the update. Anyone have any idea as to why?
Click to expand...
Click to collapse
Did you try a restart, I have heard of camera problems like this before (i think first FroYo update) and all it needed was a simple reboot.
Reboot didn't work. I reflashed the rom and BAM, it worked again. Crisis averted.
I have the same problem.
I'm running the following:
Azreal 3.0
circular battery widget update
removed HTC lock screen
superior battery charging kernel
wifi hotspot patch
I'm currently trying things to figure out what will fix it.
Here are the current things I have tried that did NOT fix the problem:
Reboot
Wipe cache/davlik cache
fix UID mismatches
I then reflashed azreal 3.0
At this point the camera worked again but everything was wiped. I then reapplied the following patches:
Circular battery
remove HTC lock screen
wifi/hotspot patch
after this everything continued to work
I then applied:
superior battery charging kernel and it broke again
I think the problem is the superior battery charging kernel
i am having the same problem and have not been successful yet fixing it. switched from cm7 back to stock to update my prl and tryed to use the camera while stock when the black blank screen happened. flashed to evdo(sense) and same result. flashed back to cm7 and the 1st time i opened camera it opened the ffc. when i tried to switch and everytime i have tried to open it since i get "camera error cannot connect to camera" help plz!
If you have HW 0004 phone or HW003 with the new camera, you have to make sure your rom has a kernel with the NEW drivers. The kernel in my signature has the new drivers for ASOP roms (like cm 7).
just flashed Savaged-Zen-V002-CFS-HAVS-SBC-WiMAX - GB.zip
with the same result running cm7. seems like ive tried 20 different things with no success. everything i have flashed has been off my sd meaning i have had all of it running before at one time or another with no problem. i really cant think of what ive done new to have caused this
Same here
Happened to me right after I flashed calkulins_format_all.zip and then the MikFroyo4.4.zip yesterday. I thought it was a problem with mikfroyo so I flashed Azraelz 3.1 and still the same issue (i was using azrael 3.0 with no prob prior to mikfroyo).
I'll post if I find anything that works, please also give any suggestions i'm willing to try anything b4 i take her to sprint.
I also flashed calkulins evio rom. When I flash back to stock it will start running again sometimes. Not even right away though. It will be black for a while then if I just let the phone sleep for a bit and come back to it bam. Camera again. For a little while. Then back to the same thing an hour later without doing anything! This is very frustrating! Someone plz help!
Sent from my PC36100 using XDA App
UPDATE
I turned my phone off and switched SD cards to one that has an old backup (3.29, kernel#11), when I booted into recovery, I could hear clicking noices coming from the lens, at a super fast rate (say 2-3 clicks a second).
Not wanting to do any more damage I turned off the phone.
I did just take my phone to sprint to fix my kick stand, maybe they did something to mess with me (thats just my paranoid side speaking)...
But what gives? What would make the camera shutter do that while im in recovery (btw using latest amon ra recovery)?

[Q] My DHD keeps crashing and rebooting, but only when the screen is locked...

Hello!
For some time now my phone's been rebooting itself completely random it seems. I just got it back after sending it away to get this issue fixed. Obviously the "repair" didn't really do anything at all. All they did was to flash the latest software apparently.
I got quite fed up with the crashing and rebooting stuff, and figured that it wouldn't hurt to try to flash a custom ROM, in this case I chose to root the phone and try MiUi. I had no clue wether it would solve the issue I'm having, but I figured it was worth a try. So i rooted the phone and flashed the latest version of MiUi (1.11.18).
At the start it seemed like it had worked, and had stopped the phone from crashing. But after some time I realized that the issue is still there, only difference now is that it ONLY crashes when I lock the screen with the Power-button. EVERY SINGLE TIME I do this, in a matter of minutes it will either reboot or just turn black and totally unresponsive. Only way to get it on again is to take out the battery and put it back in.
This is starting to annoy the **** out of me, so I talked to my brother for advise this morning, and he told me to wipe my Dalvik Cache. So I did, and nothing changed, the phone keeps on living it's own life.
I have absolutely no clue what info you guys might need to help me with this, but I'll start with this:
Phone: HTC Desire HD
Android-version: 2.3.7
Kernel-version: 2.6.35.14-cyanogenmod-g319b6e2
ROM: MiUi 1.11.18
Also, the motherboard's been switched once, cause of another issue that is now gone.
ANY help is appreciated, I just want to be able to use the phone normally!
EDIT: Also it seems that the phone won't reboot or crash whenever it's charging.
Sounds like a hardware/software issue your best bet is getting a replacement and re rooting .
Sent from my Tweaked out RCmix3D myTouch 4G via xda premium !

[Q] DHD Proximity sensor

Hey all,
About a year ago I got a new DHD everything was working fine. I rooted it (using visionary), tried cyanogen mod, went back to the original sense/frayo backup and finally installed a new kernel (Buzz)...
After that my proximity sensor stopped working, I kind of just put up with it because I was busy at uni, I just got used to manually turning my screen off. I thought it was something to do with the kernel and/or backup I was running. Since then I have installed Android Revolution 6.3.1 with new kernel and radio and thought it might just start working again but it hasn't...
My question then is:
Could I have done something to affect it while flashing/rooting e.t.c?
Is there any way I can check?
Is it likely to be a hardware failure? (the phone was less than a month old when it stopped working)
oh and I have tried Proximity Re-calibrator and it dose nothing (Unless it doesn't work with ARHD 6.3.1).
Thank you for your time.
This is a common problem. It's in the faq of the ARHD rom and the answer is:
http://forum.xda-developers.com/showthread.php?t=951858
SuLuke said:
This is a common problem. It's in the faq of the ARHD rom and the answer is:
http://forum.xda-developers.com/showthread.php?t=951858
Click to expand...
Click to collapse
I have tried and tried Proximity Sensor Recalibrator.... no change.
What did you do in the app? Did you also read some of the posts below the first posts on how to use it? I mean, a lot of people have already posted there that they have all sorts of problems with the sensor. If there is really nothing that helps you I would try flashing at least one more time with wiping everything (btw, did you do a full wipe before coming to arhd?)
Yes used the super wipe as suggested.
I've been holding my finger over the sensor and increasing the thresholds, attempting to get a change, all combinations of the sliders and it just says 'far' continually.
Thanks for replying, sorry if its just that I'm just using the program incorrectly...
Full wipe and re-flash tried everything in Proximity Sensor Recalibrator nothing changes...

Touchscreen problems HELPME

i am having problems in WFS (rooted) having stock rom 2.3.5 ..
touchscreen doesn't response quickly and sometimes i even cant unlock my device , even cant pickup incoming calls . .it works fine if i format my device to factory reset but later all same as before .WHTAT SHOULD I DO PLEASE HELP
is there anyone who is facing same problems like mine
TheHTCLover said:
i am having problems in WFS (rooted) having stock rom 2.3.5 ..
touchscreen doesn't response quickly and sometimes i even cant unlock my device , even cant pickup incoming calls . .it works fine if i format my device to factory reset but later all same as before .WHTAT SHOULD I DO PLEASE HELP
is there anyone who is facing same problems like mine
Click to expand...
Click to collapse
1. Set minimum clock speed to 245 mhz.
2. Find a better governer, use smartass or ondemand.
This should solve the unresponsiveness of lockscreen. If still the touchscreen lags in between try einstien; frat's kernel "cake".
In worst case your tochscreen is screwed, (Like mine was).
Change the stock rom thats what my noob mind will say, Just make all the backups using titanium backup and sms backup etc.
If u dont want to change rom then keep the stock rom, but remove some system soft like facebook etc with the help of latest es explorer/titanium backup/link2sd.
Try freezing the apps first with link2sd(off course if u dont use link2sd cancel the message pop up that comes everytime at fist start of it).
Just clean the screen off your shoulder. It'll work. I figured this out long time back..
Sent from my Wildfire S A510e using xda premium

[Q] Help: Gps not working as it should.

Hey guys,
My gps isn't working accurate.
First off it worked pretty good but when I changed to a custom rom (android revolution Hd) it didn't anymore.
When i use google maps, it takes a damn long time to get a fix on my position and when it does it stays accurate for about 5 seconds and then it starts to change to a street next to me then to another side... etc. . Also when i am standing still it jumps for my location to 50meters ahead of me and behind me, changing my speed to 20km/h ... I think you get the problem. Also the same problem on navigon (navigation software) it is constanly rerouting me because of the inaccurate position. So its not an application issue.
I flashed the rom as it should be, with boot.img through fastboot and zip file in cwm. Except for the gps there are no other issues.
Then i flashed the original rom in cwm with boot.img in fastboot, still the same problem.
I then tried CM10 and it became even worse... every 20 seconds it gave me a position update in maps and with navigon there wasn't even a update because it couldn't get a fix.
And i also used fasterfix on every rom except the original one (not rooted) to set my gps to europe.pool.ntp.org or something like that...
Now i am trying to revert to android revolution HD but first my battery has to be charged above 10% and it goes damn slow because of the bricked boot (made a mistake while changing form CM10 to And rev HD) Can't flash the and rev HD yet but does somebody in the meantime know a solution ?
Somebody ??
Could it be a problem with the kernel ? because i didn't flash one separatly
Does somebody has a solution ?
Unfortunately, I also have the same problem with rom coredroid and igo primo aid to some expert please
thanks
I had the same issue when I moved from Stock to the Modaco Ir5 Vanilla ROM, my GPS didn't even go as far as finding my location inaccurately, it didn't work at all. Hence I couldn't use my maps/navigation.
I am now running the Slim Bean ROM and everything is working great. I am no expert, but have you always done the usual 'full wipe data > clear cache partition > clear Dalvik cache' while flashing new ROMs?
For your charging issue, maybe try this? http://forum.xda-developers.com/showthread.php?t=1646135
My phone is now allright but you i'll try the rom you are speaking about and see if the gps works better.
and... Also tried another kernel (eternity) but it still didn't work
I had this issue and had it fixed after sending my phone to service 3 times.
The first time they only did a reset, didn't help.
Second time they changed the wifi, GPS module, didn't help.
I sent them a recording of the problem on the third time. This time they changed the motherboard and it finally got fixed.
Remember to tell them that the issue is specially visible when GPS and WiFi are both on.
Sent from my HTC One X using xda app-developers app
waterscent said:
I had this issue and had it fixed after sending my phone to service 3 times.
The first time they only did a reset, didn't help.
Second time they changed the wifi, GPS module, didn't help.
I sent them a recording of the problem on the third time. This time they changed the motherboard and it finally got fixed.
Remember to tell them that the issue is specially visible when GPS and WiFi are both on.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
There isn't any diffrence when wifi is enabled and like i said, with stock rom everything was fine.
Just for now i can't flash another rom but other solutions are welcome...
kefjeuh93 said:
Just for now i can't flash another rom but other solutions are welcome...
Click to expand...
Click to collapse
Tried the agps patch (http://forum.xda-developers.com/showthread.php?t=1595800) still no solution
Tried some other roms and still nothing...
I will try to go back to stock with RUU but which one do i need to choose ? Based on what info ?
i know i have to choose HTC_E11 (dutch)
kefjeuh93 said:
Tried some other roms and still nothing...
I will try to go back to stock with RUU but which one do i need to choose ? Based on what info ?
i know i have to choose HTC_E11 (dutch)
Click to expand...
Click to collapse
This may help - GPS Fix.
It worked for me, but not for the faint hearted.

Categories

Resources