1. 13 Feb, 2017 4 commits
  2. 06 Feb, 2017 1 commit
  3. 05 Feb, 2017 7 commits
  4. 04 Feb, 2017 5 commits
  5. 01 Feb, 2017 1 commit
  6. 31 Jan, 2017 2 commits
  7. 08 Jan, 2017 1 commit
    • topjohnwu's avatar
      Properly handle loading prop files · 3315228a
      topjohnwu authored
      1. Add new trigger "load_magisk_props_action" in init.magisk.rc
      2. Patch init*.rc with new trigger
      3. Update resetprop to handle prop value with spaces
      4. Handle the case when modules contains file/folder names with spaces
      3315228a
  8. 03 Jan, 2017 2 commits
  9. 02 Jan, 2017 3 commits
  10. 01 Jan, 2017 8 commits
  11. 30 Dec, 2016 1 commit
  12. 29 Dec, 2016 3 commits
  13. 28 Dec, 2016 1 commit
  14. 27 Dec, 2016 1 commit
    • topjohnwu's avatar
      Fix Magisk Hide losing root issue · b6412afe
      topjohnwu authored
      This is the issue that has been haunting since day 1. Root and mounted files randomly disappears, and only an reboot can fix it.
      The issue is that Zygote requires some time to isolate the mount namespace for the children it forks (read: most processes), so in rare cases such as the CPU is on heavy load, or CPU is in deep sleep, it takes longer than usual to finish the mount namespace isolation. Magisk Hide kicks in before the isolation is done, and it will switch to Zygote's namespace and do the unmounting. All children will then lose the mounted files, which includes root.
      The solution is to first find the namespace id of Zygote, and wait a small period of time and retry if the namespace isn't isolated yet.
      b6412afe