Android Enthusiasts Asked by CDoc on December 17, 2020
I am new to Android “internals”. I am looking for a way to change some settings on my device, just by using ADB, with debug mode enabled, without having root on my phone (warranty issues taken seriously).
The settings I am trying to change are:
Unfortunately I am not a Java programmer, but, if there isn’t a way to do the things above with adb
but there is a chance to automate these tasks by using an app, I will try to do it. I just need some directions here. Thanks.
No, you cannot change device settings with ADB unless you have root.
$ adb shell
$ settings put system test_variable test_value
Error while accessing settings provider
java.lang.SecurityException: Permission Denial
$ su
# settings put system test_variable test_value
# settings get system test_variable
test_value
Answered by Matthew Read on December 17, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP