Check the boxes for , System , Data , and Cache . Swipe the slider at the bottom to format. Do not wipe Internal Storage or MicroSD card if that is where your downloaded zip files are located. Return to the main menu and tap Install .

What is the of the device you're trying to upgrade? Knowing this will help determine if a stable ROM actually exists for it. Check and update your Android version - Google Help

Download the specific image file ( .img ) made precisely for your phone model.

Check XDA Developers for your device model – a Pie ROM might already exist.

Samsung devices generally do not have a traditional lock but require a tool called Odin on a PC to bypass restriction protocols.