topjohnwu
7684602ea8
More fixes for non-root devices
2018-06-26 06:04:11 +08:00
topjohnwu
4601989d4a
Speed up startup time
2018-06-26 00:29:01 +08:00
topjohnwu
e6c1dd532d
Re-implement duplicate Magisk Manager logic
...
Starting from the next Magisk release, it will no longer prefer the package name com.topjohnwu.magisk over a hidden manager; it will always be aware whether the hidden manager exists, so when a package named com.topjohnwu.magisk is installed alongside with the hidden manager, com.topjohnwu.magisk will not have root access by default.
This will prevent malware from using the package name com.topjohnwu.magisk to gain root access when a user is using a hidden manager.
To support this new behavior, several changes has to be done:
- Never grant com.topjohnwu.magisk in Magisk Manager (if it IS the actual manager, MagiskSU will grant it by default)
- While hidden, remove com.topjohnwu.magisk if exists
- Restore Magisk Manager (unhide) has to be done with root
- Upgrading Magisk Manager should preserve package name (implemented in a949641)
2018-06-14 04:30:24 +08:00
topjohnwu
c231e88a5d
Small tweak in setting up magisk DB
2018-06-12 00:04:36 +08:00
topjohnwu
499a157946
Update snet extension
2018-06-10 00:43:01 +08:00
topjohnwu
c5a7ab2415
Move runWithPermission method
2018-06-09 17:14:24 +08:00
topjohnwu
48085b5573
Implement stub Magisk Manager
2018-06-02 22:00:52 +08:00
topjohnwu
7b9ddc9b3b
Add new flavor: stub
2018-05-27 14:34:05 +08:00
topjohnwu
630f2b7d19
Support fixing Magisk environment
2018-05-13 18:14:10 +08:00
topjohnwu
8fd03f7434
Optimize repo updates
2018-05-06 02:51:23 +08:00
topjohnwu
8990919dab
For some reason SN check cannot run on repackaged managers
2018-04-29 14:40:42 +08:00
topjohnwu
6764a98409
SEPolicy updates
2018-04-14 18:08:53 +08:00
topjohnwu
fd7b5f393a
Make Magisk version more clear
2018-04-14 15:32:37 +08:00
topjohnwu
2ca528f93f
Fix typo
2018-04-08 03:04:31 +08:00
topjohnwu
ce2e6b7d35
Prevent outdated modules to be shown
2018-04-08 01:05:01 +08:00
topjohnwu
1b756e8d96
Remove SafetyNet default apps
2018-03-28 02:23:50 +08:00
topjohnwu
c9d3e20aef
Fix repo loading UI logic
2018-03-17 20:20:05 +08:00
topjohnwu
2c78c415e9
Android P cannot install from sdcardfs, use TMPDIR
2018-03-11 05:28:47 +08:00
topjohnwu
41f47acd76
Use native XML parser for settings migration
2018-02-22 01:09:55 +08:00
topjohnwu
271cbddd5e
Settings improvements
2018-02-20 00:39:17 +08:00
topjohnwu
c1423ca9ad
Fix F2FS crashes on SQLite 3.21.0
2018-02-18 18:12:12 +08:00
topjohnwu
74379150a1
Use scripts to setup sudb
2018-02-18 12:41:58 +08:00
topjohnwu
860b08d9ed
Add version code to downloaded upgrades
2018-02-13 01:22:43 +08:00
topjohnwu
691dc1d49e
Update to libsu 1.1.0 with su I/O
2018-02-12 23:07:35 +08:00
topjohnwu
33dc63a7fd
Fix filenames
2018-02-12 03:09:38 +08:00
topjohnwu
3f55be9676
Update the method to handle global su db
2018-01-31 04:00:11 +08:00
topjohnwu
b05d2d3a2d
Rename module
2018-01-27 08:34:12 +08:00
topjohnwu
19af5f9e0b
Remove JNI; use native Java zipadjust
2018-01-27 08:23:02 +08:00
topjohnwu
f37f330670
Update with latest :crypto
2018-01-27 00:17:43 +08:00
topjohnwu
40082d4571
Update to libsu 1.0.0
2018-01-25 18:43:30 +08:00
topjohnwu
00d655f346
Update proguard to minimize APK size
2018-01-23 05:04:59 +08:00
topjohnwu
821726e7c0
Switch to libsu
2018-01-21 06:07:24 +08:00
topjohnwu
0dcd073554
Fix crashes on Lollipop
2018-01-13 05:49:47 +08:00
YumeMichi
2fe35d578d
Check fm before using it
...
* Prevent NPE on devices without fingerprint.
2018-01-13 04:53:19 +08:00
topjohnwu
2ef7146642
Add fingerprint authentication
2018-01-12 01:53:49 +08:00
topjohnwu
2e02af994e
Bump version
2018-01-02 00:25:08 +08:00
topjohnwu
836d9afe17
Update scripts
2018-01-01 16:46:08 +08:00
topjohnwu
6a148b5dd9
Add sorting repo by update time
2017-12-27 01:07:33 +08:00
topjohnwu
0e109ef979
Remove snet version checkpoint, always check by code
2017-12-26 18:24:43 +08:00
topjohnwu
de2285d5e9
Bump version
2017-12-26 03:59:28 +08:00
topjohnwu
b2483ba437
Add version check within binary
2017-12-26 03:59:28 +08:00
topjohnwu
b0d65b5edd
Improve compatibility
2017-12-22 02:36:26 +08:00
topjohnwu
75532ef591
Add recommended KEEPVERITY and KEEPFORCEENCRYPT flags
2017-12-22 02:36:20 +08:00
topjohnwu
9a6d1bd700
Add self package into blacklist
2017-12-22 02:36:20 +08:00
topjohnwu
a7ed6c15d3
More precise sudb management
2017-12-22 02:36:15 +08:00
topjohnwu
543f435b1e
Massive improvement of Magisk Manager repackaging
2017-12-19 20:59:59 +08:00
topjohnwu
91337218b3
Update snet configs
2017-12-19 15:46:54 +08:00
topjohnwu
aa2d9a3bf1
Support installing to new path
2017-12-16 02:01:04 +08:00
topjohnwu
fd6cbb138c
Change new magisk database
2017-12-12 02:35:00 +08:00
topjohnwu
aa75c8e5e4
Fix issues of repackaging with multiuser
2017-12-08 23:38:03 +08:00