[ROOT] PornAway : Block porn sites

Search This thread

mhxion

Member
Jun 30, 2016
45
67
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!
 
Last edited:

mhxion

Member
Jun 30, 2016
45
67
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
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!
 

joshua764

Senior Member
Jun 11, 2012
637
101
mexico df
error analysis when you install the apk. any suggestions ??
Android 6.0.1
Enviado desde mi XT1563 mediante Tapatalk
 
Last edited:

Technical

Senior Member
Jun 2, 2008
3,466
1,221
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.
 

mhxion

Member
Jun 30, 2016
45
67
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.
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!
 
  • Like
Reactions: Technical

Primokorn

Senior Member
Nov 17, 2012
11,560
7,754
OnePlus 8 Pro
Download :
I couldn't find any option to upload in XDA or I would upload here. Consider downloading it from Github. And as I'm new here, I can't post any link. Just copy the link below and go. The apk will be downloaded automatically.

- github.com/mhxion/pornaway/blob/master/PornAway_v1.0.apk?raw=true

To get app updates you can follow the provided link or just come here. You can update manually from the app inside, view the FAQ option. You'll get how to.
Hi,
You can easily offer updates through XDA Labs: http://www.xda-developers.com/xda-labs/
 
  • Like
Reactions: mhxion

mhxion

Member
Jun 30, 2016
45
67
Not for PC!

Fail to install it on Memu emul (error analysis) and on Oracle VM (EOCD error not a zip file)

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:
 

mhxion

Member
Jun 30, 2016
45
67
There was a problem parsing the package
Why is that ???
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:
 
  • Like
Reactions: Mat4r

Mat4r

Member
Jul 21, 2014
12
5
Gotham
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 ??!!
 
  • Like
Reactions: mhxion

Mat4r

Member
Jul 21, 2014
12
5
Gotham

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    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!
    5
    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. ;);)

    Sadly you are correct.
    Porn is the great deceptive plague that is destroying society as it destroys families.
    4
    Installed this on my tablet,
    some sites do not show but most of them do! Doesn't work at all!
    Also if you search for pictures within google it does also show porn!
    There are no good programmers left now to help us..~
    Please do something..

    Regardless of this app's mod, as you brought this up I wanna say something, I hope you're familiar with this saying, "When you're good at something you never do it for free". Just offer any dev 100$ for this, he'll give you the one you deserve.

    Now, porn domains varies in region and hundreds of them are being released everyday, it's even harder to keep track of them than ads without a good crawler. Maybe I'll try to do that favor when I get time. You can use DNS change app to toggle your DNS to Google DNS, that'll do for your Google search.
    3
    Its kinda funny
    Kids will anyhow find out a way to watch porn
    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.
    3
    Haha thanks dude. I found more sites to browse. :eek: