1. Are you ready for the Galaxy S20? Here is everything we know so far!

Tilt sensor is off. Can I calibrate?

Discussion in 'Android Devices' started by torchwood0829, Dec 13, 2013.

  1. torchwood0829

    torchwood0829 Newbie
    Thread Starter

    I just installed Ridiculous Fishing and noticed that my tilt sensor (gyro?) is not working properly. When my phone is flat the game thinks its tilted to the left. I have to tilt my phone to the right so much just to compensate and get the center point correct. Is there a fix for this?

    1. Download the Forums for Android™ app!


  2. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    What device do you own? Some handsets have hidden menus that allow you to configure the G-sensor if it's slightly off. I've had 2 HTC's and they either had something in the settings menu or a hidden option.
  3. funkylogik

    funkylogik share the love peeps ;)

    Bit off topic but i just read the reviews on that game. Keep an eye on your battery use ;)
  4. torchwood0829

    torchwood0829 Newbie
    Thread Starter

    It's an old Samsung Galaxy W. I remember my phone had that option way back when I had Gingerbread. Im running CM 10.2 at the moment and cant seem to find that option.

    Will do. Thanks for the heads up!

    By the way, it's not the gyro (just learned that my phone doesn't have one.) It's the accelerometer. I tried to install Ninja Fishing (which also uses tilt controls) to verify that its not an isolated case in that one game. Same problem.
  5. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    Moved to the Galaxy W forum as it doesn't look like an issue with the game. :)

    I can't find any calibration apps on Play so I'm not sure what to suggest, is it noticable when you're using the phone normally, not just playing games?

    You could try an app called elixir 2, that definitely has sensor checkers, not sure if you can calibrate using the app though.

    You could also try another ROM, see if things improve? At least you could rule out a hardware or software issue that way.
    Digital Controller likes this.
  6. torchwood0829

    torchwood0829 Newbie
    Thread Starter

    I didn't notice if the sensor was off also for other phone functions as I don't use auto rotate (i'm always in portrait mode).

    I did try several apps that offered sensor calibration. Unfortunately, nothing helped.

    I was able to fix the issue by running a couple lines of code in Terminal Emulator. I found the instructions in a different forum. Just sharing it here in case someone bumps into the same problem.

    These instructions are for CyanogenMod 9 but it worked on 10.2 (which is what i'm running). Here:

    1. Place the phone on a flat horizontal surface (as you would also need to use the original calibration page in settings on the stock ROM).
    2. Open the Terminal Emulator app (included with CM9).

    Enter the following commands:
    echo 1 > /sys/class/input/input4/calibration

    The first command requests root privileges (depending on your settings, it might cause a Superuser prompt to allow root access), the second command requests the sensor driver to perform calibration.

    Make sure that you do not press on the phone heavily when you touch Enter to execute the final command, so that the phone would not move during calibration.
    4. When the “#” prompt appears again after the second command, the calibration process is completed (it needs just a couple of seconds).
    El Presidente likes this.
  7. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    Magic, glad you've got to the bottom of it and thanks for posting the fix :)

Samsung Galaxy W Forum

The Samsung Galaxy W release date was October 2011. Features and Specs include a 3.7" inch screen, 5MP camera, 512GB RAM, Snapdragon S2 processor, and 1500mAh battery.

October 2011
Release Date

Share This Page