WOW. I log in here a couple of times a day and I just saw this thread. And there's already 52+ posts!
Years ago I ripped the digital logic out of a scanner and
added my own CPU, firmware, etc. This was the only way back then I could get the features I wanted (still is). I have been designing products, writing firmware, and often software my entire life (well, once it was a thing). Doing this kind of thing is right down my alley. But having said that .....
If (big IF) you can get source code and permission from its owner, great. You're off to the races. I think that is highly unlikely (less than 1% chance). You've clearly stated no 'reverse engineering', so that's off the table.
That leaves you with two choices. One is to abandon the idea (yeah quite sad). The other is to write new firmware from scratch. While the coding, for someone with skills like me, is 'no big deal'; there are tons of issues that you'll encounter. If this was a private transaction among friends and not posted on a public web site, no one will know. But, well, the cat's out of the bag since we have this thread.
Writing the code from scratch, consider these things. You will inevitably have your own bugs. It's most likely you'll have it working in stages (conventional, then MOT trunking, then P25 trunking, etc.). I was working on a similar project a few years ago and what killed it was the licensing. For my project is was Dolby, DVD, TV-Guide, mpeg compression, and a host of others. You see, any licensing that is there now is extended to the present developer and is likely not transferable. You'd be surprised how many things are licensed as there's a lot of "invested interests".
Personally, I wish each Uniden and Whistler would hire dedicated capable firmware (and more) programmers. It doesn't seem to be high on their list of priorities. I think "managers" think the skills to code (low level) firmware is the same as coding a web page (html,+++); which we know is not true. Good luck.