Lollipop no root blocking doesn't work

Everything about using the stand-alone Adblock Plus app on Android
redlugia
Posts: 2
Joined: Thu Jul 03, 2014 4:35 am

Lollipop no root blocking doesn't work

Post by redlugia »

I usually test out no root and root depending on what app I'm using if one doesn't blocf the other usually does.

Android 5.0 lollipop doesn't prompt to configure and does not do anything with localhost port 2020. When configured it will keep saying awaiting traffic on port 2020.

Guess my question is, is there a beta or developer build that allows the no root functions?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Lollipop no root blocking doesn't work

Post by mapx »

there is an issue about rooting lollipop in working
https://issues.adblockplus.org/ticket/1498

you could comment there or file a new issue on the bug tracker:
https://issues.adblockplus.org
Guest

Re: Lollipop no root blocking doesn't work

Post by Guest »

redlugia wrote: When configured it will keep saying awaiting traffic on port 2020.
Same for me in N7 2012 wifi no root.
romracer
Posts: 1
Joined: Thu Nov 13, 2014 9:52 pm

Re: Lollipop no root blocking doesn't work

Post by romracer »

Actually, the error is:

Code: Select all

error: only position independent executables (PIE) are supported.
when ABP attempts to execute its included iptables binary. I compiled a PIE iptables and replaced it in /data/data/org.adblockplus.android/files and the current dev build of ABP works fine then.

It looks like this is a pre-compiled binary in ABP's source. I can't figure out how to attach in this forum, but you can download my compiled iptables here:

http://xenserver.underpants-gnomes.biz/ ... r/iptables

Note that Android platform less than 4.1 doesn't support PIE (android-16). ABP targets android-7 so I guess technically, the correct approach would be to build two iptables, one PIE for android-16+ and one non-PIE for android-7 to 15. See this stackoverflow.com on one way to accomplish that:

http://stackoverflow.com/questions/2481 ... t-executab
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Lollipop no root blocking doesn't work

Post by mapx »

@romracer: I added your post like a comment on the bug tracker
https://issues.adblockplus.org/ticket/1498#comment:4
spwgb

Re: Lollipop no root blocking doesn't work

Post by spwgb »

Hi, I have the same issue (Nexus 7 running android 5 in root). I have downloaded your file but cannot find the folder "/data/data/org.adblockplus.android/files" to put it into. I must be doing something obviously wrong. Thanks for any advice. Best wishes
deefster
Posts: 1
Joined: Thu Nov 20, 2014 2:35 pm

Re: Lollipop no root blocking doesn't work

Post by deefster »

spwgb wrote:Hi, I have the same issue (Nexus 7 running android 5 in root). I have downloaded your file but cannot find the folder "/data/data/org.adblockplus.android/files" to put it into. I must be doing something obviously wrong. Thanks for any advice. Best wishes
Use root explorer or es explorer with root browsing function turned on. The above instruction did work fine for me on lollipop.
Sad Panda

Re: Lollipop no root blocking doesn't work

Post by Sad Panda »

deefster wrote:
spwgb wrote:Hi, I have the same issue (Nexus 7 running android 5 in root). I have downloaded your file but cannot find the folder "/data/data/org.adblockplus.android/files" to put it into. I must be doing something obviously wrong. Thanks for any advice. Best wishes
Use root explorer or es explorer with root browsing function turned on. The above instruction did work fine for me on lollipop.
In order to use root explorer, or ES Explorer with root browsing, you must have a ROOTED phone.
xperia z2 costum (5.0 lollipop cyanogenmod)

Re: Lollipop no root blocking doesn't work

Post by xperia z2 costum (5.0 lollipop cyanogenmod) »

romracer wrote:Actually, the error is:

Code: Select all

error: only position independent executables (PIE) are supported.
when ABP attempts to execute its included iptables binary. I compiled a PIE iptables and replaced it in /data/data/org.adblockplus.android/files and the current dev build of ABP works fine then.

It looks like this is a pre-compiled binary in ABP's source. I can't figure out how to attach in this forum, but you can download my compiled iptables here:

http://xenserver.underpants-gnomes.biz/ ... r/iptables

Note that Android platform less than 4.1 doesn't support PIE (android-16). ABP targets android-7 so I guess technically, the correct approach would be to build two iptables, one PIE for android-16+ and one non-PIE for android-7 to 15. See this stackoverflow.com on one way to accomplish that:

http://stackoverflow.com/questions/2481 ... t-executab
ik heb de ip tables veranderd maar doet het nog steeds niet.... me tel heb root .. waar kan het aan ligge, irriteer me dood aan die reclames:P! alvast bedankt
help

Re: Lollipop no root blocking doesn't work

Post by help »

changed the ip tables but still doesn,t work (z2 sony)
ap3rus

Re: Lollipop no root blocking doesn't work

Post by ap3rus »

romracer wrote:Actually, the error is:

Code: Select all

error: only position independent executables (PIE) are supported.
when ABP attempts to execute its included iptables binary. I compiled a PIE iptables and replaced it in /data/data/org.adblockplus.android/files and the current dev build of ABP works fine then.

It looks like this is a pre-compiled binary in ABP's source. I can't figure out how to attach in this forum, but you can download my compiled iptables here:

http://xenserver.underpants-gnomes.biz/ ... r/iptables
Brilliant, it works! Thanks so much.
Guest

Re: Lollipop no root blocking doesn't work

Post by Guest »

NOTE: The below fix works great for ROOTED phones. However, this thread is for non rooted phones so while it's a nice fix for folks with rooted phones it doesn't help those who haven't/don't want to root their phones.

Checked the latest 3 dev builds of ABP for android.... Still not working on Lolipop non-rooted devices. Just continues to say that ABP is listening for traffic on port 2020 and never blocks anything.
romracer wrote:Actually, the error is:

Code: Select all

error: only position independent executables (PIE) are supported.
when ABP attempts to execute its included iptables binary. I compiled a PIE iptables and replaced it in /data/data/org.adblockplus.android/files and the current dev build of ABP works fine then.

It looks like this is a pre-compiled binary in ABP's source. I can't figure out how to attach in this forum, but you can download my compiled iptables here:

http://xenserver.underpants-gnomes.biz/ ... r/iptables

Note that Android platform less than 4.1 doesn't support PIE (android-16). ABP targets android-7 so I guess technically, the correct approach would be to build two iptables, one PIE for android-16+ and one non-PIE for android-7 to 15. See this stackoverflow.com on one way to accomplish that:

http://stackoverflow.com/questions/2481 ... t-executab
GUEST

Re: Lollipop no root blocking doesn't work

Post by GUEST »

Build 347 works fine for me
Nexus7 2013 lollipop 5.0
NotOnUnRooted

Re: Lollipop no root blocking doesn't work

Post by NotOnUnRooted »

GUEST wrote:Build 347 works fine for me
Nexus7 2013 lollipop 5.0
Nope

Have a 2013 Nexus 7, it just sits there waiting for traffic on port 2020 no matter what you do. There are ways to get it working if you root, but not if you don't. And if you do root... there are FAR better solutions out there than this anyway.
shotgunfred

Re: Lollipop no root blocking doesn't work

Post by shotgunfred »

After upgrading to Lollipop I had this problem on my Galaxy S5. Reinstalling Adblock plus fixed this.
Post Reply