yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] vegright:
Works but slow between switches

I think this is related to the number of apps that are installed. But every time it would toggle between landscape and portrait, it would take a couple of minutes before any applications would show up on the screen. I have about 316 apps installed, and most of them were in folders on the home screen. This is probably one of the issues that Google was running into (guessing here) to make the launcher to not toggle modes by default.
[Nexus 7 General] SS2006:
this honestly renders this method useless

http://phandroid.com/2012/08/04/apex-launcher-beta-now-with-android-4-1-base-smoother-than-ever/
[Nexus 7 General] hamdir:
awesomeness thats all i needed, lets hope it doesn't softbrick my N7 (like touching the build.prop does)

really funny we have to go so far though...stupid google
[Nexus 7 General] mvmacd:
Worked for me! so far, there's no adverse effects like a few people were complaining about..
[Nexus 7 General] Run L1ke H3LL:
Just want to remind anyone who isnt rooted that this method can be similarly attained using a custom launcher. Apex Nova etc.
[Nexus 7 General] shaneydroid:
But nova has horribly ugly blue outlines around the screen when swiping and apex has a weird search bar.

Minor points for many people I'm sure but some of us just want the stock look and feel EXACTLY but with rotation.

But yes, there are those alternatives (and Holo launcher HD) for those who just don't want to root or don't feel safe doing so.
[Nexus 7 General] NeverAlwaysEver:
I'm running stock rom and it works like it should :) but yes lockscreen doesn't rotate though
[Nexus 7 General] ExploreMN:
I did this and when the screen rotates I don't get any launcher icons and the app drawer shows blank as well. If I wait like 10+ minutes they *sometimes* show up. Do I just have too many apps or something? Is there a way to keep the launcher in cache?
[Nexus 7 General] PurpleRob:
Use the app ultimate rotation control, it does the lock screen as well now.

Hope this helps

Rob
[Nexus 7 General] Hawk600:
Rooted N7 stock rom, works like a charm!!

There is no lag at all even while rotating with the drawer open and I really don't mind about the lock screen.

Thank you very much OP! Besides free, your method also avoids another process running in background.
[Nexus 7 General] shadeygeezer:
I just downloaded one of the rotate apps from the store.. works great on non rooted and was free :)

Rotates the lock screen etc :)
[Nexus 7 General] _DrG_:
I have found that most rotation apps cause lag in games
[Nexus 7 General] barthie:
rooted stock. added the local.prop file with both lines show in the OP. rebooted tablet by holding down power button. did not release power button until the lock screen re-appeared. still no rotation.help anyone?
[Nexus 7 General] tropaios:
local.prop permissions

I was futzing around with trying to get Tasker to modify the local.prop file, but Tasker wouldn't ask for su and Tasker by default dosn't have access to /data/, so I manually changed the permissions until I could go back and find a fix. Fast forward a bit and I'm distracted playing Humble Bundle 3 and the N7 crashes, reboots, and doesn't recognize the DPI change or the enabled rotation.

After 3 more reboots I remember changing the permissions, change them back, reboot, and problem solved.

Why does Android ignore a promiscuous local.prop?
[Nexus 7 General] espionage724:
How so? Also if you use the latest beta of Apex, it changes the look to be more like stock launcher; but I'm not a fan of it. I like Tablet UI + the apps drawer button being in the top right; but Apex Beta makes you have to use the dock if you want the apps drawer (unless there is a setting I may of missed)
[Nexus 7 General] danifunker:
lock screen doesn't rotate, just the launcher
[Nexus 7 General] saadi703:
Yes this force rotation app does this sometimes. I tried it once sometime back and I uninstalled it right away because of unreliable behavior as you described above. This lag sometimes happens and some time not but it is not acceptable. I am happy with the stock look and feel without rotation. I don't want small 7 inch tablet with screen rotation. If you want screen rotation in a better way then install a custom ROM. It would not have problem like these.
[Nexus 7 General] barthie:
this solved my problem!!
[Nexus 7 General] bucksexington:
Worked for me, but I do miss the app folders at the bottom of the screen. Any way of getting them back?
[Nexus 7 General] dratstab:
If you use APEX launcher you can have a dock bar on the bottom with the app folder in that.
[Nexus 7 General] MightyBK:
What should the permissions be for the local.prop file? I can't get it to work
[Nexus 7 General] MightyBK:
Nevermind, I had a space in the filename
[Nexus 7 General] 1964ad:
Great find, works perfect
[Nexus 7 General] MrSchroeder:
I'm just using rotation locker on rooted stock.

https://play.google.com/store/apps/details?id=com.devasque.rotationlocker

