yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] gimpy1:
I've never had any problems.
[Android Software/Hacking General [Developers Only]] Ph0z3:
[MENTION=4877037]BSDgeek_Jake[/MENTION] been a while since I've updated...

I noticed in the new version, the return address is 0.0.0.0 instead of 127.0.0.1

... What's the difference?
[Android Software/Hacking General [Developers Only]] Paget96:
127.0.0.1 is for android :) as far as I know :)

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

@BSDgeek_Jake I can make an app for this.

hosts package inside the app and one switch for On/Off ;)
[Android Software/Hacking General [Developers Only]] moonryder:
This would be great bro :thumbup:

Sent from my D6503 using modified Tapatalk 2
[Android Software/Hacking General [Developers Only]] Paget96:
I can do that, just to finish L Speed app update first :)
[Android Software/Hacking General [Developers Only]] Ph0z3:
127.0.0.1 can be used in every OS, Linux, Mac, windows, etc...

I use 127.0.0.1 in my hosts.block list in Linux Mint 17.3

---------- Post added at 08:42 PM ---------- Previous post was at 08:37 PM ----------

After some research, I found this valuable read...

http://www.howtogeek.com/225487/what-is-the-difference-between-127.0.0.1-and-0.0.0.0/
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Its a silent test release so that I can see if 0.0.0.0 can be used for better performance and it seems that it is getting best performance under certain stress levels. Still not final but let time tell the difference. Cheers.

Nothing goes wrong as far as I know, MoaAB is live from 2010. In case you change you mind then Just flash the REVERT zip and all is stock.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Thanks dear, will think and Update on the concept.
[Android Software/Hacking General [Developers Only]] Ph0z3:
Noticed a bit of lag...

Also updated chrome right after flashing this, not sure which is the cause.
[Android Software/Hacking General [Developers Only]] dredq:
I have noticed lag as well.
[Android Software/Hacking General [Developers Only]] :
It's the host file. Read this to fix it. You're welcome :)

http://xdaforums.com/android/help/fix-android-scroll-lag-caused-host-file-t3286993
[Android Software/Hacking General [Developers Only]] Ph0z3:
I am on 4.4.4 & in that post from the link it talks about 5.1.1 and 6.0... not sure if that makes a difference.

I am going to apply the changes anyways & see if it helps.

Thank you for the advice/help! :good:

------------------------------------------------

-- seems to have worked. Thanks mate! :victory:
[Android Software/Hacking General [Developers Only]] :
Yeah I didn't notice any issues with KitKat, thanks for letting me know it works on KitKat too though. I'll update the OP :)
[Android Software/Hacking General [Developers Only]] Ph0z3:
loaded this on a friends phone (with the fix) and he is on 4.4.2

-- so add that it works with that as well.

======================================

## add more

-- Additionally this works on Linux as well.

Just append all lines in this file to your /etc/hosts.deny file as root.

Owner = root / RaW

Group = root / Ro

Access = Ro
[Android Software/Hacking General [Developers Only]] qkrusty:
can anybody give me a link so i can go back to stock please ? the op's link is not working ..... im rooted on 5.1, fleshed it properly, not using proxy, adblocking is half-working but i do noticed lag and weird behavior also some pages tends not to open at all! cant access my school page for example and couple of other sites, chrome is lagging, stock browser cant open anything. disaster.

huawei mate 7 (mt-l09) stock 5.1 (b331), unlocked bl, twrp, supersu

*alright second edit, its worse than i thought.... its blocking some content from Tinfoil app for facebook, for example profile pictures, some post's etc.

its also blocking some thumbmails from reddit, via Relay app

+everything is slowed down, scrolling sucks, multitasking sucks, opening apps takes much longer, loading light websites also takes longer

i need to get rid of this :crying: :crying:

*third edit, found the stock file, back to normal, going back to AdAway i guess :/

will try later on another device though, on this huawei it was unusable
[Android Software/Hacking General [Developers Only]] :
This will fix the lag:

http://xdaforums.com/android/help/fix-android-scroll-lag-caused-host-file-t3286993

As for the host file blocking sites you need, you will need to open the app and delete the address you are trying to access then save. Because the host file has so many entries you might want to edit the file on the PC if you can, if not I think I edited mine with root explorer and all entries loaded but I'm not certain.

Edit: set permissions to the file named "hosts" in /system/ect
[Android Software/Hacking General [Developers Only]] Annunneo:
When I flash is there an external app I'm supposed to see?
[Android Software/Hacking General [Developers Only]] z-vet:
It's not an app, it replaces your system's hosts file. Google it if you want to learn more.
[Android Software/Hacking General [Developers Only]] gimpy1:
No, there is no app or icon that I am aware of. The first post has a link in it that will let you know if it is working. (always has for me).
[Android Software/Hacking General [Developers Only]] andronikal659:
Does this block tubemate app ads? Bc I still see ads. Or block in app ads?
[Android Software/Hacking General [Developers Only]] nightwo|f:
Anything change recently in regards to memory usage on Marshmellow? I only just reinstalled this on my stock OneM9 running Marshmellow (not rooted, but with twrp installed obviously) the other day, and the memory usage seems to be kinda crazy. I'm guessing something either with MM or play services? Apps like the PeelSmartRemote, GPS Status, that usually take under 100MB balloon up to 350-500MB making multitasking crap. Of course Chrome and such as well, but I keep a dozen or so tabs so it normally ran 150-200MB, but it also jumped up to several hundred. I had to go back to stock hosts ;\
[Android Software/Hacking General [Developers Only]] tosunkaya:
It doesnt block facebook ads like in clean master, cm applock, swarm apps. Still seeing ads from https://www.facebook.com/ads/* any chance to block this?
[Android Software/Hacking General [Developers Only]] thyaguster:
If your rooted i would suggest using minminguard (exposed module) to remove adds from apps
[Android Software/Hacking General [Developers Only]] mnksngh706:
suppot 6.0?

suppot 6.0?
[Android Software/Hacking General [Developers Only]] bombadier:
Yes

Tapatyping fae the bacon
[Android Software/Hacking General [Developers Only]] gozzaa:
i made a simple tasker script for updating.

took the code from reddit and modified it a bit.

i thought i could share it here, it also sets hosts permission to 640 instead of 644 (like adaway) :)

it downloads 5 host sources every sunday at 4am (ideling in wlan at that time for me)

feel free to use if you want
[Android Software/Hacking General [Developers Only]] flamery:
I found this entry:

0.0.0.0 ebay.com

I don't think this should be in there!
[Android Software/Hacking General [Developers Only]] kretex:
how to use? [emoji4]
[Android Software/Hacking General [Developers Only]] lipton3651:
Download - install tasker - download the ZIP - Take the file and put into /sdcard/tasker/configs/user - open tasker - 3 dots - data - restore - user local backup - take the adaway file. Thats it. Better u watch that at sunday at 4 o'clock u have wifi connection when u use it ^^
[Android Software/Hacking General [Developers Only]] gozzaa:
Like I said, a very simple script

Much room to improve :)
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
1 2 3 4 5 Updates Rolling...
[Android Software/Hacking General [Developers Only]] SHADYEDGE:
Updated!
[Android Software/Hacking General [Developers Only]] safi_k19:
Updated the new version. Tyvm.

But in last version and this version the ads in some apps are coming. I have added some foto's. Do you know how I can block these ads? Then I will add in my host file. Ty.
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
ti.tradetracker.net

Sent from above using Xparent Tapatalk
[Android Software/Hacking General [Developers Only]] safi_k19:
Added in host file but no result. Still the ads are coming.:(
[Android Software/Hacking General [Developers Only]] white7561:
The new file is smaller. The ads are coming back!! Im on Indonesia btw. Thx :)
[Android Software/Hacking General [Developers Only]] safi_k19:
The new version is not good. I get also now more ads then last versions.
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
I'll pm u my host file, it's only 1MB, I'm not getting those ads on sites you asked about

If u want 11MB moab hosts, my personal edit, pm me

some devices can't handle it though
[Android Software/Hacking General [Developers Only]] safi_k19:
Send it to me 11mb. I think my s6 edge can handle it.
[Android Software/Hacking General [Developers Only]] maghig:
Quick find to share about Chrome. If you have the data saver compression enabled it bypasses your host file. Google looks it up for you.

With it enabled, got still get some ads. Disabled they disappear. Especially the stupid taboola crap.
[Android Software/Hacking General [Developers Only]] 9h0s7:
The newest update has ads on Shoebox, and the last update blocked PirateBay. Awesome besides that.
[Android Software/Hacking General [Developers Only]] locolyric:
i just flash your zip files and it works well. How the host files updates? by itself or ???
[Android Software/Hacking General [Developers Only]] bombadier:
The zip you flashed overwrites the stock host file, when an update is released you flash the new zip, this does not work like adaway which downloads updates, keep an eye on this thread for a new zip if you want to update
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
I appreciate Moab, thank you sir
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
1 2 3 4 5 6 7 8 9 updates rolling...
[Android Software/Hacking General [Developers Only]] white7561:
This update and last update make ads available again. Here the example :
[Android Software/Hacking General [Developers Only]] saenz4931:
I got error 255 in recovery when flashing any of the latest zip.. Any ideas?.. Zenfone 2 Z00A, Beanstalk MM
[Android Software/Hacking General [Developers Only]] AL_IRAQI:
Extract the zip and replace update-binary with the same file from any ROM or zip that works fine
[Android Software/Hacking General [Developers Only]] white7561:
Okay for those who say that web or things blocked and there are ads still there. Just use adaway. Add host and input adaway host link from post one. And add more adaway host. So. When u want to whitelist certain web. Just add to whitelist. And the ads will disappear cuz the redundancy from another host. Btw those source will be combined
[Android Software/Hacking General [Developers Only]] kapil_dheer:
Ads lately visible on my one plus. Earlier using 3 years old Moab file with my modded entries.

See a host entry in the apn settings. Is this the reason?

I'm on vodafone delhi.

https://db.tt/ezMQYpnM
[Android Software/Hacking General [Developers Only]] ovu85:
After 2 years of android free from ads somethings wrong, i've flashed 2th march build and after a reset i'm seeing ads.

I'm on DirtyUnicorn 6.0.1. NEXUS 5
[Android Software/Hacking General [Developers Only]] iampuneet:
compartible in marshmallow aokp rom?????
[Android Software/Hacking General [Developers Only]] gh0st3g:
Have any one got the old file , the new one is not good to block, thanks
[Android Software/Hacking General [Developers Only]] bombadier:
What one are you looking for? Let me know and I will pm you a link?

Tapatyping fae the bacon
[Android Software/Hacking General [Developers Only]] white7561:
Can you do your custom list and upload it as hosts file that can be used in adaway hosts list? It will be soo good :)
[Android Software/Hacking General [Developers Only]] vansh_bond07:
Hello dear friend

If you do have host file who's completely block all annoying ads so can please provide me ?

Thanks you
[Android Software/Hacking General [Developers Only]] kcerica:
I'm trying to edit the hosts file to remove a few legitimate sites like goodreads.com & kickstarter.com but it's not working. I use hosts editor from the market to search and delete entries but when I tried to use it since flashing this hosts file nothing shows up on the list. I tried using ES file explorer's built in note editor and it's not letting me save the changes even though it always let me save changes in the hosts file before. I made sure I have read/write permissions for it and ES file explorer has been granted su permission. I think maybe the problem with the hosts editor app is that it might be having a hard time reading such a big file. Is there anything that works with this file to be able to edit it from the phone?

Thank you BSDgeek_Jake for taking the time to put all of this together. I really like this better than the ad-blocking apps.
[Android Software/Hacking General [Developers Only]] Aitch:
Is there a way to use this on a Non-Rooted phone?
[Android Software/Hacking General [Developers Only]] gamepro602:
I'm afraid not, you need root and a custom recovery, so its either root or GTFO
[Android Software/Hacking General [Developers Only]] Aitch:
Dang :crying:
[Android Software/Hacking General [Developers Only]] gamepro602:
Why can't you root your phone? its really easy to do so, what device do you have? Is there a reason that you cant root?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
root Ur phone and it's all too simple. There are also Generic version of rooting for ICS and JB, works on all almost models without bricking.

You want Safest, Effecient and Powerful ADBlocking then You need to root ;)

