help sensors not working - Moto G5 Questions & Answers

None of my sensors are working

Rdxlr8 said:
None of my sensors are working
Click to expand...
Click to collapse
If you want help here saying something isn't working is just not enough information
You need to
State what app you are trying to use which uses sensors
How you are using the app eg waving hand over proximity sensor to view notifications when screen is off
What rom you are using eg stock/custom & name it
Are you rooted
Provide logcats of trying to perform action along with any error messages
How do you replicate the problem
Have you tried using a different app eg is it app specific
If you just say - its not working I'm just going to say user error without any details

TheFixItMan said:
If you want help here saying something isn't working is just not enough information
You need to
State what app you are trying to use which uses sensors
How you are using the app eg waving hand over proximity sensor to view notifications when screen is off
What rom you are using eg stock/custom & name it
Are you rooted
Provide logcats of trying to perform action along with any error messages
How do you replicate the problem
Have you tried using a different app eg is it app specific
If you just say - its not working I'm just going to say user error without any details
Click to expand...
Click to collapse
I was using viperos suddenly all of my sensors like gyroscope proximity everything was not working I now switched to RR. Now they r working

Related

[OFFICIAL] CM10.1 Bug Tracker Thread

So there's been a lot buzz lately about the bugs that are present in the latest build. Therefore, I'm going to maintain the thread to keep track of it all.
RULES:
-This is not a thread for feature requests. It's a thread for bugs, issues, and problems only!
-Before posting, you must swear under oath and punishable by law, that you are referring to a fresh installation and not a dirty flash (a fresh flash can alleviate a lot of the intermittent problems you may be having)
-In order to be a bug, it has to be confirmed by other users under same conditions
Please make sure to actually test bugs instead of saying yes yes yes. I will try to test each bug, but I'm relying on people's integrity as well. We don't want devs wasting time trying to fix something that isn't properly broken. So ensure that your bugs are legit and reproducible. Also, logcats where possible would be an amazing help too. I'm only adding bugs OP that are confirmed by at least a couple users. If it's not in the OP, it's not official.
Current bug list in no particular order:
Lock screen takes a while to draw
GPS works but reports 0-2 satellites only, NMEA data stream seems to be incorrect, so parsing this data may be touchy in some apps
Face unlock doesn't work
Autobrightness is choppy and slow
Pictures from camera show up in the wrong orientation from how they were taken
Bluetooth for headsets does not work, but may work connecting to GPS, etc.
Audio in skype is messed up
Gallery picture editing
Sound delay in calls
Work in progress...
FIXED (latest build)
Music skip/stutter when screen is off
Tethering is broken - M3 Build - thanks budor
No audio in video recording
Data usage/tracking does not work in the settings menu
Keyboard crashes
Current news...
Bluetooth is still broken
New build has an updated kernel with ota support
They are closing in on the audio issues
Stay tuned for a fresh build when the new monthly is released
For the record: this is on CM10.1, on the Samsung Captivate Glide, using the recent 4.2.2 update dated 2/17/2013
- Bluetooth Headset profile doent work
- Audio in video recording not working
- Photosphere unavailable
- audio stutters if screen is turned off (seems to be a CPU sleeping issue)
- Something (i am suspecting Google+, even though i am not actively using it) is filling up my SD card with gigabytes of thumbnails, which i have to delete manually
- lockscreen takes too long to appear
- from 4.2.1 to 4.2.2 the mount point of the external SD card changed again (so 'acast' cant find my downloaded podcasts). Not a bug per se, but a symlink would've been nice?
- auto-brightness is choppy and slow
- GPS usually get a lock in an okay-ish timeframe, but always reports that it's only locked to "0 / 2 satellites"
- face unlock doesnt work (hangs when opening the camera)
- orientation issues when taking photos: if i take a photo in landscape mode, it ends up in portrait mode in the gallery, and vice versa
Since i guess and hope many people will report bugs, and some of them will be not reproducable by others, we should have some mechanism to 'vote' or 'confirm' bugs, i guess?
All of the above...
Connecting to PC with USB, MTP mode does NOT work (it did work in Adam77root's last CM10.1 build ...)
Email - Any mail delivered into sub folders (Using Push MS Exchange) doesn't create a notification.... I miss a lot of email when sorting via rules on delivery. This is new in JB.
Some apps are deleted after reboot. (temporary fix is manually move to sdcard)
The phone connection will drop randomly and not come back until I reboot the phone. Note that I am using a Rogers (Canadian) model, if it has any relevance. Let me know how I can help you diagnose this bug.
mschweini said:
For the record: this is on CM10.1, on the Samsung Captivate Glide, using the recent 4.2.2 update dated 2/17/2013
- Audio in video recording not working
Click to expand...
Click to collapse
+1
- lockscreen takes too long to appear
Click to expand...
Click to collapse
+1
- from 4.2.1 to 4.2.2 the mount point of the external SD card changed again (so 'acast' cant find my downloaded podcasts). Not a bug per se, but a symlink would've been nice?
Click to expand...
Click to collapse
+1, using Directory Bind as a replacement
- auto-brightness is choppy and slow
Click to expand...
Click to collapse
+1
- GPS usually get a lock in an okay-ish timeframe, but always reports that it's only locked to "0 / 2 satellites"
Click to expand...
Click to collapse
GPS lock timeframe +1, not sure about the report
- face unlock doesnt work (hangs when opening the camera)
Click to expand...
Click to collapse
+1
- orientation issues when taking photos: if i take a photo in landscape mode, it ends up in portrait mode in the gallery, and vice versa
Click to expand...
Click to collapse
+1
yohan4ws said:
Some apps are deleted after reboot. (temporary fix is manually move to sdcard)
Click to expand...
Click to collapse
For me, some apps are weird and are missing icons: http://i.imgur.com/CNZ5Nwq.png
face unlock does not work, but it's not that important, just to mention it.
OP updated. Please make sure to actually test bugs instead of saying yes yes yes. I will try to test each bug, but I'm relying on people's integrity as well. We don't want devs wasting time trying to fix something that isn't properly broken. So ensure that your bugs are legit and reproducible. Also, logcats where possible would be an amazing help too. I'm only adding bugs OP that are confirmed by at least a couple users. If it's not in the OP, it's not official.
Sent from my SGH-I927 using Tapatalk 2
Just thought that I would mention that I've noticed that the audio stutter is even more noticeable when the phone is plugged into something using a line in instead of headphones. I'm not sure if this is a issue specific to my device, but if I use a patch cord (audio cable, but w/o the extra contact for a remote) the music sometimes stops altogether, and rarely resumes. This happens whether the screen is on or off. Bluetooth audio stream however is completely fine. No stutter even if screen is off.
Devian50 said:
Just thought that I would mention that I've noticed that the audio stutter is even more noticeable when the phone is plugged into something using a line in instead of headphones. I'm not sure if this is a issue specific to my device, but if I use a patch cord (audio cable, but w/o the extra contact for a remote) the music sometimes stops altogether, and rarely resumes. This happens whether the screen is on or off. Bluetooth audio stream however is completely fine. No stutter even if screen is off.
Click to expand...
Click to collapse
I've never had it stop on me all together.
I feel like this thread should be in the dev section, no? Flag this thread to move it if you think so
Sent from my SGH-I927 using Tapatalk 2
Please don´t throw stones, but bluetooth is or isn´t working? I´d like to try CM 10.1 but I need bluetooth working to use the phone while driving.
brunobbarcelos said:
Please don´t throw stones, but bluetooth is or isn´t working? I´d like to try CM 10.1 but I need bluetooth working to use the phone while driving.
Click to expand...
Click to collapse
2nd post ... says Bluetooth headset profile doesn't work .. this means you can stream Audio to your car's stereo, but you can NOT use your headset... I'm going to assume it's the same accross all ROMs that you can HEAR the other person talk, but the microphone via bluetooth isn't enabled.... my other assumption is that it has to do with the sound driver issues of using skype etc. where when the microphone is activated, all other sound output becomes sloooow motion. -
These are assumptions based on an under educated hypothesis .. a guess.. a shot in the dark ... based on no fact .. and hence, could be completely entirely wrong
Here's a thought, though, why don't you do a nandroid backup in CWM one evening, download the CM10.1 and install it and play with it test bluetooth and some other things, report your findings and if bluetooth deosn't work, revert back to your backup... nothing lost and everything to gain PLUS you'll be helping out the community.
gtmaster303 said:
I've never had it stop on me all together.
I feel like this thread should be in the dev section, no? Flag this thread to move it if you think so
Sent from my SGH-I927 using Tapatalk 2
Click to expand...
Click to collapse
The reason it isn't in the dev section is because it isn't actually a dev thread. The dev section is more for an actual product, whereas this is more documentation for a product, meant to answer questions people might otherwise ask in the general section.
Any of you guys use Whatsapp? It will tell you that tablets are not supported.. :/
And the main Google search app (where you can't type more than one letter from the homescreen) always closes.
Great work BTW. I just got this this afternoon. I'm loving how smooth it is
Sent from my SGH-I927 using xda app-developers app
chrisyjwai said:
Any of you guys use Whatsapp? It will tell you that tablets are not supported.. :/
And the main Google search app (where you can't type more than one letter from the homescreen) always closes.
Great work BTW. I just got this this afternoon. I'm loving how smooth it is
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Whatsapp works for me.
You can fix the google search app by disabling the hotword feature.
Snuuuuupy said:
Whatsapp works for me.
You can fix the google search app by disabling the hotword feature.
Click to expand...
Click to collapse
Yea. Sorry my bad. I had no service at that point. The app could not verify a network and assumed it was a tablet.
Thanks.
Okay. So basically I flash this firmware and before I proceed to use any of the apps I decide to update them. So while the outdated search app still had the hotwords feature on, I updated it. Thereafter, the app will close even before I could get to the setting menu. So the only way is to either use the older version or use the older version to turn off the hotwords feature and update. I know this is minor. Just thought I'd add this to a bugs thread.
And there are some speaker/microphone issues with google hangouts.
Anyone second this?
Sent from my SGH-I927 using xda app-developers app
chrisyjwai said:
Okay. So basically I flash this firmware and before I proceed to use any of the apps I decide to update them. So while the outdated search app still had the hotwords feature on, I updated it. Thereafter, the app will close even before I could get to the setting menu. So the only way is to either use the older version or use the older version to turn off the hotwords feature and update. I know this is minor. Just thought I'd add this to a bugs thread.
And there are some speaker/microphone issues with google hangouts.
Anyone second this?
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Open up the older one. Don't update, disable hotwords and that new google feature (cards?). Update, should work fine.
Tethering
Tethering is broken, I didn't see it in the list. Even FoxFi doesn't work.

Proximity sensor drivers

Hi everybody! I'm experiencing an issue with the proximity sensor of my Galaxy Note 2 i317. I think it is screwed up because during calls screen goes off either if the phone is far away from any objects. I don't have a screen protector, so the problem is not there. I was looking for a way to disable the sensor once and for all, so I installed Hardware Disabler from play store and searched for the drivers. The problem is that I can't find it among the list. I know the drivers should be the one from Capella Microsystems, CM36651 but there is nothing like that among the list. I also checked "/" in the parameters settings but nothing. I know I can disable the sensor on samsung stock ROMS via the call settings, but it doesn't solve the problem with VOIP apps like Viber, or Skype or any other like it. But the real matter is that I wish to install a CM10.1 ROM, and that option is missing there so that problem persists in normal calls too.
Now, my questions are :
1) Am I doing something wrong?
2) is it possible that the sensor is screwed up because the drivers are missing somehow? And is there a way to fix it in this case?
3) Are there other ways to disable it?
4)Is there an option in CM10.1 or other AOSP ROMS to disable the sensor during normal calls at least?
Thanks for the help!!
Dialer call settings allow you to toggle the sensor to stay on or off. ..
When combined with the general proximity setting for the phone to stay on while looking at the screen. ..
The device should stay awake ...
Try turning both settings on....
If the device still sleeps. ..your device may have a problem. .
But do not load an AOSP build until you are sure the device functions normally. ..as CM does not contain the constant wake option under general settings. ..g
gregsarg said:
Dialer call settings allow you to toggle the sensor to stay on or off. ..
When combined with the general proximity setting for the phone to stay on while looking at the screen. ..
The device should stay awake ...
Try turning both settings on....
If the device still sleeps. ..your device may have a problem. .
But do not load an AOSP build until you are sure the device functions normally. ..as CM does not contain the constant wake option under general settings. ..g
Click to expand...
Click to collapse
Thanks for your help! Yes I'm using it like you said, on stock ROM. But I wished to know if there is a way to do something like that on any AOSP ROM out there, or to completely disable the sensor.
giulytheboy said:
2) is it possible that the sensor is screwed up because the drivers are missing somehow? And is there a way to fix it in this case?
3) Are there other ways to disable it?
Click to expand...
Click to collapse
Hey there, I have a similar problem due to a cracked glass, but I figured out a little hack to solve it and disable the sensor.
2) The driver files aren't missing; I'm pretty sure that Hardware Disabler just doesn't know where to look. The driver files are located in:
/sys/devices/virtual/sensors/proximity_sensor/
Since Hardware Disabler can't look there, that option is useless.
Do this at your own risk, BTW.
3) You'll need a hex editor app to do this. Open the file named "prox_thresh" (I use ES file explorer) and select your hex editor to edit the file. You'll see a lot of 0's, but you'll need to edit the first line only. Change
31 32 0a
to
30 0a
The rest of the line is just 00.
This seems to work, although I'm pretty sure it's only temporary because I can't get the app to save prox_thresh due to a weird permission error. Maybe you can figure that out.
I'm not sure if deleting the driver folder would work, but I'm not so desperate to try that yet.
Let me know if that helps!
Sent from my SGH-I317 using xda app-developers app
Possible simple fix
I had the same problem. Sometimes the proximity sensor is working well but covered with dirt from the inside.
I gently inserted a guitar pick between the glass and the sensor (light pressure so it will open a crack) and cleaned the glass a little from the inside.
I tested it before and after with an app called proximity finder. it really fixed the problem.

