Commit Graph

89 Commits

Author SHA1 Message Date
Mygod
823ae9633b Migrate from NoisySu to RootSession
Fix #24. Note that just like before, IpMonitor doesn't use RootSession.
2018-09-06 15:39:00 +08:00
Mygod
e3f1abbb22 Fully support strict mode for system tethering 2018-09-04 17:49:59 +08:00
Mygod
4ea235b52b Fix p2p_supplicant.conf path on Android 9 2018-09-04 08:15:56 +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
7a8412407b Use exec whenever possible 2018-08-26 19:24:45 +08:00
Mygod
cd778589c3 Fix bad token 2018-08-20 23:31:34 +08:00
Mygod
a9e483f3ff Add DHCP workaround
Thanks to petergunn666 for debugging this with me.
2018-08-13 01:41:45 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00
Mygod
b0d2db2d2d Update dependencies 2018-08-08 15:12:48 +08:00
Mygod
6939efed0d Refine styling 2018-07-29 01:42:06 +08:00
Mygod
d38d201212 Revert "Disable editing repeater credentials on Android 5"
This reverts commit df304fe674.

This kind of addresses #31. Apparently we can't predict which wpa_supplicant is bundled into the system by inspecting Android version, especially now that it is put into /vendor/bin/hw (see also Project Treble: https://source.android.com/devices/architecture/vndk/).

It might be cool if someone makes a Magisk module that replaces wpa_supplicant to the latest version.
2018-07-28 23:11:41 +08:00
Mygod
9220f9f113 Refine code style 2018-07-21 19:04:53 +08:00
Mygod
b526de681e Refactor WifiP2pDialog as DialogFragment 2018-07-21 18:26:14 +08:00
Mygod
179675a374 Refine code style 2018-07-21 17:18:21 +08:00
Mygod
df304fe674 Disable editing repeater credentials on Android 5 2018-07-21 14:43:56 +08:00
Mygod
af20a084cb Use Android KTX 2018-07-15 20:58:39 +08:00
Mygod
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
89cbd96280 Prefer SnackBars 2018-07-14 23:30:05 +08:00
Mygod
845ede3235 Fix crash when getLinkProperties returns null 2018-07-13 17:57:46 +08:00
Mygod
2e912bf767 Implement displaying tethering errors 2018-07-13 00:53:06 +08:00
Mygod
d9d5c55ff4 Return empty PSK if unrecognized 2018-07-12 22:08:56 +08:00
Mygod
580b7620c5 Suppress errors 2018-07-12 22:06:32 +08:00
Mygod
2488a528a3 Update dependencies 2018-06-23 18:59:31 +08:00
Mygod
4c101012ad Refine masquerade rules 2018-06-16 00:20:00 +08:00
Mygod
09690f19c8 Fix crashes on stupid devices 2018-06-13 15:51:10 +08:00
Mygod
6b24697f12 Suppress stop/clean error reporting 2018-06-11 20:27:20 +08:00
Mygod
c9344a9549 Fix wifi icon being way too overused 2018-06-11 11:13:09 +08:00
Mygod
e07280d436 Fix excessive logging 2018-06-11 07:40:40 +08:00
Mygod
77cac1c5d4 Mute IpMonitor background threads 2018-06-10 23:43:55 +08:00
Mygod
3fbca0abef Refine 2018-06-10 21:35:27 +08:00
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
c8b6af1e49 Refine code style 2018-06-02 07:43:16 +08:00
Mygod
f6d98d0e88 Add back auto complete interface names from 0.1.0 2018-06-02 07:38:03 +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
5607642b32 Fix NullPointerException 2018-06-01 21:16:51 +08:00
Mygod
a5bec59bbe Refine code style 2018-05-09 22:46:13 -07:00
Mygod
3959db61d0 Refine code style 2018-05-09 18:17:47 -07:00
Mygod
dad9bc19e3 Add client count badge 2018-05-09 17:38:49 -07:00
Mygod
90c1951645 Move Utils.kt 2018-05-09 15:57:41 -07:00
Mygod
1695295eb3 Fix UTF-8 encoding in SSID 2018-05-03 20:56:31 -07: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
0a47cfdf1c Fix hex PSK not terminating 2018-05-02 01:40:02 -07:00
Mygod
a9c40c8ff7 Handle multiple groups and other formats of psk
This should address #17.
2018-05-02 01:30:29 -07:00
Mygod
3b964e0537 Permit p2pInterface to be null for whatever reasons 2018-04-27 20:37:05 -07:00
Mygod
39cd40627f Redesign WifiP2pDialog using design lib 2018-04-24 22:49:05 -07:00
Mygod
2b2639e288 Refine code style 2018-04-21 23:49:10 -07:00
Mygod
cb3bdff0f2 Fix killall not available on lower versions 2018-04-21 21:30:20 -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