Commit Graph

6 Commits

Author SHA1 Message Date
Loïc Yhuel
b0ddecfc39
Make phh-securize.sh work with current Magisk
Magisk 21.0 changed the mount path, we have to get it with "magisk --path" now.
This is used to get where the system partition is mounted.

The phh-su bind-mount is on /system/xbin/su, even with Magisk.
But we still have to unmount it, in order to remove the empty "su" file on the system partition.
2021-08-09 05:01:46 +02:00
Loïc Yhuel
7698971538
Fix phh-securize.sh with Magisk modules
With Magisk, depending on enabled modules, directories like /system/xbin, /system/app and others could be tmpfs,
with /system/xbin/su and /system/app/me.phh.superuser being bind-mounts.

So we should try to operate on the real system partition.
2020-05-10 01:20:02 +02:00
Tim Bortnik
f3d3cb40d4 help-pass-basicintegrity-after-securize 2020-02-23 21:12:17 +02:00
Pierre-Hugues Husson
ad57918dbc Use system-provided remount command, and remove properly superuser app 2019-12-08 21:36:47 +01:00
Pierre-Hugues Husson
70c0e57764 [phh-securize] remove self script 2019-08-22 00:45:27 +02:00
Pierre-Hugues Husson
c80de8d3fe Add phh-securize.sh to switch to user build, copy vendor fingerprint, and tighten adb security 2019-08-22 00:35:41 +02:00