[Q] Proximity sensor problem

Hi there, I think my DHD's proximity sensor is not working, i.e. screen is not turning off during calls resulting in disconnections. I installed Android Sensor Box from play store. Its indicating that proximity sensor is present but always at 9 cm even I covered the top portion of the screen. What do you guys suggest, is it a faulty sensor? I am using latest cm10.1 nightly.
Hey have you tested this proximity sensor app?
http://forum.xda-developers.com/showthread.php?t=951858
Sent It From Outer Space.
Thanks for the suggestion, I'll definitely try it and report back.
Hi,
disassemble the phone and clean up sensor
it work for me
I face the same problem and the app also always shows far
Yeah same problem. Its always showing far except 0,0
Sent from my Desire HD using Tapatalk 2
Easy Way Out!
Possible calibration procedure:
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.
Different person will guide you different ways.....that's their way to explain,no offence here.And sometimes different ROM could also requires different calibration,best way to do it is mentioned above.
Example: I'm on AoCP my own custom way made look of 4.2.2 kitkat*
I've OK Google working and Everything as stated in KitKat.But obvious im on 4.2.2 instead of 4.4.2!
In this ROM ive sets Lower @ 13 and Higher @15 but it could be different by user to user.
Thanks.
the other sensor test app shows 9.0 cm always

Wake up problems after flashing AOSP 6 - E975

PROBLEM
After flashing to AOSP 6 I have problems with waking the screen up.
1. After or during the call
2. After longer sleep
It can take up to a minute to wake up. Usualy around 10-20 seconds after multiple presses (single press can sometimes doesn't wake the phone).
NO PROBLEMS WHEN:
1. I manualy sleep the screen, and press power again after a moment - I can bring it to a wake up state without any problems.
2. If the phone is connected through USB - there is also no problem to instantly bring the wakeup screen.
3. There is also no problem to bring the wakeup screen with adb
Code:
adb shell input keyevent 26
I was expecting it to be some sort of sensor problem, as it persists to other roms, even coming back to 5.1.1 which previously worked flawlessly in this department.
I've tried this: http://forum.xda-developers.com/opt...mpting-to-fix-broken-sensors-mm-e975-t3297566 without any results. I've also tried restoring factory settings.
Any ideas?
ZPZG said:
PROBLEM
I was expecting it to be some sort of sensor problem, as it persists to other roms, even coming back to 5.1.1 which previously worked flawlessly in this department.
Click to expand...
Click to collapse
What does CPU-Z think of your sensor data? it's being represented correctly?
blackbird5308 said:
What does CPU-Z think of your sensor data? it's being represented correctly?
Click to expand...
Click to collapse
The sensor as far as I know is binary, so either something is in proximity or not, and as that it works correctly under any system.
After reverting to stock 4.4.2 the problem does not appear.
Installing AOSP 6 again - the problem returns.
ZPZG said:
The sensor as far as I know is binary, so either something is in proximity or not, and as that it works correctly under any system.
After reverting to stock 4.4.2 the problem does not appear.
Installing AOSP 6 again - the problem returns.
Click to expand...
Click to collapse
well, i don't really know, my proximity sensor has been working well since first time i went 6.0 AOSP, even when no other sensor was working at all
blackbird5308 said:
well, i don't really know, my proximity sensor has been working well since first time i went 6.0 AOSP, even when no other sensor was working at all
Click to expand...
Click to collapse
Honestly I don't know what is the problem, but in every thread concerning wakup issues and E975 the sensors are blamed. The physical sensor is working properly as I am not having any problems running stock 4.4.2.

Notification LED simulation App

I stumbled on Reddit at this cool App that simulates a Notification LED using the actual screen. It was also featured on XDA and I decided to give it a try on the Mi9T. The App is called NotifyBuddy and is available for free on the Play Store.
My experience with it over a whole day was great. It actually looks like an LED lighting up. Since we have a Amoled screen it just uses a tiny part of the screen, so there is no huge battery drain. Also to prevent burn in it moves slightly in position every 5 to 10 minutes or so from left to right. You can have different colors for different Apps and how long the LED effect will be active until switching off. I have mine on for 5 minutes.
My major concern was battery life since when the App is active the phone probably doesn't go to deep sleep but after now 24 hours of the phone being unplugged I can say it's great. Just look at the Screenshots. I'm at 50% right now and almost 4,5 hours of SOT over 24 hours of usage. It works very well so far and if this doesn't get worse there is no reason to not keep it. Try it out guys if you are missing a Notification LED on the actual front of the phone.
App link:
https://play.google.com/store/apps/details?id=com.xander.android.notifybuddy
Doesn't work for me, do you use your fingerprint scanner to unlock because I suspect it might be conflicting with that. None of those similar apps ever work for me
Doesn't work for me also, there its no way to make it work
Weird. It works for me
Doesn't work for me. I use fingerprint scanner. Wish it did work though, as this would be really helpful.
I had to reboot the phone to have the app working
perdu79 said:
I had to reboot the phone to have the app working
Click to expand...
Click to collapse
Tried that and still nothing. How strange!
tristan1990 said:
Tried that and still nothing. How strange!
Click to expand...
Click to collapse
I guess you granted the app the required permissions ( asked when you first launch it) and allow notifybuddy to start in backgroup, display on lock screen ?
I'm running MUI global 10.3.10
Can anyone confirm who does have it working, that it works with fingerprint unlock?
perdu79 said:
I guess you granted the app the required permissions ( asked when you first launch it) and allow notifybuddy to start in backgroup, display on lock screen ?
I'm running MUI global 10.3.10
Click to expand...
Click to collapse
Where did you download the global 10.3.10?
svenerator said:
Can anyone confirm who does have it working, that it works with fingerprint unlock?
Click to expand...
Click to collapse
I advise you to try this:
1. Remove the fingerprint.
2. Run the application, when you first start, allow notifybuddy to run in the backgroup, display locks on the screen.
3. And then create a fingerprint.
4. Reboot the phone.
A
- I received the 10.3.10 by OTA... (you can manualy check for update into the "about phone" section)
- NotifyBuddy is working with Fingerprint unlock activated. The fingerprints where created before installing the app.
Tried deleting fingerprint before installing the app.
Then tried again after.
Could not make it work. If anyone has any more suggestions, they will be very much appreciated.
Using Global Stable 10.3.10.0
Doesnt work with AOD
this should be a feature in custom roms.
Doesn't work for me
svenerator said:
Can anyone confirm who does have it working, that it works with fingerprint unlock?
Click to expand...
Click to collapse
I got it working, but it does not work with the fingerprint unlock have to press the power button first and then use fingerprint
Prof Reminder. Use this app and forget about any other app that involves notification LED. I use this app since i received this Mi9T. I was upset for missing the usual notification Led and i have searched for other options. This app does not consume any battery and is very easy to set up. When you have missed notification (WhatsApp, sms, call, etc), this app reminds you over and over.... Sorry if it's off topic or something but i just try to help! Respect!
cuoresporttivo said:
Prof Reminder. Use this app and forget about any other app that involves notification LED. I use this app since i received this Mi9T. I was upset for missing the usual notification Led and i have searched for other options. This app does not consume any battery and is very easy to set up. When you have missed notification (WhatsApp, sms, call, etc), this app reminds you over and over.... Sorry if it's off topic or something but i just try to help! Respect!
Click to expand...
Click to collapse
Dude, you "saved my life"with this application.
I came from a OnePlus 3 and never had a Xiaomi phone before, and the lack of a visible LED was annoying me a lot.
I had it work for all of 5 mins and no matter what I try I cant get it to work.

Categories

Resources