1. 05 Apr, 2019 2 commits
    • topjohnwu's avatar
      Add boot_complete trigger back · 24f5bc98
      topjohnwu authored
      Samsung does not like running cmd before system services are started.
      Instead of failing, it will enter an infinite wait on binder.
      Move APK installation to boot complete to make sure pm can be run
      without blocking process.
      24f5bc98
    • topjohnwu's avatar
      Revert to old find boot order · 5203886f
      topjohnwu authored
      5203886f
  2. 04 Apr, 2019 3 commits
  3. 03 Apr, 2019 4 commits
  4. 02 Apr, 2019 2 commits
  5. 01 Apr, 2019 3 commits
    • topjohnwu's avatar
      Prevent accidental magiskinit execution · cc77a245
      topjohnwu authored
      Close #1281
      cc77a245
    • topjohnwu's avatar
      Boot to recovery if volume up key is held · 71a91ac7
      topjohnwu authored
      Forseeing the future that more and more A only system-as-root devices
      would have similar bootloader behavior as the latest Samsung devices
      (that is, no ramdisk will be loaded into memory when booting from
      the boot partition), a solution/workaround has to be made when Magisk
      is installed to the recovery partition, making custom recoveries
      unable to co-exist with Magisk.
      
      This commit allows magiskinit to read input device events from the
      kernel to detect when a user holds volume key up to toggle whether
      system-as-root mode is enabled. When system-as-root mode is disabled,
      magiskinit will boot with ramdisk instead of cloning rootfs from system,
      which in this case will boot to the recovery.
      71a91ac7
    • topjohnwu's avatar
      Add entrypoint to build test · 08a70f03
      topjohnwu authored
      Just for convenience, nothing special here
      08a70f03
  6. 31 Mar, 2019 5 commits
  7. 30 Mar, 2019 3 commits
    • topjohnwu's avatar
      Reboot to recovery when running as recovery · df4161ff
      topjohnwu authored
      df4161ff
    • topjohnwu's avatar
      Block vaultkeeper and flash_recovery service · 7a133eaf
      topjohnwu authored
      7a133eaf
    • topjohnwu's avatar
      Support recovery based Magisk · 1cd45b53
      topjohnwu authored
      Some devices (mainly new Samsung phones we're talking here...) using
      A only system-as-root refuse to load ramdisk when booted with boot
      no matter what we do. With many A only system-as-root devices, even
      though their boot image is kernel only, we can still be able to add
      a ramdisk section into the image and force the kernel to use it as
      rootfs. However the bootloader on devices like the S10 simply does
      not load anything within boot image into memory other than the kernel.
      This gives as the only option is to install Magisk on the recovery
      partition. This commits adds proper support for these kind of scenarios.
      1cd45b53
  8. 29 Mar, 2019 5 commits
  9. 28 Mar, 2019 13 commits