yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] simplegoodmobile:
For the hotspot not compatible with VPN issue, it's an Android system bug on some versions. I have investigate a lot previously. Now in my 4.4 android device, it works well. But on some old android, still not work. I have tried other apps based on VPN interface, they also not work.

For the 3-toggle button, I think it occupy more spaces than a indicator icon. And if I want to do a change, often need to click two times. Then it's similar to popup dialog. And the 3-state toggle button is not as clear as a indicator icon to know the current state. So I still decide to use the current UI design though it has a merit of no need to move the finger to change the state.

For the data update, I have fixed it. Just also update the data in Activity/Fragment.onResume.

And for the suggestions of adding new installed package notification, I also want to add it when there's a setting to disable it. Sorry for deferring it.

I have prepared a new launch 2.4.2. Two of your bugs are fixed. In data diary fragment, now easier to switch to requested date/month/year to view its data usage. And when rotating the screen, data diary fragment can keep its current data.

I have attach it in the thread.

In the next launch, I'll try to add an interesting and useful feature, blocking the image. If enable this feature, only the text part of the web page is downloaded. The image part is blocked. It's useful when there's not enough data left or the data bandwidth is poor.
[Android Apps and Games] simplegoodmobile:
I remember this app works on Lollipop. Need to flash to it and have a test this week.

And for Mobiwol, its website says

"

Why Won't My WiFi HotSpot Work?

This is not a bug. WiFi tethering and WiFi hotspots are, unfortunately, not currently compatible with Mobiwol being enabled.

"

Maybe it's fixed in beta version.

And where do I download the beta version of mobiwol? Thanks.
[Android Apps and Games] simplegoodmobile:
Thanks, will try it.
[Android Apps and Games] simplegoodmobile:
New version(2.4.3) is launched on google play now. It fixes several add/remove apps relative bugs, including sometimes new installed apps are not included in the app list, data is lost when reinstall the apps, etc.
[Android Apps and Games] simplegoodmobile:
Thanks for the help of xda member [MENTION=6107840]hevesi_j[/MENTION], now the app supports Hungarian.

Download from the google play and enjoy it.
[Android Apps and Games] zdwillie:
Good.

I find I seldom use wifi rules.

So can just disable firewall in wifi mode? Thanks.
[Android Apps and Games] simplegoodmobile:
Thanks, I'll consider adding it.
[Android Apps and Games] simplegoodmobile:
New version 2.5 is launched.

This is the new feature:

* Add mobile only mode. In this mode, the firewall is started only when there's mobile data network. So in wifi mode or no-network mode, the firewall is stopped. This can save your battery/cpu/memory if you only want to block the mobile network. The mode is not enabled by default.

* Can set the default permissions for new installed apps.
[Android Apps and Games] Nyssa1104:
Is it possible to attach the new builds in your first post?

Unable to download via GPS. Or something like Mega link?app looks promising.
[Android Apps and Games] simplegoodmobile:
I have uploaded the latest version of 2.5.1. Thanks.
[Android Apps and Games] Nyssa1104:
I am grateful l shall report back over the coming weeks, as at moment using Droidwall. I'll be using this on devices in my signature. ?
[Android Apps and Games] simplegoodmobile:
Thanks.

This app is based on VPN api so it doesn't need root permissions.

Droidwall is based on IPTables, so it need root.

You can try and choose which meets your request.
[Android Apps and Games] simplegoodmobile:
New 2.6 version is ready.

It includes following new features:

* Supports three new languages. Many thanks for [MENTION=4563466]gaich[/MENTION] translating into Russian, [MENTION=5294590]Helluuu[/MENTION] translating into Swedish, [MENTION=6389686]Ledare[/MENTION] translating into Indonesian.

* For new installed apps, there's a notification in the status bar to notify you set its network permissions. (Feature request by [MENTION=6023270]mali_[/MENTION])

* Support to reset the data diary. (Request by [MENTION=6107840]hevesi_j[/MENTION])

* Can reset data respectively for mobile, wifi or mobile+wifi.

The api is in thread head's attachments. You can also install it from google play hours later.
[Android Apps and Games] ironia.:
It s possibile to hide disabled apps?

And log denied?

Tnx
[Android Apps and Games] simplegoodmobile:
I'll try to remove the disabled system apps in the next launch.

and for the log, I'll design it when the current high priority tasks are finished.

thanK's for your support.
[Android Apps and Games] Publiuss:
Same request!

Your app looks fresher and nicer and somewhere more featured than, say, AFwall+...
[Android Apps and Games] gvc803:
does this app have an option to have an app "request" permission to access network? or will it always just block automatically?....then have to go back into firewall to change access permission temporarily?
[Android Apps and Games] hevesi_j:
Good idea!
[Android Apps and Games] simplegoodmobile:
Thanks for your suggestions.

I can add an "IPtable-based mode" in addition to the current "vpn-based mode" in the future in the future.
[Android Apps and Games] simplegoodmobile:
Hi [MENTION=3264063]gvc803[/MENTION] and [MENTION=6107840]hevesi_j[/MENTION],

Thanks for your suggestions.

I'll investigate it and implement in this or next quarter.
[Android Apps and Games] simplegoodmobile:
2.6.1 is launched with the features.

* Add German support.

* Support to control android os's data usage.

* Bug fix.

Please try it from googleplay or from the thread's attachment.

Thanks.
[Android Apps and Games] simplegoodmobile:
2.7.2 is launched with new features:

1. Show the data usage by time and by app in the same UI page.

2. Support search app by name in firewall page.

3. Fix some bugs.
[Android Apps and Games] simplegoodmobile:
Thanks, mali.

For the new apps notification, some users think it's useful to know there're some new apps installed. And the new installed apps are listed at the top of the app list. So users are easy to config them. If you think it's annoying, I may add an option to control it.

For the not working issue, I have not met it in my testing phone. Can you downloaded the latest version to try again? I have changed the vpn's network config to make it work in more network environment.

Thanks for your support.
[Android Apps and Games] simplegoodmobile:
hi [MENTION=6023270]mali_[/MENTION], several more questions:

1. With the firewall enabled, all apps can't access the network or only whatsapp can't?

2. In which network it can't access the network? 2/3/4G, or Wifi or both?

3. If possible, can you open the "CAPTURE PACKETS" UI? Then click the "START" button. Visit some web sites with Chrome and come back to click "STOP". Now click the share button to send a mail to me at simplegoodmobile@gmail.com. The captured packet file will be in the attachments in the mail. Since this captured file is the network data you just accessed, please do not input some sensitive/private data. Just visit some website like google in the chrome.

Thanks for your help.
[Android Apps and Games] bgdrls:
Hi,

I have a problem with update home screen "weather widget" on xperia Z2!

I use to allow connection to apps: weather widget & Xperia home. And widget updates works just fine, until last firewall update (2.7.2)?

Now widget won't update until I disable firewall?
[Android Apps and Games] simplegoodmobile:
Then how about other apps? Do they work well?
[Android Apps and Games] bgdrls:
Yes, only issue is with weather widget. I didn't notice any other problem with other apps.
[Android Apps and Games] simplegoodmobile:
Can I download the whether widget from google play?

I need to install and try it on my device.

And as [MENTION=249260]bali[/MENTION]_ said, the weather widget may depend on other service. So you can try firstly enable all apps and check whether it works.
[Android Apps and Games] bgdrls:
Here's widget from Xperia blog: http://d-h.st/Wrer

If I enable all apps, NOT working. Working only if I disable firewall?!

I'm confused, because is use to work with my previous service/firewall settings, and before last firewall update.
[Android Apps and Games] simplegoodmobile:
Sorry, but with the link you give me, I just installed a APUS launcher.

If possible, can you attach the apk here?

And you can try the 2.6.1.apk attachment in the head of the thread. To check whether the old version works.

Thanks.
[Android Apps and Games] bgdrls:
With 2.6.1 working fine.

I attach for u widget from dev blog...
[Android Apps and Games] simplegoodmobile:
I have installed your apk.

But seems it's not shown in the app list and widget it.
[Android Apps and Games] simplegoodmobile:
2.7.3 is launched.

In the version, if click the app item in the "data diary" tab, you can view the data usage by time for one concrete app.
[Android Apps and Games] simplegoodmobile:
Have launched 2.8 version just now.

You can download from https://play.google.com/store/apps/details?id=com.jianjia.firewall or the attachment in the thread header.

New features:

