1# Enable native bridge for target executables
2on early-init && property:ro.enable.native.bridge.exec=1
3    mount binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
4
5on property:ro.enable.native.bridge.exec=1 && property:ro.dalvik.vm.isa.riscv64=x86_64
6    copy /system/etc/binfmt_misc/riscv64_exe /proc/sys/fs/binfmt_misc/register
7    copy /system/etc/binfmt_misc/riscv64_dyn /proc/sys/fs/binfmt_misc/register