In order to hard reset a Samsung Galaxy M Pro B7800, you should perform the following steps.
Remember! Hard reset will delete all the data on your device; pictures, contacts, messages, apps and more.
Samsung Galaxy M Pro B7800 device will be brought back to the default configuration of a brand new device.
1. Power up the phone with the Power button.
2. Type in this code, *2767*3855#, and confirm it using Call button.
3. Your phone should now reset and restart. Done.