finally i figured a way to fix this issue. it worked for my locked H818P, hope it helps everyone :)
you need root for it.
here are the steps:
1. setup adb
2. enable USB Debugging
3. connect your phone to the PC and open an adb command window
4. execute these commands
adb shell
su
dd...