I have a feeling that a certain corporation will not be happy if this works and will keep breaking records in the game of futile gestures if this truly works.
https://www.nxp.com/docs/en/application-note/AN4589.pdf
This is rather technical.. But I am thinking that revisiting the source code and this document will allow me to either change the values in the registers outright and enable the port.. Or find the file that messes with said register. I am more inclined towards dumping the content of the registers (page5 in above link) and examining them with wifi and bluetooth turned on and off and connected and disconnected from charger and PC-host. Then if there isn't a direct switch to echo in /sys I can just manually change a few values to enable the port and call it a day.. (I can already see dreams of drowning in the usb memory map ref manual). This way it should be a script to run with the intended effect.
However, I'm still hopeful that someone will have an easier magic solution as I'm learning-as-I-go with this.. And half the stuff I said I'm still figuring out how to do... Like messing with memory without JTAG and shiny GUI interfaces or just seeing them in kernel panics.