If the screen on your Vivo phone doesn't turn off when you hold the phone to your ear during calls, there is a good chance the proximity sensor is acting up. In some cases, the auto-rotate option also stops working, which points to a malfunctioning accelerometer sensor. To figure out what is going on, you can use Vivo's sensor check codes, which let you test all the hardware sensors. And for this, you don't need to root your phone or install any app. So, let's go ahead and learn how to use Vivo sensor check codes.
What are the Secret Codes for Checking Sensors on Vivo Phones?
Vivo has a long list of secret codes for checking hardware sensors on its phones. These are USSD-style dialler codes that launch the hidden diagnostic menus on Vivo phones. When you enter them in the Phone app, they bypass the regular call process and instead launch an internal testing interface baked into Funtouch OS or Origin OS on newer Vivo models.
These Vivo sensor check codes give you direct access to real-time sensor data. For instance, you can check whether your Vivo phone's proximity sensor is registering near or far states correctly, whether the accelerometer is picking up movement along all three axes or whether the gyroscope is measuring velocity accurately. It's like a built-in health check for your phone's hardware.
Now, there are multiple codes that work on Vivo phones. Each secret code gives you access to a slightly different set of tests. Some open the full engineering mode while some trigger Vivo's factory test suite. I have listed all the Vivo sensor check codes right below.
List of All Vivo Sensor Check Codes
Here is a complete list of all Vivo secret codes for checking hardware sensors. Note that some codes may not work on every model, especially on newer phones like Vivo X300 running Origin OS. That said, let's go through the table.
| Vivo Sensor Check Code | Sensors Tested |
|---|---|
| *#558# | Proximity, accelerometer, gyroscope, fingerprint, light sensor |
| *#*#64663#*#* | All sensors, screen, battery, speakers, cameras, Bluetooth, Wi-Fi |
| *#*#0588#*#* | Proximity sensor only |
| *#2886# | All sensors (automated pass/fail) |
| *#*#4636#*#* | Battery sensor, network diagnostics |
| *#*#0842#*#* | Vibration motor, backlight sensor |
| *#*#2664#*#* | Touch digitiser |
| *#*#2663#*#* | Touch controller information |
| *#*#0283#*#* | Microphone, audio circuit |
| *#*#0673#*#* | Speaker, audio output |
| *#*#3646633#*#* | Vivo phones with MediaTek chip, engineering mode, all sensors, radio, audio, network bands |
| *#*#3264#*#* | RAM/memory hardware information |
How to Use Sensor Check Code on Vivo Phones
Here is how you can use the Vivo sensor check code and run hardware tests on your phone.
- Launch the Phone app on your Vivo phone and type *#558# or *#*#64663#*#* using the keypad.
- The engineering mode menu will open automatically. You don't even need to tap on the call button.
- Enable the "I have read the EngineerMode Privacy Terms" checkbox and tap on Agree.
- Now, tap on OQC Test.

- After that, tap on the OQC Test button to see a list of hardware test options.
- Now, select any sensor to start the test.

What Each Sensor Does?
If you are not sure what each sensor does, here is a quick breakdown. This will help you figure out which sensor to test based on the issue you are facing.
- Proximity Sensor: It's a sensor that uses infrared light to detect how close an object is to the phone. It's responsible for turning off the screen when you hold the phone to your ear during calls. To test it, cover and uncover the sensor area around the earpiece. The values should change between near and far.
- Accelerometer: It measures acceleration along three axes (X, Y and Z). It's used for auto-rotating screen orientation, step counting and motion controls in games. You can tilt the phone slowly, and the axis values should change in real time.
- Gyroscope: It measures rotational velocity, which is basically how fast the phone is spinning. This sensor is important for AR apps, 360-degree videos and racing games. Rotate your phone and you should see angular velocity readings.
- Magnetometer (Magnetic Sensor): It checks the magnetic field around the phone. This sensor powers compass apps and the accuracy of directions in Google Maps. To test it, you can bring a metallic object close to your phone, and the reading should change.
- Light Sensor (Ambient Light): It's used for detecting surrounding brightness and adjusts the screen brightness automatically. Move your phone from a dark spot to a bright area, and the value should change.
- Fingerprint Sensor: It tests whether the biometric fingerprint scanner registers touch input and matches it with registered input correctly.
- GPS Sensor: This sensor connects to satellites to find your location. You can check how many satellites are detected and how quickly the phone gets connected to a GPS satellite.
And that is all about Vivo sensor check codes. You can go ahead and try these secret codes on your Vivo phone and measure their accuracy. If you have a Samsung phone, you can follow our guide and learn how to check Samsung phone's display using secret codes. Finally, if some sensor doesn't work or change values in real time, you can get it repaired.











.png)















