The issue is as mentioned above. The following output confirms that the library was loaded in the remote process.
beryllium:/data/local/tmp # ./injector 15449 libhook.so
@ Injecting library libhook.so into process 15449.
@ Calling dlopen in target process ...
@ dlopen returned 0xA8F8DD10
However, there are no entries in logcat, both in the script and in a separate terminal.
The issue is as mentioned above. The following output confirms that the library was loaded in the remote process.
However, there are no entries in logcat, both in the script and in a separate terminal.