Solution: Making Adblock Work with Android 5.0 (Lollipop)

Everything about using the stand-alone Adblock Plus app on Android
Post Reply
aqq123
Posts: 2
Joined: Tue Feb 03, 2015 10:14 am

Solution: Making Adblock Work with Android 5.0 (Lollipop)

Post by aqq123 »

The problem is described in this thread. Note that you need superuser (root) access to use this solution.
Here's what works for me: (Android 5.0.2, CyanogenMod 12-20150201-NIGHTLY-mako)
  1. Get the latest development build.
    wget --no-check-certificate https://downloads.adblockplus.org/devbu ... .1.348.apk
  2. Install it on the device.
    adb install adblockplusandroid-1.2.1.348.apk
  3. Open the Adblock Plus app at least once so that the /data... directory structure is created.
  4. Replace the iptables binary bundled with Adblock Plus with the one from your system.
    adb shell "cp /system/bin/iptables /data/data/org.adblockplus.android/files/"
It appears that a patch for this problem was merged into the codebase before January 15, so the future development builds starting from 1.2.1.349 should have this fixed automatically (see development build repository). Meanwhile, the above solution will hopefully help the next person searching for a fix to this problem.
Post Reply