Autorotation enables automatically - Android Q&A, Help & Troubleshooting

Hi there,
I have the following issue on my Oneplus 6T and now on my Oneplus 8 Pro. Regularly I keep autorotation disabled, but it keeps enabling automatically, which is disgusting. Is there anything I can do to turn this off? I rebooted the device, I deleted the cache, I even did a factory reset, without any help. This is really annoying and disturbing, what am I missing? I am running on android 10 with all the latest updates.
Another sidefact: I am using a software called vysor pro to control my smart phone with my computer, as for I'm disabled and totally in need of that. Could that be the issue? I am using it via wireless ADB, but it is running on stock without any changes.
Greetings
Jensen

@Jensen12033
On the assumption that your device is rooted, there is a way you can force disabling Autorotation and the system to go by default into Landscape and/or Portrait mode by changing a value in Android's settings.db by means of ADB:
Set Landscape mode
Code:
adb shell settings put system accelerometer_rotation 0
adb shell settings put system user_rotation 1
Set Portrait mode
Code:
adb shell settings put system accelerometer_rotation 0
adb shell settings put system user_rotation 0

First of all, thank you for the fast response. Unfortunately it's not rooted. I have absolutely no clue why the phone is doing that.

Related

Phantom touch flo!

Help! My touch flo has a mind of it's own. Often in Scenes or Contacts, the page simply won't stay put. Without me touching it, it shoots off to the right. Or sometimes to the bottom of the page in email view.
Any advice? I am using a screen protector and am running the new ROM.
Thanks!
You have to make sure your phone didn't repair before, I meant the hardware is stocked without any replacement, this method do not fix if you change the flash IC
1. Reboot see if it is fixed.
(if problem remains)
2. Boot into recovery (yea you need a rooted phone and custom recovery)
3. Connect the phone usb, via terminal / CMD
Code:
adb remount
cd data
cd misc
adb push AK8973Prms.txt /sdcard/
adb push AK8973Prms.txt.tmp /sdcard/
adb shell rm AK8973Prms.txt
adb shell rm AK8973Prms.txt.tmp
adb reboot
AK8973Prms.txt stores the setting of G-sensor, delete it and the phone will generating a new file automatically on reboot,this may help.
It's not Sense, it's the trackball!
Thanks for your reply- I think, however, the problem is the trackball, because it also affects non-sense screens like the program list.
So: Phantom, erratic trackball- any ideas?

Enable ADB without inputs on my phone?

I installed a Substratum overlay which screwed up my phone and now every time I boot into system the screen remains black. I'm on RROS 6.0.0 (Android 8.1) so I was only able to install a TWRP without decryption thus I can't access system/data in order to delete the overlays there. The only way to access it now would be over ADB while the phone is booted to system. The problem is, although I've enabled USB debugging I'd have to enable USB file transfer (default set to charge only) in order to be able to access my phone via USB. Right now I always get the output:
Code:
[email protected]:~$ sudo adb devices
List of devices attached
???????????? no permissions
Is there any way to enable USB file transfer or just generally access /system/data without any inputs while being in system? I know, I could just do a factory reset but I'd rather avoid that... Any help would be appreciated!

Odd captive portal problem

Hi,
I am hoping someone may be able to assist me with an annoyance I have with my Mate 20 Pro
The wifi check URL is set to xxx.hicloud.com and hicloud.com is blocked on some WiFi networks I use (and the admins will not whitelist it).
I have tried to use the ADB commands to turn it off, change the check URL and change the mode. None seem to work.
Is there any way to permanently disable the captive portal or properly change the URL to a google one on the Mate 20 pro?
Below are the commands (amongst many others) that I have tried with no luck. I have tried setting it to Apples, Googles Microsofts etc.
adb shell settings put global captive_portal_http_url http://www.google.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
adb shell settings put global captive_portal_fallback_url http://www.google.cn/generate_204
adb shell settings put global captive_portal_other_fallback_urls http://www.qualcomm.cn/generate_204
settings get global captive_portal_detection_enabled 1

Is it just me or we can not edit Notification Panel on Mi Note 10 Lite

Can anyone help? Can't seem to edit the notification parcel/quick settings. No screen recorder either
It's a bug. Use System UI Tuner and reset the notification shade to make it editable. No root needed, but you will need adb for permission.
Axeybaby said:
Can anyone help? Can't seem to edit the notification parcel/quick settings. No screen recorder either
Click to expand...
Click to collapse
This is a bug and i had to use adb to reset the settings to default. This happened because i was coming from a custom rom and my Google account synced and created this bug.
Probable Solution
Nope, you're not the only ones but update 11.0.8 should fix it, at least it worked for me
you can solve this problem with adb
open developer options
enable (usb debugging) and (usb debugging security)
in your platform tools directory open cmd or terminal
enter the following commands
adb devices
adb shell
settings put secure sysui_qs_tiles "$(settings get secure sysui_qs_tiles),edit"
adb reboot
I also notice that notification panel and quick settings tiles remains unchanged after applying themes. Any workaround...... Or its the way it is for now?

Question ADB to change button order of Navigation bar

Hi,
I've tried all the ADB commands for previous android version but it is not working on the Pixel 6 android 12.
I've tried
adb shell settings put secure sysui_nav_bar 'space,recent;home;back,space'
adb shell
settings put secure sysui_nav_bar "space,contextual;home;back,space"
Anyone know if android 12 they changed something to make it not work?
bump. why did they remove this

Categories

Resources