Skip to content

Setprop


Auto Answer Call

adb shell setprop persist.sys.tel.autoanswer.ms 2000

Disable Auto Answer

adb shell setprop persist.sys.tel.autoanswer.ms 0

Set Device Locale

adb shell setprop persist.sys.locale <locale>

Enable Debugging of Firebase Analytics for App

adb shell setprop debug.firebase.analytics.app <package_name>

Set Log Level for Tag

adb shell setprop log.tag.<tag_name> <log_level>

Change Dalvik VM Flags

adb shell setprop dalvik.vm.dex2oat-flags <flags>

Enable/Disable Debuggable Mode

adb shell setprop ro.debuggable <value>

Adjust Wi-Fi Supplicant Scanning Interval

adb shell setprop wifi.supplicant_scan_interval <interval>

Configure USB Behavior

adb shell setprop persist.sys.usb.config <config>

Set Preferred Library for Dalvik VM

adb shell setprop persist.sys.dalvik.vm.lib <lib>

Enable/Disable JNI Checks

adb shell setprop ro.kernel.android.checkjni <value>

Enable/Disable Secure Mode

adb shell setprop ro.secure <value>

Enable/Disable Secure ADB Mode

adb shell setprop ro.adb.secure <value>

Set Primary DNS Server

adb shell setprop net.dns1 <DNS1>

Set Secondary DNS Server

adb shell setprop net.dns2 <DNS2>

Set Device Timezone

adb shell setprop persist.sys.timezone <timezone>

Set Device Locale Persistently

adb shell setprop persist.sys.locale <locale>

Set Locale for Product-Specific Information

adb shell setprop ro.product.locale <locale>

Enable/Disable ADB Service

adb shell setprop persist.service.adb.enable <value>

Enable/Disable USB ConfigFS

adb shell setprop persist.sys.usb.configfs <value>

Enable/Disable Monkey Testing

adb shell setprop ro.monkey <value>

Enable/Disable Preloading of Storage Assets

adb shell setprop persist.sys.storage_preload <value>

Set USB Configuration

adb shell setprop sys.usb.config <config>

Set USB State

adb shell setprop persist.sys.usb.state <state>

Enable/Disable UI Hardware Acceleration

adb shell setprop persist.sys.ui.hw <value>

Set Purgeable Assets Property

adb shell setprop persist.sys.purgeable_assets <value>

Set USB Configuration Persistently

adb shell setprop persist.sys.usb.config <config>

Set Preferred Library for Dalvik VM Persistently

adb shell setprop persist.sys.dalvik.vm.lib <lib>

Adjust LCD Density

adb shell setprop ro.sf.lcd_density <density>

Set Wi-Fi Interface Name

adb shell setprop wifi.interface <interface>

Set Default TCP Buffer Size

adb shell setprop net.tcp.buffersize.default <size>

Set HSXPA Value for RIL

adb shell setprop ro.ril.hsxpa <value>

Set GPRS Class for RIL

adb shell setprop ro.ril.gprsclass <class>

Enable/Disable A52 Audio Codec for RIL

adb shell setprop ro.ril.enable.a52 <value>

Enable/Disable A53 Audio Codec for RIL

adb shell setprop ro.ril.enable.a53 <value>

Set Prefix for 3G Dialing

adb shell setprop ro.ril.enable.3g.prefix <value>

Disable Synchronization of PRL and Preferred Roaming List

adb shell setprop ro.ril.disable.sync.pp <value>

Set Call Ring Delay for Telephony

adb shell setprop ro.telephony.call_ring.delay <delay>

Set Default Network Type for Telephony

adb shell setprop ro.telephony.default_network <network_type>

Set RIL Configuration for Telephony

adb shell setprop ro.telephony.ril.config <config>

Set ICCID for ERI (Enhanced Roaming Indicator)

adb shell setprop persist.radio.eri.iccid <iccid>

Set libargs for RIL

adb shell setprop rild.libargs <libargs>

Set Numeric Operator ID for GSM SIM

adb shell setprop gsm.sim.operator.numeric <numeric>

Set Numeric Operator ID for GSM Network

adb shell setprop gsm.operator.numeric <numeric>

Set ISO Country Code for GSM Network

adb shell setprop gsm.operator.iso-country <country_code>

Set Operator Name for GSM Network

adb shell setprop gsm.operator.alpha <operator_name>

Set Subscription Types for RIL

adb shell setprop ril.subscription.types <subscription_types>

Set libpath for RIL

adb shell setprop rild.libpath <libpath>

Set libargs for RIL

adb shell setprop rild.libargs <libargs>

Set Multi-SIM Configuration

adb shell setprop persist.radio.multisim.config <config>

Set Stack ID for Multi-SIM

adb shell setprop persist.radio.multisim.stackid <stack_id>