For all playing around with it but I've done, the widget is completely broken. But 1 touch to the app shortcut provide options of portrait landscape and also. Long hold locks the choice.
[Nexus 7 General] graffixnyc:
The new Nova beta is pretty nice(beta6). Very smooth and fast and if you select "none" as the desktop transition(which is like the stock launcher transition) no more blue boarder around the screens as your scroll. :D
[Nexus 7 General] jh1521:
Thank you! This makes my N7 so much better. Awesome.
[Nexus 7 General] will444:
Made my nexus a tablet! Thanks!!
[Nexus 7 General] dickiedum:
Rotation Nexus 7

Thanks, works like a charm.
[Nexus 7 General] TheByteSmasher:
Working

Awesome!
[Nexus 7 General] stealthj:
created new file with the line of code...

just doesn't work...

Don't know any more details to give lol
[Nexus 7 General] lsngregg:
Confirmed rotation and dpi change.

Rooted stock rom

Beautiful. I think this should be a sticky.
[Nexus 7 General] SlimGary:
where is rotate button ?

Hi, thanks for your guide, awesome ! But I have a problem, the rotate button has left the notification bar, I have only the settings button.

Do you know what happens ?

Sorry for my bad english, i'm french ^^

Thanks a lot.
[Nexus 7 General] stealthj:
hmm any ideas? running latest 4.1.1

added to the build.prop, rebooted. No go
[Nexus 7 General] TheByteSmasher:
You used the "old way" instruction right?
[Nexus 7 General] stealthj:
tried both yeah
[Nexus 7 General] tropaios:
Check the permissions of the local.prop file.
[Nexus 7 General] t_007_v2:
if you leave the dpi alone in build.prop but change it in local.prop does the play store not see the dpi change? changing the dpi in build.prop from 213 to 175 for tablet ui gives incompatibility app problems in the play store.

thx
[Nexus 7 General] jamesst20:
Awesome!!! Even the keyboard is pretty!
[Nexus 7 General] t_007_v2:
so far so good. it looks like local.prop spoofs google play into thinking you still have the phone-ui dpi set at 213. this is a god send because i dislike the phone ui on my tablet. setting a different dpi in build.prop throws google play into a pissy mood making most apps incompatible even though they are.

fyi leave the build.prop alone local.prop if not present should be created with the same permission settings as build.prop.

beautiful work around THANK YOU.
[Nexus 7 General] jamesst20:
Yep :p Doesn't hold a factory reset btw :/
[Nexus 7 General] Mr.sneis:
As a layman I think making sure the letters all lowercase seems to be important -- seemed to work after I did that. I also changed permissions to rw r--r-- in properties but I am not sure if that made a difference. I also don't know how I feel about the second line of code - it makes the icons and menu bar smaller.

Running on stock rom and recovery and unlocked bootloader.
[Nexus 7 General] Zardos66:
I was annoyed that my stock rooted 4.1 Nexus S didn't rotate either on the launcher, so I tried this. Entered it exactly the same on the phone as I did my 7. It works perfectly.
[Nexus 7 General] opcow:
Yeah, changing the DPI is no good for me. When I was in my 20's I would have loved it, but my eyes aren't what they used to be.
[Nexus 7 General] mvmacd:
If you want the Play Store to work, you must use 160 DPI. Not 170, not 175, but 160. There are like 4 "standard" DPIs for the Play Store, if you don't have one of them a lot of apps won't work.

The problem though is with the DPI hack, the layout is too small. Except for the system ui. The solution is to flash the hybrid rom ParanoidAndroid.
[Nexus 7 General] t_007_v2:
thx for the heads up. i have used 160 in the past and thought it was to small but it looks like i will have to get used to it.

+1
[Nexus 7 General] mvmacd:
yup no problem!

