12th October 2012, 02:43 PM
(Last edited by Препод; 25th October 2012 at 02:18 PM .)
Member -
OP
Thanks Meter
89
Posts: 30
Join Date: Oct 2011
Location: Чита
DONATE TO ME
[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)
The Following 62 Users Say Thank You to Препод For This Useful Post: [ Click to Expand ]
5tric5t (31st October 2012),
abmantis (13th October 2012),
afcrib (12th October 2012),
agabey_42 (13th October 2012),
anbech (16th October 2012),
Android Newbe (18th November 2012),
anukilimanoor (14th October 2012),
behemot24 (17th October 2012),
bielperez (23rd October 2012),
can_kat (17th October 2012),
cba1986 (17th October 2012),
ChaosTime86 (24th October 2012),
CLR1 (23rd November 2012),
coolhof (30th October 2012),
cottino (16th October 2012),
Cristiano Matos (21st October 2012),
dedero (23rd October 2012),
enami_I9000 (21st October 2012),
enimnick009 (12th October 2012),
erick_o (13th October 2012),
floyd0815 (20th October 2012),
Fredo13127 (3rd November 2012),
FreexZ (20th October 2012),
hanifh (23rd October 2012),
hnyuk49 (12th October 2012),
hotsync100 (23rd October 2012),
j0ep0 (18th October 2012),
jayden2009 (12th October 2012),
JJEgan (12th October 2012),
joey_oggie (22nd November 2012),
Loverboy91 (13th October 2012),
mabmed (18th October 2012),
maranello69 (28th October 2012),
marcedli (13th October 2012),
masterex567 (19th October 2012),
materiks (23rd October 2012),
mister_x93 (9th November 2012),
mk256 (13th October 2012),
Motodoido (25th October 2012),
mozgoder (13th October 2012),
Mr.Mefisto (12th October 2012),
Neophite31 (18th October 2012),
NoOneCanHelpMe (13th October 2012),
ooop (17th October 2012),
opapopa (23rd October 2012),
raubkatze (13th October 2012),
ravebot (17th November 2012),
RoadXY (16th October 2012),
rockyseenu (12th October 2012),
Saleen NS (13th October 2012),
sarbe (12th October 2012),
Shahid Shafqat (1st November 2012),
somin.n (1st May 2013),
sotmax (15th October 2012),
theg2009 (13th October 2012),
themrmotivator (13th October 2012),
thyk888358 (13th October 2012),
tqgia2 (24th October 2012),
turbomolli (17th October 2012),
wajiman (4th November 2012),
wallah (13th October 2012),
Xode (17th October 2012)
12th October 2012, 02:50 PM
Senior Member
Thanks Meter
227
Posts: 248
Join Date: Apr 2011
Quote:
Originally Posted by
Препод
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 ?
12th October 2012, 03:39 PM
Member -
OP
Thanks Meter
89
Posts: 30
Join Date: Oct 2011
Location: Чита
DONATE TO ME
Quote:
Originally Posted by
czar22
can you make a CWM zip ?
See the first post. Attach files to Stock ROM LIB.
12th October 2012, 03:48 PM
Senior Member
Thanks Meter
32
Posts: 256
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
12th October 2012, 03:49 PM
Senior Member
Thanks Meter
120
Posts: 323
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
Samsung Galaxy SIII (GT-i9300)
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
12th October 2012, 03:55 PM
Senior Member
Thanks Meter
581
Posts: 1,998
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
12th October 2012, 04:13 PM
Member -
OP
Thanks Meter
89
Posts: 30
Join Date: Oct 2011
Location: Чита
DONATE TO ME
Quote:
Originally Posted by
krs360
Can you upload it to somewhere with English language?
Uploaded to mediafire.
12th October 2012, 04:31 PM
Senior Member
Thanks Meter
334
Posts: 1,118
Join Date: Sep 2010
Invalid or deleted file.
Sent from my GT-I9300 using xda premium
12th October 2012, 04:36 PM
Senior Member
Thanks Meter
232
Posts: 905
Join Date: Dec 2009
indeed link not working
Verstuurd van mijn GT-I9300 met Tapatalk
12th October 2012, 04:38 PM
Member -
OP
Thanks Meter
89
Posts: 30
Join Date: Oct 2011
Location: Чита
DONATE TO ME
Quote:
Originally Posted by
sarbe
Invalid or deleted file.
Sent from my GT-I9300 using xda premium
I have had problems with downloading. Now everything is fine
Most Thanked In This Thread
5 Appreciate your work OP!
Pushing thanks … 3 (quote)
thanks.
I am
using … 3 (quote)
Smart Rotation LIH Deodex Stock 3 Just want to add, this
hack (and others, … 3 Thanks .. Works perfectly
on my sgs3 …