[Q] Proximity and light sensor not working. - HTC Sensation

I`ve been looking everywhere to find a solution but didn`t found one. To be more precise, both sensors (proximity and light) work occasionally,sometimes they work just fine and then suddenly stop working.
I`m using Andro Sensor to check the sensors and there is "Waiting for event" message for both light and proximity.
I don`t think it`s a hardware problem as they were working when bought the phone and they still work occasionally.My phone is rooted and i`m on latest ARHD now with Sebastian kernel.Maybe someone knows how to fix this as it`s very annoying (automatic brightness and capacitive backlights not working because of this as well).Any help would be much appreciated.

Had that problem to,
After a lot off searching i found this.
Enter the line in your build.prop at the botten
ro.mot.buttonlight.timeout=0
Then reboot 2x
Worked for me.

stillbeer said:
Had that problem to,
After a lot off searching i found this.
Enter the line in your build.prop at the botten
ro.mot.buttonlight.timeout=0
Then reboot 2x
Worked for me.
Click to expand...
Click to collapse
How exactly can i do this?I`m sorry but i`m not a pro so not sure where and how to do this.

dzhoshkun said:
How exactly can i do this?I`m sorry but i`m not a pro so not sure where and how to do this.
Click to expand...
Click to collapse
You have to have root and es fileExplorer.
Set system to rw and goto system/build.prop
Open with text editor and ad the line at the bottem of the text.

stillbeer said:
You have to have root and es fileExplorer.
Set system to rw and goto system/build.prop
Open with text editor and ad the line at the bottem of the text.
Click to expand...
Click to collapse
I`m in build.prop now.But just before i will add the line will this make the proximity and light sensor work as well?or this will only light up capacitive buttons when unlocking the phone?

dzhoshkun said:
I`m in build.prop now.But just before i will add the line will this make the proximity and light sensor work as well?or this will only light up capacitive buttons when unlocking the phone?
Click to expand...
Click to collapse
Worked for both for me.
Have to restart 2x tho.

stillbeer said:
Worked for both for me.
Have to restart 2x tho.
Click to expand...
Click to collapse
Hopefully it will work.
So i just need to add the line at the bottom of text in buil.prop (or i need to make some changes to an existing line) ?
Sorry to be a pain.

dzhoshkun said:
Hopefully it will work.
So i just need to add the line at the bottom of text in buil.prop (or i need to make some changes to an existing line) ?
Sorry to be a pain.
Click to expand...
Click to collapse
Just ad it ,hopefully it Works for you !

It was working partially (only proximity,not capacitive lights) after two restarts but it`s not working anymore.I have re-flashed the ROM and repeated the process but no response from both sensors.

