Question Auto Rotation only specific app - Samsung Galaxy Z Fold 4

Does anyone know how to use ADB to set auto rotation on just one specific application like Youtube. As i dont want auto rotation on at every interface
I been trying commnet like :
adb shell pm com.google.android.youtube insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1
but no really getting anywhere, may any one able to help ?

Use Bixby Routines to turn auto rotation when that app opens.

Anything and everything you'd like to do with respect to rotation can be accomplished with this app: https://play.google.com/store/apps/details?id=com.pranavpandey.rotation
Also, the developer is quick to respond to any questions you might have. I really can't recommend the app enough. Give it a shot.

Related

Change the Screen Orientation...

Hey im just trying to change my screen to always be in landscape i trying to do it but its not worrking i understand every thing till it say "Change the Value of "Angle" to the FF:" please some one give me more detailed instructions
Set the Screen Orientation thru Registry and works only after soft reset
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
Change the Value of "Angle" to the FF:
dword:00000000 or dword:00000360 -> Portrait Mode
dword:00000090 -> Landscape(Right-Handed)
dword:00000180 -> Portrait Up-side Down
dword:00000270 -> Landscape (Left-Handed)
Hide/Unhide Screen Orientation Option in Screen Module[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
"HideOrientationUI" -> set 0 to unhide, 1 to hide
Set Fix Landscape(Right-Handed) Mode and No Landscape(Left-handed) in Screen Settings
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
"Landscapefixed"-> set 0 if disable, 1 to enable
What device are you doing this on?
V
sprint mogul wm6
I thought you could change it in settings/screen
i want to change it for good so if i open and close it it will still be in landscape
There are a few ways:
1. Use an app that will rotate the device to landscape, and install a power on notification to launch that on every power on. That way the device will auto rotate itself properly.
2. Remove the magnetic sensor. Semi permanent and dangerous.
3. There is I think a registry hack to force this, but I could never find it again. Search the board using google [http://forum.xda-developers.com/showthread.php?t=322565] and try to find it. Let me know if you find it!
V
PS I wrote VJUzumaki to disable the autorotation properly. However, it's not released (yet).
the registry hack is in my first post i need help with the instructions
there's a less permanent, but far simpler, easier and less intrusive method that I use. Under start, settings, buttons, pick a button that you don't use often, and assign it to rotate screen. I rarely use the camera, and when I do it's easy to get there through the menus, but I use rotate maybe half the time I use the phone
LethalCorpse said:
there's a less permanent, but far simpler, easier and less intrusive method that I use. Under start, settings, buttons, pick a button that you don't use often, and assign it to rotate screen. I rarely use the camera, and when I do it's easy to get there through the menus, but I use rotate maybe half the time I use the phone
Click to expand...
Click to collapse
THANKS BUT I had a landscaper app and it automatically switched it back to landscape after its open and closed i ratther just do this regisry hack so it wont switch to portrait for before switching bak to landscape
authenticsketch said:
THANKS BUT I had a landscaper app and it automatically switched it back to landscape after its open and closed i ratther just do this regisry hack so it wont switch to portrait for before switching bak to landscape
Click to expand...
Click to collapse
Lanscaper App.... you mean, you can freeze your device in Landscape mode and not have it witch to portrait when you open and close the keyboard??
If so could you please post this app?
leepriestenator said:
Lanscaper App.... you mean, you can freeze your device in Landscape mode and not have it witch to portrait when you open and close the keyboard??
If so could you please post this app?
Click to expand...
Click to collapse
i want it also, pls post it!

Screen rotation app - the other way

hi,
sorry if this question has already been asnwered..
is there an app in which i can set which programm may use landscape mode?
i know there are lots of software which allow me to set the programs which should NOT use the rotation, but i just need it in very few applications so it would be much easier to define programs that are allowed to use rotation, instead of denying.
any ideas?
G-Config with a Whitelist for apps that should go into landscape will help you:
http://forum.xda-developers.com/showthread.php?t=487991
thanks for the quick answer. i will try it!

NFC turn on/off app

Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
Airplane Mode
can u recommend an app for this?
thanks
x102x96x said:
Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
Airplane Mode
can u recommend an app for this?
thanks
Click to expand...
Click to collapse
The reason you don't see these is that the Android team moved the NFC enable/disable setting into the secure settings in 2.3.5. Prior to then there were a few NFC toggle widgets on the market. Now those apps would need WRITE_SECURE_SETTINGS (so you're looking at only devices with root access willing to make your app a system app or JB+ devices where you can request it from the package manager with root access).
krohnjw said:
The reason you don't see these is that the Android team moved the NFC enable/disable setting into the secure settings in 2.3.5. Prior to then there were a few NFC toggle widgets on the market. Now those apps would need WRITE_SECURE_SETTINGS (so you're looking at only devices with root access willing to make your app a system app or JB+ devices where you can request it from the package manager with root access).
Click to expand...
Click to collapse
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
x102x96x said:
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
Click to expand...
Click to collapse
I don't think that there's a solution for automatic NFC turm om. What is more, it's not really safe.
x102x96x said:
so wht s ur solution for auto turn on NFC?! (except force keep on in "nfc task launcher" app)
Click to expand...
Click to collapse
I don't auto-turn on NFC. You can create an app that does this if you just have it request WRITE_SECURE_SETTINGS and then either use root to grant that permission via the package manager or copy/move it to /system/app
krohnjw said:
I don't auto-turn on NFC. You can create an app that does this if you just have it request WRITE_SECURE_SETTINGS and then either use root to grant that permission via the package manager or copy/move it to /system/app
Click to expand...
Click to collapse
one more question;
What will happen exactly when select keep on NFC on "NFC Task Launcher" ?
it needs root access Or what happen after asking to reboot phone?
thanks
x102x96x said:
Hi
i couldn't find any app to turn off / on NFC
like this app for airplane mode;
can u recommend an app for this?
thanks
Click to expand...
Click to collapse
System settings --> more --> nfc [check/uncheck]
Or..
system settings --> system --> quick settings panel --> tiles and layout --> add --> nfc, then its on your quick settings panel.
I too would like to see a way of turning the NFC on and off without the manual prompt - like you can with bluetooth.
It appears that you cant do this because its "unsafe" and because of this reason they've also made NFC not work while the screen is off although some crafty people have realized this kind of defeats the purpose of having NFC and for some phones they've enabled NFC to work with lock screen closed (see link)
http://www.xda-developers.com/android/activate-nfc-at-any-time/
I can kind of see how its unsafe to be able to turn it on without acknowledgement - but if you could setup a rule that required Root access then this should be a reasonable stop gap? You would then be able to setup a rule in say "automateit" for example so that the NFC turns on and off during certain times or after certain rules are activated or stopped - this would then kind of make safe because you can turn the NFC off and know for sure its off after certain events have occurred.
I know this is a very debatable subject but I think its a good subject to debate.
I use shortcutter app from play store. Although you have to grant the relevant permission via adb.

[GUIDE] Working gestures for 3rd party launchers.

Hi,lads.
There's a little solution to make it work.
Everything that you need is: 1.ADB installed on your pc.
2.Internet connection.
3.10 minutes of free time.
So,to start you need to download the app called "Fluid Navigation Gestures" and give it all the permission it needs.
After that you can configure the Gestures the way you like.Then you can go to the "Hide navigation bar" option ,there you could find a proper explanation about how to get rid of the navigation bar (3 buttons navigation must be turned on while you are doing all these manipulations).
Copy-pasted command: adb shell pm grant com.fb.fluid android.permission.WRITE_SECURE_SETTINGS
(There must be a space between "...fluid" and "android...".)
It seems to be very stable and fully working, didn't have any problems while using this app,also,it isn't eating battery.

Question Custom setting of Auto rotate Face Detection

Hi guys, can someone please tell me the custom setting (global/secure/system setting) of the toggle "Enable Face Detection" under Android 12's Autorotation settings? You can do it with Tasker. I want to see if I can force it on on my Galaxy N20U, maybe it's just hidden. I remember having this feature on my Galaxy S5 ("Smart rotate") but they removed it in later models. And they didn't include it in OneUI 4 I really miss this feature, if someone can help me it would be really appreciated. Thanks in advance!
Sorry, can't help here aside from commenting that maybe you are in the wrong forum (this is Pixel 6 Pro forum here )...
s3axel said:
Sorry, can't help here aside from commenting that maybe you are in the wrong forum (this is Pixel 6 Pro forum here )...
Click to expand...
Click to collapse
Since the feature is on Pixel 6/6Pro 's Android 12, I asked here because you are the only ones that can help me retrieve this setting so I can try to enable it via adb/Tasker on OneUI. I want to try to see if it is just hidden and so can be enabled, since Samsung didn't include this feature in OneUI 4. I mean, I think there is nothing wrong asking for help on another brand's phone sub, I'm not in an iPhone forum lol.
obrobrio2000 said:
Since the feature is on Pixel 6/6Pro 's Android 12, I asked here because you are the only ones that can help me retrieve this setting so I can try to enable it via adb/Tasker on OneUI. I want to try to see if it is just hidden and so can be enabled, since Samsung didn't include this feature in OneUI 4. I mean, I think there is nothing wrong asking for help on another brand's phone sub, I'm not in an iPhone forum lol.
Click to expand...
Click to collapse
Lol, no, true and by no means meant this way
I can find this under the entry shown in the image (sorry, my present shortcut app does not allow for copying the text )....
Cheers,
Axel
s3axel said:
Lol, no, true and by no means meant this way
I can find this under the entry shown in the image (sorry, my present shortcut app does not allow for copying the text )....
Cheers,
Axel
Click to expand...
Click to collapse
First of all thank you! I was able to open this activity with activity launcher and it actually gives me the Auto-rotate screen settings page, but as you can see the Face Detection feature is not there, so it's either hidden (I hope) or completely removed by Samsung.
I don't want to annoy you on a Saturday but if you can and want, can you try sending this command to adb (if on Windows):
Code:
(adb shell settings list global && adb shell settings list secure && adb shell settings list system) | findstr "face"
(on Linux it should be grep instead of findstr)
Or, other than "face", some other keyword like "detect", "rotat" etc.
Or, better, if you have Tasker it's easier and you can identify it faster by adding a custom setting task to a profile and using the detect feature (magnifier icon), toggle it and then re-tap the same icon. I attached a video on how to do it, I did it as an example with the autorotate toggle, you should instead do it with the "Enable face detection" toggle
Thanks again!
obrobrio2000 said:
First of all thank you! I was able to open this activity with activity launcher and it actually gives me the Auto-rotate screen settings page, but as you can see the Face Detection feature is not there, so it's either hidden (I hope) or completely removed by Samsung.
I don't want to annoy you on a Saturday but if you can and want, can you try sending this command to adb (if on Windows):
Code:
(adb shell settings list global && adb shell settings list secure && adb shell settings list system) | findstr "face"
(on Linux it should be grep instead of findstr)
Or, other than "face", some other keyword like "detect", "rotat" etc.
Or, better, if you have Tasker it's easier and you can identify it faster by adding a custom setting task to a profile and using the detect feature (magnifier icon), toggle it and then re-tap the same icon. I attached a video on how to do it, I did it as an example with the autorotate toggle, you should instead do it with the "Enable face detection" toggle
Thanks again!
Click to expand...
Click to collapse
UPDATE: A user on Reddit suggested that the setting is a secure setting and is named "camera_autorotate". Unfortunately when I force toggle it the system crashes and reboots as soon as I put the phone in landscape.
My disappointment is immeasurable and my day is ruined
For what it's worth, I tried the option on my P6P and I didn't like how badly it worked so I gave up on it. It works often just not rotate. I may give it a try again if they perform some fixes.

Categories

Resources