[HOWTO] Enable Auto Rotation for Lock Screen & Launcher - Nexus 6 General

This is a quick walk through for editing the build.prop to allow lock screen and launcher rotation.​
I got tired of looking at my phone sideways while it was propped up landscape wise, in my case.
1. Locate "build.prop" in /system using your favorite file explore
2. Open it up and at the bottom add the lines
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
3. Save your edit and reboot.
Lockscreen rotation still not working for you???
A few users have reported that adding a blank line between the two, fixes this issue.
Once the phone reboots your lockscreen and Google Now launcher will rotate with the orientation of the device just like other apps do.
To undo this, simply remove the lines we added
:good:
Update: 11/10/2015
enigma9o7 Has figured out how to get this to stick even after an update! Head over to his post for the walkthrough and install guide!! Remember to give them a "thanks" for sharing the work!

Awesome I been wondering how to get this done.

Nice tip. I've always just used an app called Ultimate Rotation Control. Seems to work just fine on the Nexus 6. A quick build.prop tweak removes the need for a separate app for it, though. I might get around to trying this...eventually

can someone make a flash able zip for this please ?
thanks in advance

Anybody know how one would do this with adb?
N6

I used an app for quite some time but i disliked it running in the background.
Im not able to make a flashable zip. Maybe in time I will see if i can.
For adb, youd have to pull the build.prop, edit on computer then push it back. The instructions to do that are unclear to me

mrfuzzie23 said:
can someone make a flash able zip for this please ?
thanks in advance
Click to expand...
Click to collapse
You can install Nova Launcher and toggle the setting in there, or use the ultimate rotation app someone else mentioned.

Thx

If you set the DPI to 384 or less, this happens by default.

pavankp said:
If you set the DPI to 384 or less, this happens by default.
Click to expand...
Click to collapse
Thats good to know! Not surprising, the device is most likely changed to "tablet size" to the system. And they have full rotation.

Works great, thanks! (AT&T Nexus 6)

Would not work for me I get error saving

techrider6262 said:
Would not work for me I get error saving
Click to expand...
Click to collapse
Thats not good. What error are you getting?

eqbirvin said:
Thats not good. What error are you getting?
Click to expand...
Click to collapse
It just said error can't save and I tried a couple different time

techrider6262 said:
It just said error can't save and I tried a couple different time
Click to expand...
Click to collapse
gotcha. You are rooted, correct? and if so what file manager are you using to locate the build.prop?

es file explorer and i'm rooted.

in ES file explorer when you grant it root permissions, click on root, then mount R/W, make sure "/system" is RW instead of RO. (sorry if you already know this, im just trying to save time and figure your error out haha)

Thanks I got it working.:good:

Glad to hear it!

to each their own, I like being able to get OTAs so I'll stick with Ultimate Rotation Control

Related

[HELP] get verizon/protected apps on sprint based roms like aloysius v12?

