Update: Sorry about the title, it should be "[Q] All Nexus 5 SENSORS mysteriously non-functional?"
Well, I usually don't post under Q&A, Help & Troubleshooting unless I'm stumped...
I was flashing an OMNI-hammerhead update a couple days ago on my N5 and noticed something funny, the orientation sensor on my phone didn't seem to work, and I couldn't tilt my phone anymore. I quickly googled the problem expecting somebody with a similar problem but I haven't found one yet... I figured it was just a bad build, so I opened up TWRP and reflashed the zip for my original working OMNI install. The orientation sensor still didn't work... So I booted back into recovery and did a systen-data-cache-dalvik wipe and reflashed OMNI. Still, the sensor wouldn't work. I installed Android Sensor Box and opened it up and it said the only available sensor was the sound sensor. Furthermore, when I was taking a look through the sysfs none of the usual device firmware directories were showing up. `lsmod` seems to show that all of the kernel modules are loaded for my phone, and re-flashing my phone to stock android didn't help either. Finally, today I decided to back up my /data/media folder and reflash everything, including the radio and bootloader using the Unified Android Toolkit. Still, after all of that, the only sensor that shows up is the sound sensor. No compass, no accelerometer, nothing. What should I do? What should I try?
joshumax said:
Update: Sorry about the title, it should be "[Q] All Nexus 5 SENSORS mysteriously non-functional?"
Well, I usually don't post under Q&A, Help & Troubleshooting unless I'm stumped...
I was flashing an OMNI-hammerhead update a couple days ago on my N5 and noticed something funny, the orientation sensor on my phone didn't seem to work, and I couldn't tilt my phone anymore. I quickly googled the problem expecting somebody with a similar problem but I haven't found one yet... I figured it was just a bad build, so I opened up TWRP and reflashed the zip for my original working OMNI install. The orientation sensor still didn't work... So I booted back into recovery and did a systen-data-cache-dalvik wipe and reflashed OMNI. Still, the sensor wouldn't work. I installed Android Sensor Box and opened it up and it said the only available sensor was the sound sensor. Furthermore, when I was taking a look through the sysfs none of the usual device firmware directories were showing up. `lsmod` seems to show that all of the kernel modules are loaded for my phone, and re-flashing my phone to stock android didn't help either. Finally, today I decided to back up my /data/media folder and reflash everything, including the radio and bootloader using the Unified Android Toolkit. Still, after all of that, the only sensor that shows up is the sound sensor. No compass, no accelerometer, nothing. What should I do? What should I try?
Click to expand...
Click to collapse
Here you go.
http://forum.xda-developers.com/google-nexus-5/general/sensors-fix-nexus-5-t2704915
wolfu11 said:
Here you go.
http://forum.xda-developers.com/google-nexus-5/general/sensors-fix-nexus-5-t2704915
Click to expand...
Click to collapse
Hmm, it was really that simple?
Huh, who'da thought...
Thanks!
Hi all,
Got my OnePlus One last week. It's a Chinese version that comes with ColorOS. I immediately tried to flash CM11 nightly onto it after I checked the phone is working.
For some reason I thought I could flash CM11 directly, and so the first thing I did was installing TWRP 2.8.0.1. Then, I copied CM11 zip in to /sdcard , booted to TWRP recovery, wiped all partitions (including System) and then flashed CM11. In hindsight, I believe it was the wrong way to get CM11. I could have wiped something really important (sensors drivers?) when wiping System.
Initially, CM11 nightly seemed to work OK. Then I noticed the Auto-Rotate is not working at all. I installed CPU-Z and *gasp*, there's not a single sensor listed in the CPU-Z Sensors tab!
I spent hours today trying various methods (flash CM11S, flash ColorOS, flash /persist, /reserve4 partitions). However, the sensors are still dead! Besides auto-rotate, I think auto-brightness, proximity sensors are all dead.
Is there any way to get the sensors working again? Your help is much appreciated!
Try http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 and see if your sensors work after restoring to factory images.
Someone else said only twrp 2.7 is supported for opo, another guy had similar device breaking problems with 2.8.
I'm using TWRP 2.8.0.1 and have no problems. TWRP 2.8 had problems, but 2.8.0.1 resolved them.
Thanks a lot for the quick reply, zephiK! I've run flash-all.sh and I'm in CM11S now.
CPU-Z no longer shows an empty Sensors list! however, only the following 4 sensors have readings:
AK8963 Magnetometer
AK8963 Magnetometer Uncalibrated
TMG-3993 IR_Gesture & Proximity
TMG-3993 Ambient
No readings for the rest...
Does auto rotate work? I'm not really sure how your sensors disappeared in the first place, its very odd.
/system is wiped on every ROM flash anyway so that's not the reason. Glad it's working better at least. Any more issues with the sensors other then some not showing?
Nope, the auto-rotate is still not working.
I've just rebooted CM11S, and... the Sensors tab in CPU-Z became empty again! This is very strange indeed...
I think t is a kernel problem,
Maybe you van flash the original boot.img
Rebooted again. The list of sensors are showing in CPU-Z again, and the same 4 lines have readings (AK8963 Magnetometer, TMG-3993). Still no auto-rotate.
My gut feeling is that there is a low level corruption in one of the "special" partitions. By special I mean the ones that are there but not included in any of the ROMs or factory images. Unfortunately, I don't have a NANDROID backup to restore from (Huge mistake on my part).
Is there a way to download an NANDROID image containing those special partitions?
@gurby1, I thought about kernel problem too, but I've tried flashing many ROMs and kernels:
CM11S 33R
CM11 Nightly 20140296
Franco Kernel r20
ColorOS 2.0 beta
ColorOS 1.2
and the results were the same - broken auto-rotate.
Bump. I'm still looking for a full partitions dump of the OPO.
Something similiar to this one for LG G3: http://forum.xda-developers.com/showthread.php?t=2766437
DecemberNexus said:
Bump. I'm still looking for a full partitions dump of the OPO.
Something similiar to this one for LG G3: http://forum.xda-developers.com/showthread.php?t=2766437
Click to expand...
Click to collapse
Hello,
Did you find a solution ? I have exactly the same issue as you. It even worst, I don't see any sensor on my device. I have installed many ROMs without any success. I hope it is not a HW problem
Thanks.
Guys.. I also have this issue..
Glad if there any solution on this...
Same problem
Guys any solution yet? I'm getting annoyed by this so much.. Please post here if u have found any solutions. Thx.
I also have the sensor problem which is all sensor is "not supported" in antutu and empty in CPU-Z sensor tab. I fixed it by flashing the persist.img from this thread http://forum.xda-developers.com/oneplus-one/help/fix-brickloop-audio-fx-fc-efs-corrupt-t2879061
I know it's a very old topic, but was someone able to recover the non working sensors? It's hard to believe it's a hardware issue, as the proximity sensor should be completely separate from the e.g. accelerometer...
Tried flashing all .bin files via fastboot with no luck...
Dzhedaj said:
I know it's a very old topic, but was someone able to recover the non working sensors? It's hard to believe it's a hardware issue, as the proximity sensor should be completely separate from the e.g. accelerometer...
Tried flashing all .bin files via fastboot with no luck...
Click to expand...
Click to collapse
Have you try flash the persist.img?
TheDynamiteGuy said:
Have you try flash the persist.img?
Click to expand...
Click to collapse
Tried flashing everything, modems, persist.img, etc. Nothing helps, so seems something is toast in the hardware...
Hey guys, I recently flashed the Stock ROM PI3. The flash was successful, but I soon found out I have lost a lot of functionality in my phone. My sensors stopped working. My phone doesn't count steps anymore, can't auto-rotate, IR Blaster doesn't work, Heart rate sensor doesn't work, waving your hand over the front screen doesn't wake the screen anymore. The only sensor that seems to work is the fingerprint sensor. I have tried wiping data/cache and reflashing the stock ROM, at the link mentioned earlier, but nothing has solved this issue. If anyone has any idea what is going on, that would be very helpful!
Try to download the firmware again and then try flash it. Also make sure you have the latest version of odin
Hello guys,
I've got a problem with my Nexus 5 - after few hours of being powered on and idle, the proximity and light sensor stops reporting anything and reboot is needed to restore them (eventually, the problem returns and another reboot needs to be done in order to make them work again).
At the moment I'm at Marshmallow, build MTC20F, kernel ElementalX-6.27.
I tried to change baseband and bootloader, but it didn't help.
Is it possible to get rid of this without downgrading system to KitKat?
Thanks in advance.
Does the same problem happen on stock MM? If not, I would conclude that the custom ROM is not fully compatible with the phone.
I searched for hours and only found incomplete bits and pieces, so I hope you guys can help me.
I flashed my G920F with FrankensteinS6 (a custom rom with the latest stock kernel) and everything works fine, but I can't get the fingerprint sensor to work, it always prompts me to restart the device.
I found a few posts stating that I have to flash the correct bootloader in order to get fingerprints to work again.
I just flashed the BL/AP/CP and CSC of the latest stock firmware. I tried to activate the fingerprint lock on the stock os to eliminate the custom ROM as a factor. However, it didn't work: I get the exact same error. Even after wiping the cache and performing a factory reset, it still shows that error. Also, the fingerprint sensors shows "Version: Null" in the *#0#* menu. Any ideas?
Strel0ka said:
I searched for hours and only found incomplete bits and pieces, so I hope you guys can help me.
I flashed my G920F with FrankensteinS6 (a custom rom with the latest stock kernel) and everything works fine, but I can't get the fingerprint sensor to work, it always prompts me to restart the device.
I found a few posts stating that I have to flash the correct bootloader in order to get fingerprints to work again.
I just flashed the BL/AP/CP and CSC of the latest stock firmware. I tried to activate the fingerprint lock on the stock os to eliminate the custom ROM as a factor. However, it didn't work: I get the exact same error. Even after wiping the cache and performing a factory reset, it still shows that error. Also, the fingerprint sensors shows "Version: Null" in the *#0#* menu. Any ideas?
Click to expand...
Click to collapse
There's a zip floating around that flashes the stuff for the fingerprint sensor