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
dbb8b8a439
Handle magisk.db completely natively
...
Prevent database corruption due to different Android application sqlite default settings
2018-10-27 17:54:48 -04:00
topjohnwu
2a65c3dc8f
Prepare for new database implementation
2018-10-27 17:38:23 -04:00
topjohnwu
958d6377e3
Improve XML string matching code
2018-10-26 02:50:45 -04:00
vvb2060
01e7dff1a0
Fix crash when using other su
2018-10-24 04:59:29 -04:00
topjohnwu
8a1292b295
Ask permissions to read internal storage
2018-10-20 19:42:46 -04:00
topjohnwu
6557070ae1
Try to flush database before uninstalling
2018-10-20 15:31:41 -04:00
topjohnwu
e7e580e177
Remove support for Magisk lower than 1500
2018-10-20 15:04:15 -04:00
topjohnwu
48c40f9516
Prevent Resources
...
Fix #619
2018-10-17 19:44:48 -04:00
topjohnwu
e0e7674715
Fix close button in FlashActivity
2018-10-17 15:36:09 -04:00
vvb2060
e1b181ca4e
Hide system in MagiskHide list
2018-10-16 21:09:18 -04:00
topjohnwu
a4f0fbf8b7
Switch to butterknife
...
Finally support AndroidX and obfuscation
2018-10-16 21:00:01 -04:00
topjohnwu
58ae596b0f
Require fp auth when toggling su permission if required
...
Close #656
2018-09-29 02:21:14 -04:00
topjohnwu
f1ca21678d
Set boolean when toggling
2018-09-29 02:02:41 -04:00
topjohnwu
d7eeef2c8a
Separate fingerprint authentication dialog code
2018-09-29 01:57:51 -04:00
topjohnwu
4f626897f2
Cleanup
2018-09-29 00:28:12 -04:00
topjohnwu
2118beeb23
Magisk-Modules-Repo now names repo with ID, simplify logic here
2018-09-28 01:58:28 -04:00
topjohnwu
3f87f6aee3
Fix output in Magisk Manager if no root exists
2018-09-20 16:21:22 -04:00
topjohnwu
04bcd145d3
Add a.a alias to BootSigner
2018-09-20 15:37:59 -04:00
topjohnwu
244e811291
Remove icon padding in preference screen
...
Courtesy of https://stackoverflow.com/a/51568782
2018-09-19 00:06:14 -04:00
topjohnwu
ac7467fb59
Optimize boot signing to use as little memory as possible
2018-09-18 23:48:21 -04:00
topjohnwu
2c0436216f
Prevent null strings in modules/repos
...
Close #620 , close #621
2018-09-18 10:04:12 -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
4cf8d41f6a
Fix FlashActivity crash
2018-09-16 00:18:34 -04:00
topjohnwu
47c860142e
Use ClassMaps to prevent errors
2018-09-16 00:08:13 -04:00
topjohnwu
af7c6f9fce
Fix FlashActivity crash
2018-09-15 01:45:10 -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
d520b3d2a0
Request storage permission when patching boot images
2018-09-08 23:27:19 -04:00
topjohnwu
ff3dad2457
Prevent upgrading database before upgrading to v17.0
2018-09-01 10:46:13 -04:00
topjohnwu
7ae8c26e50
Improve About and Donation page
2018-08-30 05:05:29 -04:00
topjohnwu
adfffe6121
Better back pressing logic
2018-08-30 04:19:08 -04:00
topjohnwu
aa374b51f1
Move fragments to separate package
2018-08-30 03:57:48 -04:00
topjohnwu
5c483745ff
Move settings out of separate Activity
2018-08-30 00:52:02 -04:00
topjohnwu
0c247110a0
Also get default flags in non-root environment
2018-08-29 13:31:26 -04:00
Nicholas
4ace228fc2
Update SnackbarMaker.java
...
Zip downloads don't go into /MagiskManager anymore, they go into /Download instead. Snackbar should be updated accordingly.
2018-08-29 00:41:43 -04:00
topjohnwu
aa383e2190
Properly get color from attribute
2018-08-25 23:01:14 -04:00
topjohnwu
9bbfcf326c
Do not place files into /sdcard/MagiskManager
2018-08-25 16:00:27 -04:00
topjohnwu
3948e67c8f
Require authentication to toggle fingerprint settings
...
Close #474
2018-08-22 17:49:51 -04:00
topjohnwu
d56e1b2cc5
Move fingerprint settings to global database
2018-08-22 15:05:00 -04:00
topjohnwu
bfac1f1bc2
SN checks is possible after repackage if using new API
2018-08-22 12:32:53 +08:00
topjohnwu
d2c196896d
Update snet extension
2018-08-22 11:50:21 +08:00
vvb2060
e42b608444
Hide SafetyNet check if no GMS
2018-08-21 23:40:06 -04:00
topjohnwu
c967e618a1
Adjustment to direct install
2018-08-13 02:57:03 +08:00
topjohnwu
a46c6252c6
Detect insufficient partition size
...
Close #388
2018-08-11 15:56:12 +08:00
topjohnwu
5c1886c8f5
Update scripts
2018-08-10 18:59:14 +08:00
topjohnwu
ff36f2ba17
Add 1 more byte to mark
...
Prevent crashes on higher Android versions
2018-08-09 03:01:33 +08:00
topjohnwu
3e3f38500d
Only use required memory size
2018-08-08 03:20:37 +08:00
topjohnwu
5109b9abfd
Allow modules be managed in core only mode, and add notice in UI
2018-08-07 16:31:00 +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
9f05b182a2
Verify existing file checksum to prevent needless downloads
2018-08-05 00:37:02 +08:00
topjohnwu
cf17e21ad3
Proper callback to trigger UI update
2018-08-03 23:04:35 +08:00
topjohnwu
0e0240c4ab
Better download UI
2018-08-03 22:48:44 +08:00
topjohnwu
d1b290b91a
Fix install failure
2018-08-03 22:41:53 +08:00
topjohnwu
4c14df67cc
Add warning before installing to inactive slot
2018-08-03 05:19:46 +08:00
topjohnwu
35f1c396f2
Request write external storage permission
2018-08-02 04:27:01 +08:00
topjohnwu
6acb950990
Simplify repo update logic
2018-08-02 01:55:34 +08:00
topjohnwu
27e0d1641a
Show proper time of repo updates
2018-08-02 01:55:34 +08:00
topjohnwu
9ac71ff8af
Simplify asynchronous tasks
2018-08-02 00:41:10 +08:00
topjohnwu
075737a4ec
Fix crash
2018-08-01 18:56:11 +08:00
topjohnwu
6d0e4a6a5e
Rename base activity and fragments
2018-08-01 17:57:11 +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
topjohnwu
70dd2d4829
More moving
2018-07-31 16:57:52 +08:00
topjohnwu
914b7ee056
Start moving things outside of top Application class
2018-07-31 03:51:11 +08:00
topjohnwu
e39f83edbf
Do not unmount database when cleaning up repackaged manager
2018-07-31 01:09:25 +08:00
topjohnwu
52fe0c6abb
Fix restore manager on Android P
2018-07-31 01:05:56 +08:00
darken
5cb3e5937f
Update policy list when resuming the superuser fragment.
...
Closes #414
2018-07-30 21:52:36 +08:00
topjohnwu
1552f32e09
Keep the methods in SN check interface
...
For some reason, Proguard optimization will remove the method
2018-07-30 20:42:42 +08:00
topjohnwu
50b73a6720
Clear up more component in stub APK
2018-07-30 20:37:00 +08:00
topjohnwu
53e51f1735
Allow incomplete update JSONs
2018-07-29 23:36:29 +08:00
topjohnwu
40b63bfebe
Don't use DownloadManager for Magisk
2018-07-29 22:58:22 +08:00
topjohnwu
89861eceef
Install to Second Slot -> Install to Inactive slot
2018-07-29 15:45:04 +08:00
topjohnwu
a747fdd27d
Organize dialog code
2018-07-28 22:52:40 +08:00
topjohnwu
3fdeb40ddf
Update SNET extension dialog interface
2018-07-28 14:56:14 +08:00
topjohnwu
546c7cebd3
Fix #411
2018-07-27 22:44:09 +08:00
topjohnwu
473902f5f4
Proper detect MagiskHide status
2018-07-27 22:32:47 +08:00
topjohnwu
41c0721159
Use internal thread pool for update repos
2018-07-27 21:59:30 +08:00
topjohnwu
c5d67ebf72
Update libsu to 2.0.0
2018-07-27 04:48:32 +08:00
topjohnwu
6263d684d9
Migrate to JobIntentService to prevent boot notification
2018-07-21 02:59:36 +08:00
topjohnwu
07140d33a7
Bring back installing to second slot after OTA on A/B devices
2018-07-21 01:59:28 +08:00
topjohnwu
f8076825cb
Move Magisk Manager files into subfolder
2018-07-18 17:47:53 +08:00