Amazing Solutions for Amazing People - BSDgeek
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Amazing Solutions for Amazing People - BSDgeek
[Android Software/Hacking General [Developers Only]] penser:
It's not always possible to root your phone and unlock your boot loader. It took almost a year for our Atrix HD, and it's possible that some phones don't have any root method at all.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Sorry to hear that. i own n run on Atrix/Atrix2 now on AtrixHD. There r many methods... Atrix2Bootstrap (100 percent working) , RazorRecovery, and we have a newcomer CWM for Atrix (forgot the name). Search the Motorola Atrix XDA and you will be happy to get answers. Remember to take backups before any flash.

Amazing Solutions for Amazing People - BSDgeek
[Android Software/Hacking General [Developers Only]] Aitch:
Dudes, I don't want to root mainly because I'm too much of a ***** and think I'll brick my brand new Samsung S4 lol, and also because its on a 2 years contract with T-mobile so I'd lose the warranty. Like I said, Dang!
[Android Software/Hacking General [Developers Only]] gamepro602:
Screw the warranty,(lol) there are already quick and easy methods to root the s4 (qbking77 make root videos for both the octa and the snapdragon s4's) and besides, if you need to take it in to T-Mobile, there are plenty of unroot videos, so you can fool them into thinking you ben on stock the whole time and it won't "technicality" violate your warranty :cool:, though I'm not pressuring you to do it though, its up to you, though the benefits outweigh the consequences.
[Android Software/Hacking General [Developers Only]] Aitch:
What exactly are the benefits? I know it means I'd be able to use a few more programs but otherwise what else do I gain? Is it worth the risk on an expensive phone? Why did you root your phone and did it make a big difference or was it just a nice bonus?

Also, why does Google lock down Android like this? I thought that was just the crappy habit of Apple!
[Android Software/Hacking General [Developers Only]] gamepro602:
I have a sprint S ll, There are lots of reasons why I root every device I get (blocking ads was one of them lol) but its just to get the phone debloated and running smooth, I was tired of crap wiz, it was to bloated and not to mention carrier bloat apps that no one uses, though root allows you to uninstall system apps, backup your apps and your apps data, get free WiFi and USB tethering, Install custom ROMs with more functionality, (PA HALO anyone?), full custom theming and countless other things that you can do with root.

As for Google, they don't lock down Android, its open source,(meaning that any person can edit it and make it something else), the only thing locking down android is a locked bootloader(Verizon much?), meaning your not allowed to mess with the phone period.
[Android Software/Hacking General [Developers Only]] penser:
Google is way more open than Apple. That's why you can't unlock the boot loader of iPhones and iPods to flash different ROMs.
[Android Software/Hacking General [Developers Only]] gamepro602:
They don't have ROMs period :p

BTW, have you seen iOS 7, I admit it looks nice, but there becoming more like android every update ;)

---------- Post added at 02:48 PM ---------- Previous post was at 02:44 PM ----------

@Aitch

Here's my set up in case you were curious
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Guys lets not have discussn outside of this Threads purpose.

For all users who think so called 'root' is of wht purpose:

You can Themes, Remove OEM Bloated apps, Add Sound MODS (Viper4Android (the perfect one) , ACiD, SRS, BeatsAudio, ClearAudio+), Configure Android the way you want it, Clear Cache and Temp for faster Android Experience and many more which is evolved by amazing ideas. I am on SGS2 NeatROM and fully customized it to maximum, perfect UI, Smooth and Fast and Long Battery Life of 26hours on General Activities (Music 4h, Browsing 3h, Facebook/Twitter 4h, Games 3h, Always on HSPA+ Data Connection) and Fully Work AdBlocking. Wht else we can expect...

If you think this makes sense then press Thank button.

its Your choice to select root or no root. its Your choice to select the perfect phone the way you want it to be.
[Android Software/Hacking General [Developers Only]] Aitch:
Choices choices! So if I root and remove all the ads, does it still allow free software to work that depends on the ads?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Read Post #1.

You have given the option to Flash or not to Flash this MOD.
[Android Software/Hacking General [Developers Only]] 5318008:
There are individual apps that may hang or crash if they can't fetch their ads, but for the most part, most apps will still work fine.

Example:

I use AdAway for ad-blocking, plus Avast to firewall all access for the Angry Bird games, and they all still run fine on my phone.

--posted from my phone
[Android Software/Hacking General [Developers Only]] syl0n:
I find that using this causes the site: http://m.nzherald.co.nz to not load its content. Is there a fix?
[Android Software/Hacking General [Developers Only]] bombadier:
PM's sent
[Android Software/Hacking General [Developers Only]] gh0st3g:
I do not remember exactly of name file, only the file for the lastest one pls, thanks
[Android Software/Hacking General [Developers Only]] :
In comparison of previous builds the current one installs hosts and default.hosts where previous only installed host. Newest file is half the size so lots removed.
[Android Software/Hacking General [Developers Only]] tosunkaya:
Same issue
[Android Software/Hacking General [Developers Only]] ManikandanGuru:
Hi mate, Can you send me that host file that blocks all the ads too. Please?
[Android Software/Hacking General [Developers Only]] b4bass:
Would need it as well, thanks
[Android Software/Hacking General [Developers Only]] bombadier:
PM sent, could I share a tip with all of you, when you find a version that works good,keep it around on your device, that way if the update is not to your liking you can easily revert back to the version you were happy with, I have kept most of the zips archived

[MENTION=2490480]b4bass[/MENTION] pm sent
[Android Software/Hacking General [Developers Only]] ManikandanGuru:
Thanks for the tip, I will definitely gonna follow it.

I only have only one old zip file that was released on August 2015 that one blocked almost everything.
[Android Software/Hacking General [Developers Only]] SHADYEDGE:
The last upgrade is not working.

Revert back to the previous.
[Android Software/Hacking General [Developers Only]] b4bass:
Thanks but still getting ads...

http://imgur.com/GFYjoKY
[Android Software/Hacking General [Developers Only]] adio201:
Anyone got the 2 previous zip file of this?
[Android Software/Hacking General [Developers Only]] b4bass:
I've sent them to you
[Android Software/Hacking General [Developers Only]] AGelu:
Installed last version .....disappointed . Lot of ads. I've get back to dec. version and its vanished.
[Android Software/Hacking General [Developers Only]] SHADYEDGE:
Could you send me the file?

Thanks in advance
[Android Software/Hacking General [Developers Only]] JernejKobal:
MoaAB_ADBlocking_22December2015_R1.zip

EDIT: deleted attachment.
[Android Software/Hacking General [Developers Only]] _Bon_Bon:
So there are so many complaints about seeing ads in the newest version, but did you read the OP? It says, that this will block all adware etc. but won't block

non intrusive

adds, to not interfere with app developers income. Are those banner ads intrusive? No. Have you seen any adware / pop-ups? No.

The idea is not to make everything adless, because that could lower some developers income closer to none.
[Android Software/Hacking General [Developers Only]] adio201:
Thanks I got them
[Android Software/Hacking General [Developers Only]] bombadier:
Please take your link down, BSDgeek_Jake does not want links posted which is why you should share it by pm.

Tapatyping fae the bacon
[Android Software/Hacking General [Developers Only]] SCrid2000:
If someone wouldn't mind PMing me the last release too, I'd appreciate it.

Edit: nevermind, I just replaced the hosts in Jake's fine with the one from https://github.com/StevenBlack/hosts
[Android Software/Hacking General [Developers Only]] iRoNX:
very disappointed by the last release
[Android Software/Hacking General [Developers Only]] ovu85:
What's happening with the lastest versions?

It worked great so far.
[Android Software/Hacking General [Developers Only]] gunde2014:
Latest update blocked all porn websites very disappointed. And doesn't block all ads on other websites as posted by others. Also my Google Play Music has ads in it now.

Sent from my SM-N900T
[Android Software/Hacking General [Developers Only]] gimpy1:
It "should" block all porn sites. IMHO.
[Android Software/Hacking General [Developers Only]] gunde2014:
If someone could make a white list I'd appreciate it. Also upload the December release.

Sent from my SM-N900T
[Android Software/Hacking General [Developers Only]] saenz4931:
Can I also have access to the link.. I want to get rid of all adds completely.. Thanks in advance
[Android Software/Hacking General [Developers Only]] AlmostIdiot:
Can you send me the file please?