Commit Graph

12 Commits

Author SHA1 Message Date
topjohnwu ec8fffe61c Merge Magisk install zip into Magisk Manager
Distribute Magisk directly with Magisk Manager APK. The APK will
contain all required binaries and scripts for installation and
uninstallation. App versions will now align with Magisk releases.

Extra effort is spent to make the APK itself also a flashable zip that
can be used in custom recoveries, so those still prefer to install
Magisk with recoveries will not be affected with this change.

As a bonus, this makes the whole installation and uninstallation
process 100% offline. The existing Magisk Manager was not really
functional without an Internet connection, as the installation process
was highly tied to zips hosted on the server.

An additional bonus: since all binaries are now shipped as "native
libraries" of the APK, we can finally bump the target SDK version
higher than 28. The target SDK version was stuck at 28 for a long time
because newer SELinux restricts running executables from internal
storage. More details can be found here: https://github.com/termux/termux-app/issues/1072
The target SDK bump will be addressed in a future commit.

Co-authored with @vvb2060
2021-01-22 02:29:54 -08:00
vvb2060 533cb8eb58 Tapjacking protection 2020-10-22 02:40:47 -07:00
topjohnwu 0a14f43f9c Refactor class names 2020-10-10 22:40:57 -07:00
topjohnwu 311c1f0dfd Switch to new repo format 2020-10-10 14:31:30 -07:00
topjohnwu fc19b50290 Cleanup ActivityResult callbacks 2020-10-06 02:04:19 -07:00
vvb2060 7ac55068db Catch ActivityNotFoundException 2020-09-27 04:33:46 -07:00
topjohnwu d7f7508fa2 Move setContentView out of onCreate 2020-09-11 02:31:41 -07:00
topjohnwu fb04e32480 Bypass external rw check in the proper location 2020-08-22 05:27:30 -07:00
topjohnwu 4b238a9cd0 Add feature to create launch shortcuts 2020-08-21 03:36:12 -07:00
topjohnwu 5ed4071f74 Change ActivityExecutor signature 2020-08-19 05:19:24 -07:00
topjohnwu 7c319f5fc3 Moar refactoring 2020-08-19 05:19:24 -07:00
topjohnwu 34450cdddd More refactoring
Cleanups, move classes to sane locations, etc.
2020-08-19 02:05:23 -07:00