5,604,730 Members 32,455 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO]Activation Smart Rotation in JB [LIB/LIH/DLJ4]

Tip us?
 
Препод
Old
(Last edited by Препод; 25th October 2012 at 02:18 PM.)
#1  
Препод's Avatar
Member - OP
Thanks Meter 89
Posts: 30
Join Date: Oct 2011
Location: Чита

 
DONATE TO ME
Tutorial [HOW-TO]Activation Smart Rotation in JB [LIB/LIH/DLJ4]

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

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)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-10-12-22-58-45.jpg
Views:	6801
Size:	36.6 KB
ID:	1395683   Click image for larger version

Name:	Screenshot_2012-10-12-22-58-50.jpg
Views:	6364
Size:	36.4 KB
ID:	1395686  
:: I'm here! 4pda.ru::
The Following 62 Users Say Thank You to Препод For This Useful Post: [ Click to Expand ]
 
czar22
Old
#2  
czar22's Avatar
Senior Member
Thanks Meter 548
Posts: 343
Join Date: Apr 2011
Quote:
Originally Posted by Препод View Post
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

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

Google translator


can you make a CWM zip ?
 
Препод
Old
#3  
Препод's Avatar
Member - OP
Thanks Meter 89
Posts: 30
Join Date: Oct 2011
Location: Чита

 
DONATE TO ME
Quote:
Originally Posted by czar22 View Post
can you make a CWM zip ?
See the first post. Attach files to Stock ROM LIB.
 
dragon135
Old
#4  
Senior Member
Thanks Meter 56
Posts: 373
Join Date: Jan 2011
So I curious why Samsung not enable this feature in the first place? It is part of smart feature they sell.

Sent from my GT-I9300
 
krs360
Old
#5  
krs360's Avatar
Senior Member
Thanks Meter 164
Posts: 433
Join Date: Dec 2007
Location: Moretonhampstead
Sounds cool... I would try, but I am not downloading something from a site I can't read.

Can you upload it to somewhere with English language?
Current Devices
Google Nexus 5
Motorola Xoom (Wingray)


Legacy devices
Motorola 7500 --> Sony CM-DX 2000 --> Cellnet Easylife --> Sony Ericsson T68 --> Sagem myX5 --> Orange SPV C600 --> HTC Touch --> HTC Touch HD --> Samsung Galaxy S --> Samsung Galaxy SIII (GT-i9300)
 
MsElise
Old
#6  
MsElise's Avatar
Senior Member
Thanks Meter 756
Posts: 2,216
Join Date: Mar 2011

 
DONATE TO ME
same here, can't even understand

---------- Post added at 10:55 PM ---------- Previous post was at 10:52 PM ----------

get it already
saw the number then type it
after type click the button below the bar to type the code
then you will saw a bar, untick it, then click that link to download
Hit the THANKS BUTTON if I helped you
 
Препод
Old
#7  
Препод's Avatar
Member - OP
Thanks Meter 89
Posts: 30
Join Date: Oct 2011
Location: Чита

 
DONATE TO ME
Quote:
Originally Posted by krs360 View Post
Can you upload it to somewhere with English language?
Uploaded to mediafire.
 
sarbe
Old
#8  
sarbe's Avatar
Senior Member
Thanks Meter 424
Posts: 1,414
Join Date: Sep 2010
Invalid or deleted file.

Sent from my GT-I9300 using xda premium
 
jayden2009
Old
#9  
jayden2009's Avatar
Senior Member
Thanks Meter 233
Posts: 902
Join Date: Dec 2009
indeed link not working

Verstuurd van mijn GT-I9300 met Tapatalk

Yank555 Kernel


 
Препод
Old
#10  
Препод's Avatar
Member - OP
Thanks Meter 89
Posts: 30
Join Date: Oct 2011
Location: Чита

 
DONATE TO ME
Quote:
Originally Posted by sarbe View Post
Invalid or deleted file.

Sent from my GT-I9300 using xda premium
I have had problems with downloading. Now everything is fine

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes