Skip to main content

Questions tagged [sensors]

Use this tag for questions related to issues with sensors equipped in devices, such as: Ambient light (ALS), Accelerometer, Back-illuminated sensor (Backside Illumination, BSI or BI), etc. Note that 'compass', 'gps', 'gyroscope', and 'proximity-sensor' have their own tags.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

How to disable turning screen off based on proximity / light sensor?

Problem: Android 13.0.0 turns screen off based on proximity / light sensor. How to disable turning screen off based on proximity / light sensor? I've already tried to find a dedicated setting by ...
pmor's user avatar
  • 131
0 votes
0 answers
54 views

Increase accelerometer sensitivity

I have a Samsung Galaxy S23 Ultra. I wish to increase the sensitivity of my accelerometer. I play a combat game with jets and cannot switch to a joystick as I have played too long with an ...
Tom Harkness's user avatar
0 votes
0 answers
27 views

Prevent accidental touch while speaking on GrapheneOS (AOSP)

I've got a Google Pixel 8 Pro running GrapheneOS. When I'm on the phone talking to somebody and hold the phone to my ear, it very often accidentally registers taps. This e.g. leads to activation of ...
smoff's user avatar
  • 103
0 votes
0 answers
233 views

"Changing sensor privacy requires the following permission: android.permission.MANAGE_SENSOR_PRIVACY" when trying to change sensor_privacy

I would like to use the following command from ADB service call sensor_privacy 4 i32 1 to turn OFF my sensor, but it gives me Changing sensor privacy requires the following permission: android....
Thomas Vereaghe's user avatar
1 vote
0 answers
169 views

How can I disable my phone's magnetic field sensor or stop Android from using its data for `Sensor.TYPE_ROTATION_VECTOR`?

I've noticed that OsmAND's compass is much more accurate when forcing it to use the orientation sensor (Sensor.TYPE_ORIENTATION) instead of the magnetic field sensor (Sensor.TYPE_MAGNETIC_FIELD). ...
Atemu's user avatar
  • 570
0 votes
0 answers
47 views

How can I get tracking data (transparently) from Android, like the data from sensors that apps routinely collect?

I want to make a data science workshop. I know that some apps in smartphones in general have the ability to get tracking data, for ad, tracking and surveillance purposes. I want to make people more ...
Barros's user avatar
  • 1
5 votes
1 answer
3k views

Body Sensor Permission? What all kinds of information could it get of our body?

How is the Body Sensor Permission utilized by the apps? I'm aware that it uses a hall and proximity sensor to detect human presence. I want to know how exactly it detects specific people. I'm talking ...
44yu5h's user avatar
  • 1,578
2 votes
0 answers
342 views

How to enable the light sensor with ADB while the screen is off?

how to enable the light sensor with ADB while the screen is off? I want to check the values of /sys/class/sensors/light_sensor/lux, but it changes only when the screen is on. What I have tried, but ...
mc1's user avatar
  • 21
2 votes
1 answer
463 views

Why does the fingerprint sensor trigger the screen?

When I touch the fingerprint sensor while I watch YouTube in the app it activates the controls on YouTube, like I was tapping the screen. Somehow the YouTube app and maybe other apps listen to the ...
Ádám Bozzay's user avatar
1 vote
0 answers
874 views

Do Samsung finger scanners constantly use battery if you keep your finger on the sensor without needing to scan anything?

I'm using the Samsung A32 5G. It has a finger sensor that allows the phone to be unlocked, I'm wondering if the phone is on and you constantly keep your finger on that sensor, will it continue to try ...
ShangWang's user avatar
  • 373
3 votes
0 answers
215 views

find out what app/package uses sensor

on my device running AOSP something accesses a sensor of my phone continuously, preventing it from going into deep sleep and thus draining battery. Logcat shows the pid, but that just links to android....
Tobi Peter's user avatar
4 votes
1 answer
6k views

How do I get the temperature of my phone via ADB?

At work, I run lots of automated software testing on Android phones. They stay permanently plugged into a development machine, and are given jobs to run via ADB. I'd very much like to be able to ...
John Dallman's user avatar
  • 2,050
2 votes
1 answer
3k views

Can Sensors Off (developer options) be controlled via ADB?

Can Sensors Off (developer options) introduced in Android 10 be controlled via ADB? Haven't got it from AOSP sources yet: Sensors Off | Android Open Source Project
Agus Fadillah Sani's user avatar
1 vote
0 answers
24 views

Simultaneous USB connections limitation

I get my hand on a Samsung Galaxy Tab A7 Lite LTE and I want to connect several devices to it. I use an USB Hub with 7 sensors connected to it and my app retrieve all the data. My problem is I can't ...
Deltrak's user avatar
  • 11
1 vote
1 answer
99 views

Android 10 phone screen only unlocks if the light sensor detects enough light

This is a very strange issue I'm having. I have an LG K40S with Android 10 and a couple of days ago I started having problems unlocking its screen. Neither the power button nor the biometrics sensor ...
Flavio Fernandes's user avatar
0 votes
0 answers
57 views

How can I do low-power step counting on the LG G5?

Background information (you can skip this) The Sensor Detect app says that the LG G5 includes a "LGE Step Counter Sensor" made by "QTI" which uses about 0.18 mA of energy. "...
unforgettableidSupportsMonica's user avatar
0 votes
2 answers
100 views

How to automatically turn on the screen on double touch of turned-off screen?

Is it possible to turn on my Android 10 phone's (Samsung Galaxy S9) screen like my Android 11 tablet (Samsung Galaxy Tab S6), by double touching the turned-off screen? Or when detecting that it has ...
silviubogan's user avatar
2 votes
0 answers
75 views

Repeating error on logcat: "FingerGoodix: Useless INT"

I have a problem with a fingerprint scanner. It doesn't work no matter what firmware I use. I flashed different fixes but it didn't help. I captured a log and found these repetitive lines: 02-10 14:23:...
user avatar
1 vote
0 answers
725 views

How to set emulator sensor values programmatically?

I'm looking for a way to set the x, y, and z values for the accelerometer sensor on an android emulator for tests using espresso. My test requires that the device be positioned in a specific way and I ...
Jose Jaime's user avatar
2 votes
1 answer
581 views

Proximity Sensor is mocked to 5cm, screen still goes dark

After replacing the display of my Xiaomi Mi A2 Lite, my proximity sensor is giving me wrong values (saying, my phone is always covered). I mocked my sensors using the XPosed Sensor Disable App, and ...
DLIK's user avatar
  • 31
0 votes
1 answer
3k views

Phone temperature sensor not working - Charging slow - How to fix?

Recently, something has happened to my phone's temperature sensor. It's showing ridiculously high values for the temperature (over 100 degrees), even though it's very cold. This has caused my phone to ...
Leopard20's user avatar
1 vote
0 answers
36 views

Can Doogee Y9 Plus run AR apps?

I have recently bought a Doogee Y9 Plus. As I found out, the phone does not have a compass or gyroscope. I wanted to ask if the phone could still use AR apps. The phone isn't rooted, but I might even ...
vyPal's user avatar
  • 11
3 votes
0 answers
1k views

Need help understanding logs to find the cause of random reboots on android device

Can someone help me read these logs? This is the only error that I have seen pop up repeatedly in multiple logcats. Logs: 05-20 19:14:50.604 12571 12571 E lhd : <McuCrash HwException="...
TheCommentWriter's user avatar
1 vote
1 answer
5k views

How do Android EMF detectors work?

Searching the play store for emf detector shows a bunch of apps that can measure the electromagnetic radiation level and they do seem to somehow work. What is the operating principle behind these ...
ccpizza's user avatar
  • 550
0 votes
0 answers
1k views

Difference between Android sensors (acceleration, gyroscope, rotation vector)

I have an Android 7 phone and I have written an Android application for recording the following sensor values: Accelerometer (Sensor.TYPE_ACCELEROMETER) Linear acceleration (Sensor....
machinery's user avatar
  • 115
1 vote
1 answer
521 views

Is it possible to access Face ID sensors raw data?

My Honor 10 has facial recognition capability in the dark, I suppose it works like Apple's Face ID which would rely on and IR camera and an Infrared pattern/dot projector. So, since the Settings app ...
R3D34THR4Y's user avatar
0 votes
1 answer
3k views

Send fake sensor value to an Android real device

Is possible to simulate an event on a Android real device? More precisely, I want to test an application which does something if a particular temperature value is detected. Is there an adb command, ...
matz_'s user avatar
  • 1
0 votes
2 answers
11k views

How to stop uncorrect counting of my steps on Huawei Health app?

I have Huawei Mate 9 with Huawei health app preloaded. I travel most of the time by trains. I noticed the Huawei health recogizes any shaking in the train as steps while I am just standing or sitting. ...
mms911's user avatar
  • 127
0 votes
0 answers
125 views

How to disable sensors on-demand to reduce power consumption?

Nowadays, any Android device has a big sensor amount implemented. It is true that most of the sensors do not require a considerable amount of power for their operation. But the sum of the power ...
BamsBamx's user avatar
  • 101
3 votes
2 answers
529 views

Do different phones have different accelerometer quality? Is there a way to measure it?

I'm creating an Android application that basically detects the vibration of a car on streets and saves the data in a file that I'll analyze later. But I'm curious to know if there's such a thing as an ...
Rafael Muynarsk's user avatar
0 votes
1 answer
788 views

Xiaomi Mi A1 - Touch screen, capacitive buttons, fingerprint scanner dead

A week ago all the input sensors (touch screen, capacitive buttons, fingerprint scanner) on my Xiaomi Mi A1 died, completely out of the blue. The device had never been rooted, and was running the ...
Luke Needham's user avatar
0 votes
0 answers
31 views

How To Transmit (text/tweet) Temperature and Humidity Data From a Samsung S4

I'd like to be able to use my Samsung S4 as a wireless temperature/humidity for a climate controlled storage unit. Does anyone know of a way to have that data texted/tweeted from the phone?
Asman Kei's user avatar
  • 101
4 votes
1 answer
8k views

Disable magnetic screen on/off *without* Xposed?

Long story short, looking for a way to either disable the behaviour of screen turning on/off in reaction to magnets, or disable the Hall sensor (the sensor responsible for the reaction) altogether. ...
Andy Yan's user avatar
  • 9,617
0 votes
2 answers
752 views

S-helth in my Samsung Note 5 'none rooted' android 7.0 Nougat, is not working

S-helth in my Samsung Note 5 'none rooted' android 7.0 Nougat, is not working, I tired so many methods... but no use my phone is not rooted, but I get following message every time I open s-helth, that ...
Akshay Jose's user avatar
1 vote
0 answers
1k views

Calibrate accelerometer?

I'm developing an app that is supposed to measure vertical accelerations, and in the process I've discovered that the accelerometer seems to be uncalibrated. When the phone is lying perfectly ...
Magnus's user avatar
  • 621
1 vote
0 answers
36 views

Does no mention of GPS (on selling site) mean there is no GPS? [closed]

I'm looking at the AT&T LG Phoenix 2. It does not mention GPS on either Best Buy nor AT&T, and only mentions a cryptic "GPS Service for location accuracy" on LG's site. (Though phonearena.com ...
ispiro's user avatar
  • 121
1 vote
0 answers
137 views

Where is the compass chip on the Nexus 6p?

I just replace the screen+lcd on my nexus 6p and the compass stopped working (this is not just a calibration issue, it looks like the compass chip is dead). I think that I might have damaged the ...
newmathwhodis's user avatar
0 votes
0 answers
31 views

Is my device's acceleromoter working as it should?

I recently installed Asphalt Nitro, a racing app that supports using the device's "gyroscope" for steering. My device being as cheap as it is, it doesn't have a gyroscope, so I assume Asphalt is using ...
Nonny Moose's user avatar
3 votes
2 answers
8k views

"Significant Motion sensor" same as accelerometer?

I am trying to understand better the "Significant Motion" sensor: I know that I have accelerometer. Does it mean that the device also supports "Significant Motion sensor"? According to https://source....
ransh's user avatar
  • 339
1 vote
2 answers
664 views

Why isn't the touchscreen pressure reading being put into use by Android?

Just now I discovered the "Pointer Location" dev app on Android, which tells how much pressure is being applied on the point on the touchscreen. They even have it since Android 1.0. I know there may ...
Niranjan Dixit's user avatar
1 vote
1 answer
73 views

What exactly is a "Sensor" [closed]

I know this questions sounds kind of stupid but I don't get it. My question is "What is a sensor?" The answer is obvious "In the broadest definition, a sensor is an object whose purpose is to ...
Godlike's user avatar
  • 113
0 votes
1 answer
4k views

send fake accelerometer or multitouch signal to an application on Android x86

I have this challenge: I use proto.io to make demos of application I will develop, but this time I have to run it on a PC running Androidx86, connected to a touchscreen (no multitouch). Proto.io ...
rok's user avatar
  • 101
0 votes
1 answer
410 views

Screen permanently black with broken proximity sensor and Proximity Sensor Accelerometer App

My phone's proximity sensor is broken and constantly signals "covered". The screen turns black when I'm called. I installed an app Proximity Sensor Accelerometer to solve this and played around with ...
lisa p.'s user avatar
  • 101
1 vote
0 answers
1k views

Need to invert Accelerometer Axis

I need a way to flip the x-axis of my accelerometer (When the value would be positive, I want to make the output negative, and vice-versa). Currently, if I tilt the tablet into portrait mode (or ...
tOSdude's user avatar
  • 11
3 votes
1 answer
7k views

Google Maps shows constantly rotating direction despite other compass apps working correctly

Google Maps reports rotating direction (0.5 rotations / minute) with stationary phone. The compass is calibrated and works correctly in compass-specific apps. https://www.youtube.com/watch?v=...
Streblo's user avatar
  • 131
1 vote
0 answers
1k views

How to invert and tweak the Android sensors like gyroscope, accelerometer, etc.?

I am experimenting some VR stuff and I need to know how to invert the gyro sensor and other sensors like accelerometer. Is there any kind of app that can do this? I would like to find an app that can ...
user182379's user avatar
0 votes
1 answer
6k views

Difference between a gyro sensor and a compass sensor?

Some Android devices feature a gyro (gyroscope) sensor. Some only have a compass sensor. Besides a gyro being 3D and a compass being 2D, what are the differences between a gyro sensor and a compass ...
Amazon Dies In Darkness's user avatar
0 votes
1 answer
6k views

Send "step" sensor event from ADB

My smartphone has sensors those: Step Detector | Qualcomm | 0x0000001e | on-demand | no batching support | last=<0.000000> Step ...
SamedDeger's user avatar
0 votes
1 answer
469 views

Accessing environment sensor data from a web page (HTML/JS/PHP)

Is it possible to fetch the temperature info on the device from a web page using html/javascript/php? Or would an app be required to do this?
Jim's user avatar
  • 149
5 votes
1 answer
14k views

Can i fake having a gyroscope?

I recently started playing 'Pokémon Go', but for the AR/VR to work a gyroscope is required. Is it possible to simulate/fake a gyroscope using the sensors already in the phone? I have a Vodafone smart ...
Terry's user avatar
  • 151