Commit Graph

28 Commits

Author SHA1 Message Date
topjohnwu 682c6d4e7b Prettier notification text 2018-07-05 03:21:41 +08:00
topjohnwu 0da9146e90 Cleanup resources and add Trad. Chinese translation 2018-07-05 02:56:37 +08:00
topjohnwu ad05a33e02 Show release notes and changelog in MarkDownWindow 2018-07-05 02:02:37 +08:00
topjohnwu 03c04c2141 Prevent duplicate policy of same package name
Fix #470
2018-07-04 23:38:09 +08:00
topjohnwu 2e091b04e5 Sort hidden apps to the top 2018-07-04 21:15:26 +08:00
topjohnwu 2d905ce3fb Don't popup changelogs on launch 2018-07-04 20:19:51 +08:00
topjohnwu 831112abd2 Hide install to second slot option until Magisk properly supports it 2018-07-04 20:18:17 +08:00
topjohnwu 153d0f5505 Small optimization to UpdateRepos 2018-07-04 20:13:12 +08:00
topjohnwu c78896a335 Get rid of error logs 2018-07-04 18:11:57 +08:00
topjohnwu 316ec98e0f Rewrite Magisk log fragment 2018-07-04 17:59:16 +08:00
topjohnwu cf58545a45 Move shell code into scripts 2018-07-04 17:15:26 +08:00
topjohnwu e86015badc New uninstallation method 2018-06-27 05:58:56 +08:00
topjohnwu c8f65fc9a1 Fix selinux error while installing Magisk on some devices 2018-06-27 01:08:48 +08:00
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 23f697d62b Fix non-root boot patching 2018-06-25 19:46:41 +08:00
topjohnwu 4ff39f8817 Update to libsu 1.2.0 2018-06-20 04:48:56 +08:00
topjohnwu 77430a282f Support new util_functions.sh 2018-06-18 01:40:42 +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 a949641342 Preserve hidden when upgrade 2018-06-12 05:32:35 +08:00
topjohnwu c231e88a5d Small tweak in setting up magisk DB 2018-06-12 00:04:36 +08:00
topjohnwu 79c71509f6 Add NoUIActivity 2018-06-10 14:51:37 +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 f2f7d77847 Fix language settings UI 2018-06-03 11:50:12 +08:00
topjohnwu b2105f2d88 Optimize drawables 2018-06-03 04:41:45 +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