Skip to content

Instantly share code, notes, and snippets.

@Atavic
Created January 29, 2018 22:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Atavic/6d9a43736aac3371b0ca9cca4cd0f7af to your computer and use it in GitHub Desktop.
Save Atavic/6d9a43736aac3371b0ca9cca4cd0f7af to your computer and use it in GitHub Desktop.
Android System Properties
KeyDescriptionUses
audio.safemedia.forcetrue for safe media volumehttps://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/audio/AudioService.java
config.disable_bluetooth-SystemServer
config.disable_location-SystemServer
config.disable_media-SystemServer SoundPool ViewRootImpl
config.disable_network-SystemServer ContentService
config.disable_networktime-SystemServer
config.disable_noncore-SystemServer
config.disable_renderscript-RenderScript
config.disable_storagetrue if storage is disabledEnvironment SystemServer
config.disable_systemui-SystemServer
config.disable_telephony-SystemServer
config.override_forced_orient-PhoneWindowManager
ctl.restartservice:arg1 arg2 arg3 (examples: "pre-recovery", "bugreport", "media", "zygote", "bootanim", etc.)SystemService
ctl.startservice:arg1 arg2 arg3 (examples: "pre-recovery", "bugreport", "media", "zygote", "bootanim", etc.)PowerManagerService
ctl.stopservice:arg1 arg2 arg3 (examples: "pre-recovery", "bugreport", "media", "zygote", "bootanim", etc.)SystemService
dalvik.vm.extra-opts-Am
dalvik.vm.heapgrowthlimitvm heap size in megabytesActivityManager
dalvik.vm.heapsizedalvik.vm.heapsizeActivityManager
dalvik.vm.stack-trace-fileFile to dump kernel stacktraces toWatchdog
db.log.slow_query_thresholdDetermines whether a query should be logged.SQLiteDebug
debug.choreographer.frametimeEnable/disable using the frame time instead of returning now.Choreographer
debug.choreographer.skipwarningSet a limit to warn about skipped frames.Choreographer
debug.choreographer.vsyncEnable/disable vsync for animations and drawing.Choreographer
debug.doze.component-DreamManagerService
debug.force_rtlForce right to left layoutTextUtils Settings
debug.freememAllow freemem to be overridden by debug.freemem for testingDeviceStorageMonitorService
debug.hwui.overdrawControls overdraw debugging. Possible values: "false", to disable overdraw debugging. "show", to show overdraw areas on screen. "count", to display an overdraw counterHardwareRenderer
debug.hwui.print_configSystem property used to debug EGL configuration choice.HardwareRenderer
debug.hwui.profile.maxframesSystem property used to specify the number of frames to be used when doing hardware rendering profiling.HardwareRenderer
debug.hwui.profile-HardwareRenderer ThreadedRenderer
debug.hwui.render_dirty_regionsSystem property used to enable or disable dirty regions invalidation.HardwareRenderer
debug.hwui.show_dirty_regionsTurn on to draw dirty regions every other frame.HardwareRenderer
debug.hwui.show_layers_updatesTurn on to flash hardware layers when they update.HardwareRenderer
debug.hwui.show_non_rect_clipTurn on to debug non-rectangular clip operations. Possible values: "hide", to disable this debug mode. "highlight", highlight drawing commands tested against a non-rectangular clip. "stencil", renders the clip region on screen when setHardwareRenderer
debug.layoutWhen set to true, apps will draw debugging information about their layouts.ViewRootImpl
debug.orientation.logtrue to log messages from WindowOrientationListenerWindowOrientationListener
debug.rs.forcecompat-RenderScript
debug.second-display.pkgFor debugging purposes, if the activity's package name contains the value of the "debug.use-second-display" system property as a substring, then show its content on a secondary display if there is one.ActivityThread
debug.sqlite.journalmodeThe default journal mode when WAL is not in use. SQLiteGlobal
debug.sqlite.journalsizelimitThe journal size limit in bytesSQLiteGlobal
debug.sqlite.pagesizeThe default page size to use when creating a database. The default value is the block size of "/data".SQLiteGlobal
debug.sqlite.syncmodeThe default database synchronization mode when WAL is not in use. SQLiteGlobal
debug.sqlite.syncmodeThe default database synchronization mode when WAL is not in use.SQLiteGlobal
debug.sqlite.wal.autocheckpointThe connection pool size when in WAL mode. SQLiteGlobal
debug.sqlite.wal.syncmodeThe database synchronization mode when in WAL mode. SQLiteGlobal
debug.velocitytracker.altkey used to specify an alternate velocity tracker strategy to plot alongside the default one. Useful for testing and comparison purposes.PointerLocationView
doze.pickup.proxcheck-DozeParameters
doze.pickup.vibration.threshold-DozeParameters
doze.pulse.delay.in.pickup-DozeParameters
doze.pulse.delay.in-DozeParameters
doze.pulse.duration.in.pickup-DozeParameters
doze.pulse.duration.in-DozeParameters
doze.pulse.duration.out-DozeParameters
doze.pulse.duration.visible-DozeParameters
doze.pulse.notifications-DozeParameters
doze.pulse.pickup-DozeParameters
doze.pulse.proxcheck-DozeParameters
doze.pulse.schedule.resets-DozeParameters
doze.pulse.schedule-DozeParameters
doze.pulse.sigmotion-DozeParameters
doze.vibrate.pickup-DozeParameters
doze.vibrate.sigmotion-DozeParameters
drm.service.enabledWhether DRM service is enabledMediaScanner
fw.power_user_switcherAdd users to menuGlobalActions
fw.show_hidden_userstrue if this user can be switched toUserInfo
fw.show_multiuseruiwhether the system supports multiple users.UserManager
gsm.current.phone-type-TelephonyProperties
gsm.network.typeIndicates the available radio technology. Values include: "unknown", "GPRS", "EDGE" and "UMTS"TelephonyProperties
gsm.operator.alphaAlpha name of current registered operator. Availability: when registered to a network. Result may be unreliable on CDMA networks. TelephonyProperties
gsm.operator.idpstringthe international dialing prefix of current operator networkTelephonyProperties
gsm.operator.iso-countryThe ISO country code equivalent of the current registered operator's MCC (Mobile Country Code)TelephonyProperties
gsm.operator.isroamingtrue if the device is considered roaming on this network for GSM purposesTelephonyProperties
gsm.operator.numericNumeric name (MCC+MNC) of current registered operator.TelephonyProperties
gsm.sim.operator.alphaService Provider NameTelephonyProperties
gsm.sim.operator.iso-countryISO country code equivalent for the SIM provider's country codeTelephonyProperties
gsm.sim.operator.numericThe MCC+MNC (mobile country code+mobile network code) of the provider of the SIM. 5 or 6 decimal digits. TelephonyProperties
gsm.sim.stateOne of "UNKNOWN", "ABSENT", "PIN_REQUIRED", "PUK_REQUIRED", "NETWORK_LOCKED", or "READY"TelephonyProperties
gsm.version.basebandBaseband version. This property is available any time radio is on.TelephonyProperties
gsm.version.ril-implRadio Interface Layer (RIL) library implementation.TelephonyProperties
keyguard.no_require_sim-KeyguardViewMediator
lockscreen.rot_overrideFlag to enable keyguard screen rotationStatusBarWindowManager
log.closeguard.Animation-Animation
mms.transactionProperty to enable MMS Mode. default = silent, enable to = promptTelephonyProperties
net.dns1-ConnectivityService
net.dns2-ConnectivityService
net.dns3-ConnectivityService
net.dns4-ConnectivityService
net.hostnameUnique device nameConnectivityService
net.qtaguid_enabledKey that indicates if qtaguid bandwidth controls have been enabledNetworkManagementSocketTagger NetworkManagementService BatteryStatsImpl
net.tcp.default_init_rwnd-ConnectivityService
net.tethering.noprovisioning-TetherUtil TelephonyManager
net.tethering.noprovisioning-TetherSettings
operator.ismanualtrue if the device is on a manually selected network TelephonyProperties
persist.adb.notifyFlag to show the ADB debugging notificationUsbDeviceManager
persist.camera.legacy_perfEnables performance tracking for SurfaceTextureRendererSurfaceTextureRenderer
persist.debug.wfd.enable0, WFD is forcibly disabled on boot. 1, WFD is forcibly enabled on boot.DisplayManagerService
persist.demo.hdmirotatesFor demonstration purposes, allow rotation of the external display to follow the built-in display.LocalDisplayAdapter
persist.demo.hdmirotationFor demo purposes, allow the rotation of the HDMI display to be controlled.PhoneWindowManager
persist.demo.hdmirotationFor demonstration purposes, allow rotation of the external display.LocalDisplayAdapter
persist.demo.hdmirotationlock-PhoneWindowManager
persist.demo.remoterotationFor demo purposes, allow the rotation of the remote display to be controlled.PhoneWindowManager
persist.demo.remoterotationFor demonstration purposes, allow rotation of the external display.VirtualDisplayAdapter
persist.demo.rotationlock-PhoneWindowManager
persist.demo.singledisplaySingle display demo modeDisplayManagerService
persist.netmon.lingerLinger timeout on NetworkMonitorNetworkMonitor
persist.netmon.reeval_delayNegative values disable reevaluation.NetworkMonitor
persist.power.usetwilightadjtrue if the twilight service should be used to adjust screen brightness policy. This setting is experimental and disabled by default.PowerManager
persist.radio.cdma.msgidTrack CDMA SMS message id numbers to ensure they increment monotonically, regardless of reboots.TelephonyProperties
persist.radio.default.subProperty to store default subscription. TelephonyProperties
persist.radio.imsregrequiredHide lockdown VPN on devices that require IMS authenticationVpnSettings
persist.radio.multisim.configProperty to set multi sim feature.TelephonyProperties
persist.radio.reset_on_switchSet to true to indicate that the modem needs to be reset when there is a radio technology change.TelephonyProperties
persist.radio.test-csimSet to true to indicate a test CSIM card is used in the device. This property is for testing purpose only. This should not be defined in commercial configuration.TelephonyProperties
persist.security.efs.enabledwhether the Encrypted File System feature is enabled on the device or notEnvironment
persist.service.adb.enable-UsbDeviceManager
persist.sys.dalvik.vm.lib.2-SystemServer ProcessStats
persist.sys.hdmi.addr.playback-HdmiCecLocalDevicePlayback Constants
persist.sys.hdmi.addr.tv-HdmiCecLocalDevicePlayback Constants
persist.sys.profiler_depth-SamplingProfilerIntegration
persist.sys.profiler_mssetting this secure property will start or stop sampling profiler, as well as adjust the the time between taking snapshots. SamplingProfilerIntegration
persist.sys.safemodeIndicates whether we are rebooting into safe modeShutdownThread
persist.sys.strictmode.disableBoolean system property to disable strict mode checks outright. 'true' to force disable; 'false' has no effect on other enable/disable policy.StrictMode
persist.sys.strictmode.nonssl-StrictMode
persist.sys.strictmode.visualThe boolean system property to control screen flashes on violations.StrictMode
persist.sys.timezone-RuntimeInit
persist.sys.timezoneTimezone propertyAlarmManagerService
persist.sys.ui.hw-Window
persist.sys.usb.config-UsbDeviceManager
persist.sys.usb.configThe current default USB function name (seperated with a comma).UsbManager
persist.sys.uts-test-mode-PhoneWindowManager
persist.sys.webview.vmsizeChromium WebView VM sizeWebViewFactory
persist.test.voice_interactionfalse if voice interaction is not supportedVoiceInteractionManagerService
qemu.hw.mainkeysUsed by the emulator to override if the device has a navigation barPhoneWindowManager
qemu.sf.lcd_densityqemu.sf.lcd_density can be used to override ro.sf.lcd_density when running in the emulator, allowing for dynamic configurations.DisplayMetrics
ril.cdma.inecmmodeIndicate if phone is in emergency callback modeTelephonyProperties
ril.ecclistList of emergency numbersPhoneNumberUtils
ro.adb.secure-UsbDeviceManager DevelopmentSettings
ro.audio.monitorOrientationtrue to have the AudioService monitor the device orientationAudioService
ro.audio.monitorRotationtrue to have the AudioService monitor the device rotationAudioService
ro.backup.disableProduct-level suppression of backup/restoreTrampoline
ro.baseband-EntropyMixer
ro.boot.bootreason-BootReceiver
ro.boot.hardware.skuWhen hardware sku property exists, use regulatory_info_<sku> resource if valid. RegulatoryInfoDisplayActivity
ro.bootloaderThe system bootloader version number.Build EntropyMixer
ro.bootmode-EntropyMixer
ro.bootmode-UsbDeviceManager
ro.build.date.utc-Build
ro.build.description-BugreportReceiver
ro.build.display.idA build ID string meant for displaying to the userBuild
ro.build.fingerprint-EntropyMixer AssetAtlasService Build
ro.build.host-Build
ro.build.idEither a changelist number, or a label like "M4-rc20"Build
ro.build.user-Build
ro.build.version.all_codenames-Build
ro.build.version.incrementalThe internal value used by the underlying source control to represent this build. E.g., a perforce changelist number or a git hash.Build
ro.build.version.releaseThe user-visible version string. E.g., "1.0" or "3.4b5".Build
ro.build.version.sdkThe user-visible SDK version of the framework; its possible values are defined in android.os.Build.VERSION_CODES.Build
ro.carrier-EntropyMixer
ro.cdma.ecmexittimerIndicate the timer value for exiting emergency callback modeTelephonyProperties
ro.cdma.otaspnumschemaDefines the schema for the carrier specified OTASP number TelephonyProperties
ro.com.android.dataroaming-TelephonyManager
ro.com.android.mobiledata-TelephonyManager
ro.com.android.wifi-watchlistThe Wi-Fi watchdog SSID listDatabaseHelper
ro.common_time.allow_wifi-CommonTimeManagementService
ro.common_time.auto_disable-CommonTimeManagementService
ro.common_time.no_iface_timeout-CommonTimeManagementService
ro.common_time.server_prio-CommonTimeManagementService
ro.config.alarm_alertDefault alarm soundMediaScanner
ro.config.license_pathThe absolute path to "License" files for the Android OSSettingsLicenseActivity
ro.config.low_ramtrue for a low RAM deviceActivityManager
ro.config.max_starting_bgMaximum number of services that is allowed to start in the background at the same timeActiveServices
ro.config.media_vol_stepsDefault media volume stepsAudioService
ro.config.notification_soundDefault notification soundMediaScanner
ro.config.ringtoneDefault ringtone soundMediaScanner
ro.config.vc_call_vol_stepsDefault call volume stepsMediaScanner AudioService
ro.config.wallpaper_component-WallpaperManager
ro.config.wallpaper-WallpaperManager
ro.crypto.stateDetermine if the device supports encryption, even if it's set to default.BootReceiver LockPatternUtils DevicePolicyManagerService
ro.dalvik.vm.isa.{abi}.featuresThe instruction set that should be used to compile dex code.InstructionSets ApplicationPackageManager LoadedApk
ro.dalvik.vm.native.bridge-NativeLibraryHelper
ro.debuggable-Build BootReceiver ZygoteConnection
ro.emulator.circularproperty used by emulator to determine display shapeWallpaperService ViewRootImpl
ro.error.receiver.defaultSystem property defining default error report receiverApplicationErrorReport
ro.error.receiver.system.appsSystem property defining error report receiver for system appsApplicationErrorReport
ro.factorytestThe current factory test mode (0=off, 1-low level, 2=high level).FactoryTest ZygoteConnection
ro.frp.pstPersistent data block propertySystemServer PersistentDataBlockService
ro.hardware.gps-GpsLocationProvider
ro.hardwareThe name of the hardware (from the kernel command line or /proc).Build EntropyMixer
ro.hdmi.device_typeProperty name for the local device configurations.HdmiControlService Constants
ro.kernel.android.tracingEmulator trace profilingRuntimeInit
ro.kernel.qemuvalue will be "1" if the device is an emulatorSystemServer ImageWallpaper
ro.lockscreen.disable.default-LockSettingsService
ro.media.effect.bgdropper.adj-BackDropperFilter
ro.opengles.version-GLSurfaceView
ro.product.boardThe name of the underlying board, like "goldfish".Build
ro.product.brandThe consumer-visible brand with which the product/hardware will be associated, if any.Build
ro.product.cpu.abilistAn ordered list of ABIs supported by this device. The most preferred ABI is the first element in the list.Build
ro.product.cpu.abilist32An ordered list of 32 bit ABIs supported by this device. The most preferred ABI is the first element in the listBuild
ro.product.cpu.abilist64An ordered list of 64 bit ABIs supported by this device. The most preferred ABI is the first element in the list.Build
ro.product.deviceThe name of the industrial design.Build
ro.product.manufacturerThe manufacturer of the product/hardware.Build
ro.product.modelThe end-user-visible name for the end product.Build
ro.product.nameThe name of the overall product.Build
ro.radio.noriltrue if device is Wi-Fi onlyConnectivityService
ro.revision-BootReceiver
ro.revision-EntropyMixer
ro.ril.wake_lock_timeoutProperty to override DEFAULT_WAKE_LOCK_TIMEOUT TelephonyProperties
ro.runtime.firstboot-BootReceiver
ro.serialno-EntropyMixer
ro.serialno-UsbDeviceManager
ro.serialnoA hardware serial number, if available. Alphanumeric only, case-insensitive.Build
ro.sf.lcd_densityThe device density.DisplayMetrics
ro.telephony.call_ring.delayThe number of milliseconds between CALL_RING notifications. TelephonyProperties
ro.telephony.call_ring.multiplSet to true for vendor RIL's that send multiple UNSOL_CALL_RING notifications. TelephonyProperties
ro.telephony.default_network-RILConstants
ro.telephony.disable-callDisable all calls including Emergency call when it set to true. TelephonyProperties
ro.telephony.sim.countSet to the sim count. TelephonyProperties
ro.test_harnesstrue if device is running in a test harnessActivityManager
ro.tether.denied-ConnectivityService
ro.vendor.build.fingerprint-Build
ro.zygote.disable_gl_preload-ZygoteInit
selinux.reload_policy-SELinuxPolicyInstallReceiver
sendbug.preferred.domain-BugreportReceiver
service.adb.tcp.portEnable ADB over Wi-Fi UsbDebuggingActivity
socket.relaxsslcheck-SSLCertificateSocketFactory
sync.local_sync_delay-SyncManager
sync.max_init_syncs-SyncManager
sync.max_regular_syncs-SyncManager
sync.max_time_per_sync-SyncManager
sync.notification_delay-SyncManager
sys.boot_completed1 (true) if the system has sent BOOT_COMPLETE broadcastSystemUIApplication
sys.max_texture_size-WallpaperManager
sys.powerctlshutdown,reason|reboot,reasonPowerManagerService
sys.settings_secure_version-Settings SettingsProvider
sys.shutdown.requestedProvides shutdown assurance in case the system_server is killedShutdownThread
sys.sysctl.extra_free_kbytes-ProcessList
sys.usb.config-UsbDeviceManager
sys.usb.configThe enabled USB functionsUsbManager
sys.usb.state-UsbDeviceManager
system_init.startmountservice-SystemServer
telephony.lteOnCdmaDevice-TelephonyProperties
telephony.lteOnCdmaProductTypeThe contents of this property is the value of the kernel command line product_type variable that corresponds to a product that supports LTE on CDMA.TelephonyProperties
telephony.sms.receiveSet to false to disable SMS receiving, default is the value of config_sms_capableTelephonyProperties
telephony.sms.sendSet to false to disable SMS sending, default is the value of config_sms_capable TelephonyProperties
telephony.test.ignore.nitzIgnore RIL_UNSOL_NITZ_TIME_RECEIVED completely, used for debugging/testing. TelephonyProperties
test.radios-DataUsageSummary
test.subscriberid-DataUsageSummary
viewroot.profile_renderingSet this system property to true to force the view hierarchy to render at 60 Hz. This can be used to measure the potential framerate.ViewRootImpl
vold.decrypt-UsbDeviceManager DevicePolicyManagerService SystemServer BootReceiver
vold.encrypt_progress-MountService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment