Wormhole
A simple MIDI loopback cable for Android.
This is a basic implementation of Android's 'MidiDeviceService' API. It creates one or two datapipes whose endpoints will be visible to other apps as regular MIDI ports. These ports can then be used to exchange MIDI between apps that do not themselves create virtual ports.
Open Port 1 of either pipe in one app and Port 2 in another. There is no need to launch the 'Wormhole' app itself. It's basically just a vehicle to get the MidiDeviceServices installed and does not do anything on its own beyond visualizing port state and data flow.
The second pipe is a MIDI 2.0 variant and will only show up on devices running Android 15 or larger (And only in apps that do surface MIDI 2.0 ports).
The app is not on the Play Store. To install it open this page on your Android device and click the download link. Android will show some warnings that you can safely ignore. Alternatively download the apk to a computer, scan it for malware and use your preferred side-loading method to push it to your device.
The app is free, but it is not 'Shareware' and not to be redistributed without my consent.