If you come in problem that after installing the Pangu app
you click on the big circle and then lock the phone by power button
and then instead of magic your phone reboot.
Don't worry the solution is here
1. as the exploit is related to the gas-guage of battery so it is related to battery
2. if you phone has low battery them exploit will work
3. if you have battery greater than 72 % then phone will not be exploited rather it will restart
Solution, on jail breaking with Pangu app just plug in charging cable and while charging jailbreak it