[How-To] Add AdAway Enabled/Disable button to quick settings pane

  1. Dr. Indest
    Lollipop Aug 20, 2017

    Dr. Indest , Aug 20, 2017 :
    Oftentimes I find myself wanting to use Google shopping or Slickdeals. However, AdAway host file often block these links. Although I can whitelist a select # of links, it virtually breaks adblocking everywhere, since many apps and website use the same ad services.

    So I created this task that allows me to quickly enable/disable AdAway from quick settings. This is independent from the AdAway app and you don't need to have the AdAway app. It does however, use AdAway online repro to produce the same result.

    What is needed:
    • Root (if you use systemless root, like MagiskSU, ensure that you enable systemless host in the settings)
    • Tasker
    • QuickTask
    (free app in the play store)

    Step 1, create the quick task button: Open QuickTask and create a button called AdAway (self explanatory)

    Step 2, create the Tasker task and profile:
    Step 3, enjoy

    PS: Tutorial sucks cause OnePlus blocks codes and many thing, even for senior members.
    Last edited: Aug 20, 2017

    G_Luis_Mujica_dtTd likes this.