Chosen Solution

Hello, if I change the logic board on the device will I still be able to recover the data that is on the phone or is all the data stored on the logic board (I’m not sure where the flash memory is).

No. You could change the logic board, and upload the data, either through the cloud of iTunes. And you really can’t swap the nand, the flash memory alone. You’d need to swap it with three other chips and the home button. But why? What happened? Why isn’t it powering on? Let’s try stitches before we try major surgery