But whenever you get sick of the small font and small layout.. [url='http://xdaforums.com/showthread.php?t=1800268]ParanoidAndroid[/url] is waiting for you.

I mean, it's epic, you can individually set DPI and layouts of each app, including your launcher or System UI.. it's amazin'
[Nexus 7 General] t_007_v2:
Took about half an hour before I switched back to 175... Can't stand it 160 blows just like 213 sucks arse as a ui. For me the sweet spot is 175 / 177 I'll just have to switch back for play updates or if there is anything I want to buy. Local.prop is a waste of time just edit build.prop and be done with it.
[Nexus 7 General] Mr.sneis:
Am I missing something? My play store looks fine in portrait and landscape. Only using the first line of code.
[Nexus 7 General] mvmacd:
what DPI are you using? if you are not using 213 or 160, you will not be able to get a lot of apps, mostly games. Search for modern combat, or any gameloft game, or ROM Toolbox, or any other well-known game or app. It will just not show up in the search. And if you open it via Chrome, it will say "this app is incompatible with your device" or something of the like.

I'm telling ya man, check out ParanoidAndroid. It's a no brainer.
[Nexus 7 General] R3dbeaver:
force rotate works for me. awesome.

tried the 160 dpi and OMG my eyes hurt. lol. and it just looks... weird. for a 7", i suppose. went back and deleted that line back to default.

thanks!
[Nexus 7 General] bluetint:
I had the same issue. I got it working by setting the permissions for the local.prop file to rw-r--r--
[Nexus 7 General] spengineer:
gonna try this out when i get home. been wanting to get the launcher to rotate for a while now.
[Nexus 7 General] osm0sis:
Here's what needs to be changed and recompiled into framework-res.apk for dual pane preferences and lockscreen rotation (note the sw600dp/bools.xml, it was driving me crazy trying to figure out why the main bools.xml setting wasn't working!):

framework-res.apk

/res/values/bools.xml

<bool name="preferences_prefer_dual_pane">true</bool>

<bool name="config_enableLockScreenRotation">true</bool>

/res/values-sw600dp/bools.xml

<bool name="config_enableLockScreenRotation">true</bool>

Between the above and the /data/local.prop with launcher.force_enable_rotation=true the N7 suddenly became a tablet! Thanks OP and other contributors in the thread for this guide, and also for leading me in the right direction to figure out the above. :D