the title says it all how can i get those types of apps working on roms based on other phones? i have aloysius v12 but i want to use the verizon apps that come in the market but they are not there. is there i fix or patch so i can use skype or something like that?? i installed an APK i backed up but when i install it it says this app is not available for this phone. can someone please help?
Can you pull ur build.prop and attach it to a post here?
TopazAaron said:
Can you pull ur build.prop and attach it to a post here?
Click to expand...
Click to collapse
where and how do i do that?
Working on a fix right now. Gimme a little bit and I'll have it up.
Doesn't jcase's market fix help this kind of problem?
Sent from my FroyoEris using XDA App
snyluc13 said:
Doesn't jcase's market fix help this kind of problem?
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
I ran into this problem too running the Sprint based Fresh rom. While Jcase's Market Fix will fix the problem with missing protected apps, it wont fix the missing Verizon apps.
To do that, I used Root Explorer on my phone and opened the "build.prop" file located in the System folder. Open the file in the included text editor and scroll down to until you see this line:
"ro.cdma.home.operator.numeric"
The correct value for the line should be "310012". Sprint roms will have the value as "310120".
Save the changes and exit. After reboot, check your Market. The right-most tab on the main page will read "Verizon" now instead of "Downloads".
Or flash this handy zip from recovery.
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
thanks ...works great
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
Lol. Where were you when I needed you earlier?
PPCGeek01 said:
Lol. Where were you when I needed you earlier?
Click to expand...
Click to collapse
At work unfortunately. These back-to-back shifts are killing me.
FunkyFender said:
Working on a fix right now. Gimme a little bit and I'll have it up.
Click to expand...
Click to collapse
thanks i really want to use those apps
edit: thanks for the fix, works like a charm
Anyone else having issues with the my Verizon app? Everytime I go into it it states phone number can not be verified
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
I know this is probably elementary, but is there a step by step post anywhere for flashing a zip file?
I just rooted last night and put the first custom ROM on my phone. This is uncharted territory for me. Everything is great so far except for these missing apps.
I tried the root explorer method, but it would only let me read the text, not edit.
EDIT: Ignore this post. GREAT SUCCESS!! Too easy.
PPCGeek01 said:
I ran into this problem too running the Sprint based Fresh rom. While Jcase's Market Fix will fix the problem with missing protected apps, it wont fix the missing Verizon apps.
To do that, I used Root Explorer on my phone and opened the "build.prop" file located in the System folder. Open the file in the included text editor and scroll down to until you see this line:
"ro.cdma.home.operator.numeric"
The correct value for the line should be "310012". Sprint roms will have the value as "310120".
Save the changes and exit. After reboot, check your Market. The right-most tab on the main page will read "Verizon" now instead of "Downloads".
Click to expand...
Click to collapse
Thank you.
I was doing it the hard way - download the app in a HTC/VZW Rom, copy them to SD, restore the Sprint ROM (Aloysius V12) and install.
Looking at them now in the Market.
bftb0
THANKS. This worked great for me.

Keep Wallpaper From Changing Without ADB

