1. 03 Nov, 2020 4 commits
    • topjohnwu's avatar
      Templatize function callbacks · 4c94f90e
      topjohnwu authored
      4c94f90e
    • topjohnwu's avatar
      Don't use reserved symbols · ffb42246
      topjohnwu authored
      ffb42246
    • topjohnwu's avatar
      Mount proper system_root mirror in magiskd · 89fff483
      topjohnwu authored
      89fff483
    • topjohnwu's avatar
      Significantly broaden sepolicy.rule compatibility · 16e4c679
      topjohnwu authored
      Previously, Magisk uses persist or cache for storing modules' custom
      sepolicy rules. In this commit, we significantly broaden its
      compatibility and also prevent mounting errors.
      
      The persist partition is non-standard and also critical for Snapdragon
      devices, so we prefer not to use it by default.
      
      We will go through the following logic to find the best suitable
      non-volatile, writable location to store and load sepolicy.rule files:
      
      Unencrypted data -> FBE data unencrypted dir -> cache -> metadata -> persist
      
      This should cover almost all possible cases: very old devices have
      cache partitions; newer devices will use FBE; latest devices will use
      metadata FBE (which guarantees a metadata parition); and finally,
      all Snapdragon devices have the persist partition (as a last resort).
      
      Fix #3179
      16e4c679
  2. 28 Oct, 2020 2 commits
  3. 27 Oct, 2020 2 commits
  4. 26 Oct, 2020 1 commit
  5. 25 Oct, 2020 3 commits
  6. 22 Oct, 2020 2 commits
  7. 21 Oct, 2020 7 commits
  8. 20 Oct, 2020 1 commit
  9. 17 Oct, 2020 16 commits
  10. 15 Oct, 2020 2 commits