Screen display direction adjusts to your angle of sights.
Hi XDA! I decided to write-step how to add a Smart rotation on SGS III. A similar setup is in the SGN II.
Maybe someone will come in handy
We shall start.
How to:
-Decompile SecSettings.apk and go to smali/com/android/settings/DisplaySettings
-Open this smali file with a text editor and look for
And just delete these lines
-Recompile and enjoy
Thanks - Credits:
Author sorg took of his firmware hope he does not mind.
Google translator
For Stock ROM LIB. Download and flash CWM
Smart Rotation Stock ROM LIB (Deodex)
Smart Rotation Stock ROM LIH (Deodex)
Smart Rotation Stock ROM DLJ4 (Deodex)
Hi XDA! I decided to write-step how to add a Smart rotation on SGS III. A similar setup is in the SGN II.
Maybe someone will come in handy

We shall start.
How to:
-Decompile SecSettings.apk and go to smali/com/android/settings/DisplaySettings
-Open this smali file with a text editor and look for
Code:
.line 352
- invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
-
- move-result-object v12
-
- iget-object v13, p0, Lcom/android/settings/DisplaySettings;->mSmartRotation:Landroid/preference/CheckBoxPreference;
-
- invoke-virtual {v12, v13}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
And just delete these lines
-Recompile and enjoy
Thanks - Credits:
Author sorg took of his firmware hope he does not mind.
Google translator
For Stock ROM LIB. Download and flash CWM
Smart Rotation Stock ROM LIB (Deodex)
Smart Rotation Stock ROM LIH (Deodex)
Smart Rotation Stock ROM DLJ4 (Deodex)
Attachments
-
36.6 KB Views: 6,841
-
36.4 KB Views: 6,406
Last edited: