yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mhxion:
PornAway is an extracted version of AdAway. I know blocking porn sites sounds kinda ridiculous but I did what I just wanted. It needs root and does the same as AdAway, make changes of system/etc/hosts file and that's all. Library & Compilation credit goes to AdAway developers.

- Requires 'root' privilege

- Blocks country based porn sites

- Blocks porn ads, spammers (Now Ongoing!)

- Block mature contents provided by search engines.

- Doesn't support browsers that provides their own host sources.

If you're a parent you can try this for your children!

NOTES :

-You can't use both the AdAway & PornAway, cause they both make changes of the host file, conflicts! Either use Pornaway to block porn sites or AdAway. Yeah I don't support ad blocking that much. You should uninstall AdAway(if you already have) before installing PornAway(You can keep both app installed).

How To Use :

- Read above 'Notes' first.

- Install PornAway , open it.

- Give root access.

- Press on 'Apply Porn Blocking' with data connection.

- After successfully applying, reboot your phone.

Mature-Safe Activation :

- PornAway now included with mature-safe hosts, if you don't even like safe-mature contents(ex. dating ads) then it is useful for you. It's already enabled by default for experimental purpose, but not recommend as it also removes appropriate ads, disable this hosts if you're already satisfied with porn,porn-ads blocking feature. To disable it in PornAway, go to 'Host Source' , then remove the tick from the first site in the list.

Changelog :

v1.0.2

- Hosts source fixed, replaced with a temporary source, works fine now. Will be updated with the genuine PornAway source later.

v1.0.1

- Extracted from latest AdAway 3.2, supports Nougat

- Extreme Mode enabled, helps to block any mature content provided by search engines.

- New Interface, material UI.

v1.0

-New Interface, material UI

- Initial release.

Download :

PornAway is now available in XDA-Lab! You can get download and sync with updates from XDA-Lab now.

Download From XDA-LAB

GitHub source :

[url]https://github.com/mhxion/pornaway[/URL]

Hosts source :

[url]https://github.com/mhxion/pornaway/tree/master/hosts[/URL]

You can use the hosts in your ad blocker or any other 3rd party software that enables hosts file on any machine(Windows, Mac). Happy browsing!
[Android Apps and Games] frank9184:
Great job ! It's great for kids who tried to watch porn video.I have one more question about other Countries porn site and non-root .Will you add them at after build?

BTY,htc 816 android 6.0 could not install
[Android Apps and Games] mhxion:
Thanks ! And it is already country based, like mostly supports USA,UK,Canada and Asia. I m still working on it. Without root, it'd be possible, which can be done by a VPN service that blocks porn sites! Will keep your words in mind.

Make sure you have root access and uninstall any version of AdAway before you install PornAway , I've tested it on Marshmallow, Lollipop and CM13, works fine!
[Android Apps and Games] joshua764:
error analysis when you install the apk. any suggestions ??

Android 6.0.1

Enviado desde mi XT1563 mediante Tapatalk
[Android Apps and Games] mhxion:
This can be happened because of issues in your system/ROM , cause the app fails to analyse data. This should be happened with many other app that analyse data. Try to upgrade your ROM.
[Android Apps and Games] Technical:
Maybe you can post your hosts source as a file that can be used in other hosts managers.

The contrary is also true, antiad sources could be used in PornAway.

The "conflict" is just two hosts managers. If we have just one, hosts file will be smaller and both objectives could be achieved.
[Android Apps and Games] mhxion:
I understand what you meant, but I've mentioned it in the post, I don't support ad blocking that much, or I'd add an option to apply the ad blocker in PornAway. You're free to get advantages by yourself!
[Android Apps and Games] Primokorn:
Hi,

You can easily offer updates through XDA Labs: http://www.xda-developers.com/xda-labs/
[Android Apps and Games] mhxion:
Thanks! Sure, I will check it (:
[Android Apps and Games] 4ugui:
Fail to install it on Memu emul (error analysis) and on Oracle VM (EOCD error not a zip file)
[Android Apps and Games] htb2050:
Haha thanks dude. I found more sites to browse. :eek:
[Android Apps and Games] mhxion:
Not for PC!

Please understand that, it's not an app for your PC, like 'why not you try a phonecall on your emulator?' It will only work on your rooted android devices. :cowboy:
[Android Apps and Games] mhxion:
Haha... I forgot about that, next time I should better make an encrypted list! :p
[Android Apps and Games] Mat4r:
There was a problem parsing the package

Why is that ???
[Android Apps and Games] mhxion:
I've figure out the issue already and soon(in a few days) I'll be updating the app and release it as a open project for every devices that support custom host file including Android. Please have patience till then :angel:
[Android Apps and Games] Mat4r:
Ok thanx

I'll be waiting then ;)
[Android Apps and Games] Mat4r:
1.0.1 v looks stunning !! Thank you,

But why is it not block any porn at the moment ?? I guess the blocking list is not up yet ??!!
[Android Apps and Games] mhxion:
Thanks! The hosts list is up-to-date, just click Apply while you're on wifi/data connection. If you still find a problem let me know.
[Android Apps and Games] AdroitAdorKhan:
Hosts file doesn't update! and Hosts sources show "Online: not available"!!!
[Android Apps and Games] Mat4r:
Unfortunatly, nothing seem to have changed, but Im not giving up on waiting for it ;) thank you for your efforts man
[Android Apps and Games] AdroitAdorKhan:
This is it! Not updating... :(
[Android Apps and Games] The Hard Gamer:
Its kinda funny

Kids will anyhow find out a way to watch porn
[Android Apps and Games] mhxion:
Thank you so much! It happened unexpectedly because of the bad DNS server, not because of the app itself. I replaced the host sources with Dropbox server, it should work fine now. Don't forget to clear data after the update and if you still see any issue don't hesitate to let me know. You might still see the 'online : not available' caption, Don't worry it's just because of server, to be sure check root/system/etc/hosts after applying PornAway.
[Android Apps and Games] mhxion:
Thank you so much for your patience! It happened unexpectedly because of the bad DNS server, not because of the app itself. I replaced the host sources with Dropbox server, it should work fine now. Don't forget to clear data after the update and if you still see any issue don't hesitate to let me know. You might still see the 'online : not available' caption, Don't worry it's just because of server, to be sure check root/system/etc/hosts after applying PornAway.
[Android Apps and Games] mhxion:
Yeah I mentioned that earlier on the post :D , while there's a will there's a way, no matter if you put PornAway! But just an effort to block embarrassing porn ads,spammers in general.
[Android Apps and Games] The Hard Gamer:
good work man:highfive:
[Android Apps and Games] iGamesMaximus:
not updating:(
[Android Apps and Games] AdroitAdorKhan:
Can I have the 1.0.1 apk? I just need that apk...please!
[Android Apps and Games] mhxion:
Please update to the version 1.0.2 available in XDA-Lab, sorry for this issue! It happened because of bad DNS name. The issue has been fixed now.
[Android Apps and Games] mhxion:
You can find the latest one in XDA-Lab , install it from there. If you need the apk, in file manager go-to Internal Storage>Android>data>labs.xda..>files , then you'll see the apk.
[Android Apps and Games] AdroitAdorKhan:
Thx. :) But...look at this...what's happening? ? why doesn't it still work? ?
[Android Apps and Games] mhxion:
I mentioned about it earlier, even though it's showing not online means PornAway actually can't read it if it's currently available or not! It can be a bug or because of the server's strong secure gateway. It's completely fine, you can find your host file in root>system>etc>hosts file. Or just try to get access to an adult site in chrome.
[Android Apps and Games] batman1950:
Can this block google images? And will it block 4chans porn boards boards.4chan.org???
[Android Apps and Games] mhxion:
It blocks 4chan's porn sections & as well as images.

It supports unexpected adult ads(by Google) blocking, as the number of porn image sources is so high, it might not be able to block every porn images made by Google search for now, I'm still working on it, but it will block post of them.
[Android Apps and Games] batman1950:
Perfect :) as a person that is trying to quit porn I can't thank you enough
[Android Apps and Games] mhxion:
Don't mention it ;)
[Android Apps and Games] PalmCentro:
Is there anyway I can get these host lists for a computer?
[Android Apps and Games] batman1950:
There is url of hosts in the app :)
[Android Apps and Games] batman1950:
I found a way to force safe search in google and yahoo via host files. Works like a charm and for every browser :))))
[Android Apps and Games] mhxion:
It's an open project, sure you can have it. But for now, I hosted it in a temporary storage, I've plan for for making it available for PC & every other devices(just stuck with an exam!) As soon as I publish the the open web portal I'll announce here. Please have patience till then!
[Android Apps and Games] mhxion:
The safe search forcing redirection is already added in PornAway :) Even if someone other than the device owner try to search something of nudity, PornAway has the hosts available to block most of them.
[Android Apps and Games] batman1950:
Most... Using it and it is great but there is so many porn on net that only one word canbring millions of images.. Tested it and I got a lot of nudity.

