topjohnwu
a189dec1c8
Centralize configuration management
2019-01-21 15:49:03 -05:00
topjohnwu
7bd52d0245
Update net module
2019-01-01 18:45:48 +08:00
topjohnwu
267868c3b0
Switch internal download dir to cache dir
2018-12-31 16:05:29 +08:00
topjohnwu
6d27eb7f64
Dynamic load updated APK for patching
...
Magisk Manager sometimes updates the code for patching the APK due to several changes.
When an old manager tries to patch an updated APK using its internal methods, it is
sometimes incomplete, or simply won't work at all.
This commit exposes an API that can be dynamically loaded from an old app to invoke the
updated patchAPK method from the downloaded new APK.
2018-12-31 15:53:24 +08:00
topjohnwu
039be65a89
Fix Magisk Manager hiding after using WorkManager
2018-12-31 14:55:03 +08:00
topjohnwu
646a10d9bf
Use foreground service for downloading modules
2018-12-29 17:49:41 +08:00
topjohnwu
da9c6f6e23
Switch to WorkManager
2018-12-27 22:07:47 +08:00
topjohnwu
ff3d66a661
Separate backend logic from frontend UI
2018-12-13 04:35:50 -05:00
topjohnwu
59b1e63bdf
Use internal library for networking
2018-12-12 05:52:13 -05:00
topjohnwu
c91f809eba
Remove all backwards compatibility nonsense
...
This also allows full obfuscation
2018-12-08 03:54:00 -05:00
topjohnwu
14ac37e8a5
Fix and optimize APK installations
2018-12-07 21:42:53 -05:00
topjohnwu
2b502e9a0f
Small reorganization
2018-12-03 01:44:13 -05:00
topjohnwu
59141f9bbe
Show failure when download fails
2018-12-02 23:44:56 -05:00
topjohnwu
f0f87c8eb9
Reduce BroadcastReceivers
2018-12-02 16:53:00 -05:00
topjohnwu
80dad54119
Some cleanups
2018-12-02 15:28:18 -05:00
topjohnwu
ee2c801fe0
Better progress notifications
2018-12-02 15:15:42 -05:00
topjohnwu
857e6e8345
Tweak notifications
2018-12-02 05:33:53 -05:00
topjohnwu
0241a50c6f
Stop using platform provided DownloadManager
2018-12-02 04:47:57 -05:00
topjohnwu
5fb96cdcf4
Auto launch new app after repackaging/restoring Manager
2018-11-27 03:56:14 -05:00
topjohnwu
ee4548230b
Disable native systemless hosts, add built-in systemless hosts module
2018-11-15 13:57:41 -05:00
topjohnwu
376e7977f0
Deprecate path /sbin/.core, switch to /sbin/.magisk
...
Symlink is preserved for backwards compatibility
2018-11-15 01:36:03 -05:00
vvb2060
1f3f881f81
Skip files when scanning modules
2018-10-28 17:21:58 -04:00
topjohnwu
7fc00c446b
Buffer OutputStream to prevent broken pipe error
2018-10-28 05:25:33 -04:00
topjohnwu
75ab1fa570
Micro optimizations
2018-10-28 00:54:56 -04:00
topjohnwu
bf4a46d57c
Optimize logging in Magisk Manager
2018-10-27 22:06:24 -04:00
topjohnwu
48c40f9516
Prevent Resources
...
Fix #619
2018-10-17 19:44:48 -04:00
topjohnwu
58ae596b0f
Require fp auth when toggling su permission if required
...
Close #656
2018-09-29 02:21:14 -04:00
topjohnwu
d7eeef2c8a
Separate fingerprint authentication dialog code
2018-09-29 01:57:51 -04:00
topjohnwu
3f87f6aee3
Fix output in Magisk Manager if no root exists
2018-09-20 16:21:22 -04:00
topjohnwu
017fbf267b
Fix small theme config issue
2018-09-17 23:29:38 -04:00
topjohnwu
906b4aad9e
New method of communication
...
Introduce a new communication method between Magisk and Magisk Manager.
Magisk used to hardcode classnames and send broadcast/start activities to
specific components. This new method makes no assumption of any class names,
so Magisk Manager can easily be fully obfuscated.
In addition, the new method connects Magisk and Magisk Manager with random
abstract Linux sockets instead of socket files in filesystems, bypassing
file system complexities (selinux, permissions and such)
2018-09-16 04:16:18 -04:00
topjohnwu
47c860142e
Use ClassMaps to prevent errors
2018-09-16 00:08:13 -04:00
topjohnwu
78534deab6
Excessive obfuscation when building in release mode
...
Close #606
2018-09-14 23:00:39 -04:00
topjohnwu
065949496e
Migrate to AndroidX support library
2018-09-10 02:27:45 -04:00
topjohnwu
0c247110a0
Also get default flags in non-root environment
2018-08-29 13:31:26 -04:00
topjohnwu
d56e1b2cc5
Move fingerprint settings to global database
2018-08-22 15:05:00 -04:00
topjohnwu
d2c196896d
Update snet extension
2018-08-22 11:50:21 +08:00
topjohnwu
7fb4777c1c
Improve update channel settings
...
Fix #446
2018-08-07 15:48:43 +08:00
tonymanou
2fbfeacb87
Show toast when intent to open a link is not resolved
2018-08-06 18:56:20 +08:00
tonymanou
ebb7a9fcda
Open links in a new task
2018-08-06 18:56:20 +08:00
tonymanou
9e72317302
Ensure intent are resolved when opening link
2018-08-06 18:56:20 +08:00
topjohnwu
32809e56d0
Sign release zips with release-key.jks
...
Close #408
2018-08-05 02:29:40 +08:00
topjohnwu
9ac71ff8af
Simplify asynchronous tasks
2018-08-02 00:41:10 +08:00
topjohnwu
a2544768a0
Remove boilderplate
2018-08-01 14:30:59 +08:00
topjohnwu
8574a14ed2
Improve locale settings
2018-08-01 14:16:44 +08:00
topjohnwu
e90c555c18
Some cleanups
2018-08-01 03:09:44 +08:00
topjohnwu
863b9a410f
Rewrite Topics
2018-08-01 00:47:31 +08:00
topjohnwu
23c7bbc7d5
Move Const to upper package
2018-07-31 17:42:35 +08:00
topjohnwu
f900189f90
Rename and move methods
2018-07-31 17:41:54 +08:00
topjohnwu
7c74be2790
Create LocaleManager
2018-07-31 17:35:58 +08:00