Disable Developer options Without Erasing All Data - Wear OS Software and Hacking General

Hi Looking at one post I founded this adb command and I tested on my TicWatch Pro and it worked if you don't own a galaxy watch 4 and want disable Developer options here is the adb command: settings put global development_settings_enabled 0

Related

[GUIDE] Uninstall any application with single ADB command ROOTLESS

I've had a Motorola G4 Amazon Prime edition for sometime now and I was easily able to hide the package that displayed the lock screen ads (com.amazon.phoenix) soon after purchase. Unfortunately, when the Nougat update came rolling around, that hack no longer did the trick. So I spent a couple of hours searching through docs and trying different commands, in doing so I found a way to completely disable any and all packages installed on any Android device, system or carrier/manufacturer bloatware.
**Step by Step**
1. Install USB drivers for your Device
2. Download and Install ADB tools
3. Enable[ Developer Options](http://wccftech.com/enable-developer-options-android-nougat/) and [USB Debugging](https://technosamigos.com/enable-usb-debugging-on-android-nougat-phones/)
4. Find a good USB cable, plug it into your computer and then to your device. When the pop-up appears asking you to authorize the device, allow it.
5. Open a command prompt (cmd in windows) and type:
adb devices
6. This should return the ID of your device. If not, please go back and retrace your steps.
7. Now type:
adb shell
8. Use the following commands to find the apps you want to disable (replace 'amazon' with the manufacturer, i.e. 'samsung')
adb shell cmd package list packages | grep 'amazon
9. This should give you a new prompt, something to the effect of (device-model):/ - here type the following:
pm uninstall -k --user 0 <name of package>
This should return 'Success' at which point the package has been removed!
This has been tried on about half a dozen devices and it works on every single one, including the LG G6, Samsung S8, Google Pixel (Removed System Applications!)
Hope this helps folks out there that are looking to get as clean of an Android experience as possible, good luck!
And how to revert a single package removed with this method?
Please don't say factory reset. I mean, the package is there in the system partition. How I make it available to the user again?
Replying to my self and to the history. Xda user Vordx, found a proper way.
"adb shell cmd package install-existing <package name>"

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

Autorotation enables automatically

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.

Need Help Disabling the Multi User in Android 7

I wanted to disable the multi-user feature in Android in my both Motorola phones, one has Android 5.1 and other has Android 7. I have been successful in Android 5.1 phone through the CMD command using ADB tools, the command I ran is this to disable it:
Code:
db shell settings put global guest_user_enabled 0
And the result is this that the user icon under the notification swipe on the top right does not work now it does not do anything when tapped.
Now the same command I am running in my Android 7 phone is not working and the user panel is same as it is, this is where I need your help, what wrong am I doing or is there any change in the command that is need to be done. I just want it disabled like in Android 5.1.
@34v5
This setting doesn't exist in settings.db section global
https://developer.android.com/reference/android/provider/Settings.Global
jwoegerbauer said:
@34v5
This setting doesn't exist in settings.db section global
Click to expand...
Click to collapse
Is there any other command that can disable this multi-user thing. I don't want root.

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