- 30 Apr, 2019 4 commits
- 29 Apr, 2019 1 commit
-
-
topjohnwu authored
-
- 24 Apr, 2019 2 commits
-
-
topjohnwu authored
-
topjohnwu authored
We used to construct /sbin tmpfs overlay in early-init stage after SELinux is properly initialized. However the way it is implemented (forking daemon from magiskinit with complicated file waiting triggers) is extremely complicated and error prone. This commit moves the construction of the sbin overlay to pre-init stage. The catch is that since SELinux is not present at that point, proper selabel has to be reconstructed afterwards. Some additional SEPolicy rules are added to make sure init can access magisk binaries, and the secontext relabeling task is assigned to the main Magisk daemon.
-
- 22 Apr, 2019 2 commits
- 21 Apr, 2019 5 commits
-
-
tarasyyyk authored
-
tarasyyyk authored
-
cristisilaghi authored
-
dark-basic authored
Restructured based on original string. New missing lines added
-
topjohnwu authored
This should in theory should support more devices for detecting the volume up press on boot. Close #1346
-
- 19 Apr, 2019 1 commit
-
-
topjohnwu authored
-
- 13 Apr, 2019 1 commit
-
-
topjohnwu authored
-
- 12 Apr, 2019 4 commits
-
-
topjohnwu authored
-
Viktor De Pasquale authored
This has been done in preparations for rewrite to kotlin and upcoming design changes. Nothing should be broken but use caution.
-
Viktor De Pasquale authored
-
Viktor De Pasquale authored
-
- 11 Apr, 2019 2 commits
-
-
topjohnwu authored
Since Android Q does not allow launching activities from the background (Services/BroadcastReceivers) and our native process is root, directly launch activities and use it for communication between native and app. The target activity is not exported, so non-root apps cannot send an intent to fool Magisk Manager. This is as safe as the previous implementation, which uses protected system broadcasts. This also workaround broadcast limitations in many ROMs (especially in Chinese ROMs) which blocks the su request dialog if the app is frozen/force stopped by the system. Close #1326
-
topjohnwu authored
-
- 10 Apr, 2019 10 commits
-
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
Fix #1302, close #1318
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
We upgrade compileSdkVersion to Q, but keep targetSdkVersion as 28. The reason is because targeting Q will no longer allow us to execute native binaries in an app's private data, which Magisk Manager relies a lot for performing stock boot image patches in non rooted environment. For more information regarding this issue, check this link: https://redd.it/b2inbu Some workarounds has been discovered (https://github.com/termux/proot), however for the time being there is no point to introduce these huge hacks just for targeting Q, which we don't benefit anything.
-
topjohnwu authored
-
- 09 Apr, 2019 8 commits
-
-
topjohnwu authored
-
Lukas Novotny authored
-
Rom authored
-
vvb2060 authored
-
Ingan121 authored
-
topjohnwu authored
Output format will be the same as input
-
Ian Macdonald authored
-
topjohnwu authored
Close #1314
-