I think that forcing safe search is a good solution :)
[Android Apps and Games] PalmCentro:
Googles safe search is far from safe :p
[Android Apps and Games] mhxion:
Yeah that's horribly true! Well I'm trying to put as many sites I can find in front of my eyes & from crawlers, but recently busy with exams, I'll try to heed more on the force safe-mature later. Thanks dude!
[Android Apps and Games] mhxion:
Hehehe! Luckily they still have the feature working not to show any mature videos in YouTube if you're under 18 :p
[Android Apps and Games] PalmCentro:
Oh, so this forces YouTube safe search too?

This is news!
[Android Apps and Games] batman1950:
No problem :) it works on every android browser I tried and PC

For best results you might wish to block other search engines like duckduckgo in hosts.

Best way to fight porn is to root it out :)

You can force it in hosts if you wish as well :)

I didn't bother since there is no porn on YouTube (I think???)
[Android Apps and Games] sohamsen:
not working in opera
[Android Apps and Games] mhxion:
I'd love to see that happens! It's not possible since YouTube doesn't keep the adult videos any individual server, I meant the video page, it might be possible to stop it from doing search. I'd like to keep this feature on my mind
[Android Apps and Games] mhxion:
Yeah, I'll try my best. Well there are some reasons which makes "not an easier way" without root privilege. In short words, without root it's only possible through a VPN or a particular browser. Setting up a good VPN is expensive & that won't be free! Setting up a free VPN would cause bad experiences like slow speed, blocked IP & more! And the second option, making up a new browser that blocks porn, so many people wouldn't leave chrome just to use the porn-free browser I believe! So that's the idea. Anyway, I'll keep your words in mind. Thanks again
[Android Apps and Games] mhxion:
Opera uses their own custom hosts file so they don't respond to android's default hosts, same goes to Android Firefox browser. This only blocks porn/porn-ads from in-app, default browser, chrome & the whole android apps that use chrome API(ex. Twitter, Gmail, Google+)
[Android Apps and Games] batman1950:
I also use dns-pro... It helped me so much I payed for donation versiobn...it can force openDNS or connect safe DNS on both wifi and data connections.... I believe my phone now to be 99% porn free.

Installed all those things and hid them from app lists :)

Hope my posts helped someone at least, might put up a "guide" for people that wish to fight porn... I honestly wish I found this stuff before

---------- Post added at 11:32 PM ---------- Previous post was at 11:30 PM ----------

Works on firefox...I also recommend for firefox users tl install procon latte addon.

Filter that will block sites based on words and your own password
[Android Apps and Games] mhxion:
DNS can do the force safe search thing easily, and your idea is really helpful! It might be a little advance for everyone else, but it would help blocking porn totally.

Oh does it start working on Firefox too? :D I'm not aware since I last tested many months ago, firefox didn't support at then! They might have upgraded their app, glad to know it!
[Android Apps and Games] batman1950:
I use firefox as my browser so yea I can confirm :)

I take porn thing seriouslly as it almost ruined my relationship so yea... I am rooting it out totally
[Android Apps and Games] blueyes:
Great app for the younger ones that have phones well too advanced for their maturity level.

But I wouldn't mind the app in reverse. ?
[Android Apps and Games] Hedied4me:
Can you point me to DNS-Pro app. I've been looking for something like that. Thank you

Edit: I couldn't find if this was answered already but I was wondering if there's a way to block porn and ads. I used adaway before but uninstalled it because I knew this app and adaway won't work together.
[Android Apps and Games] batman1950:
https://play.google.com/store/apps/details?id=com.okirat.dnsmanager.pro

There is also free version but I got pro for 1 eur.

You can use host list from adaway in pornaway and vice verse :)

I am blocking both
[Android Apps and Games] creeve4:
How are you using both Adaway and Pornaway?
[Android Apps and Games] batman1950:
I copy/pasted host list from adaway to pornaway
[Android Apps and Games] mr.raju:
not working in uc browser
[Android Apps and Games] mhxion:
Read the description please! UC uses it's own host files for reasons like blocking ads, so it won't make any effect on browsers that doesn't use default host file. Fortunately most browsers do use default host file.
[Android Apps and Games] mr.raju:
i think there is no such information in description. or i missed may be..bdw i think it will work on mozila and chrome because it uses default host file?? any browser do u know this app support??
[Android Apps and Games] mhxion:
Yeah you missed it. All major browsers support default host file maybe you didn't know that, but it was on description too, chrome, Firefox they do.
[Android Apps and Games] batman1950:
I recommend that you use mozilla or brave browser :)
[Android Apps and Games] A7omiz3r:
Which text editor did you use for copying/pasting ? Turbo Editor doesnt seem to copy the whole list at once, and overwriting system host file with a custom hosts is being denied.
[Android Apps and Games] batman1950:
I simpl copy url
[Android Apps and Games] A7omiz3r:
That's what I am asking. How did you simply copy paste?

Here's what I am doing :

1. Copy the urls from pornaway hosts (external file, not installed in phone)

2. Paste in adaway hosts (installed in system)

But when I try to save the file, it doesn't happen. Permission denied. (Phone is rooted with magisk installed )
[Android Apps and Games] batman1950:
No not that.

Go to pornaway or adaway... Press in upper right corner 3 dots(menu) - - >host scources(first option)

You will see text based scources (urls) from where host file is built.

Long press on such url--> edit==> selrct whole text and copy.

Now go to other app, also to host scources press + or add and paste that url.
[Android Apps and Games] A7omiz3r:
Thank You. This worked.
[Android Apps and Games] mhxion:
Hey can you tell me a bit of your device info ? It shouldn't happen as i already made a fix on the latest version.
[Android Apps and Games] Redhawk2000:
All hosts say not available after downloading. Manually added adaway hosts do work. Same is true if I use adaway and manually add your host files.
[Android Apps and Games] mhxion:
The host file will be still applied & works fine, it's just because of some security encryption over host files, I'll try to change the server on next update. PornAway will still work.
[Android Apps and Games] karanrajpal14:
Hey any update on this?
[Android Apps and Games] mhxion:
I'm currently busy due to exams and stuff, I'll be soon back in business, thanks for your interest.
[Android Apps and Games] 1droidmod:
Lol, PORN AWAY?? REALLY??? Just got to point out this thread is going on a year old soon with 77 replies, questions, suggestions, whatever and that's including this one. Just saying.... On average I would have to say the statistics for a person using this app or whatever PORN AWAY is would be close to "1 in 700,000,000" if world wide. ;);)
[Android Apps and Games] creeve4:
Sadly you are correct.

Porn is the great deceptive plague that is destroying society as it destroys families.
[Android Apps and Games] adamo000:
I tried to open less popular porn site like xhamster and unfortunately it is working.. :(

I'm waiting for update requests for hosts.

Btw, great idea with that app :)
[Android Apps and Games] batman1950:
you can enforce google safe search :) just an idra
[Android Apps and Games] fischwrap:
Thank you, sincerely, for making this app!
[Android Apps and Games] abhi bala:
---------- Post added at 05:04 PM ---------- Previous post was at 04:57 PM ----------

this is what i was looking for . tnx buddy:good:
[Android Apps and Games] jutphaas:
It would be nice to have a pincode or password added so it is a bit less easier to turn the blocker off.
[Android Apps and Games] Djreigns:
Hey why im not able to open pornaway

---------- Post added at 10:34 PM ---------- Previous post was at 10:29 PM ----------

Hey bro its not working, why..? How to root it
[Android Apps and Games] htr5:
Not sure why this exists. Couldn't you just add another hosts list to adaway. Then you can also have adblock too?

Here are the hosts sources in the app:

https://dl.dropboxusercontent.com/s/y2wzksz8gnia4px/ads.txt

https://dl.dropboxusercontent.com/s/lbmkhnokq3qd0jd/safe.txt

https://dl.dropbox.com/s/z85fjcvqyl9g2pc/hosts.txt

I don't mean to disrespect the dev especially for the work out into this.

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

The app requires SU access to modify the hosts file. If you are using SuperSU then you can set the app's root access permission to require a PIN. Just open the SU app and it's pretty easy to do.

Alternatively, there are lots of app locking apps you can use. You can also just uninstall the app completely as once your hosts file has been updated, the app isn't needed unless you want to update the block lists.
[Android Apps and Games] Vindaka:
How to open pornaway app

Hi,

I'm a new user.i download the pornaway app into my android phone (J7) but when I start it,it says root privilege is required...how can I open it to block adult content...
[Android Apps and Games] mhxion:
You need your phone to be rooted first, just do a lil Google search, you'll find tons of information/videos for your J7. Then you can just simply use Pornaway.

Because by blocking "ads" you're sort of offending a developer who is offering his own program for free and most of the times ads are what help them keeping that program free for life including this very forum you're writing on.
[Android Apps and Games] agadi:
Hi how to download the porn away app
[Android Apps and Games] Rihan 23:
How to root the application
[Android Apps and Games] Sir_Markus:
Hey, thank your for making this app!

I want to Import my own list but it wont get it: "pornaway is closed"

I tried to impot a .txt file as my own blacklist.

What am I doing wrong?
[Android Apps and Games] Haridb94:
Hello...im new member of pornaway..

Just want to know...does in it work in all browsers ?
[Android Apps and Games] mhxion:
Did a quick test and it worked. Did you prepend "127.0.0.1" to every line? Your listed sites in the txt file should look like this:

127.0.0.1 www.example1.com
127.0.0.1 www.example2.com
127.0.0.1 www.example3.com

Give it a try again, if the problem still persists, would you mind sending me the txt file as an email attachment? I'll add the sites as default.
[Android Apps and Games] Sir_Markus:
Has anyone found a safe solution to block porn from google search on android? The "google safesearch funktion" can only be locked with a google acount from a PC and not from android.

So one can search via many different keywords and find porn sites.... :( (I guess it would be too much to find them all and add to the host list)
[Android Apps and Games] Ph@nta:
Follow the guide here and set the redirects in pornaway/adaway.

https://support.opendns.com/hc/en-u...-Enforcing-Google-SafeSearch-YouTube-and-Bing
[Android Apps and Games] chrisdlc119:
Can you make a version for non root devices? For example, Sophos does the same by using Accesibility services.

Regards!
[Android Apps and Games] mhxion:
Android doesn't give adequate options over the firewall, therefore the only way to do it without rooting Android is passing through the VPN(like Adguard). That seems to me as a bad idea cause 1. People who just use regular VPN services won't be able to use it 2. A VPN application has to be 24/7 running to work, eats up unnecessary CPU, RAM. So...You got it! Better root your phone :silly:

But I'll keep looking to come up with a good solution for non rooted phones.
[Android Apps and Games] chrisdlc119:
I understand, but it's not really the point, because Sophos doesn't use VPN, just access to accessibility service to see which sites the user is visiting. Take this as an early feedback.

Regards!
[Android Apps and Games] mhxion:
I haven't used Sophos but I'll try it out. Feedback taken, thanks :)
[Android Apps and Games] Karan roxx:
208.67.222.222
[Android Apps and Games] Lena80:
Non parte pornway chi mi aiuta?

QUOTE=frank9184;68647025]Great job ! It's great for kids who tried to watch porn video.I have one more question about other Countries porn site and non-root .Will you add them at after build?

BTY,htc 816 android 6.0 could not install[/QUOTE]
[Android Apps and Games] jthurston2354:
I need an app that I can install and block all pornographic sites and then uninstall and it will keep working
[Android Apps and Games] mhxion:
Yup, Pornaway does the thing. Same goes to all other apps that has SuperSU/root-access function. You'll need your phone rooted first and then just apply.
[Android Apps and Games] mghanem8800:
How can you do it, if you can have one so only installed at a time

---------- Post added at 04:42 AM ---------- Previous post was at 04:38 AM ----------

How can you do that, if you only have one app installed at a time. And how will those new host files update with the app which they were copied into
[Android Apps and Games] batman1950:
only one can WORK at the time...big difference.

I just took data from one app and put it into other one (no matter which one as they pretty much do the same thing)
[Android Apps and Games] sonu bairagee:
Install problem
[Android Apps and Games] nakka kiran:
The app not working
[Android Apps and Games] mghanem8800:
How? Can you post steps?
[Android Apps and Games] NIJANTH@ch:
How to revert back to original host file i tried disable blocking and restarted but not working. I am bacikally a ethical hacker who uses dark web for pentesting i use orbot and orfox to stay anonymous .when connect it is telling "proxy is refusing the connection".tell me a way to solve this problem should i whitlist the any host .or tell me a way to revert back to original host. Thanks in advance
[Android Apps and Games] Game-del:
Nice app for child, thanx