dzhoshkun said:
It was working partially (only proximity,not capacitive lights) after two restarts but it`s not working anymore.I have re-flashed the ROM and repeated the process but no response from both sensors.
Click to expand...
Click to collapse
Sorry to here that,i am suffering the same torture.
Still no solution for this problem then...
Tried booting in totaal dark ?
Worked till next boot for me..(after reset)

Suffering the same problem, tried to solve it via the method in build.prop but nothing has changed

Does anyone have afix for this issue yet? I am suffering from the same problem running the 3.33 firmware and Cyanogenmod 9.1 final.

Related

[DEV]Light and prox sensor to test!

Hi Photon community,
please find attached a patch to the sensor library.
i tested it on my phone, schlund too, it seems to works well.
if some of you can test it, can you send us feedback if it works better than before?
installation is simple:
unzip install.rar, copy folder "install" to your SDcard root, boot android:
library shall be installed.
this shall fix two issues.
the g-sensor will be fixed soon.
edit: LED keybd fixed, attachement updated.
Thanks! Is this from mahimahi device?
Update:
unzip install.rar, copy folder "update" to your SDcard root, boot android
Thanks Mr r0bin
the sensor worked well, but the light keys not worked
thanks for ur time
I tried and see light keys are always on
after the second attempt,This happened : power button no longer works, seems to be frozen,Press Volume + and power together not working i will need to remove the battery
now I tried a third time and I do not have that problem to freeze, power button works as before.
question: is it normal that after androd booted disappear folder "update" ?
Proximity working perfect, but light sensor I think not, also keypad led not working!
Update:
Ufff sorry, light sensor is perfect also!
Thanks robin&schlund!
now some feedback:
keypad light is working,but just with a lil issue,when screen light goes half off keypad lights are still 100% on(hope you get what i mean)
and also when u click the power button keypad lights are 100% on,and on WM is less.
and one more thing..when they are not touched they need to be half off so we can preserve battery
thanks for your feedback!
yes, LED are not working yet, it needs to be fixed.
15MA1L said:
question: is it normal that after androd booted disappear folder "update" ?
Click to expand...
Click to collapse
yes, it do the update and then auto-delete itself.
Thanks Mr r0bin
works great
munjeni said:
Thanks! Is this from mahimahi device?
Update:
unzip install.rar, copy folder "update" to your SDcard root, boot android
Click to expand...
Click to collapse
There are two update folders after extraction. Copy and paste only the second folder (which also happens to be labelled "update" folder) to your SDCard\ root directory!
update to enable the keyboard led, by schlund:
for those who knows how to use adb, try this:
adb shell
# echo 1 > /sys/class/leds/button-backlight/brightness
Click to expand...
Click to collapse
then, put phone in sleep and activate it. it should work automatic now
-when light is high, light off
-when light is low, light on
tell me if it worked!
-r0bin- said:
update to enable the keyboard led, by schlund:
for those who knows how to use adb, try this:
then, put phone in sleep and activate it. it should work automatic now
-when light is high, light off
-when light is low, light on
tell me if it worked!
Click to expand...
Click to collapse
yes, it work!
DmK75 said:
yes, it work!
Click to expand...
Click to collapse
Thanks DmK75
i updated the light sensor patch (auto-installation), for those who didnt tried yet with adb, please report if it fixed your LED keybd thanks
-r0bin- said:
Thanks DmK75
i updated the light sensor patch (auto-installation), for those who didnt tried yet with adb, please report if it fixed your LED keybd thanks
Click to expand...
Click to collapse
Thanks! Yes, it work one time because after "update" folder auto-deleted.
thanks for update robin!
i have one quick question though: is it possible to fix kepad backlight to dim too,as on WM?
-r0bin- said:
Thanks DmK75
i updated the light sensor patch (auto-installation), for those who didnt tried yet with adb, please report if it fixed your LED keybd thanks
Click to expand...
Click to collapse
I installed the old patch and this one. The LED keybd should light also when it is pressed? Or only when light is low?
By now it do not light at all for me
Thanks work light sensor.
But LED keyboard light is very high not Normal
-r0bin- said:
Thanks DmK75
i updated the light sensor patch (auto-installation), for those who didnt tried yet with adb, please report if it fixed your LED keybd thanks
Click to expand...
Click to collapse
the keypad led still always on after using update-lightsensor-ledkbd
please do less brightness
feedback
just installed a new pach (auto-installation) "update-ligntsensor-ledkbd" then, put phone in sleep and activate it...
the result is: the keypad led still always on

[q] instagram fix for ics/jb?

hello
Do not know if you noticed, but the instagram app force force in all ICS / JB ROMS for LG P500.
is there a fix for this? PLEASE HELP ME.
searched around the forum and did not find any fix.
this happens when the screen switches to photo editing
sorry my bad english
use an older version, I think 3.2.2 will work
Ahmed93 said:
use an older version, I think 3.2.2 will work
Click to expand...
Click to collapse
This same problem occurs with the Camera ZOOM FX application once you click certain buttons. This problem occurs because of its incompatibility with your phone's Kernel. It will be quite hard for me to guide you through to getting around this issue, because I'd first need to look at exactly what's going on, where the problem occurs, experimenting, and so on. Sorry! ;(
Xx Jafours xX said:
This same problem occurs with the Camera ZOOM FX application once you click certain buttons. This problem occurs because of its incompatibility with your phone's Kernel. It will be quite hard for me to guide you through to getting around this issue, because I'd first need to look at exactly what's going on, where the problem occurs, experimenting, and so on. Sorry! ;(
Click to expand...
Click to collapse
it worked installing it on the Internal(NAND)

[Q] LG Optimus 3d MAX auto brightness bug?

Can somebody confirm that auto brightness isn't working in v10c and v10e?
i never had such kind of problem
Sent from my LG-P725 using xda premium
LG P720 3D auto-brightness bug
GentlyCriminal said:
Can somebody confirm that auto brightness isn't working in v10c and v10e?
Click to expand...
Click to collapse
Yes, I have exactly the same problem- auto brightness just doesn't work
- I can't find any more information about this on the web though. Anyone else with the same problem?
Regards,
James
I did find one document on LG servers regarding on how to fix this. I will see if I can find it. It is hardware bug as I remember.
EDit:
I did not find that document but i found service software CD it has all, from hardware repairs to software upgrade. 512Mb
csmg.lgmobile.com/swdata/WEBSW/LGP720/ACAOBK/20120814/P720_Service_CD_Material.zip
Sent from my LG-P920 using xda app-developers app
It isn't a hardware bug, i tested the proximity sensor in the hidden menue and it's working.
I fixed the issue when i wiped everything in the built in recovery and with everything i mean really everything you can wipe.
now i can change the britghtness to auto mode through the power-widget and it's working.
EDIT: before that, auto mode always turned full brightness on and i couldn't fix it
Brightness sensor still not working + pics and videos missing
GentlyCriminal said:
It isn't a hardware bug, i tested the proximity sensor in the hidden menue and it's working.
I fixed the issue when i wiped everything in the built in recovery and with everything i mean really everything you can wipe.
now i can change the britghtness to auto mode through the power-widget and it's working.
EDIT: before that, auto mode always turned full brightness on and i couldn't fix it
Click to expand...
Click to collapse
Hi,
I tried wiping everything with hard reset/recovery - no change. Are you absolutely sure the sensor is working? I can change the brightness too in the power widget, but the screen still does not react to light.
Unfortunately I lost the pics and videos included when doing total recovery - I thought the built in backup would keep them (like it kept the pics I've taken) silly of me.... Anyone know how to get these files? Maybe a kind soul out there would like to upload them?
Regards,
James

[Q] Livesuit Image For Stealth Pro 9.7C

Hi. Just wondering if anyone out there would happen to have a .img image of the firmware for the trio stealth pro 9.7c. I.ve looked everywhere and can only come up with images that install through CWM recovery. My tablet will not boot into recovery as I flashed a rom that I thought would work, but now no video. Not an emergency, but if someone has it, it would be much appreciated. Thanks in advance
jgb441 said:
Hi. Just wondering if anyone out there would happen to have a .img image of the firmware for the trio stealth pro 9.7c. I.ve looked everywhere and can only come up with images that install through CWM recovery. My tablet will not boot into recovery as I flashed a rom that I thought would work, but now no video. Not an emergency, but if someone has it, it would be much appreciated. Thanks in advance
Click to expand...
Click to collapse
I used a livesuit image that was supposedly for the 9.7 on my 9.7c and everything works flawlessly. Use at your own risk. can't post links. pm me if you want it
Try this.
A member called hammerite said in this post http://forum.xda-developers.com/showthread.php?p=52298998 that the firmware for Wintouch Q91 works with this tablet. Specifically the file name is Q91A30321.img. Google it. I'm just downloading it right now and hope to fix a friend's tablet with it..
Sorry to say that file didn't work for me.
Another works, kinda
Headroom said:
Sorry to say that file didn't work for me.
Click to expand...
Click to collapse
I was grasping at straws and downloaded the Q95A306043G file, and everything works, but you need to put it to english, and the colors are off, kinda like low res kinda look, but it's a good start if someone can fix the res of the screen :fingers-crossed:
A possible work around to get the 9.7c up and running
Headroom said:
Sorry to say that file didn't work for me.
Click to expand...
Click to collapse
Yeah didn't work for me either. But I did find a bit of a work-around to have a functioning tablet again. A bit of a pain in the butt way to go about it, yet it is usable. If anyone wants to give it a try so you can at least use the thing, I'll try to explain it.....here it goes.......
Things needed:
1. LiveSuit or PhoenixSuit (I used PhoenixSuit)
2. Not necessary, but useful later, Root_with_Restore_by_Bin4ry_v32.zip
3. F918-WCDMA-20130423.1.1.11-a106-dou0308.img (copy and paste this into google, you will see a link from a site called pan.baidu.com on the first search page. Turned up about the third search down during my search. It is in Chinese, but the download link to click will have the file size, (310.16mb) click it and another box will appear, click the white box on the right, then yet another box will appear, click the blue box on the left this time, then it will give you the download.) This image is for a ly-f918 tablet, but mostly functional on 9.7c
Now we can start flashing.......
1. Using either LiveSuit or PhoenixSuit, flash the image that you downloaded to the tablet.
2. After the flash, you will notice that the screen colors are messed up and screen rotation is 180 degrees off. For the rotation, I just turned off auto rotate.
We will get to the color issue in a few....The screen will be barely legible at this point, but if you squint just right, you can read it
3. Run Bin4ry to gain root
4. For the screen color issue, I signed into google, went to the play store and downloaded and app called Screen Adjuster Free, ( yes this rom has play store built in) Set the Screen Adjuster to on (box at the top of the app) and set the system brightness to 23%. The screen should now be legible.
Things that are NOT working:
As mentioned, auto rotate is off 180 degrees
Rear camera causes the tablet to shut down
Volume up button lowers the volume, volume down and back buttons do nothing. There are volume up/down icons on the notification bar though
Color still off in the notification bar
I know it seems half-assed, but I DO at least have a working tablet again!!
I did find another rom that touch, wifi and camera do not work, but the screen colors are right:
sun4i_crane_v1.5_T05A_mc32x0_20121012-tm2.img
Maybe if someone knows how to open the images to play around with them, the display driver from the sun4i rom can be put into the F918 rom so the color is right. And possibly fix the screen rotation issue. Then the only things to worry about are the hard buttons and rear camera at that point.
Sorry if this seems lame, but like I said, My Stealth Pro 9.7c is functional again ( to some degree any way ) and if you were in the same boat as I was.....holding a tablet that didn't work at all.......it's better than nothing.
as always, try at your own risk. Let me know if anyone has trouble with this method or improvements. Thanks!
WoppTorr said:
I was grasping at straws and downloaded the Q95A306043G file, and everything works, but you need to put it to english, and the colors are off, kinda like low res kinda look, but it's a good start if someone can fix the res of the screen :fingers-crossed:
Click to expand...
Click to collapse
Just noticed you posted this as I was writing my post Does auto rotate work right? and do the hard buttons fuction correctly? and rear camera work? If it does you're a step closer than I was. maybe if someone takes THAT rom and the second one I posted and made a flashable image, we would have a completely working rom!!
Just seen this thread and posted this earlier http://forum.xda-developers.com/showthread.php?p=53242286
Sent from my Nexus 7 using XDA Free mobile app
jgb441 said:
Just noticed you posted this as I was writing my post Does auto rotate work right? and do the hard buttons fuction correctly? and rear camera work? If it does you're a step closer than I was. maybe if someone takes THAT rom and the second one I posted and made a flashable image, we would have a completely working rom!!
Click to expand...
Click to collapse
Ya it's kinda the same as the one you were using, auto rotate is off 180 degrees, but no auto rotate fixes that been, testing it for awhile and found that utube, and netflix auto turns it upside down, and I have to use that other program to get the colors right, camara worked for a bit then it stopped working, but the play store worked just fine, sorry I've been gone, just busy at work =( volume up doesn't work but volume down does
Downloaded from where.the site won't let me download it

Screen turns off immediately after dialing/answering a call

I have a common problem in all ROMs I'm installing . whenever I answer a call or dial a call my screen goes off as if proximity sensor is activated and doesn't turn on even when I take it away from my ear or press my power button. Screen doesn't turn on at all during call.
Phone remains fine for a day or two after I wipe cache etc from recovery but again the problem starts. This happens in all custom roms and also in rooted stock ROM. My device is XT 1055.
Kindly suggest any solution as it causes lot of inconvenience.
abhishekturumella said:
I have a common problem in all ROMs I'm installing . whenever I answer a call or dial a call my screen goes off as if proximity sensor is activated and doesn't turn on even when I take it away from my ear or press my power button. Screen doesn't turn on at all during call.
Phone remains fine for a day or two after I wipe cache etc from recovery but again the problem starts. This happens in all custom roms and also in rooted stock ROM. My device is XT 1055.
Kindly suggest any solution as it causes lot of inconvenience.
Click to expand...
Click to collapse
Your device is a Moto X (1st generation/2013 )? A quick Google search would tell you this is a Proximity Sensor issue, it is device specific whether anything can be done or not, so you might want to check your device's group.
acejavelin said:
Your device is a Moto X (1st generation/2013 )? A quick Google search would tell you this is a Proximity Sensor issue, it is device specific whether anything can be done or not, so you might want to check your device's group.
Click to expand...
Click to collapse
No bro. Mine is a moto g3 xt1550. Searched the forum later yday and found that it is calibrating proximity sensor issue. Will try doing that and check. Thank you for the response
abhishekturumella said:
No bro. Mine is a moto g3 xt1550. Searched the forum later yday and found that it is calibrating proximity sensor issue. Will try doing that and check. Thank you for the response
Click to expand...
Click to collapse
Sorry, you must have typo'd earlier, you clearly said XT1055 which is a valid Moto device. Anyway, sounds like you're on the right track.
acejavelin said:
Sorry, you must have typo'd earlier, you clearly said XT1055 which is a valid Moto device. Anyway, sounds like you're on the right track.
Click to expand...
Click to collapse
Oops. Sorry. It was a typo. Mine is motog3 xt 1550.
abhishekturumella said:
Oops. Sorry. It was a typo. Mine is motog3 xt 1550.
Click to expand...
Click to collapse
please let me know if you can some how fix this issue. I have same issue ands I did proximity caliberatiin as well and it did not resolve my issue
chungomungo1 said:
please let me know if you can some how fix this issue. I have same issue ands I did proximity caliberatiin as well and it did not resolve my issue
Click to expand...
Click to collapse
I too did proximity sensor calibration but it worked only for few times. But the only solution that's working is whenever screen goes blank I rub with my finger on proximity sensor area for 3-4 times as if like cleaning it. Immediately the screen lights up. This is the solution am doing since past few times and its working consistently.
abhishekturumella said:
I too did proximity sensor calibration but it worked only for few times. But the only solution that's working is whenever screen goes blank I rub with my finger on proximity sensor area for 3-4 times as if like cleaning it. Immediately the screen lights up. This is the solution am doing since past few times and its working consistently.
Click to expand...
Click to collapse
Thanks
Can we disable the proximity sensor ???
Mohammed Siamwala said:
Can we disable the proximity sensor ???
Click to expand...
Click to collapse
Yes u can disable the proximity sensor.....
Procedure:
1. The device need to be rooted
2. Install the xposed module
3. After installing search for sensor Disabler apk in xposed module
4. Install sensor Disabler and open the app and select the proximity sensor.
5. Select the value of proximity sensor to Maximum level and save it
6. Do the reboot
This whole procedure will disable ur proximity sensor ie ur screen will no go blank on any call.
Note : Xposed installer for nougat ROM is in development phase ...
Do it ur own risk I'm not responsible for any harm.
All the best :good::laugh:
abhi8939 said:
Yes u can disable the proximity sensor.....
Procedure:
1. The device need to be rooted
2. Install the xposed module
3. After installing search for sensor Disabler apk in xposed module
4. Install sensor Disabler and open the app and select the proximity sensor.
5. Select the value of proximity sensor to Maximum level and save it
6. Do the reboot
This whole procedure will disable ur proximity sensor ie ur screen will no go blank on any call.
Note : Xposed installer for nougat ROM is in development phase ...
Do it ur own risk I'm not responsible for any harm.
All the best :good::laugh:
Click to expand...
Click to collapse
Thanks for your help !!
But will need to wait as I'm using Nougat ROM :laugh:
Any disabling method for 7.1.1 ???
Mohammed Siamwala said:
Thanks for your help !!
But will need to wait as I'm using Nougat ROM :laugh:
Any disabling method for 7.1.1 ???
Click to expand...
Click to collapse
To my knowledge it is not there... U can Google it bro
As I'm also facing this problem...
Some info about xposed....
Xposed is not compatible with Nougat, the truth is it may never be a viable option again due to security changes in Android. The developers have said that Xposed is on it's last legs, the changes in Android and the security are becoming impossible to work around. Remember last year at this time, the developers of Xposed had mostly given up and thrown in the towel and said Xposed was dead with Marshmallow, but they got lucky and found a work around just before completely giving up. They have not as yet found such a exploit to make it work, and if they do it will only be temporary as the next version of Android will probably close it again. They may get it to work with Nougat, or maybe not, either way best bet is to learn to live without it, because it will be gone before too long.
abhishekturumella said:
I have a common problem in all ROMs I'm installing . whenever I answer a call or dial a call my screen goes off as if proximity sensor is activated and doesn't turn on even when I take it away from my ear or press my power button. Screen doesn't turn on at all during call.
Phone remains fine for a day or two after I wipe cache etc from recovery but again the problem starts. This happens in all custom roms and also in rooted stock ROM. My device is XT 1055.
Kindly suggest any solution as it causes lot of inconvenience.
Click to expand...
Click to collapse
hi buddy i have a solution for this hope this will be helpful............
i have flashed the cm 12.1 yesterday on my moto g3 and since yesterday i didn't faced the problem of screen going off on call .....
this conclude that rom is somewhere responsible for screen off during call on some phones( my opinion )
you can try this if u want:fingers-crossed:
This will help you mate
github.com/Alberto97/proprietary_vendor_motorola/blob/cm-14.1/osprey/proprietary/lib/hw/sensors.msm8916.so?raw=true
Paste this in system>lib>hw>
And change the permission to rw- r-- r--

Categories

Resources