I sigh at your lazy millenial attitude. A 1950's programmer would have rooted the device and rewritten the baseband software by now.
But even a lazy programmer can load Javascript into Safari on the iPhone to program it. You can even embed the Javascript into a link and save it as a bookmark the home screen.