Edit: Also worth noting that (if you don't plan on messing around with the dpi) you can get away with adding the dual pane line only to the sw600dp/bools.xml and/or changing the LockScreenRotation line already in it to true.
[Nexus 7 General] angellsl:
Works good, thanks
[Nexus 7 General] mariolouis:
Unfortunately, no it does not work that way. It is the same thing as editing build.prop. Plus it add another step so it is more cumbersome than just editing build.prop directly. :(
[Nexus 7 General] osm0sis:
If you're going to edit a file anyway it might as well be the safe one, and that hardly makes it more cumbersome.
[Nexus 7 General] marakji:
Just to clarify this will help get the notification bar to be in the bottom and the DPI is the same so the icon is not sooo small ?
[Nexus 7 General] Kaer84:
I ended up using the latest Apex launcher instead. Performance wise seems pretty smooth to me. Is there something about the original stock launcher that I shoud go back to using it?
[Nexus 7 General] Ferrari328:
Make sure you create the file in /data/ and not in /sdcard/data/
[Nexus 7 General] osm0sis:
DPI stays the same and it stays in "phablet" mode, so the notification bar remains at the top. All my patch does is allow the lockscreen to rotate and/or make preferences dual-pane. In the end I opted to keep preferences the same because dual looks too cramped in portrait mode. The patch and the /data/local.prop launcher.force_enable_rotation=true tweak are all I use and I'm very happy with my N7 now.
[Nexus 7 General] jetbruceli:
Wow

Just changing the density makes this a real tablet but after using it for a awhile it seems to me that its too small even with test set to huge. Oh well
[Nexus 7 General] angellsl:
Agreed, but I'm keeping the tablet ui
[Nexus 7 General] Tanuke:
The rotation fix is enabled for me, but changing the DPI setting to 160 in local.prop doesn't seem to have any effect for me. Any ideas?
[Nexus 7 General] ron917:
Double check your entry, it needs to be exactly correct and it is case sensitive.

qemu.sf.lcd_density=160

On my fist attempt, autocorrect changed "lcd" (lower case) to "LCD" (upper case). Autocorrect is now turned off...I prefer to screw things up myself , I don't need help :)

Also, you might need a blank line at the end of the file. Not sure about that, I always add one because I've been bitten too many times.

And you did reboot, right?
[Nexus 7 General] t_007_v2:
If 160 is to small like it is for me try 175. Not to big like 213 and not to small like 160 """175""" (;
[Nexus 7 General] podumal:
For those having problems with this mod be sure to add a newline after the last line in the local.prop file. That solved my problem.

Cheers
[Nexus 7 General] Logan_M:
I tried out the trial of ultimate rotation, and I realize how little I use the screen in landscape.
[Nexus 7 General] anthon:
Is there any option to allow the lockscreen to rotate?

with adding that line to local.prop the launcher rotates well but lockscreen keeps in portrait mode

With ultimate rotation control both lockscreen and launcher rotates, but I prefer your way.

Thanks for all!
[Nexus 7 General] osm0sis:
Yup, right here. use apk multitool.
[Nexus 7 General] Wh1t3Rose:
Thanks for this.
[Nexus 7 General] mariolouis:
But mine did not have local.prop file. I still had to make it in root explorer. I have stock rom, unlocked, rooted.

---------- Post added at 02:56 PM ---------- Previous post was at 02:51 PM ----------

You know what? Now that you've said it, it is the same for me. I hardly use the nexus 7 landscaped. Only when watching movies or playing games. But it does that automatically even without mods.
[Nexus 7 General] jersonf:
I created a root/data/local.prop file.

In the local.prop file I put the following:

launcher.force_enable_rotation=true

That's it....lockscreen is portrait only, I didn't change dpi or edit any system files or use any other strings, i didn't create a backup file, its my file which I can remove anytime.

Simples.

Sent from my Nexus 7

Motorola Atrix (Mokee OS v1.10.436)

Nexus 7 (Stock + root)
[Nexus 7 General] etnpnys:
Same here. But I did it on my Nexus S4G also. Works great, many thanx, but the lockscreen is still portrait. Is there another row we can add to change that also?
[Nexus 7 General] osm0sis:
Nope. Read back a page.
[Nexus 7 General] hendrixisalive:
my solution

Hi everyone !

Like some of you, I tried both old and new methods, I tried changing permissions, I tried rebooting each time... NO SUCCESS !

My nexus is rooted, I'm using ES explorer with root permissions.

This is my first post on xda-dev, and I've subscribed just to tell how I finally got it work !

My solution :

- Create a new text file on you computer using windows' notepad.

- Copy and past lines directly from the forum, just add a blank line at the end

- Rename file to local.prop

- Copy file to nexus using usb cable

- On your beloved nexus, copy the file to /data/

- Change permissions of file to RW-R--R--

- Reboot

- Enjoy !

Maybe the problem concerned text encoding of ES explorer's text editor... Now it works fine for me, both landscape mode and dpi change.

I hope I've helped you !

H.

ps: sorry if my english is not correct, I'm french :(
[Nexus 7 General] brinox:
Does anyone know how to keep the original DPI and status bar setup, but move the buttons to the left of the bottom bar, instead of being in the center? I cant find anything that maintains those two parameters ><
[Nexus 7 General] etnpnys:
My guess is that you would have to modify a lot of code that handles the variables with DPI that are used to set the UI layout. I don't think you're going to find much anywhere... Why don't you want to change the DPI?
[Nexus 7 General] Nark.GA60:
What about using the TabletUI patch?

http://xdaforums.com/showthread.php?t=1780970
[Nexus 7 General] njatb:
So I've had the biggest troubles implementing this Rotation mod. But the solution, as always in these cases, is really stupid.

I had tried everything (change permissions, old way/new way, etc) and my screen was still not rotating. Then I had a revelation.

I am using Extended Control, and Automatic Rotation was off... Simply turned on and it's working like a charm.

So if you have any app of that kind and troubles applying the mod, don't forget to check if Rotation is set on Auto...
[Nexus 7 General] m0tyrider:
Just put in the first command.

Works great so far, much better then installing a 3rd party home screen app.
[Nexus 7 General] Hawon:
How's the lag after switching to tablet mode? I feel like my nexus 7 lags a lot since the DPI change... anyone else?

Sent from my Nexus 7
[Nexus 7 General] James-NC:
Just put in the first command and it works well. thanks
[Nexus 7 General] nagageqd19:
hello ejohnson0547,

Can you tell me it will work with Galaxy Note N7000 International Model?

Nachiket
[Nexus 7 General] osm0sis:
So I hear rotation is enabled by default in 4.1.2! Rolling out now. :)

Edit: Confirmed. Loving it. No need for hacks anymore. :good:
[Nexus 7 General] corporate.joe:
I've heard the same from a friend yesterday. Sounds good. I'm running AOKP now anyways, and happy with it.
[Nexus 7 General] Super Sheep:
4.1.2 also include lock screen rotation...
[Nexus 7 General] kingofcomedy:
Looks like the local.prop is not recognized anymore in the /data-directory in Android 4.2 as my tablet ui is gone. :|
[Nexus 7 General] ontoptherock:
once you get tablet UI back can you give update how tablet UI for 4.2 is?
[Nexus 7 General] danifunker:
Are we sure it's local.prop that's changed and not that Google removed tablet UI?
[Nexus 7 General] bnbhaohao90:
thanks for telling usthis method！
[Nexus 7 General] SuperKrog:
still working with 4.3/4.4 and kit kat launcher?

---------- Post added at 05:40 PM ---------- Previous post was at 05:11 PM ----------

no :(
[Nexus 7 General] carepack:
working with kitkat?
[Nexus 7 General] SuperKrog:
I tried with latest slimbean rom (4.3) + kitkat launcher and it does not work.

I don't know if it's because of 4.3 or because of the launcher but that's the result.... try yourself and report us :)
[Nexus 7 General] Cigaras:
I also tried with Kitkat 4.4.2 and latest GEL, not working :(
[Nexus 7 General] SuperKrog:
xposed framework + app settings makes the launcher rotate.

just open app settings, choose google search and "force auto rotation". Same can be done for the dialer.
[Nexus 7 General] kesavan2000in:
Is that works on Nexus4 , KitKat+ ? (Android 4.4.2)

launcher.force_enable_rotation= true

doesn't gives launcher rotation on

/sdcard/build.prop

and as well as

/data/build.prop
[Nexus 7 General] tarroyo:
Thanks for the tip!
[Xperia Play Q&A, Help & Troubleshooting] EeJay:
Hey all,

I am using a new rom, its ICS 4.0.4 and is made by Markphyton (you can find it at http://xdaforums.com/showthread.php?t=1790615). Im getting the same level of smoothness (and laglessness :confused: ) without over clocking on this ICS ROM as I do on some GB roms when overclocked!! Its literally epic!

Now, this ROM is amazing, I literally cannot find any faults with it bar two. Oh, and WiFI hotspot doesn't work, but seriously, who uses that anyway?

First fault which is kind of redundant; some apps wont restore properly using Titanium Backup Pro, some will (I've only had errors with my PS Store games though but other users are reporting the same issue), which brings me to my next point, I can't get into the ps store :( . It gives error code 8008103E, which apparently a build.prop edit will fix.

The fix doesn't work (changing the id etc. to r800i); I've even tried pushing the build.prop from Official beta - doesn't work either - It doesn't give me the error code as quickly but still, it's the same at the end, no access, no games.

Is there anyone that has an answer to why it isn't possible or a solution to make it possible?

Update: There may be a fix on the horizon, Markphyton is working on V6 of his ROM now and has obtained the latest f/w for Xperia S (ICS).. However, all input is still welcome so the question still stands..

Can anyone shed some light?
[Xperia Play Q&A, Help & Troubleshooting] EeJay:
Nobody has any idea?

The same thing happens on his Stock ICS 4.0.4 V2 (with patch 2 installed) using the latest PSM and pspocket apps
[Galaxy S III Q&A, Help & Troubleshooting] basse10000:
Hi.

Met a problem with my GT-I9300. When I shut the phone off it just reboots. The phone was rooted and running a custom rom when this started. Now I have unrooted with mobile Odin and flashed a official firmware but the problem persists.

I have even tried a battery pull. When battery is inserted again the phone remains off til I push the powerbutton. But when I try to turn it off after this it just reboots again.

Anyone else had this? Tips on what to do?
[Galaxy S III Q&A, Help & Troubleshooting] Mister_Mxyzptlk:
I've never had any luck fixing this problem. I always had to wipe and flash. However, as a temporary fix, you can power off from recovery.
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
can I ask what you are doing when you turn it off?

Sent from the asylum
[Galaxy S III Q&A, Help & Troubleshooting] basse10000:
Just to clarify, even wipe the phone and restore it to stock completely by flashing official firmware doesnt solve it.

When I turn it off I hold powerbutton til i get the powermenu. From there I choose "turn off". Phone does what it should, screen goes off and everything, only a few seconds later the phone boots again.
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
If the phone was totally cleaned formatted sd card and stock firmware installed then its a hardware problem .

But my guess is it as not totally clean .

....................................

Clean Slate for those that balls up the firmware .Or need to return to service or decide if its hardware/firmware problem .

Backup data first if phone is working .

Boot CWM recovery

Mounts and Storage

Format cache data system sd card .

Remove battery

Boot to download mode

Open Odin

Install correct stock firmware .

jje
[Galaxy S III Q&A, Help & Troubleshooting] basse10000:
I have now tried to wipe and format sys/data/cach/sd in cwm. Flashed stock firmware via odin. Still same issue. Guess its hardware.

Thanks anyway.
[Galaxy S III Q&A, Help & Troubleshooting] JagDave:
This may sound strange, but is this the clock problem the Desire HD had.

In time settings, uncheck the auto update.

Change time & date to something random.

Power off and pull the battery before it reboots.

Give it a min, power up, reselect auto update and reboot.

Should be good to go. If its the same problem that is. ;)

Sent from the App that Time Forgot.
[Galaxy S III Q&A, Help & Troubleshooting] r0uzic:
It also happens to me yesterday, I wipe cache, system, data, reinstall roms (CM and AOKP) and is still happening :(