Lollipop no root blocking doesn't work

Everything about using the stand-alone Adblock Plus app on Android

Lollipop no root blocking doesn't work

Postby redlugia » Thu Nov 13, 2014 7:20 am

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?
redlugia
 
Posts: 2
Joined: Thu Jul 03, 2014 4:35 am

Re: Lollipop no root blocking doesn't work

Postby mapx » Thu Nov 13, 2014 9:38 am

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
User avatar
mapx
 
Posts: 21945
Joined: Thu Jan 06, 2011 3:01 pm

Re: Lollipop no root blocking doesn't work

Postby Guest » Thu Nov 13, 2014 9:12 pm

redlugia wrote: When configured it will keep saying awaiting traffic on port 2020.



Same for me in N7 2012 wifi no root.
Guest
 

Re: Lollipop no root blocking doesn't work

Postby romracer » Thu Nov 13, 2014 11:01 pm

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/~romracer/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/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab
romracer
 
Posts: 1
Joined: Thu Nov 13, 2014 10:52 pm

Re: Lollipop no root blocking doesn't work

Postby mapx » Thu Nov 13, 2014 11:19 pm

@romracer: I added your post like a comment on the bug tracker
https://issues.adblockplus.org/ticket/1498#comment:4
User avatar
mapx
 
Posts: 21945
Joined: Thu Jan 06, 2011 3:01 pm

Re: Lollipop no root blocking doesn't work

Postby spwgb » Mon Nov 17, 2014 7:20 pm

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
spwgb
 

Re: Lollipop no root blocking doesn't work

Postby deefster » Thu Nov 20, 2014 3:41 pm

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.
deefster
 
Posts: 1
Joined: Thu Nov 20, 2014 3:35 pm

Re: Lollipop no root blocking doesn't work

Postby Sad Panda » Sat Nov 29, 2014 12:11 am

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.
Sad Panda
 

Re: Lollipop no root blocking doesn't work

Postby xperia z2 costum (5.0 lollipop cyanogenmod) » Wed Dec 03, 2014 1:58 pm

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/~romracer/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/24818902/running-a-native-library-on-android-l-error-only-position-independent-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
xperia z2 costum (5.0 lollipop cyanogenmod)
 

Re: Lollipop no root blocking doesn't work

Postby help » Wed Dec 03, 2014 2:00 pm

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

Re: Lollipop no root blocking doesn't work

Postby ap3rus » Thu Dec 11, 2014 2:50 am

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/~romracer/iptables


Brilliant, it works! Thanks so much.
ap3rus
 

Re: Lollipop no root blocking doesn't work

Postby Guest » Thu Dec 11, 2014 2:26 pm

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/~romracer/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/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab
Guest
 

Re: Lollipop no root blocking doesn't work

Postby GUEST » Thu Dec 11, 2014 4:38 pm

Build 347 works fine for me
Nexus7 2013 lollipop 5.0
GUEST
 

Re: Lollipop no root blocking doesn't work

Postby NotOnUnRooted » Sat Jan 03, 2015 10:59 am

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.
NotOnUnRooted
 

Re: Lollipop no root blocking doesn't work

Postby shotgunfred » Sat Jan 24, 2015 12:46 pm

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

Next

Return to Adblock Plus for Android support

Who is online

Users browsing this forum: No registered users and 0 guests