OnePlus 8 Sensors - OnePlus 8 Questions & Answers

Doesn't someone happen to have a complete list of sensors in OP8 (proximity, light, rotation etc.) - ideally as an output of some sensor detect app (I don't trust manufacturer specs .
I'm especially interested whether pressure/barometric sensor is included this time.
Thanks!

hedik said:
Doesn't someone happen to have a complete list of sensors in OP8 (proximity, light, rotation etc.) - ideally as an output of some sensor detect app (I don't trust manufacturer specs .
I'm especially interested whether pressure/barometric sensor is included this time.
Thanks!
Click to expand...
Click to collapse
All except Baro no pressure sensor

Related

[Q] Difference - Gyro Sensor & G-Sensor

Hi,
Is there any difference between G-Sensor and Gyro Sensor?
HTC Sensation specifications states both sensors
Sensors
Gyro sensor
G-Sensor
Digital compass
Proximity sensor
Ambient light sensor
There is, but it's kinda subtle.
A G-sensor (accelerometer) can measure the change in acceleration of the device towards a direction. If you move the handset with a constant speed (no acceleration) then it shouldn't pick any signal. However, when moving their hand people change the speed slightly so an accelerometer picks that, but it will look sluggish.
A gyroscope can measure orientation, rotation and speed, so it can complement data collected from the accelerometer to smoothen out the reading of movement a great deal.
It's not the most important thing ever, but it's definitely a plus. Apps that use gyroscopes (mostly games and augmented reality apps) behave way more smoothly with it.
To put it more simply: The G-sensor measures the movement of the device. (By measuring acceleration). The gyro measures the tilt. They can work together to get more precise measurments of both.
Thanks for the explanations Guys...

Hall Sensor