First I give all credit to rooobbbbb for finding the file, over on his thread here: http://forum.xda-developers.com/showthread.php?t=1362543
I really don't know a lot about android, but through my brief experience with the fire and root explorer I figured out how to keep the wallpaper from changing without a computer and ADB. Here are the steps:
1) You need root access. http://forum.xda-developers.com/showthread.php?t=1348830
2) Download root explorer or similar program that allows the changing of file permissions.
3) Change wallpaper to desired choice.
4) Run said program and go to /data/data/com.android.settings/files
5) In this folder is a file called wallpaper. Change the permissions on wallpaper to have no write access.
6) You can now change the wallpaper from Go Launcher EX or similar program to the same type of wallpaper. Same limitation of having to undo and redo process for different type of wallpaper.
very awesome. thank you for the info works perfectly.
Magical3 said:
First I give all credit to rooobbbbb for finding the file, over on his thread here: http://forum.xda-developers.com/showthread.php?t=1362543
I really don't know a lot about android, but through my brief experience with the fire and root explorer I figured out how to keep the wallpaper from changing without a computer and ADB. Here are the steps:
1) You need root access. http://forum.xda-developers.com/showthread.php?t=1348830
2) Download root explorer or similar program that allows the changing of file permissions.
3) Change wallpaper to desired choice.
4) Run said program and go to /data/data/com.android.settings/files
5) In this folder is a file called wallpaper. Change the permissions on wallpaper to have no write access.
6) You can now change the wallpaper from Go Launcher EX or similar program to the same type of wallpaper. Same limitation of having to undo and redo process for different type of wallpaper.
Click to expand...
Click to collapse
Exactly what I was looking for. Thanks!
What app do people recommend for changing file permissions?
Juter227 said:
What app do people recommend for changing file permissions?
Click to expand...
Click to collapse
Root Explorer works good enough.
Magical3 said:
First I give all credit to rooobbbbb for finding the file, over on his thread here: http://forum.xda-developers.com/showthread.php?t=1362543
I really don't know a lot about android, but through my brief experience with the fire and root explorer I figured out how to keep the wallpaper from changing without a computer and ADB. Here are the steps:
1) You need root access. http://forum.xda-developers.com/showthread.php?t=1348830
2) Download root explorer or similar program that allows the changing of file permissions.
3) Change wallpaper to desired choice.
4) Run said program and go to /data/data/com.android.settings/files
5) In this folder is a file called wallpaper. Change the permissions on wallpaper to have no write access.
6) You can now change the wallpaper from Go Launcher EX or similar program to the same type of wallpaper. Same limitation of having to undo and redo process for different type of wallpaper.
Click to expand...
Click to collapse
Awesome re-post, bro.
My data file is empty.. ???
That worked perfectly, thank you so much!
---------- Post added at 09:32 PM ---------- Previous post was at 09:19 PM ----------
Houndog101 said:
My data file is empty.. ???
Click to expand...
Click to collapse
What is the exact path you are opening?
thanks
works perfectly thank you
what's the screen resolution on the fire?
i want to preshrink wallpapers...
worked for me once but when I tried to change it again i get stuck in a loop where I keep getting a dialog box asking me which app i want to use to set the wallpaper. I set the permissions back to what I thought was the default rwx, rwx, ---. can someone confirm the permissions?
desmodust said:
What's the screen resolution on the Fire? I want to preshrink wallpapers.
Click to expand...
Click to collapse
It's 1024x600.
toonakan said:
worked for me once but when I tried to change it again i get stuck in a loop where I keep getting a dialog box asking me which app i want to use to set the wallpaper. I set the permissions back to what I thought was the default rwx, rwx, ---. can someone confirm the permissions?
Click to expand...
Click to collapse
This thread was a pretty shameless re-post which has caused pointless confusion. There is an existing thread which contains all of the information you seek:
http://forum.xda-developers.com/showthread.php?t=1362543
I posted both the results from the CL using the ADB method, AND what you can expect to see when using the Root Explorer method. Please check there, specifically Post #35. In the CL output you will see the permissions default = 755.
I haven't had any issues changing wallpaper using this thread's method, live or static.
Sent from my Kindle Fire using xda premium
I am sorry hoss12300 if you feel that way, but I never read what you posted about this, and you can even chack that I posted my thread 7 minutes before you posted your response on the other thread. So please don't call this a shameless repost. And I do admit that your post is more complete than mine. I personally don't understand when you say to use adb on this file and say 755, to me that makes no sense, and I was only trying to help others who are also confused by this. Sorry if you feel differently.
californiarailroader said:
It's 1024x600.
Click to expand...
Click to collapse
thank you most kindly.
Magical3 said:
I am sorry hoss12300 if you feel that way, but I never read what you posted about this, and you can even chack that I posted my thread 7 minutes before you posted your response on the other thread. So please don't call this a shameless repost. And I do admit that your post is more complete than mine. I personally don't understand when you say to use adb on this file and say 755, to me that makes no sense, and I was only trying to help others who are also confused by this. Sorry if you feel differently.
Click to expand...
Click to collapse
Poor choice of words on my part. I was simply trying to avoid duplication of effort and if nothing else, encourage people to use the built-in search functionality (located at the top right of the page). I've frequented this site for a while now, and I'd be hard pressed to recall a time when a little research failed to find me the answer I was looking for.
Don't mind me. Carry on.

Need help with build.prop edit

I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
in_dmand said:
I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
Click to expand...
Click to collapse
I can do that above with RE, very strange problem you have.
Try a build.prop editor, i used this in the link. It sets correct permissions after editing and so on. Use the pencil icon in the bottom right to edit.
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Hi,
Same thing for me with Root Explorer, instead I use build.prop Editor
EDIT: not fast enough :laugh:
qsec said:
I can do that above with RE, very strange problem you have.
Try a build.prop editor, i used this in the link. It sets correct permissions after editing and so on. Use the pencil icon in the bottom right to edit.
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Click to expand...
Click to collapse
I got it and tried exactly like you said, and while it does pull it up and my keyboard pulls up and I can feel the haptic feedback, no letters will be inserted in deleted...? Really weird.
Maybe it's related to my root access? TB is showing I'm rooted, but check out my superuser app when I try to update an install new binaries...
Get rid of Superuser and try SuperSu instead. Sometimes the old Superuser has issues on ROMs since ICS.
EniGmA1987 said:
Get rid of Superuser and try SuperSu instead. Sometimes the old Superuser has issues on ROMs since ICS.
Click to expand...
Click to collapse
Downloaded and installed... Removed the old one. Still not letting me edit... Looks an feels like it is but won't enter any characters. At least RE isn't giving me the "too large" error anymore
in_dmand said:
I got it and tried exactly like you said, and while it does pull it up and my keyboard pulls up and I can feel the haptic feedback, no letters will be inserted in deleted...? Really weird.
Click to expand...
Click to collapse
i had the same issue, couldn't figure out why. try replacing a commented line with the code to disable the nav bar
How do I know if it's just a commented line and not necessary to the program?
in_dmand said:
I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
Click to expand...
Click to collapse
i had the same issue any help?
If you are in stock android 4.4.2 dont do it
You will stuck on bootloop
If you still wand to do let copy your build.prop to pc and edit with notebat++ or some program and recopy overwrite to your phone
Sent from my LG-D802 using xda app-developers app
maxkanick said:
If you are in stock android 4.4.2 dont do it
You will stuck on bootloop
If you still wand to do let copy your build.prop to pc and edit with notebat++ or some program and recopy overwrite to your phone
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
You are right, I have tried to edit it on pc and stuck on a bootloop.
Use build.prop editor app from playstore
_____________________________________Read more write less and be smart

[HOWTO] enable both in-app and lockscreen rotation on 11S (33R, 38R, 44S, 05Q)

this should fix rotation on all apps. it definitely fixes rotation on most apps, including the lockscreen.
you need a build.prop edit
i've tested this on the new OTA 33R and 38R stock.
works like a charm.
i hope people will build this into their customs, if they haven't already
go to /system
edit /system/build.prop. you'll need an editor with root access and r/w privileges
add to the end of the file
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
save.
reboot.
now someone make a simple script app for me so that i don't have to write this every time i flash, lol.
timothydonohue said:
it turns out that you need a stupid build.prop edit
i've tested this on the new OTA 33R stock
works like a charm.
i hope people will build this into their customs, if they haven't already
go to /system
edit build.prop. you'll need an editor with root access and r/w privileges
add to the end of the file
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
save.
reboot.
now someone make a simple script app for me so that i don't have to write this every time i flash, lol.
Click to expand...
Click to collapse
Thanks a lot this is what I need.
[email protected]
I was looking for that too, thanks.
Hmmm....my homescreen now rotates but not my lockscreen. I'm on 33R stock rooted. My bad. There was a space in "lockscreen". Works perfect now. Thanks!
knightsh said:
Hmmm....my homescreen now rotates but not my lockscreen. I'm on 33R stock rooted. My bad. There was a space in "lockscreen". Works perfect now. Thanks!
Click to expand...
Click to collapse
Then hit the thanks button
timothydonohue said:
Then hit the thanks button
Click to expand...
Click to collapse
i think this should help you out
http://forum.xda-developers.com/showpost.php?p=50683717&postcount=1
attached are the things you need
extract the files from the zip
put the tweak.prop on the root of your internal storage
then after an update or new rom, flash the tweakprop-0.5.2.zip in recovery
should fix you up nicely, just tested it and it worked fine for me
timothydonohue said:
this should fix rotation on all apps. it definitely fixes rotation on most apps, including the lockscreen.
you need a build.prop edit
i've tested this on the new OTA 33R stock
works like a charm.
i hope people will build this into their customs, if they haven't already
go to /system
edit build.prop. you'll need an editor with root access and r/w privileges
add to the end of the file
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
save.
reboot.
now someone make a simple script app for me so that i don't have to write this every time i flash, lol.
Click to expand...
Click to collapse
Works perfectly with CM11s 38R !!
Thank You !
Yes. Confirmed working on 38R
working on 44S
timothydonohue said:
working on 44S
Click to expand...
Click to collapse
Because of how that zip works it should work till that mod stops working as well
thoughtlesskyle said:
Because of how that zip works it should work till that mod stops working as well
Click to expand...
Click to collapse
lol, much appreciated. i totally forgot about that post, and was just updating the thread.
verified working on 05Q
Any idea how to enable lockscreen rotation on 12S? The build.prop edit doesn't seem to work on Lollipop.
Digil said:
Any idea how to enable lockscreen rotation on 12S? The build.prop edit doesn't seem to work on Lollipop.
Click to expand...
Click to collapse
It worked for me
Sent from my Oneplus One MasterRace
floxigen said:
It worked for me
Sent from my Oneplus One MasterRace
Click to expand...
Click to collapse
Well, shoot, it works for me too now. I swear it wasn't working right after I did it, even after a reset. Oh well. Thanks!
thoughtlesskyle said:
i think this should help you out
http://forum.xda-developers.com/showpost.php?p=50683717&postcount=1
attached are the things you need, extract the files from the zip
put the tweak.prop on the root of your internal storage
then after an update or new rom, flash the tweakprop-0.5.2.zip in recovery....
Click to expand...
Click to collapse
would you happen to have the latest release 0.5.9(a)(?)? and please see my pm. thanks.
m0han said:
would you happen to have the latest release 0.5.9(a)(?)? and please see my pm. thanks.
Click to expand...
Click to collapse
No, and No
Sent from my Nexus 6P using Tapatalk

Adaway fails to update

I have read that a lot of people have got adaway to work on the nexus 6p however when I try to update the host files it falls. Any help would be much appreciated.
Clear app cache and try again.
Sent from my Nexus 6P
mo123456789 said:
I have read that a lot of people have got adaway to work on the nexus 6p however when I try to update the host files it falls. Any help would be much appreciated.
Click to expand...
Click to collapse
Are you using the root that keeps system intact? if so, you may need to change the file location to /data had to do this when I had the Droid Turbo.
jawiler said:
Are you using the root that keeps system intact? if so, you may need to change the file location to /data had to do this when I had the Droid Turbo.
Click to expand...
Click to collapse
Not sure which root I'm using. I had to flash the modified boot.img to root.
Where do I change the file location from?
mo123456789 said:
Not sure which root I'm using. I had to flash the modified boot.img to root.
Where do I change the file location from?
Click to expand...
Click to collapse
under preferences, target hosts file and try a different location listed there
jawiler said:
under preferences, target hosts file and try a different location listed there
Click to expand...
Click to collapse
Don't mean to jack the thread, but I am doing this for the first time too. What preferences are you referring to? F-droid?
89titanium said:
Don't mean to jack the thread, but I am doing this for the first time too. What preferences are you referring to? F-droid?
Click to expand...
Click to collapse
preferences in the adaway app itself, there are 3 dots on the upper right corner of the app, select preferences from the drop down menu and then scroll down to the Target hosts file, there are 4 options to choose from. I'm hoping this helps, mine works fine on the default system location, but I'm on the root that does modify the system. I hope I'm making sense
jawiler said:
preferences in the adaway app itself, there are 3 dots on the upper right corner of the app, select preferences from the drop down menu and then scroll down to the Target hosts file, there are 4 options to choose from. I'm hoping this helps, mine works fine on the default system location, but I'm on the root that does modify the system. I hope I'm making sense
Click to expand...
Click to collapse
Thanks. I've tried changing the location to the three different location options but still not luck. Getting another when changing location. This time it says symlink missing. And some info.
mo123456789 said:
Thanks. I've tried changing the location to the three different location options but still not luck. Getting another when changing location. This time it says symlink missing. And some info.
Click to expand...
Click to collapse
unfortunately, I'm not an expert, not sure what else to try. Hopefully someone else will have a suggestion:good:
OP - It must be the way you are rooted.
I'm using AdAway with no issues.
tech_head said:
OP - It must be the way you are rooted.
I'm using AdAway with no issues.
Click to expand...
Click to collapse
Just flashed chroma rom and working perfectly fine.must be an issue with cm13

Categories

Resources