Chosen Solution
I have 2 iphone 5s which is first is 5s 16gb(all function) and second one is 32 gb(id lock) it all space grey, can i replace my 16gb motherboard to 32gb ? It’s all functions ?
If you want to swap the logic boards sure, you can do that, it takes some time but with some care and the help of the relevant iFixit guide it’s a relatively easy job. If you have in mind to increase your storage from 16Gb to 32Gb using the Nand from the locked iphone into the unlocked one the answer is yes, in theory, in practice there are so many steps and tools and experience required that it would be much cheaper to just buy a 32Gb iPhone.