mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-07-27 03:37:21 +02:00
12 lines
513 B
Plaintext
12 lines
513 B
Plaintext
# Enable native bridge for target executables
|
|
on early-init
|
|
mount binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
|
|
|
|
on property:ro.enable.native.bridge.exec=1
|
|
copy /vendor/etc/binfmt_misc/arm_exe /proc/sys/fs/binfmt_misc/register
|
|
copy /vendor/etc/binfmt_misc/arm_dyn /proc/sys/fs/binfmt_misc/register
|
|
|
|
on property:ro.enable.native.bridge.exec64=1
|
|
copy /vendor/etc/binfmt_misc/arm64_exe /proc/sys/fs/binfmt_misc/register
|
|
copy /vendor/etc/binfmt_misc/arm64_dyn /proc/sys/fs/binfmt_misc/register
|