Commit Graph

66 Commits

Author SHA1 Message Date
Mygod
1145b0f23b Support editing native Wi-Fi AP configurations
Support for repeater channel on Android 5 has been dropped because I am lazy.
2019-04-04 18:06:18 +08:00
Mygod
834498b1ff Deprecate reset credentials
Due to persistent groups no longer useful in Android Q, this feature will be removed. Users on older releases can remove remembered groups from Wi-Fi Direct settings manually.
2019-04-04 18:06:18 +08:00
Mygod
926783cc25 Refine code style 2019-04-04 18:05:21 +08:00
Mygod
549381050b Do not prompt error onTetheringFailed 2019-03-18 17:37:35 +08:00
Mygod
77cc598b49 Refine #85 2019-03-12 15:11:48 +08:00
Mygod
662aee51bf Add support for polling ip with root 2019-02-17 11:13:51 +08:00
Mygod
cbc65f989c Support monitoring tethered interface
This would be useful to be used in together with Instant Tethering + Turn off hotspot automatically.

Refine #26, #53.
2019-02-06 01:27:21 +08:00
Mygod
8132b2766d Remove fallback DNS 2019-02-04 23:30:29 +08:00
Mygod
99e721bf7e Remove fallback upstream monitor
This option has been deprecated. As a replacement, if one wants to forbid fallback communication, a global routed VPN can be used instead.
2019-02-01 21:11:49 +08:00
Mygod
f1973116ca Add netd masquerade mode 2019-02-01 21:06:22 +08:00
Mygod
8682c9dd43 RIP WPS 2019-02-01 15:44:07 +08:00
Mygod
509511461c Add manual MAC lookup 2019-01-31 17:10:49 +08:00
Mygod
d4208affbb Implement MAC lookup (#68)
* Implement MAC lookup

* Refine error processing

* Use long to store MAC consistently

* Link back to macvendors.co

* Undo some havoc

* Do not show mac spans for TV

* Show MAC and IP in a consistent order

* Add IP spans by ipinfo.io

* Add SpanFormatter

* Fix IPv6 ipinfo.io link

* Refine SpanFormatter

* Fix pressing the link
2019-01-26 21:20:40 +08:00
Mygod
faebc2d1ae Make root unavailable more informative 2019-01-03 23:33:46 +08:00
Mygod
68fface4b9 Allow clients on different tethered interfaces to communicate
Previously, the routing rules were too strict. We should probably also deprecate TrafficRecord.upstream sometime.
2019-01-01 12:21:48 +08:00
Mygod
479d1bdfca Add documentation for settings 2018-12-26 11:46:58 +08:00
Mygod
a206d9e32c Revert "Refine Wi-Fi lock descriptions"
This reverts commit 2fa91711ed.
2018-12-26 11:02:19 +08:00
Mygod
e8f993944c Use poll as default monitor method
This should improve compatibility on very broken devices.
2018-12-26 10:58:16 +08:00
Mygod
2fa91711ed Refine Wi-Fi lock descriptions 2018-12-26 01:44:41 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
adef53be54 Add missing translations 2018-12-21 18:06:15 +08:00
Mygod
3c81fcd95a Handle p2p service disconnection 2018-10-25 10:51:00 +08:00
Mygod
e347115908 Add back root unavailable prompt 2018-10-08 15:23:57 +08:00
Mygod
e4e716ab83 Allow creating repeater w/o root 2018-10-08 15:17:48 +08:00
Mygod
a4e69c5a9b Tell user when blocking won't work 2018-10-03 14:16:31 +08:00
Mygod
8e09e8cd8a Replace strict mode with fallback upstream interface
Fixes #40. Apparently we can no longer take advantage of default network rules set by Android system since Android 9.0 thanks to this commit: 758627c4d9
2018-10-03 13:02:28 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
e51f639c86 Remove unused string 2018-09-07 15:49:37 +08:00
Mygod
89c26fe384 Support strict mode for system tethering
TODO: Set up rules when upstream interface not found.
2018-09-03 16:37:54 +08:00
Mygod
1c5d7c1109 Ask to disable tethering hardware acceleration on Android 8.1+ 2018-08-26 15:22:27 +08:00
Mygod
ba58909af7 Organize settings 2018-08-13 02:10:10 +08:00
Mygod
a9e483f3ff Add DHCP workaround
Thanks to petergunn666 for debugging this with me.
2018-08-13 01:41:45 +08:00
Mygod
0c8d2ab010 Add clean summary 2018-08-13 01:14:33 +08:00
Mygod
a0f8012e5b Add option to start repeater on boot
Fix #9.
2018-07-22 00:53:00 +08:00
Mygod
eca2329856 Refine 2018-07-16 10:29:51 +08:00
Mygod
33cd906f65 Add the best feature ever (E-begging)
This reverts commit ebb6061a6e.
2018-07-13 15:05:33 +08:00
Mygod
538755f015 Add option to turn off masquerade
It turns out that this option may not be necessary but I've already implemented it so just in case.
2018-06-16 00:20:20 +08:00
Mygod
09690f19c8 Fix crashes on stupid devices 2018-06-13 15:51:10 +08:00
Mygod
da9bf4867e Support specifying network interface
Fix #15.
2018-06-02 07:29:46 +08:00
Mygod
8e335fec1b Add option to disable IPv6 tethering
Partially addresses #6, #20.
2018-06-01 22:30:31 +08:00
Mygod
6afc06cf8e Refine error msg 2018-06-01 21:21:32 +08:00
Mygod
e25f590bd6 Fix SecurityExceptions caused by LOH 2018-06-01 20:55:48 +08:00
Mygod
8aa7d6d8c7 Huge refactor for better maintainability 2018-06-01 20:21:05 +08:00
Mygod
2fe7703d6d Temporary Wi-Fi hotspot for bypassing tethering limits (#18)
* First draft of temporary hotspot
* Refactor with LocalOnlyInterfaceManager
* Refactor LocalOnlyHotspotService
* Localize
* Update strict summary
2018-05-02 17:53:06 -07:00
Mygod
989408accc Use no value as auto oc 2018-04-27 20:37:05 -07:00
Mygod
b94069e482 Refine operating channel hint 2018-04-24 22:52:09 -07:00
Mygod
39cd40627f Redesign WifiP2pDialog using design lib 2018-04-24 22:49:05 -07:00
Mygod
2d3e8556fd Refine code style 2018-04-21 20:34:14 -07:00
Mygod
570998b255 Add support for modifying repeater credentials
Credits go to @fxsheep: https://forum.xda-developers.com/showpost.php?p=76298728&postcount=5

Currently it only works on later versions of Android due to usage of `killall`. A workaround is in progress.
2018-04-21 20:18:15 -07:00
Mygod
97e0a6386f Support setting Wi-Fi operating channel 2018-04-21 14:49:38 -07:00