Skip to content

Use the Quick Settings tile

The ADNS Quick Settings tile controls Android’s built-in Private DNS setting. It works only when Device DNS control is selected and ADNS has the WRITE_SECURE_SETTINGS grant. A NextDNS control-only setup cannot use the tile because it does not change Android Private DNS.

During onboarding, select Device DNS control. From an existing setup, open Settings and select Activation to manage the grant. Grant WRITE_SECURE_SETTINGS through Shizuku or Sui, or use ADB:

Terminal window
adb shell pm grant com.eyalm.adns android.permission.WRITE_SECURE_SETTINGS

If ADNS says Shizuku is not running, start Shizuku and try the activation again. If Shizuku access is denied or the grant is later removed, re-authorize it or use the ADB command. The tile shows Activation required while either the Device DNS control mode or the secure-settings grant is missing.

ADNS toggling, notification, Wi-Fi, and Quick Settings tile controls.

Open SettingsChange ProviderProviders, then select a provider. Choose Custom Hostname (advanced) only when you have a valid Private DNS hostname to enter. For NextDNS, connect and select the profile first, then choose Device DNS control.

When the currently selected resolver is active, choosing another provider writes the new hostname and ADNS verifies it before saving the selection. If Android rejects an active write, ADNS keeps the prior selection. When the selected resolver is inactive, such as while the tile is off, the new selection is saved without changing Android Private DNS; it is applied when the tile turns on.

Open Settings and choose Add the quick settings tile. On Android 13 and later, ADNS opens Android’s add-tile request; approve it to place ADNS in Quick Settings.

Android prompt to add the ADNS Quick Settings tile.

On pre-13 Android, ADNS cannot show that system add-tile request. Open the device’s Quick Settings editor instead, find ADNS among available tiles, and drag it into the active area. The editor layout and labels vary by device.

Open Quick Settings and tap the ADNS tile to toggle Private DNS. If it does not change state, reopen SettingsActivation and confirm that Device DNS control and WRITE_SECURE_SETTINGS are still available.

Open SettingsToggling mode. The default, Turn Private DNS off, disables Android Private DNS until ADNS enables it again. Alternatively, choose Use Android automatic mode; Android may use encrypted DNS when the current network supports it.

  • Activation required: select Device DNS control and restore the WRITE_SECURE_SETTINGS grant.
  • Android rejects a change: check the provider hostname, then grant again through Shizuku/Sui or ADB.
  • Private DNS changed elsewhere: if enabled Wi-Fi rules detect an external change on a matched network, ADNS leaves it alone until you leave that Wi-Fi network.
  • VPN or device policy: the tile changes Android Private DNS, but an active VPN or managed-device policy can apply separate network behavior.

To remove the tile, use the Quick Settings editor. To keep ADNS but remove device control, run:

Terminal window
adb shell pm revoke com.eyalm.adns android.permission.WRITE_SECURE_SETTINGS

For the distinction between Shizuku access and the Android grant, see Understand permissions.