yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Vektor67:
Thank you for this

I love getting rid of apps and doing stuff manually. I can of course just copy paste this, but I'm trying to learn and acclimate myself to adb, so I don't stress each time I wish to use it for mission critical stuff. If anyone can effortlessly provide the adb commands, I can of course spend a half hour Googling and another hour messing up my syntax, for which I keep my Wakizashi nearby...just in case Seppuku begin pulling me(pun intended).

I know I need to do my time in UNIX and as in all things it will become second nature eventually. With self teaching ala Google, and fear of asking questions and almost certainly being flamed or ridiculed, with a heavy dose of sarcasm by those who've forgotten what it was like being to be a noob. It happens often that the answer to my question was to be found buried in an obscure thread from three years ago, which I failed to retrieve, as my query wasn't phrased just so. (I apologize in advance for my unfair rant, please do accept, it began in an attempt for a little light comic relief, and morphed into a bitter montser) :eek: :o thanks in advance for any help you may be able to provide, or even for just disregarding my vent and not holding it against me. I do feel better for it. I promise to help people all I can out once I've got a solid grip on Unix based CLI

Cheers
[Android Software/Hacking General [Developers Only]] CiscoX:
Hi.

Thank you very much for your hard work on this hosts file, but could you please also add busbox'x hosts file to into this one.

Because i see now that not all the ad's from installed apps i have installed on my phone are been blocked by your hosts file but they are blocked by busybox.
[Android Software/Hacking General [Developers Only]] pdinphx:
When I installed this host file, I noticed that it was easily 2x the size of my old host file.

Thanks for all your hard work !!!
[Android Software/Hacking General [Developers Only]] mai77:
comparison

this hosts file sure took hard work to put together. I installed it, but for now I reverted back to ad-away cuz there were many ads in european newspapers 'n crappy stuff. I put it to owner = system cuz I I couldn't put it to owner = root. r-r-r- was set properly. maybe you could feed your hosts into the ad-away project and merge it.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Make Sure You are 'ROOT' (Superuser or SuperSu)

Just open 'Root Explorer' and copy the 'hosts' file to '/etc/' or '/system/etc'. tap and hold on 'hosts' file and tap on 'Permissions'. Set it rw-r-r and Owner to root:root. Reboot and Thats It. :cowboy:
[Android Software/Hacking General [Developers Only]] mai77:
I did that now. still lotsa ads in da newspapers. one was about stupid natural gas from Statoil, Norway. can't have dat crap.

will go back to ad.away
[Android Software/Hacking General [Developers Only]] mai77:
Ok. now I used yaffs explorer to edit file permissions. Works with above settings. Still set ad away active, but with This «hosts»

All ads gone. Nice!
[Android Software/Hacking General [Developers Only]] rapttorx:
nice! much more than AdAway offers (so far) :good:
[Android Software/Hacking General [Developers Only]] MisterNot:
Site Blocked

Taringa.net is blocked (esta pagina no deberia de estar bloqueada)
[Android Software/Hacking General [Developers Only]] lucubrb:
what's the different with AdFree?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Hi, AdFree or any other AdBlock app will block minimum of ads but my 'hosts' file has multiple sources for AdBlocking and it also include custom Malware/Spyware domain based on my analysis.

Currently its a manual job to put 'hosts' file into the '/etc' or '/system/etc' using 'RootExplorer' but soon i will publish CWM to make it automated. ;)
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Taringa.net is a Hybrid Ad domain, so blocked by default. You can remove it manually by editing the 'hosts' file by yourself.
[Android Software/Hacking General [Developers Only]] micmaccc:
just to inform that it doesn't block adds from tubemate app :o
[Android Software/Hacking General [Developers Only]] agriff:
FYI, your hosts file blocks all Dropbox and Hotfile links, which is a really bad thing for we xda rom/mod flashers.

I love the idea of a giant hosts file but I had to revert to AdFree

Thanks for the work though
[Android Software/Hacking General [Developers Only]] da-pharoah:
Thanks for this! :)

.:Sent from the Hellfire Galaxy of S & 3:.

---------- Post added at 10:44 AM ---------- Previous post was at 10:43 AM ----------

Hmm that will need to be edited for sure..

.:Sent from the Hellfire Galaxy of S & 3:.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
New Updated 'hosts' file is now uploaded excluding Popular File Sharing Sites.

ENJOY :good: ;)
[Android Software/Hacking General [Developers Only]] JoeKickass:
Just wanted to say thanks for putting all those hosts together, works great!
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Thanks U guys for the testing n updates. It seems that Google Search keep on sending queries infinitly and probably keep-alive variable is on. Let me see for any resolutions... will get back.

Which Device, ROM are U on?

transported from Tapatalk over GalaxyS2
[Android Software/Hacking General [Developers Only]] EDNYLaw:
Thank you for compiling such an awesome host list. I currently use a Galaxy Nexus (CDMA/LTE) running AOKP PUB 4/22 build on Android 4.2.2. I also have a Nexus 10 running the same ROM. Oddly enough the Nexus 10 didn't suffer from the battery drain and Google Search wasn't high on the battery drain list, but the GNex was getting devastated.

Also, if it matters, I didn't flash anything, I just extracted the host file from zip and just put it in /system/etc with the right permissions.
[Android Software/Hacking General [Developers Only]] pdubcramp:
HTC One, Sense 5.0.

My drain wasn't massive, but appeared to be eating up more than it should have.
[Android Software/Hacking General [Developers Only]] divvykev:
Update from me.

Here's the chain of events for today.

After finding battery drain and reporting reset the Host using the Reset file.

Reinstalled previous version (Early April).

Back to normal - no drain.

On request loaded back 29 april version on both Nexus 7 and Xperia Arc (ICS)

No issues!!!!!!!!!

If problem returns I shall send info.

thanks for your help and this mod which gets rid of annoying ads

(Can you do same with ex-wives? ;) )
[Android Software/Hacking General [Developers Only]] xxxMADxxx:
But still like this :banghead:

Carbon Rom 4.2.2
[Android Software/Hacking General [Developers Only]] Dave the Knave:
He said he was making a fix, not that it would automatically fix itself on your phone.
[Android Software/Hacking General [Developers Only]] xxxMADxxx:
So how to do it..:(
[Android Software/Hacking General [Developers Only]] Dave the Knave:
You want for him to make the update, and then flash it.

You know, the same exact way you put it on now...
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
:) Just wait for the next update and flash as usual. Regards.

transported from Tapatalk over GalaxyS2
[Android Software/Hacking General [Developers Only]] xxxMADxxx:
Sure..thanks ;)
[Android Software/Hacking General [Developers Only]] Benben2a:
Sorry, link is broken for me
[Android Software/Hacking General [Developers Only]] guycan:
Thanks flash this today and it been all good awesome thank.

SGNote2
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
All downloads are Working.

transported from Tapatalk over GalaxyS2
[Android Software/Hacking General [Developers Only]] Benben2a:
Yep I tried to download yesterdayat work but my connexion is under proxy so... At home this morning works without problem, install too THANKSSSSSSS:good:
[Android Software/Hacking General [Developers Only]] buzzdr0id:
what is the reset.zip file for ? for deleting/reversing the blocking app ?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Whenever U want to go back without any ADBlocking then FLASH the RESET CWM.

transported from Tapatalk over GalaxyS2
[Android Software/Hacking General [Developers Only]] Benben2a:
Who wants no use this Amazing mod:confused::confused:
[Android Software/Hacking General [Developers Only]] kretex:
Waiting for next update ;):cool:
[Android Software/Hacking General [Developers Only]] BrooklynNY:
Does it work with TWRP?
[Android Software/Hacking General [Developers Only]] imilleson:
I'm running AxisM and whenever I flash this it breaks something with the LMT TouchService I think because everything becomes extremely choppy immediately. I wiped cache and dalvik and fixed permissions. I also reflashed ROM and then this mod and still broke LMT service. Maybe I need to manually j stall host file as flashing the zip breaks stuff?
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
Why is it critical to update?

