Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ejohnson0547
Old
(Last edited by ejohnson0547; 6th August 2012 at 04:23 PM.) Reason: Added new local.prop method
#1  
Junior Member - OP
Thanks Meter 111
Posts: 16
Join Date: Mar 2008
Default [Guide] Use stock Launcher with rotation

I have tried some of the custom launchers from the store but was not that impressed with them. I still like the performance of the stock launcher but I just wanted it to rotate the home screen and allow portrait or landscape mode.

Well I found out you can do just that.

You need to be rooted to do this. I am using a fully stock Nexus 7 just adding Root to it. Follow the other guides on how to do this.

Note: NEW info...

Just add the following line to the file "local.prop" located at "/data/local.prop"
If this file is missing, just create a new one. You DO need to be rooted to create or edit this file.
Use ES File Explorer, turn on Root Explorer and Mount File System in the settings.

Navigate to the folder "/data/"
Press Menu, New, File, then name it "local.prop" (without the double quotes).

Add the following line to it in the editor...
Code:
launcher.force_enable_rotation=true
Also change to Tablet UI
If you want the full tablet UI just add the following line also to this file:
Code:
qemu.sf.lcd_density=160
The qemu.sf.lcd_density overrides the setting ro.sf.lcd_density in the "build.prop" file.

Then reboot your device.




Old method
Note, this method makes it more difficult on re-installs and OTA upgrades, because typically the build.prop file is upgraded or overwritten each time also. The new method above is retained as long as you do not wipe data.

All you have to do is edit your "build.prop" file located at "/system/build.prop"
I used ES File Explorer to edit this file, just turn on Root Explorer and Mount File System in the settings.

Just add the following line at the end:

Code:
launcher.force_enable_rotation=true
Then reboot your device.

That's it! Hope this helps others.
The Following 109 Users Say Thank You to ejohnson0547 For This Useful Post: [ Click to Expand ]
 
kieronboz
Old
#2  
Member
Thanks Meter 1
Posts: 58
Join Date: Feb 2011
Confirmed :P
 
adamhlj
Old
(Last edited by adamhlj; 27th July 2012 at 09:18 PM.)
#3  
Senior Member
Thanks Meter 58
Posts: 603
Join Date: Apr 2010
Location: Minneapolis
Quote:
Originally Posted by ejohnson0547 View Post
I have tried some of the custom launchers from the store but was not that impressed with them. I still like the performance of the stock launcher but I just wanted it to rotate the home screen and allow portrait or landscape mode.

Well I found out you can do just that.

You need to be rooted to do this. I am using a fully stock Nexus 7 just adding Root to it. Follow the other guides on how to do this.

All you have to do is edit your "build.prop" file located at "/system/build.prop"
I used ES File Explorer to edit this file, just turn on Root Explorer and Mount File System in the settings.

Just add the following line at the end:

Code:
launcher.force_enable_rotation=true

That's it! Hope this helps others.
AWESOME!!! When I first did it, the rotation seemed a little hiccupy. Apps in the bottom disappeared and took a few seconds to reappear, but now its working fine. How do you figure this stuff out??

Edit: The play store doesn't really seem to like it now. Keeps acting weird. It wouldn't let me go anywhere else in the store while an app was downloading. Now that the download has stopped, its not glitching out anymore. I am trying to download another app, and while its downloading, it goes back to the earlier app that I was downloading and stays there. The screen is almost pulsating. Its hard to describe.

Second Edit: I force-stopped the play store and google play services, then rebooted. The glitch with the play store is now gone. But when I rotate from portrait to landscape then back to portrait, the apps disappear for a few seconds again and then reappear. Just an FYI.

Third Edit: Lock screen doesn't rotate.
I think that the highest ups are telling the higher ups to tell the high ups whom, in turn, tell the lower orders that the N4 is shipping out this weekend. But the highest ups lied to the higher ups who think that the highest ups have told them the truth, so they have in turn told the high ups to relay the information to the lower orders in that the lower orders think they are telling the truth, when in reality, they don't know SH!T.
The Following 2 Users Say Thank You to adamhlj For This Useful Post: [ Click to Expand ]
 
