after trying many methods including:
public static final int RECEIVER_EXPORTED = 0;
IntentFilter filter = new IntentFilter(Intent.ACTION_RUN);
registerReceiver(consoleCmdReceiver, filter, RECEIVER_EXPORTED);
i seemed to still get crash regardless of build success, it seems the issue might be in the ndk for this one. need to do more tests to see.