Most modern phones have signed firmware for everything, so the FBI would have to go to the manufacturer and court order them to hand over the signing key. Or take advantage of a leaked key.
People are discussing that in this thread:
https://news.ycombinator.com/item?id=33958252
It looks like the implementation isn't perfect yet but it's a start.