redmonke255
Old
#4  
redmonke255's Avatar
Senior Member
Thanks Meter 274
Posts: 996
Join Date: Jan 2012
Location: Fort Worth, Texas
It does work! Only thing is the bar on the left side that the icons pass through.

Sent from my Nexus 7 using XDA Premium HD app
LG G2x P999 CM7.2
Nexus 7 16GB
 
phishn
Old
#5  
phishn's Avatar
Member
Thanks Meter 8
Posts: 38
Join Date: Jan 2012
Works fine on liquidsmooth alpha 6

Sent from my Google Nexus 7 using Tapatalk 2
 
nicknowsky
Old
#6  
nicknowsky's Avatar
Senior Member
Thanks Meter 21
Posts: 688
Join Date: Jan 2008
Quote:
Originally Posted by phishn View Post
Works fine on liquidsmooth alpha 6

Sent from my Google Nexus 7 using Tapatalk 2
I didnt know Liquidsmooth builds were released gonna have to grab a D/L


AT&T 8125...AT&T 8525...LG Incite...AT&T Tilt....myTouch 3G&G1....Nexus One

iPad 16Gb....Camangi Webstation....iPad 2....Asus Transformer....HTC HD2 (2nd)....Nexus S....New iPad....Galaxy Nexus GSM....Nexus 7

Dundledorf Calrissian
 
marclile
Old
#7  
marclile's Avatar
Senior Member
Thanks Meter 6
Posts: 178
Join Date: Jun 2010
Location: STL
awesome. thank you.

---------- Post added at 11:00 PM ---------- Previous post was at 10:58 PM ----------

Quote:
Originally Posted by adamhlj View Post
AWESOME!!! When I first did it, the rotation seemed a little hiccupy. Apps in the bottom disappeared and took a few seconds to reappear, but now its working fine. How do you figure this stuff out??

Edit: The play store doesn't really seem to like it now. Keeps acting weird. It wouldn't let me go anywhere else in the store while an app was downloading. Now that the download has stopped, its not glitching out anymore. I am trying to download another app, and while its downloading, it goes back to the earlier app that I was downloading and stays there. The screen is almost pulsating. Its hard to describe.

Second Edit: I force-stopped the play store and google play services, then rebooted. The glitch with the play store is now gone. But when I rotate from portrait to landscape then back to portrait, the apps disappear for a few seconds again and then reappear. Just an FYI.

Third Edit: Lock screen doesn't rotate.
the lock screen appears to rotate for me...
Current Devices:

Galaxy Nexus
Oh, and a Nexus 7 too...
 
redmonke255
Old
#8  
redmonke255's Avatar
Senior Member
Thanks Meter 274
Posts: 996
Join Date: Jan 2012
Location: Fort Worth, Texas
Quote:
Originally Posted by marclile View Post
awesome. thank you.

---------- Post added at 11:00 PM ---------- Previous post was at 10:58 PM ----------



the lock screen appears to rotate for me...
Screenshot?

Sent from my Nexus 7 using XDA Premium HD app
LG G2x P999 CM7.2
Nexus 7 16GB
 
marclile
Old
(Last edited by marclile; 28th July 2012 at 05:29 AM.)
#9  
marclile's Avatar
Senior Member
Thanks Meter 6
Posts: 178
Join Date: Jun 2010
Location: STL
Quote:
Originally Posted by redmonke255 View Post
Screenshot?

Sent from my Nexus 7 using XDA Premium HD app


although... i'm not running the stock rom, i'm running an AOSP rom. so that might be why.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-07-27-23-23-27.jpg
Views:	3323
Size:	11.2 KB
ID:	1226607  
Current Devices:

Galaxy Nexus
Oh, and a Nexus 7 too...
 
seros
Old
#10  
Junior Member
Thanks Meter 5
Posts: 29
Join Date: Jan 2010
Appears to be working perfect on CM10, thanks!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...