Developer Options

Keep in mind that turning on these developer settings may result in irregular device behavior.

To collect information about your current device state, to send as an email message:

  1. Tap Home key > Menu key > Systems settings > Developer options > Take bug report.
  1. Read the disclaimer and tap Report.

To set a password to back up the desktop:

  1. Tap Home key > Menu key > Systems settings > Developer options > Desktop backup password.
  1. Enter the current password, new password and confirm the new password, then tap Set backup password.

To set the screen to never timeout while charging:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Stay awake checkbox (A blue checkmark will appear).

To protect the microSD card:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  2. Tap the Protect USB storage checkbox (A blue checkmark will appear).

    When this option is turned on, applications must request permission to read data external storage.

To turn on debug mode when USB is connected:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the USB debugging checkbox (A blue checkmark will appear).
  2. Tap Yes if you agree with the prompt.

To set the device to mock location:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Allow mock locations checkbox (A blue checkmark will appear).

To select the debugging application:

  1. Tap Home key > Menu key > Systems settings > Developer options > Select debug app.
  1. Tap the desired option.

To wait for debugger:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Wait for debugger checkbox (A blue checkmark will appear).

    Debugged applications waits for debugger to attach before executing.

To show visual feedback when the screen is tapped:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show touches checkbox (A blue checkmark will appear).

To make the touch data visible on the screen:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show touch data checkbox (A blue checkmark will appear).

To show clip bounds, margins, etc.:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show layout bounds checkbox (A blue checkmark will appear).  

To flash views inside windows when drawn with the GPU:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show GPU view updates checkbox (A blue checkmark will appear).  

To set the phone to flash areas of the screen when they are updated:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show screen updates checkbox (A blue checkmark will appear).

To select a speed for opening and closing pop-up windows:

  1. Tap Home key > Menu key > Systems settings > Developer options > Window animation scale.
  1. Tap the desired option.

To select a speed for switching between screens:

  1. Tap Home key > Menu key > Systems settings > Developer options > Transition animation scale.
  1. Tap the desired option.

To select the animator duration scale:

  1. Tap Home key > Menu key > Systems settings > Developer options > Animator duration scale.
  1. Tap the desired option.

To use the GPU for screen composing:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Disable HW overlays checkbox (A blue checkmark will appear). 

To use the 2D hardware acceleration in applications:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Force GPU rendering checkbox (A blue checkmark will appear). 

To set the phone to flash the screen when applications operate for a long period of time on the main thread:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Enable strict mode checkbox (A blue checkmark will appear). 

To measure rendering time in adb shell dumpsys gfxinfo:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show CPU usage checkbox (A blue checkmark will appear).

To select which traces to enable:

  1. Tap Home key > Menu key > Systems settings > Developer options > Enable traces.
  1. Tap the desired options and OK.

To force stop every activity as soon as the user leaves it:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Don't keep activities checkbox (A blue checkmark will appear).

To set the background process limit:

  1. Tap Home key > Menu key > Systems settings > Developer options > Background process limit.
  1. Tap the desired option.

To show a dialog box when applications running in the background are not responding:

  1. Tap Home key > Menu key > Systems settings > Developer options.
  1. Tap the Show all ANRs checkbox (A blue checkmark will appear).