1. Support "notify when connect" network option. The new connect is notified for an app. Then you can decide to allow/block it always/in an hour. Thanks for the suggestion of [MENTION=3264063]gvc803[/MENTION] and [MENTION=6107840]hevesi_j[/MENTION].

2. Add preference to close new app install notification. Thanks for your suggestion, [MENTION=6023270]mali_[/MENTION].

3. Support Arabic and Turkish. Thank you, [MENTION=4542985]EslamA7med[/MENTION] and [MENTION=2999041]profprof[/MENTION].

4. Bug fix, i.e. data diary crash in Android 4.0.
[Android Apps and Games] EslamA7med:
Keep it UP ! ... Good app .. nice idea .. Good LuCk my Friend
[Android Apps and Games] bgdrls:
Maybe you should add option to disable/enable firewall at startup. I think auto startup provide issue with weather widget.
[Android Apps and Games] simplegoodmobile:
Sorry for not resolving your whether widget problem.

And for the auto start issue, now if you have enabled the firewall before rebooting, the firewall will be auto-started in the next start; If you disable it, it's not auto-started.
[Android Apps and Games] simplegoodmobile:
Thanks.

Your Arabic translation helps me much.
[Android Apps and Games] simplegoodmobile:
2.9.2 is launched with features

Use the different language in the app from the system language. [MENTION=4542985]EslamA7med[/MENTION].

Sort the app in firewall tab with multiple criteria.

Fix network unstable bugs in some apps.

Fix mobile only mode not stable issue.
[Android Apps and Games] simplegoodmobile:
2.9.3 is launched with features:

Backup/Restore the firewall rules into/from the sdcard.

Improve cpu/memory/battery usage.
[Android Apps and Games] mray99:
thanks for this great app.
[Android Apps and Games] semyon.danilov:
Thanks for great app.

Can you add filtering by host? That would be just awesome.
[Android Apps and Games] simplegoodmobile:
Thanks for your feedback.

I have plan to add the URL filter.
[Android Apps and Games] :
Would it be possible to add an option to import a hosts file, perhaps from the same sources as AdAway (allowing it to act as an Adblocker)?

Great app btw :)
[Android Apps and Games] simplegoodmobile:
Ok, I'll do it in the future version.

Hope it can be ready in May.
[Android Apps and Games] simplegoodmobile:
3.0 is launched with new features:

New logo.

Batch operation for pending access.

Optimize battery usage.

Italian language support.
[Android Apps and Games] bgdrls:
After 3.0 update, I can't download apps from play store, when firewall is enabled?

Also weather widget can't update again!
[Android Apps and Games] simplegoodmobile:
What about it if you reboot the device?
[Android Apps and Games] bgdrls:
I reboot already, it's same.
[Android Apps and Games] simplegoodmobile:
The are some system service, especially GMS(Google play service) is enabled for network?
[Android Apps and Games] bgdrls:
Yes of course, everything works fine until last update.

---------- Post added at 12:37 PM ---------- Previous post was at 12:34 PM ----------

I also clear data, and setup all firewall rules again. no changes!
[Android Apps and Games] simplegoodmobile:
Thanks.

Then other apps work well?

Only google play and whether widget have the issues.

Is it right?
[Android Apps and Games] bgdrls:
Until now, yes.

I send you a PM.
[Android Apps and Games] simplegoodmobile:
I have just upgraded to 3.0.1 which should fix it. Need several hours to get online. Please try it. Need to disable the firewall because the current version blocks goole play download. Very sorry for that.
[Android Apps and Games] haigoeo:
Very nice and useful app for all non root devices! Its working great so far.

My only wish is to add a blocking ads feature (even with paid version) similar to Lostnet firewall!

Also a question, why cant i see the app (NoRoot Data Firewall) on the firewall?

Thank you for your work!
[Android Apps and Games] simplegoodmobile:
Thanks for your support.

For the ads blocking feature, I'll add a url filter feature in the next month. But Google doesn't allow ads-block app in the market, some ad-away apps have gotten offline for this reason.

So when the url filter feature is ready, maybe you need to add the filter URL by yourself.

For the second issue, do you mean you want to see the app itself in the app filter list?
[Android Apps and Games] haigoeo:
Thats great news, looking forward to this feature!