I am working on a project with Hall Sensor in Samsung Galaxy S4. It works fine but the problem is i dont know how to use the sensors for realtime apps except smart sview. If you post the idea's then we can use my hall sensor class with the activity app to create variety of apps.
Also i want to know how much magnetic force needed to activate sensor. i dont want to damage my sensor with power full magnet while testing. and couple of ideas to get low power magnets from which toys suitable for this project.
sanris said:
I am working on a project with Hall Sensor in Samsung Galaxy S4. It works fine but the problem is i dont know how to use the sensors for realtime apps except smart sview. If you post the idea's then we can use my hall sensor class with the activity app to create variety of apps.
Also i want to know how much magnetic force needed to activate sensor. i dont want to damage my sensor with power full magnet while testing. and couple of ideas to get low power magnets from which toys suitable for this project.
Click to expand...
Click to collapse
Hi since i am seeing you working with the hall sensor, hope you can solve or suggest whats wrong in my GTi9500 India version. the S-view display comes by itself, when i am just holding the phone in my hand[ without the actual S-view cover].
Details.
My GTi9500 is just having its own back cover, nothing extra,
when i make a call and hold the phone in my hand, i can see the call screen of the s-view mode flashing for a brief and then goes back to normal. i understand that the sensor is right below the volume button, and when i am holding this area with my hand i can see this s-view display flicker.
it also happened couple of times in app drawer screen and the stock browser screen.
my phone is complete stock, i havent rooted it and changed the rom/kernel/modem.
have run the diagnostics via *#0*# Diagmode
am seeing the sensor test results are PASS>
so how can i solve this. or is this a hardware issue and do i go for a repair?
First you need to confirm whether the problem occurs when phone in a wooden table without surrounding by magnetic flux. Just find a better place with very magnetic field, etc and put in a wooden table and confirm whether it changes or not. In couple of days, i will release the hall sensor monitor. you can use it too to find it instead of looking into phone for long time.
Second, if it happens only in hand, then
if you wearing any magnet rings or other iron (may magnetized by flux), etc then remove it then operate the phone and confirm whether your problem is solved or not.
Hall Sensor, is a very sensitive sensor which is just below the volume buttons and few mm away from edge.
Hall Sensor working based on sensitive magnetic flux attraction. (not sure whether its south pole or north pole. i dont have testing magnet with pole identifications)
Hall Sensor activates automatically if the magnetic field is > xx (minimum) level. In S-View cover, its very very tiny magnet not easy to notice by novice users. so your phone may act abnormal when you using your rings, bracelets, etc.
--
if your phone works abnormally when in isolated wooden table and there is no high radiation towers near you then its hardware defect. you need to contact customer care service centre.
sanris said:
First you need to confirm whether the problem occurs when phone in a wooden table without surrounding by magnetic flux. Just find a better place with very magnetic field, etc and put in a wooden table and confirm whether it changes or not. In couple of days, i will release the hall sensor monitor. you can use it too to find it instead of looking into phone for long time.
Second, if it happens only in hand, then
if you wearing any magnet rings or other iron (may magnetized by flux), etc then remove it then operate the phone and confirm whether your problem is solved or not.
Hall Sensor, is a very sensitive sensor which is just below the volume buttons and few mm away from edge.
Hall Sensor working based on sensitive magnetic flux attraction. (not sure whether its south pole or north pole. i dont have testing magnet with pole identifications)
Hall Sensor activates automatically if the magnetic field is > xx (minimum) level. In S-View cover, its very very tiny magnet not easy to notice by novice users. so your phone may act abnormal when you using your rings, bracelets, etc.
--
if your phone works abnormally when in isolated wooden table and there is no high radiation towers near you then its hardware defect. you need to contact customer care service centre.
Click to expand...
Click to collapse
Thanks for your feedback, lemme try this and comeback...
Still issues
ksenthi5 said:
Thanks for your feedback, lemme try this and comeback...
Click to expand...
Click to collapse
Hi, the problem still persisted even when the phone is just in the wooden table, hence i went to service center and they changed the mother board.
[not sure whether the sensor gets changed with this], as the executives don't even have knowledge of sensors...
but with the new board also am facing the same problem.
note: i owned a S4 for three months prior to this, and was walking.using, working in the same environment. and with same environment am still there. but facing this issue only in the new phone...
what shall i do... force to get my phone replaced?????
Contact customer care online and submit a complaint about malfunction of Hall sensor as well as problem persist after changing motherboard. Then go to customer care with the online complaint and ask them to replace hall sensor.
Sent from my GT-I9500 using XDA Premium 4 mobile app
One doubt
sanris said:
Contact customer care online and submit a complaint about malfunction of Hall sensor as well as problem persist after changing motherboard. Then go to customer care with the online complaint and ask them to replace hall sensor.
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
As am not so novice on Hardware, when you ask me to request the service technician to change the hall sensor, even after changing the motherboard, do you mean that the Change of board doesnt constitute hall sensor change?.
is that a seperate entity
ksenthi5 said:
As am not so novice on Hardware, when you ask me to request the service technician to change the hall sensor, even after changing the motherboard, do you mean that the Change of board doesnt constitute hall sensor change?.
is that a seperate entity
Click to expand...
Click to collapse
samsung replace the phone only if problem unable to resolve after changing parts several times. thats why i told you like that.
there is only three kind of problems.
1. sensors not working properly
2. sensors working properly but sensorhub ic(u805) or corresponding ic unable to process values from sensor and fail to send further.
3. environment makes the sensor work ubnormaly.
in motherboard it has most of sensors as well as ic's u805 , u807 & u600 .
in small piece of pcb in bottom have humidity and temperature sensors which feed data to the above ic's.
few sensors may not directly in motherboard and feed data to motherboard.
i just want to know few things
1. whats your exact problem ? (screen goes blank sometimes or do you see the mini window ). screen goes blank in two situations. 1) when samsung service receive DOOR_CLOSED event from hall sensor , 2) proximity sensor detect close objects and during call (by software program) it turn off display.
2. settings > My Device > Accessory > S View Cover - make sure this setting is disabled for you.
3. how you checked your hall sensor is malfunctioning ?
----------------------------------------------
To activate hallsensor
SIMPLY USE MAGNETIC SCREW DRIVER . see the snapshots
also pls send your email id to me in PM, i will send you some reference materials and circuits. so you can understand better.
sanris said:
samsung replace the phone only if problem unable to resolve after changing parts several times. thats why i told you like that.
there is only three kind of problems.
1. sensors not working properly
2. sensors working properly but sensorhub ic(u805) or corresponding ic unable to process values from sensor and fail to send further.
3. environment makes the sensor work ubnormaly.
in motherboard it has most of sensors as well as ic's u805 , u807 & u600 .
in small piece of pcb in bottom have humidity and temperature sensors which feed data to the above ic's.
few sensors may not directly in motherboard and feed data to motherboard.
i just want to know few things
1. whats your exact problem ? (screen goes blank sometimes or do you see the mini window ). screen goes blank in two situations. 1) when samsung service receive DOOR_CLOSED event from hall sensor , 2) proximity sensor detect close objects and during call (by software program) it turn off display.
2. settings > My Device > Accessory > S View Cover - make sure this setting is disabled for you.
3. how you checked your hall sensor is malfunctioning ?
----------------------------------------------
To activate hallsensor
SIMPLY USE MAGNETIC SCREW DRIVER . see the snapshots
also pls send your email id to me in PM, i will send you some reference materials and circuits. so you can understand better.
Click to expand...
Click to collapse
see the photos to generate sviewcover door close event
sorry, i just read your first message again. your problem definetly related with hallsensor (if actually available). other wise its related to magnetic sensor. i will open my s4 and confirm you whether hall sensor is in motherboard or separated OR magnetic sensor acting as a hall sensor.
problem is only with hall sensor or sensorhub ic u805. you can also check whether the aluminium frame magnetized or not by using a iron piece. and try to turn off the S View Cover feature in my display> acc... like i mentioned in previous post.
for hall sensor testing, i almost finished my new android app, i will publish it and upload into xda soon. its running as a service+activity (b'cause. when doorcloses the activity get freezed and unable to log status. it log status again only after phone wakes. so i wrote part of sensor readings in service and display report in activity) and log the status when ever the door event raises. i mean Doorclosed/DoorOpen. and you need to open the application activity and see the report with timings and door state changes.
sanris said:
sorry, i just read your first message again. your problem definetly related with hallsensor (if actually available). other wise its related to magnetic sensor. i will open my s4 and confirm you whether hall sensor is in motherboard or separated OR magnetic sensor acting as a hall sensor.
problem is only with hall sensor or sensorhub ic u805. you can also check whether the aluminium frame magnetized or not by using a iron piece. and try to turn off the S View Cover feature in my display> acc... like i mentioned in previous post.
for hall sensor testing, i almost finished my new android app, i will publish it and upload into xda soon. its running as a service+activity (b'cause. when doorcloses the activity get freezed and unable to log status. it log status again only after phone wakes. so i wrote part of sensor readings in service and display report in activity) and log the status when ever the door event raises. i mean Doorclosed/DoorOpen. and you need to open the application activity and see the report with timings and door state changes.
Click to expand...
Click to collapse
thanks, in the idea of getting my phone replaced, again i visited the service center today, and they have taken it for service. ok
Please let me know about both senor - magnetic and Hall sensor... whether these two are separated from motherboard or attached to it.
Hi,
the app works well as far as I can say. Just one request: would it be possible to have the closed cover turn the screen off instead of locking the phone?
With the phone lock set to password, the time delay between screen off (time out or using the button) and phone lock is not respected.
Thanks!
Sent from my GT-I9505 using XDA Premium 4 mobile app
sanris said:
I am working on a project with Hall Sensor in Samsung Galaxy S4. It works fine but the problem is i dont know how to use the sensors for realtime apps except smart sview. If you post the idea's then we can use my hall sensor class with the activity app to create variety of apps.
Also i want to know how much magnetic force needed to activate sensor. i dont want to damage my sensor with power full magnet while testing. and couple of ideas to get low power magnets from which toys suitable for this project.
Click to expand...
Click to collapse
Have you released your app? I'm also curious how you receive the events from the sensor, and would be very happy if you could share the knowledge.
sanris said:
...
for hall sensor testing, i almost finished my new android app, i will publish it and upload into xda soon. its running as a service+activity (b'cause. when doorcloses the activity get freezed and unable to log status. it log status again only after phone wakes. so i wrote part of sensor readings in service and display report in activity) and log the status when ever the door event raises. i mean Doorclosed/DoorOpen. and you need to open the application activity and see the report with timings and door state changes.
Click to expand...
Click to collapse
Hi,
I just stumbled across your thread searching for Hall Sensor.
Is your app available somewhere? Also, sorry if this is a stupid question (I'm not into Android dev), but does your app depend on Samsung / TW framework / API or does it work with alternative ROMS (CM, AOSP, PA,..)?
AFAIK those ROMs do not support the S-View, so if your solution is not tied to Samsung framework / API, this would probably help a lot of people (like myself) running non-Samsung ROMs on their S4, Note 3.
As for different uses, there might be plenty but a good idea, I think, would be to develop a Tasker plugin. This would open a lot of possibilities.
Thanks.
LuMe96 said:
Hi,
I just stumbled across your thread searching for Hall Sensor.
Is your app available somewhere? Also, sorry if this is a stupid question (I'm not into Android dev), but does your app depend on Samsung / TW framework / API or does it work with alternative ROMS (CM, AOSP, PA,..)?
AFAIK those ROMs do not support the S-View, so if your solution is not tied to Samsung framework / API, this would probably help a lot of people (like myself) running non-Samsung ROMs on their S4, Note 3.
As for different uses, there might be plenty but a good idea, I think, would be to develop a Tasker plugin. This would open a lot of possibilities.
Thanks.
Click to expand...
Click to collapse
First, it's worth to mention I'm not involved in development of this app in any way.
One way to get the app is to install F-Droid, the alternate open source market. Then look for Hall Monitor.
The app doesn't depend on TW, it's developed from scratch. It definitely works on CM @ Galaxy S4 and should work on any device with magnetic sensor, but I didn't test it on any other device or ROM.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Hi,
Thanks a lot for the information.
Envoyé de mon GT-N5120 en utilisant Tapatalk
Hall monitor 0.2.2 is great for use with cm11.
Just found it and it works great. I just think it has unneeded permissions. Other than that it's a great app.
sanris said:
I am working on a project with Hall Sensor in Samsung Galaxy S4. It works fine but the problem is i dont know how to use the sensors for realtime apps except smart sview. If you post the idea's then we can use my hall sensor class with the activity app to create variety of apps.
Also i want to know how much magnetic force needed to activate sensor. i dont want to damage my sensor with power full magnet while testing. and couple of ideas to get low power magnets from which toys suitable for this project.
Click to expand...
Click to collapse
Hall sensor is not for generic use. The sole purpose of this sensor is to handle S-View cover. State of this sensor monitored in framework and there is no way to use it in 3rd party apps. Well, unless you root and hack the ROM (which is completely different story).
I have a similar kind of problem, when i turn on mobile data or when i am on a call, the S view will flash through the screen for few milliseconds.
Any idea on this guys ?
Thanks
It seems to be there is no dedicated hall sensor in device. magnetic sensor seems to be acting as hall sensor. in samsung galaxy s4, the the samsung core framework update the hallsensor data file with wrong values mistakenly. for example, change the door to CLOSED state even the door is open due to tiny fluctuation in magnetic sensor reading. samsung need to change hall sensor value from OPEN to CLOSED only when strong magnetic field. may be they fix this in next update.
For now, there seems to be 5 solutions.
1. you can turn off S-VIEW in settings
2. replace your magnetic sensor
3. root the device and write-protect the file hall_data in system folder with value "CLOSED"
4. root the device and try to disable S-VIEW
5. try other non-samsung rom
Karthik

[Q] Active Sensors

Is there any way to find out which sensors of device is active?
It's important when a buggy app active a sensor for all the time and battery going to die so fast
khatkhatik said:
Is there any way to find out which sensors of device is active?
It's important when a buggy app active a sensor for all the time and battery going to die so fast
Click to expand...
Click to collapse
Depending upon the app, required sensors get activated. For example, Google Maps uses Read Location permission that uses sensors like magnetic gyroscope, accelerometer sensors including GPS locating sensors. Check App Info to get a rough idea. Use CPU-Z to find the sensors which are available in your phone.
In Playstore there's app to check quick sensors your device has , which active, and which broken /not working.... Andro-sensor being the one I install on all my devices, and droidsensor. Both work great... I like Andro-sensor for the sensor specific data, but droidsensor had other tabs, that have useful info also...
Sent from my SM-N910V using TechDroid, powered by appyet.com

[Q] How to permanently disable proximity sensor?

I have a XT1031 running on Boost Mobile. I'm currently running official SlimKat build 9 but switch back to stock when I am expecting alot of calls since I can't find a voicemail app that works with Boost Mobile on custom ROMs. I've searched for months for a fix that works to correct the faulty proximity sensor but haven't had any luck. Does anyone know of a way to completely disable the proximity sensor?
BaumerGXP said:
I have a XT1031 running on Boost Mobile. I'm currently running official SlimKat build 9 but switch back to stock when I am expecting alot of calls since I can't find a voicemail app that works with Boost Mobile on custom ROMs. I've searched for months for a fix that works to correct the faulty proximity sensor but haven't had any luck. Does anyone know of a way to completely disable the proximity sensor?
Click to expand...
Click to collapse
I guess it is not possible to disable it... If you want to fix the proximity sensor you must flash your phone with an stock room...
The proximity sensor has been bad since I received the phone. It was a gift and out of warranty. My issue is there no matter if the phone is stock or running a custom ROM. I was hoping a dev would have some insight to disabling it with a prop/hex editor or something.
Caution DO NOT DO THIS unless you want your proximity sensor completely disabled!!!
Also you're doing this on your own risk!
So if your proximity sensor is not working at all, you can disable it completely by chopping it off the board. The light sensor is separate, so this won't affect your auto-brightness.
Open your phone (14 torx screws), pop out the back panel.Barware not to lose your Power and Volume keys.
You don't need to detach the battery, just go ahead and lift the board carefully ( there are videos on YouTube how to do that ).
Flip the board to your right hand side, be careful, the display flex is still attached, you don't want to break that.
You can now find both sensors on the top right corner of the board, the proximity sensor is the LEFT one when you face the board straight up.
Use a small flat screwdriver and with a semi-gentle push in its base you can chop it off.
You're done!
Reassemble carefully.
Thanks for the suggestion I'll try to find some of those YouTube vids you mentioned. But from what I've been reading is that the sensor is just an ambient light sensor that can detect proximity when coupled with an IR-LED so I'm not understanding how I can just chop off the prox sensor. I can't post the link but the article is on Andrux & me blog titled CT406: proximity and light sensor on MotoG
Sent from my Moto G
BaumerGXP said:
Thanks for the suggestion I'll try to find some of those YouTube vids you mentioned. But from what I've been reading is that the sensor is just an ambient light sensor that can detect proximity when coupled with an IR-LED so I'm not understanding how I can just chop off the prox sensor. I can't post the link but the article is on Andrux & me blog titled CT406: proximity and light sensor on MotoG
Sent from my Moto G
Click to expand...
Click to collapse
Proximity and light sensors are separate, so chopping off the proximity one won't affect anything, besides proximity not working and the circuit will report "open", which means no object near, hence your screen won't turn off.
There are many types of sensors and they might differ in the way they work.I seriously don't see what y you've said is related at all.
For anyone interested, I found a module for Xposed Framework called Disable Proximity Sensor and it works flawlessly
Sent from my XT1031

improper sensors work

Hi
I have a problem with sensors. Sometimes they work, and sometimes they don't (Compass Magnetometer, Proximity sensor, Accelerometer, Ambient light sensor, Gyroscope). Checked also service tests (*#*#7378423#*#*).
I bought Z3 as used device. Had to replace microphone and week later LCD. Everything was working properly before and after replacing elements except sensors.
What can be the cause?
I have android 6.0.1 since I have Z3
When you check proximity sensor in service test does it works?
For me it seems like something was crashed or not connected properly because jack, microphone, proximity and ambient light is connected with one flex tape .
P.S. Today I had to disassembly Xperia Z3 because there was also problem with proximity sensor - at my case it works from time to time in service menu. Finally my problem was solved after revoming dust
If the sensors work, they work everywhere. Everything seems to be fine, also in service test. But if they don't work, also service tests are fail.
Proximity sensor and Ambient light sensor are on this element
gsmforyou.pl/files/313240969/tasma_gniazdo_zlacze_hf_czujnik_sony_z3_d6603 .jpg
but Compass Magnetometer, Accelerometer, Gyroscope are on mainboard.
So why they all don't work at this same time? I could change the element from the link but will this solve the problem?

Categories

Resources