Skip to content

Commit

Permalink
umi: hide magisk better
Browse files Browse the repository at this point in the history
  • Loading branch information
xdevs23 authored and yarpiin committed Jun 15, 2021
1 parent 6f5de9a commit 1fe8e79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rootdir/etc/init.target.rc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ on charger
setprop sys.usb.controller a600000.dwc3
setprop sys.usb.configfs 1

# Restrict permissions to socket file
# to hide Magisk & co.
chmod 440 /proc/net/unix

on property:vendor.audio.cit.spkcal.copy=true
copy /data/vendor/cit/cs35l41_cal.bin /mnt/vendor/persist/audio/cs35l41_cal.bin
copy /data/vendor/cit/cs35l41_cal_right.bin /mnt/vendor/persist/audio/cs35l41_cal_right.bin
Expand Down

0 comments on commit 1fe8e79

Please sign in to comment.