mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
universal7885: rootdir: Hide Magisk Better
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
226e285aa6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
0629318372
commit
c7b6d4e7b5
1 changed files with 6 additions and 0 deletions
|
|
@ -8,3 +8,9 @@ on init
|
|||
on boot
|
||||
# Permissions for NAD
|
||||
symlink /dev/block/platform/13500000.dwmmc0/by-name/nad_refer /dev/block/nad_refer
|
||||
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Restrict permissions to socket file
|
||||
# to hide Magisk & co.
|
||||
chmod 440 /proc/net/unix
|
||||
|
|
|
|||
Loading…
Reference in a new issue