Yes, i would like to see the app in the filter list!
[Android Apps and Games] simplegoodmobile:
The app itself now doesn't send even a bit of its own.

It only proxy the data from other apps.

Of course, it you think it's useful, I can add it.
[Android Apps and Games] Fllnhalo:
Try this for no ads in the mean time

I use Ad Block Plus and set Proxy to "Manual" and Proxy host name to "Localhost" with Proxy port being set to 2020. Samsung Galaxy Note 3 Lollipop 5.0 on Sprint. Haven't seen an ad yet!

Love this app!!!!!!
[Android Apps and Games] haigoeo:
I know ad block plus, it was my first pick but i had problems with connections and it doesnt work with no root data firewall enabled!
[Android Apps and Games] simplegoodmobile:
For latest 3.x version, have someone met network not work/unstable issues?

If you have met and can reproduce, please tell me. Thanks.
[Android Apps and Games] Red Planet:
Is the project open source?

Now I'm working on a similar app and cannot forward UDP datagrams.

I already asked why on http://stackoverflow.com/q/30064823/1065835, but the problem seems to be uncommon.
[Android Apps and Games] simplegoodmobile:
Sorry, it's not open sourced.

And here's my method to create the vpn interface:

builder.addAddress("26.26.26.26", 24)

.addRoute("0.0.0.0", 0)

.setSession("Firewall")

.setMtu(1500);
[Android Apps and Games] Red Planet:
Applying your VPN properties didn't help.

Can you tell me how you forward packets?

I explained how I do that on http://stackoverflow.com/q/30064823/1065835 step by step. I also gave my class extending VpnService.

Maybe I just put one wrong byte, and it's not working because of it.
[Android Apps and Games] simplegoodmobile:
As a suggestion, you can save the packets into a pcap file and use a tool like wireshark to open it.

Then wireshark can help you check the wrong field in the generated packets.
[Android Apps and Games] Red Planet:
I make a request. A packet I'm sending to a remote server is written to a TUN device.

Wireshark doesn't show the packet I read from/write to my TUN device. My Wireshark file only contains a packet I send to a protected socket.

1. What am I doing wrong?

The packets I read from/write to my TUN devices are Java byte arrays.

2. Do I have to save them in the pcap format? How to do that? When I opened pcap file in Notepad, I saw many unknown symbols. Nothing was clear.

3. Can I validate the packets in Wireshark? I mean I'll give packets to Wireshark, press a button, and it'll answer, "Yes, you gave me valid UDP packets"
[Android Apps and Games] simplegoodmobile:
I record the read/written packets from/to the tun interface. Then you can know whether you generated packets(the one written to the tun) is right, including the checksum, sequence number(for tcp) and other fields.

For pcap format, you can read this page. https://wiki.wireshark.org/Development/LibpcapFileFormat

And wireshark can help detect some errors, i.e. checksum, tcp sequence number and others. You can also easily know whether the field is right because it's already decoded for ip/tcp/udp.
[Android Apps and Games] simplegoodmobile:
Have launched new 3.1 with features:

- Support domain filter.

- Support new languages of Danish and Dutch.

- Fix firewall not working bug in rare cases.
[Android Apps and Games] Red Planet:
Did you save a read byte array to a pcap fie? If so, can you give an example?

I've spent a half a day trying to do that, and there are few examples of saving IPv4 packets to PCAP.

I also asked a question on http://stackoverflow.com/q/30302210/1065835
[Android Apps and Games] haigoeo:
Nice update! Can you give a little help on how to block ads with domain filter?
[Android Apps and Games] simplegoodmobile:
Currently, you can add the ads url to the "domain filter" list.

In the future, I'll add a feature to download the ads URLs from some servers.
[Android Apps and Games] simplegoodmobile:
I just do it in native C code by the common binary file writing.

Firstly write the pcap header, then write the packet item one by one.

I have not used pcap java library.
[Android Apps and Games] galaxyst:
Dear simplegoodmobile, is there a feature like batch add to domain filter urls from txt file?

I think you understand, that it is impossible to add several thousand urls manually
[Android Apps and Games] galaxyst:
This is most ad sites (7930 urls), which can be added to hosts file and block all ads. Now, please, tell me - how can I add it to your application in order to block ads?
[Android Apps and Games] simplegoodmobile:
Google's policy doesn't allow ads-blocker in the google play.