Sent from above using Xparent Tapatalk Blue
[Android Software/Hacking General [Developers Only]] evrycard:
Any chance to block Youtube ads?
[Android Software/Hacking General [Developers Only]] roblou56:
Back to blocking YouTube ads again, I can only hope.
[Android Software/Hacking General [Developers Only]] diddsen:
i see still 2 july 14, so where what to update?
[Android Software/Hacking General [Developers Only]] roblou56:
en-Route
[Android Software/Hacking General [Developers Only]] slickdealers:
Possible ETA?
[Android Software/Hacking General [Developers Only]] s--c:
Monday 1st September
[Android Software/Hacking General [Developers Only]] amarjit_rsingh:
Critical ?
[Android Software/Hacking General [Developers Only]] :
What is en-route ? How can I download new one ?
[Android Software/Hacking General [Developers Only]] rzlatic:
en route - > on the way. in development. means get ready, keep an eye on the thread and update when it comes up.

Sent from D5503 running CM11 using Tapatalk.
[Android Software/Hacking General [Developers Only]] PollyValance:
"On the Road Agaiiiiiin"
[Android Software/Hacking General [Developers Only]] tcat007:
"Critical" typically means there is a security issue or your phone will explode if you don't upgrade or get rid of it. A lower key announcement would be better.
[Android Software/Hacking General [Developers Only]] sonwon:
I don't know how this could be a security issue unless the download was hijacked and replaced with something evil.
[Android Software/Hacking General [Developers Only]] kretex:
Waiting mode on
[Android Software/Hacking General [Developers Only]] dude127:
after flashing this adblock my twitter crashes every so often. is there a fix to this? thanks
[Android Software/Hacking General [Developers Only]] kpoverdorf:
Yep...
[Android Software/Hacking General [Developers Only]] Sandivisi:
stay here.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Critical here means that the upcoming updates will have revised code and users must update to avoid valid blocks and web-services errors. I made sure that upcoming updates is more refined and primarily targeted to Mobile AD Platforms and including sub-domains used for AD responses. There are many exclusion for Fileshare/Games/Video/Blogging and such shows... Malware/Bloatware Domains are revised. This update also includes Loads of new Blocking from commercial/premium lists, my sources ;)

i think this is enough to be tagged as Critical.

Enjoy.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] shahabazas:
When can we expect the update any ETA as your Mod is just the best to keep phone running smoothly without any issues or unnecessary data charges. Thanks for the hard work you putting in the Mod dev.
[Android Software/Hacking General [Developers Only]] sonwon:
See here
[Android Software/Hacking General [Developers Only]] shinra00:
Thank you for all the development and share
[Android Software/Hacking General [Developers Only]] CrazyCypher:
With this MoaAB I'm using Youtube Adaway from Xposed framework and is working flawlessly for me ;)
[Android Software/Hacking General [Developers Only]] roblou56:
I still had ads popping up when I last used that module.
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
Hope you know that certain versions of YouTube work with particular YouTube Adaway modules. i.e.- I use blacked out YouTube v. 5_5_27 with module 1_7_0- working! I'm guessing you did know, but just info for those who don't.

Sorry op'r

Sent from above using XDA Premium
[Android Software/Hacking General [Developers Only]] blade_:
Hello and thanks for this

If I update my rom I need to flash it again right? What about updating kernel?

And if I don't won't any more I have to flash rom again?

Thanks
[Android Software/Hacking General [Developers Only]] bombadier:
You will need to reflash this zip when you flash a new ROM, no need when changing kernel
[Android Software/Hacking General [Developers Only]] blade_:
Is there any impact on battery? I mean more than Adaway etc.
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Try for yourself, personally I find it quicker as you don't load ads, battery life seems unaffected on my S4.. some will argue it slows the system down by using more resources.
[Android Software/Hacking General [Developers Only]] bombadier:
Not that I know of
[Android Software/Hacking General [Developers Only]] Lil Geeky:
SLOVED was bug from rom

AS i said its amazing tool but now i 've change Cm to another rom [ROM] [4.4.4] [OFFICIAL] LiquidSmooth v3.2 - I9300

and of coursei tried to flash this but it didnt work it show in TWRP recovery "i use last version" its successful install no problems but when i reboot System it dont show that it was flshed all ads appear and hosts file is empty ! Please try to fix this asap or tell me something to try

#sloved was bug from the rom
[Android Software/Hacking General [Developers Only]] oscar the grouch:
Is your root still working?
[Android Software/Hacking General [Developers Only]] ΦDroid:
This mod cannot possibly break root. It simply replaces the stock hosts file.
[Android Software/Hacking General [Developers Only]] oscar the grouch:
Wasn't suggesting it could. Was asking if he was able to edit files still
[Android Software/Hacking General [Developers Only]] jdh10475:
I've been using adaway for years and I was unaware that there was an impact on battery life. Are don't think it affects battery life at all IMO.
[Android Software/Hacking General [Developers Only]] rzlatic:
agree, battery shouldn't be affected. it's just hosts file.

(regarding adaway: automatic update check set to off and no battery drain :)
[Android Software/Hacking General [Developers Only]] John Kester:
Battery life was a lot better when I was using the mod on my P7500 tab. It's also logical because ads make use of resources to load and run, which means more work resulting to more battery consumption.

Cheers.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Just adding thru... Battery Life is better and not seen any drain after 2 Years of using this MOD.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] brizey:
Should only be positive effect. System is going to check against the hosts file regardless. The extra time to find the correct line in the larger file is microseconds of CPU time at the most. Using the radio and CPU to load and display the ad likely uses orders of magnitude more battery. If its in a rendered game it probably uses the GPU, too.

For the poster using liquid...and this applies to other similar ROMS I think...guessing it has a built in hosts ad blocker. It has a base hosts file, an alternate hosts file, and the actual hosts file. The built in ad blocking picks the base or alternate and replaces the actual hosts file. So what you do is copy the hosts file from this mod's zip and copy it over the alternate hosts file, either live on the device or in the ROM zip. Then when you pick ad blocking, it uses this mod's host file.

Edit:

I downloaded Liquid to check, and it does have the adblocking built in. Replace hosts.alt with the hosts file from this mod's zip, set permissions, then turn on ad blocking, reboot, and you will be good to go.
[Android Software/Hacking General [Developers Only]] Lil Geeky:
it was bug from rom that no one can change hosts file even root only built in ad block but it was solved in 23/8 build now mod work perfect
[Android Software/Hacking General [Developers Only]] [V]endetta:
any ideas how to flash this to asus zenfone 4?

stock rom, rooted
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Did you try this method?
[Android Software/Hacking General [Developers Only]] Greatness83:
I'm not sure if this was mentioned, but is there a way to fix the problem with BleacherReport? Doesn't load articles that are not from BR.

Sent from my SM-N900P
[Android Software/Hacking General [Developers Only]] FPSUsername:
This needs an update, it works horribly.

It doesn't block ads anymore like it used to.

Or isn't it installed correctly? Philz cwm doesn't show any errors after install.
[Android Software/Hacking General [Developers Only]] bombadier:
If you followed the thread(can I suggest you subscribe to it?)then you would know that there is an update coming very soon(early september i think)

Navigate to system/etc and if your hosts file is around 15mb then the zip has flashed correctly

Tapatyping from my Nexus 4
[Android Software/Hacking General [Developers Only]] oscar the grouch:
working great for me. and there is an update coming shortly
[Android Software/Hacking General [Developers Only]] FPSUsername:
I'm subscribed to this topic, but I don't read every comment (same goes to viper4android and pa gapps).

But I always read alucard kernel and carbon rom threads

Thanks for "dating me up"
[Android Software/Hacking General [Developers Only]] bombadier:
Set an email update,that way you do not need to read every comment but you can see when BSDgeek_Jake replies in the thread

Och aye the noo..................
[Android Software/Hacking General [Developers Only]] oscar the grouch:
how do you accomplish that?
[Android Software/Hacking General [Developers Only]] bombadier:
Don't think you can set email updates from the tapa app but from a browser when you subscribe to a thread you can set instant/daily/weekly email updates,I use gmail and you can create a filter,so i have a xda developers folder that my email updates go to and skip the inbox,you can then set a rule that if the email contains a word or in this case BSDgeek_Jake then don't skip the inbox,that way you will only have to look at emails from the man himself and not all the comments that maybe of no interest,hope that makes sense,gmail's filters are awesome.

Tapatyping from my Nexus 4
[Android Software/Hacking General [Developers Only]] roblou56:
Ummm, let's try not to be disrespectful to this great dev.

PS it works great.
[Android Software/Hacking General [Developers Only]] LyuboA:
Guys can anyone tell me how can i check which lines in host file block a certain app from start

Send from GT-I9505 using Tapatalk 4
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
you can start by disassembling the apk using apktool. look for http protocol addresses in smali folder. dont worry seeing endless files. using grep awk to filter out the results. block or unblock the addresses from hosts file and you are done for your specific app.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
you should look into /system/etc/hosts and chk the file size and permissions. should be: 15+ MB / user and group will be root / execution bit will be 0644

i think you also need to check you ROM that it's rooted and for any other app or script which might be changing the hosts file.

Afterall it's not that much horrible...

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] LyuboA:
is this the only way to see which sites the app is trying to access cause i'm not very good in this what is grep awk

Send from GT-I9505 using Tapatalk 4
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
there are other ways like traffic monitor and connection tracker.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] LyuboA:
Can you recommend an app for this

Send from GT-I9505 using Tapatalk 4
[Android Software/Hacking General [Developers Only]] FPSUsername:
I don't want to insult the devs, but it doesn't work like it used to (blocking ads, specially on webpages).

My hosts file is 15.23mb.

I don't understand what you mean with the execution bit. my permissions are like this (CM filemanager v1.0.2):

Owner: 00000 - root

Group: 00000 - root

Owner: Read & Write

Group: Read

Others: Read

Do I need to use root explorer to do that execution bit?

The execution bit is 0644
[Android Software/Hacking General [Developers Only]] s--c:
Iv noticed ads reappearing. But the dev is at work on an update [emoji1]
[Android Software/Hacking General [Developers Only]] LyuboA:
So i try every connection tracker and monitor i can find i deleted every ad they show from host file even the ones minminguard shows but the app still dosnt work

I know you are busy man but if you have some time can you please make this app work in your next update

MovieDroid

Send from GT-I9505 using Tapatalk 4
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
please do not share apk directly here in this thread. PM me the links. File-share links are mostly preferable.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] LyuboA:
sorry i will pm you the link and thanks you are great
[Android Software/Hacking General [Developers Only]] bangdes:
I wonder why, for last update, not really significant in performance
[Android Software/Hacking General [Developers Only]] foosion:
I just installed this on my Nexus 7 (2013), 4.4.4 stock & rooted. It does not appear to be blocking any ads. /etc/hosts is about 15mb after installing.

Reading previous comments, some are saying it works fine, some are saying a fix is coming in September. Apologies if I'm misreading or missing something.

Should it be working now?
[Android Software/Hacking General [Developers Only]] kylegrant:
You may need to clear cache and/or data for any apps where ads are still popping up and reboot. I had to do that for textfree
[Android Software/Hacking General [Developers Only]] :
There is nothing to be not working. As long as you use Android. I'm using this for 1,5 years+ without any problem. Did you set proper permissions ? (rw-r-r) Did you set owners ? (0:root 0:root)
[Android Software/Hacking General [Developers Only]] foosion:
ls -l /etc/hosts

-rw-r--r-- root root 15967104 2008-08-01 08:00 hosts

I didn't change anything, these are the settings after installing

---------- Post added at 06:48 AM ---------- Previous post was at 06:12 AM ----------

Is there someplace android caches ads outside individual apps? For example, I cleared data (which also clears cache) for firefox and rebooted. Some ads are now blocked, but others are showing.

Looking some more, some ads are being blocked, but I'm seeing some ads which do not appear to have been cached. FWIW, adblock on my computer blocks the things I'm seeing.
[Android Software/Hacking General [Developers Only]] blindskater39:
Updated your hosts file with a few lines removed from a text duplicate checker
[Android Software/Hacking General [Developers Only]] tcat007:
How come this is 3.5mb and original is 15mb? There were that many duplicates?

Never mind, same size unzipped.
[Android Software/Hacking General [Developers Only]] :
[MENTION=4877037]BSDgeek_Jake[/MENTION] update date!! I woke up early! :D
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
You are not supposed to be sharing your work in this thread. If you want to then create your own thread or PM the work to users.

USER: Y i have to tell it again n again??? Its all written in Post No 1. Do & Dont should be followed sincerely to respect the work without pinging back.