Unfortunately you cannot put any iPhone's motherboard into another iPhone and have it work. They are not interchangeable.
open