So after deliberate thought, I still think I should obey it to not add the batch import feature.

Hope you can understand it. Thanks.
[Android Apps and Games] galaxyst:
so sorry :crying:
[Android Apps and Games] galaxyst:
Then, may be you will fix the problem, when application needs to check "I trust this application", because this pop-up window prevents application from auto run. Yes, we trust your application, otherwise we will not use it. And we need this app to start automatically. Or google forbade you to do this as well?

Concerning ad-block feature, I could do it, thought you were against :angel:
[Android Apps and Games] AABplay:
Nice app, it works.
[Android Apps and Games] simplegoodmobile:
This dialog is shown by the system when creating a new VPN service.

So it can not be removed.

Thanks.
[Android Apps and Games] simplegoodmobile:
Many thanks for your detailed feedback.

For the open-source question, I respect the open-source spirit. Maybe I will do it in the future, but this year, I still try to keep it close-sourced. I totally understand your suggestions and will consider about it. Sorry for that.

For the memory issue, in my experience, now when start the app, the memory should rise. But after a while, it should keep stable. So even using it for one day or more, the memory will not get overflowed.

For the backup/restore issue, I'll fix it for domain.

For the count accuracy issue, yes it's a known issue. I'll try to fix it, though it's not an easy work.

For IPv6, it's not supported. Currently, I have not this kind of testing environment. Will fix it once find it.

For the ip blocking issue, I think domain filter can replace it. So don't want to support it.
[Android Apps and Games] pato2015:
I still dont understand why do i need firewall...slows down connection...where does this operates from if i may ask? Ty nice app to those who needs it maybe.....:)..this is just my opinion too...peace....
[Android Apps and Games] xvan911:
Excellent app! I tried a few no root firewalls and I liked this one because it is lightest and the easiest to use, I've seen some posts asking you to add more features and at the same time keep the memory footprint low, I think that's contradictory but they are great suggestions,

I hope in case you add more features, you make a lighter and more basic version for memory limited devices, but it's your project congratulations for this one!!
[Android Apps and Games] n0x00ll:
RE memory:

No I'm sorry, that's not an acceptable answer. I see no reason that this application should consume as much RAM as it does. There is clearly a problem here. At most, this should store the packets being sent in memory for the milliseconds that it takes to test conditions and then relay them outbound, immediately freeing that memory after sending (or rejecting) them. For there to be over 200MB allocated at any given time, one would have to be sending about that much data steadily and/or have a HUGE list of FW rules. There was VERY little traffic (kilobytes) when I did this test and very few rules configured.

With the size of this package being as small as it is (under 2MB when installed) a footprint over 100x that size, in this case, is outrageous.

Why must it allocate that much memory? What is it storing in RAM?

RE block by IP:

No, blocking by domain is NOT an adequate replacement here. For starters, DNS is not perfect. This sort of blocking can be circumvented in a number of ways. Blocking by IP is, for many reasons, greatly superior. This also does not address the requested option of blocking by subnet, which is very useful. For the sake of having a useful firewall, please work on this.

RE IPv6:

This means that LTE connections are not being blocked by your firewall at all. LTE requires IPv6. By not supporting this, your firewall is essentially useless in many cases. Fix this ASAP.

RE open-source:

That's very unfortunate. I hope you change your mind soon. I, for one, will not be installing this app again until I see the aforementioned problems fixed AND can review the code behind it. I recommend that others follow suit.
[Android Apps and Games] XMais:
My lil response

RE memory:

Using it for days now and it hasn't been using over 20MB at any time. Dont know why you have these problems but you should really cool down. The developer in going to look into this.

RE block by IP:

You can enter IPs into the domain list as well do you know that? I just tested it with some websites and it works perfectly well. You may want to test your own statement before posting nonsense

RE IPv6:

WRONG! LTE for most of the world still uses the old IPv4 protocol as of 05.2015. Most big ISP such as the German Telekom have stated that theire working on it and will see to it in the coming year. Enough time for the developer to adapt to this. Again, you may want to check your statements before falling into ragemode...

RE open-source:

I can understand the developers opinion with this perfectly well as lots of good apps get stolen simply because their source has been released too early. However, i recommend him to release the source as soon as some time has passed.

And yes i just registered for this post to counter the half truths you're trying to sell as facts.