Chosen Solution

How can I take the front camera flex out without taking out the battery? I’m going to do a housing swap on an iPhone X and I want to swap the front cameras to retain Face ID.

Since the cable for the front camera runs behind the battery, you can’t. See steps 8-9 in the teardown guide. iPhone X Disassembly