FORUMS

[APP][Root][OFFICIAL] AdAway v4.3.2 :: [2019-12-29]

604 posts
Thanks Meter: 5,267
 
Post Reply Email Thread
28th April 2019, 07:54 PM |#13161  
xdarthanonx's Avatar
Senior Member
Thanks Meter: 120
 
More
Quote:
Originally Posted by bege10

How can I see whether the local web server is running? Which process is that?

  • App:
  • Shell: pgrep /data/app/org.adaway*/lib/arm64/libblank_webserver_exec.so
The Following User Says Thank You to xdarthanonx For This Useful Post: [ View ] Gift xdarthanonx Ad-Free
28th April 2019, 08:15 PM |#13162  
PoochyX's Avatar
Senior Member
Thanks Meter: 394
 
More
Quote:
Originally Posted by bege10

How can I see whether the local web server is running? Which process is that?

Right cause if you don't allow adaway to run at boot web server won't start

I Willl Scarfice For Those That I Love
28th April 2019, 08:26 PM |#13163  
bege10's Avatar
Senior Member
Flag Germany
Thanks Meter: 18
 
More
Quote:
Originally Posted by xdarthanonx

  • App:
  • Shell: pgrep /data/app/org.adaway*/lib/arm64/libblank_webserver_exec.so

Thank you very much. The UI here shows that the server is running. But I wanted to see if it is running when the app process is terminated. And I could find the process you posted in the tasks list while the app process is not running. So I don't need to bother about the app process being terminated after an hour.
28th April 2019, 08:28 PM |#13164  
PoochyX's Avatar
Senior Member
Thanks Meter: 394
 
More
Quote:
Originally Posted by bege10

Thank you very much. The UI here shows that the server is running. But I wanted to see if it is running when the app process is terminated. And I could find the process you posted in the tasks list while the app process is not running. So I don't need to bother about the app process being terminated after an hour.

It's good to know what you need to know it brings a sense of relief into you

I Willl Scarfice For Those That I Love
28th April 2019, 08:29 PM |#13165  
bege10's Avatar
Senior Member
Flag Germany
Thanks Meter: 18
 
More
Quote:
Originally Posted by PoochyX

Right cause if you don't allow adaway to run at boot web server won't start

Of course it runs at boot. See https://forum.xda-developers.com/sho...ostcount=13160
28th April 2019, 08:33 PM |#13166  
PoochyX's Avatar
Senior Member
Thanks Meter: 394
 
More
Quote:
Originally Posted by bege10

Of course it runs at boot. See https://forum.xda-developers.com/sho...ostcount=13160

I was applying that you can disable adaway from starting up at boot if you need the web server cause it just modifies the host file to block ads not like adguard that always has a background service running to block ads only reason you need adaway to run at boot is if your a person that uses the web server

I Willl Scarfice For Those That I Love
28th April 2019, 09:35 PM |#13167  
Doomkopf's Avatar
Senior Member
Thanks Meter: 87
 
More
Quote:
Originally Posted by bege10

Hi,
I saw similar posts in this thread but didn't find answers.
I am running AdAway on Samsung Galaxy S5 Plus (SM-G901F), LineageOS for microG 15.1 (Android 8.1) with addon-su. Local web server is activated. Ad blocking works perfect.
But I noticed that after an hour or so after booting the device the AdAway process vanishes from the list of active tasks. Sometimes it reappears (after 4 or 5 hours) and vanishes again an hour later.
It also vanishes when AdAway has been opened and removed from recent apps.

Battery optimization is deactivated. There seems to be no relation to internet connection active or not. I don't use apps that terminate processes automatically. As far as I can say the system does not run out of memory. AdAway is the only process that starts at boot time but vanishes later.

Is this behavior normal?
What happens to the local web server if the AdAway process vanishes?
Is the web server a separate process? If so, which one?

Hi. Adaway doesn't need to run in the background ^^ It just edits the hosts file, which is talen care of by the system. So after editing it, Adaway has nothing left to do anymore. I'd guess it starts every boot for the auto update feature (if you don't need auto update, you can deny adaway to run in the background, if you want)
28th April 2019, 09:37 PM |#13168  
guest4711's Avatar
Senior Member
Flag Београд (Beograd/Belgrade/Griechisch Weißenburg/Alba Graeca; Alba Bulgarica)
Thanks Meter: 2,356
 
More
Quote:
Originally Posted by xdarthanonx

App:

Shell: pgrep /data/app/org.adaway*/lib/arm64/libblank_webserver_exec.so

Note the path after lib/ is architecture depending: Could also be x86 or arm...
The Following User Says Thank You to guest4711 For This Useful Post: [ View ] Gift guest4711 Ad-Free
29th April 2019, 06:50 AM |#13169  
Recognized Contributor
Thanks Meter: 3,494
 
More
Quote:
Originally Posted by guest4711

Note the path after lib/ is architecture depending: Could also be x86 or arm...

it's a pgrep, with the operative word bring grep. Just use
pgrep -l webserver
(That's a lowercase L and will list the entire command used to start the process l
The Following 3 Users Say Thank You to jcmm11 For This Useful Post: [ View ] Gift jcmm11 Ad-Free
29th April 2019, 05:49 PM |#13170  
bege10's Avatar
Senior Member
Flag Germany
Thanks Meter: 18
 
More
Quote:
Originally Posted by xdarthanonx

[*]Shell: pgrep /data/app/org.adaway*/lib/arm64/libblank_webserver_exec.so

Thank you for the many helpful answers to my question. The easiest way for me to find this process was to use the Task Manager of 3C Toolbox.
30th April 2019, 08:16 AM |#13171  
Senior Member
Thanks Meter: 22
 
More
How come adaway doesn't block ads in apps where it used too for me? For example I never used to get ads using the XDA app. Another example would be when using any browser and searching up let's say a product. The first couple of links would be Ads. Whenever I used to click on them it wouldn't take me to the website because of adaway. However that's no longer the case. Running 4.2.4 adaway on my OnePlus 6.
Post Reply Subscribe to Thread

Tags
ad block, adaway, adblock, adblocker, source

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes