1. 01 May, 2019 4 commits
  2. 30 Apr, 2019 8 commits
  3. 29 Apr, 2019 1 commit
  4. 24 Apr, 2019 2 commits
    • topjohnwu's avatar
      Auto remove post_ota.sh · 54d1207f
      topjohnwu authored
      54d1207f
    • topjohnwu's avatar
      Remove requirement to use early-init daemon · 003e44fb
      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.
      003e44fb
  5. 22 Apr, 2019 2 commits
    • topjohnwu's avatar
      Monitor app_process · 515f346d
      topjohnwu authored
      Some stupid Samsung ROMs will spawn multiple zygote daemons. Since we
      switched to ptrace based process monitoring, we have to know all zygote
      processes to trace. This is an attempt to fix this issue.
      
      Close #1272
      515f346d
    • topjohnwu's avatar
      Fix strings.xml · 6050c4e8
      topjohnwu authored
      6050c4e8
  6. 21 Apr, 2019 5 commits
  7. 19 Apr, 2019 1 commit
  8. 13 Apr, 2019 1 commit
  9. 12 Apr, 2019 4 commits
  10. 11 Apr, 2019 2 commits
    • topjohnwu's avatar
      Directly communicate with Activity · 8d4c4072
      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
      8d4c4072
    • topjohnwu's avatar
      Don't build test APKs · fdeede23
      topjohnwu authored
      fdeede23
  11. 10 Apr, 2019 10 commits