-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/android-9.0' into pie
* upstream/android-9.0: (21 commits) Actually we want to force samsung workaround off Allow treble app to write "battery info" [Samsung chmods] Need to set selinux too in input/enabled If we have both vendor and boot security_patch, prefer vendor security_patch We need to restart samsung hal when doing chown Also copy vendor security patch level [phh-securize] remove self script Add phh-securize.sh to switch to `user` build, copy vendor fingerprint, and tighten adb security [su] Allow write on any file/dir Add persist.sys.phh.mainkeys property to persist qemu.hw.mainkeys More rights to su SaR is more annoying to resize because there is no such thing as /dev/root, but mknod it so we can do it More chmods for /sys Samsung Use Samsung key layouts on all samsung devices Restart Samsung fingerprint HAL on boot Also chown `cmd` If /sys/class/sec/tsp rules are obviously completely broken, unbreak them a little Samsung running pie vendor have fixed fingerprint remaning Restart Samsung lights HAL late in the boot process. Mark successful boot before the 30s sleep ...
- Loading branch information
Showing
7 changed files
with
123 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/system/bin/sh | ||
|
||
mount -o remount,rw / | ||
mount -o remount,rw /system | ||
|
||
touch /system/phh/secure | ||
umount -l /system/xbin/su | ||
rm /system/xbin/su | ||
rm /system/bin/phh-su | ||
rm /system/etc/init/su.rc | ||
rm /system/bin/phh-securize.sh | ||
rm -Rf /system/bin/me.phh.superuser/ | ||
mount -o remount,ro / | ||
mount -o remount,ro /system | ||
sync | ||
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters