it isnt backported because all of android features are self-serving to google.
it is a linux computer where you have absolutely no control over network. You must root to get a basic firewall, only because people used the firewall previously to block ads.
heck you can't even disable referrer headers on the browser (hint, that's how google get their share on ad clicks).
There's no need to assume malice here. Disabling referrers is an extremely niche desire. Also how often does your laptop have an Internet connection that you can't just join as well from the android device? I'm not saying it doesn't happen, but omitting it from base Android is hardly malicious.
While the referral complaint is pretty silly, this networking thing is bit indicative about the "appliance"/"toy" nature of Android devices. Either there is an app for something or you can't do it.
In comparison for example webOS and Maemo did the analogous thing by using mainline usbnet driver from kernel and configuring routing with standard route command etc. This is possible because they did not flinch from exposing the full power of the underlying system for those who want it.
> Also how often does your laptop have an Internet connection that you can't just join as well from the android device?
Corporate networks would be a common example. Or wired-only networks (yes, such things do exist still).
> While the referral complaint is pretty silly, this networking thing is bit indicative about the "appliance"/"toy" nature of Android devices. Either there is an app for something or you can't do it.
You can write an app to do something the designers of the system didn't anticipate. That's a mark of a versatile system.
> In comparison for example webOS and Maemo did the analogous thing by using mainline usbnet driver from kernel and configuring routing with standard route command etc. This is possible because they did not flinch from exposing the full power of the underlying system for those who want it.
I believe that, with root, you can install/load/configure kernel modules (mainline or otherwise) on Android as well. Here's a stackoverflow article talking about creating loadable kernel modules: http://stackoverflow.com/questions/6282669/how-do-you-create...
I don't know if it counts as "assuming malice" but Google is a business, and so of course will generally act in their own best interests.
You can see the underlying theme in virtually every interaction you have with Google these days, especially since ad blocking started becoming widespread. Every service they offer is structured so as to extract the maximum amount of personal information from the users of the service. Every design decision follows this underlying goal, even when doing so isn't necessary or even ideal. Everything they do is quid-pro-quo.
Looks really cool. I hope you don't mind (I see it's your first free software project), but I've opened a PR to add GPLv3 notices so that it's easier to find out what the license for your code is. I'd recommend doing this for all future projects, as it makes it much easier for people wanting to use your code or package your software what license they have to comply with.
Contrary to popular opinion, not specifying a license makes your code proprietary (though you did mention the license at the very end of your README, which is something).
Specifying license info in every single file is entirely unnecessary and done far too often.
Imagine a book including a copyright notice on very single page. The license was specified in the manner the author chose to specify it, and that is sufficient.
> the process involves adding two elements to each source file of your program: a copyright notice (such as “Copyright 1999 Terry Jones”), and a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License (or the Lesser GPL).
Whatever you think about the GNU guys and the license, they do have good lawyers. If they say this is how you should apply GPL to your programs, they're most likely right.
There are two reasons that I don't think this is the same issue as putting a copyright notice on every single page.
1. Each page of a book is not meaningful in of itself in the same way that a particular function in a file is meaningful in of itself. So, there's no real worry that the text will be moved to another place without the appropriate notice being copied along with it (citations and quotations are usually under fair use, and citing a work is usually the only thing you need to do if you copy part of a work).
2. Pages in a book are not like files. If you were talking about pamphlets, the analogy would be more clear. It is not expected that people will tear out pages from a book and then stick them into a new book. It is also not expected that people will only be given a single chapter from a book rather than the whole book. If any of those cases were considered "normal use" of the book, then I would definitely expect people to put a copyright notice on every page.
In addition, it isn't common for people to apply different licenses to different pages of the same book. Usually the license and copyright are the same for the entire book.
Not to mention that IMO it is aesthetically pleasing to have a nice header in each file, and it doesn't have any ambiguity when you read the code of a project what license applies to which file.
Also, it's how all GNU projects do it and I trust their lawyers and opinion on how to correctly display licensing information. It also mentions that this is the recommended way of displaying the license in the actual license text itself. So there's that.
Yes, it's possible. But! Android kernel should support your ethernet adapter plus device manufacturer should add eth support in android firmware itself. If you have rooted device no problem with it (you can configure eth from command line). With unrooted device it's impossible.