For research into Ubiquiti firmware, the most comprehensive "paper" available is the
Access the device via Terminal: ssh ubnt@ [device-ip-address] . Download Firmware Ubiquiti
If forced via TFTP, it bricks.
If you are looking for the firmware files themselves to conduct your own analysis: Ubiquiti Download Portal The official Software Downloads page For research into Ubiquiti firmware, the most comprehensive