• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Lost auto-rotation

Sharkonwheels

Android Enthusiast
Jan 6, 2010
268
12
Anyone run into an issue where auto-rotation stopped working?

I uninstalled 3 recently installed apps, but no dice.

Running ADW.Launcher, and it used to rotate fine until last night.
Uninstalled those 3 apps one at a time, with a reboot after each, and nothing.

Sure would hate to have to reinstall the phone from factory wipe...

EDIT: I did go into ADW.Launcher and disable+enable auto-orientation. Also tried LauncherPro, same results: no rotation. Any apps out there to TEST the built-in sensors, like the orientation sensor?

T
 
What about under Settings >> Display >> Orientation

That's a separate orientation setting at the OS level that may override anything at the launcher level.

(sigh...)

Sometimes, we get SO caught up trying to find the difficult things, that we ignore the obvious...

I dunno how it got turned off, but it was turned off there...

Tks!
 
Upvote 0
Well that was quick! I kept searching and to confirm there is a problem perform the following:

1) In Launcher Pro, add a shortcut > application > LbsTestModeLaunch
1b) In LBS, test application > show sensor data. Problem is all settings read false.

2) From the phone, dial *#0*#
2b) LCD Test, tap Sensor and if the readings do not change and/or show 0, its time to fix it.

*Note the device must be rooted and you must have the ADB.exe setup to run in a command prompt (see Android SDK | Android Developers and look for ADB on the DevGuide tab), finally adb shell needs root (which should be easy, if the device is already rooted).

All that has to be done is place the phone totally horizontal (use a level if you have doubts), open CMD, type ADB SHELL then SU then

cd system
cd bin
sensorcalibutil_yamaha

Source: G-Sensor needs calibration?! - xda-developers

And follow the prompt on the screen. When finished reboot the device. Quick way is type exit / enter / exit / enter until you are back to your command prompt, then type adb reboot.

Check auto-rotate.

Also check the items in step 1 and 2 to confirm things are working again.
 
Upvote 0
All that has to be done is place the phone totally horizontal (use a level if you have doubts), open CMD, type ADB SHELL then SU then

cd system
cd bin
sensorcalibutil_yamaha

Source: G-Sensor needs calibration?! - xda-developers

When I run sensorcalibutil_yamaha, I'm getting:

fgets: Unknown error: 0
msmachdep_SaveGsOffest failed
calibration utilities failed

any idea what's going on here? this is getting aggravating to me. thanks so much for this thread; it's my only ray of hope other than going back to the stock rom!

EDIT to add: I'm running Cognition 2.3 b8 if that's relevant.

EDIT2 to add: solved it. last post in the G-Sensor needs calibration?! link above recommends to delete the file “ms3c_yamaha.cfg“ in data/system and rerun sensorcalibutil_yamaha. after doing that, rebooting, I have auto-rotation working again.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones