Chosen Solution

Can I use parts of dead iphone 6(the memory is dead) to replace the parts of the iphone I am currently using? I want to replace the display, and can I just swap the screen hole? ( detach the 4 dock connectors of the screen and use a different screen.)

Yes, that can be done with those. Make sure you transfer the home button from the old screen to the replacement screen as the touch ID on the home button itself is paired with the phone’s mainboard. You can use this guide from iFixit to help with the screen replacement: iPhone 6 Screen Replacement As long as it’s not a iPhone 6s it’ll be compatible.