mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 04:05:31 -04:00
* 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>
16 lines
488 B
Text
16 lines
488 B
Text
on init
|
|
# Reactivation Lock
|
|
symlink /dev/block/platform/13500000.dwmmc0/by-name/steady /dev/block/steady
|
|
|
|
# Google FRP solution
|
|
symlink /dev/block/platform/13500000.dwmmc0/by-name/persistent /dev/block/persistent
|
|
|
|
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
|