Modern smartphones are complex computing devices equipped with many sensors that make interaction with the gadget intuitive and functional. One of the key components that ensures the operation of navigators, games with augmented reality and automatic screen rotation is accelerometer i gyroscope. Unlike simple accelerometers, which respond only to linear acceleration, the gyroscope is capable of tracking changes in the orientation of the device in three planes of space with high accuracy.

Users often wonder how to turn on the gyroscope when they are faced with the fact that the screen does not rotate when changing the position of the body or games are working incorrect. In most cases, this sensor is enabled by default in hardware, and the user only needs to configure software parameters. However, in some situations, especially on budget models or outdated firmware, manual activation or calibration is required.

In this article we will examine in detail all the ways to control this sensor: from standard system settings to using hidden engineering menus. You will learn how to check the functionality of the sensor, what applications will help with diagnostics, and what to do if the device hardware does not support this function. Understanding the principles of operation of these mechanisms will allow you to make the most of the capabilities of your Androidsmartphone.

Checking the presence of a sensor and basic settings

Before you begin complex manipulations with system files or the engineering menu, you need to make sure that your device is physically equipped with the necessary sensor. Not all smartphones, especially the budget segment, have a full gyroscope; some manufacturers replace it with accelerometer-based software emulation, which reduces the accuracy of measurements. For an initial check, you can use specialized utilities from the store Google Playsuch as GPS Status & Toolbox or Sensor Box.

If a sensor is detected but does not function correctly, the first step should be to check the basic system settings. Often the problem lies not in a disabled sensor, but in a blocked screen auto-rotate function. Go to the quick settings panel by swiping from top to bottom and find the Auto Rotateicon. Make sure it is active. In newer versions Android this setting may be called Screen Orientation and have the options "Portrait", "Landscape" or "Auto".

  • 📱 Go in SettingsAccessibility and check whether the orientation lock mode for people with disabilities is enabled.
  • 🔄 Reboot the device to reset temporary errors in the sensor drivers.
  • 🛡️ Make sure that the case or magnetic mount does not block the operation of the magnetic field sensors.

It is important to understand that a software glitch can temporarily disable the operation of the module. If a simple reboot does not help, try clearing the cache of system applications responsible for the interface. To do this, go to the Applicationssection, select System interface or System UI and press Clear cache. This action is safe and will not delete your personal data, but can restore the correct reaction of the system to changes in the position of the phone.

Activation through the engineering menu and service codes

If the standard settings do not produce results, you can try to activate or test the sensor through the engineering menu. This is a hidden section of the operating system, intended for engineers and service centers, which provides access to in-depth diagnostics of hardware components. It is accessed through the standard application Phone by entering special USSD codes. The most common code is ##4636##, which opens the testing menu.

In the menu that opens, select Information about sensors or Sensor Information. Here you will see a list of all available sensors and their current readings in real time. Find it in the list Gyroscope and watch the values ​​change when you rotate the device. If the values ​​change (usually these are X, Y, Z coordinates), then the sensor is working and enabled at the hardware level. If the values ​​are the same or the sensor is not in the list, the problem may be deeper.

⚠️ Attention: Be extremely careful in the engineering menu. Changing parameters in sections not related to testing sensors (for example, radio module settings or unlocking the bootloader) may lead to unstable operation of the phone or loss of warranty.

For devices from different manufacturers, the codes may differ. For example, smartphones Samsung often use code #0#that runs an advanced hardware test. In this menu, select Sensor, and then Gyroscope Sensor. The system will prompt you to place the phone on a flat surface and press Calibration to calibrate. This procedure resets the readings and often solves problems with cursor rattling or incorrect screen rotation.

What to do if the code does not work?

If standard codes do not open the menu, the manufacturer may have blocked this feature in your firmware. Try installing the Engineering Mode Shortcut app from the Play Store, which creates a shortcut to enter hidden settings without entering codes.

Using third-party applications for calibration

When the system's built-in tools fail to cope with the task, third-party applications designed specifically for diagnosing and calibrating sensors come to the rescue. These utilities often have a friendlier interface and provide step-by-step guide for aligning the sensors. Popular applications such as GPS Status & Toolbox or Calibrate Compass & GPSallow you to reset the accelerometer and gyroscope data to factory values.

The calibration process usually looks like this: you launch the application, select "Accelerometer Calibration" or "Gyroscope Calibration" and follow the instructions on screen. You may be asked to place your phone on a perfectly flat horizontal surface or perform a series of figure eight movements. After completing the procedure, the system rewrites the reference values, which eliminates the accumulated error.

  • 🎯 Place the smartphone on a flat table with the screen facing up before starting calibration.
  • 📉 Avoid vibrations and drafts during the process of setting up the sensors.
  • ✅ After calibration, be sure to reboot your device to apply the changes.

It is worth noting that some games, especially first-person shooters, have their own internal gyroscope sensitivity settings. If everything works correctly in the system, but the crosshair “floats” in the game, go to the control settings inside the application itself. There you will find sliders Gyro Sensitivity and the option to turn this feature on or off specifically for gameplay.

💡

Before calibration, make sure the battery charge is at least 20%. Some service procedures require stable power, and turning off the phone during the process may lead to resetting other system settings.

Compatibility table and activation methods

Different Android device manufacturers use different approaches to working with sensors. Below is a table that will help you navigate the methods for checking and turning on the gyroscope for popular brands. Remember that interfaces may change depending on the version of the operating system and the manufacturer's shell.

Brand Service code Path in settings Features
Samsung #0# Settings → Display → Auto-rotate Separate menu for testing all sensors
Xiaomi / Redmi ##6484## Settings → Advanced settings → Special. features Requires developer mode for full diagnostics
Huawei / Honor ##2846579## Settings → System → Language and input Frequent problem with drivers after updating
Sony ##7378423## Settings → Screen Service Info menu contains data about sensors
Pixel / Stock Android ##4636## Settings → Accessibility Minimalistic interface, no deep engineering menu

As can be seen from the table, there is no universal path for all devices. Owners of custom firmware, such as LineageOS or Pixel Experiencemay need to install additional modules or edit configuration files build.propif the drivers were not ported correctly by the firmware developers.

💡

Knowing your manufacturer's service code is the fastest way to get there in the diagnostics menu, bypassing long searches in the settings. Save the corresponding code in notes.

Solving problems with drivers and Root access

In rare cases, when software methods are powerless, the problem may lie in the absence or damage of device drivers. This often happens after an unsuccessful firmware update or when installing a custom recovery. To solve this problem, the user will need superuser rights (Root). Obtaining root access gives full control over the Android file system, allowing you to replace system files.

One ​​solution is to flash the sensor module. This is a complex process that requires searching for a specific driver file (usually with an extension .ko or located in a section /system/lib/hw) specifically for your processor and sensor model. An incorrect driver version may cause the phone to fail to boot (bootloop). Therefore, before any manipulations, be sure to make a complete backup of the partition EFS or persistwhere the calibration data is stored.

⚠️ Attention: Obtaining root access and modifying system files will void the warranty on the device. Wrong actions can turn a smartphone into a “brick”. Follow these steps only if you are confident in your knowledge.

There is also a method of reassigning functions through applications like Tasker or macros in launchers. While this won't turn on the physical gyroscope if it's broken, it can emulate its operation for certain tasks using accelerometer data at a higher polling rate. However, such emulation will always be less accurate and more energy-consuming than the operation of native equipment.

📊 Have you encountered a gyroscope failure?
Yes, the sensor burned out
No, resetting the settings helped
There was a problem in the game
I don’t know, haven’t checked

When the gyroscope cannot be turned on

There is a situation when all of the above methods do not bring results, and the answer to the question “how to turn on the gyroscope” becomes obvious, but unpleasant: the sensor is physically absent. Manufacturers of budget smartphones often save on components by installing only an accelerometer. In such cases, it is impossible to programmatically turn on the gyroscope, since there is simply no hardware inside the case.

This can be determined through diagnostic applications, which were discussed at the beginning of the article. If there is no Gyroscope item in the list of sensors, but only Accelerometer, then your phone does not support functions that require accurate 3D rotation tracking. This is critical for games like PUBG Mobile or augmented reality (AR) applications, which may simply not start or work in a reduced mode.

  • 🚫 The lack of a gyroscope cannot be corrected by updating the software or resetting the settings.
  • 🎮 For games, you can try setting up controls via joystick emulation on the screen.
  • 🔄 Consider replacing the device if AR functionality is critical to your needs.

Sometimes the sensor breaks down physically due to being dropped or exposed to moisture. In this case, even the presence of an entry in the device list does not guarantee operation: the values ​​may be frozen or chaotic. The only solution here is to contact a service center to replace the sensor module, which is often soldered into the motherboard or located on a separate sub-module board.

⚠️ Attention: Settings interfaces and service codes may change with the release of new versions of Android. If the specified code does not work, look for up-to-date information for a specific model on the official forum of the manufacturer.

☑️ Gyroscope diagnostics

Done: 0 / 4

Frequently asked questions (FAQ)

Does the enabled gyroscope affect on battery consumption?

Yes, constant activation of the gyroscope and accelerometer consumes energy, since the sensors must be constantly polled by the processor. However, in modern smartphones this consumption is minimal. Significant discharge begins only when an active application (for example, a navigator or game) requests data at a high refresh rate. In standby mode, the effect on the battery is almost unnoticeable.

Is it possible to turn on the gyroscope on a phone that does not have one, programmatically?

No, this is physically impossible. Software cannot create a hardware component. There are emulator applications that try to simulate the operation of a gyroscope based on accelerometer data, but they work inaccurately, with delays and are only suitable for simple tasks, but not for games or precise navigation.

Why did the auto-rotate screen stop working after a fall?

During a fall, the gyroscope or accelerometer crystal could be damaged, or move away cable connecting the board to the sensor. The calibration factor could also be off. Try calibrating through the engineering menu. If this does not help, most likely a hardware repair is required at a service center.

Do you need to turn on the gyroscope for the compass to work?

For the magnetic compass to work, you first need a magnetometer (Hall sensor). However, the gyroscope helps smooth out the readings and respond faster to the device's turns, making navigation smoother. Without a gyroscope, the compass will work, but the needle may twitch or turn slowly.

How can you find out if a phone has a gyroscope in the specifications before purchasing?

On aggregator sites (for example, Yandex.Market, AliExpress) there is always a “Sensors” section in the detailed specifications. Look for the word “Gyroscope” there. If only “Accelerometer” is indicated, it means that the model does not have a full-fledged gyroscope. You can also watch reviews on YouTube, where testers check the operation of sensors in real time.