Chosen Solution

Hey, I was trying to fix my oldie half alive iphone 4(it is locked with the passcode which I don’t remember, been a long time haha) , changing some parts from broken-screen iphone 4s.

  1. Is it okay to do it ?
  2. Is it possible to change something(i don’t know which part it might be) where the information about this phone is held(passcode etc.) Thanks for answering!

You can change the LCD assembly. If its just a simple passcode lock, put the phone in DFU mode and reflash iOS.